Harness Intelligence Wiki
SpecsCLIBrainstorm and Grill Altitude

Brainstorm and Grill Altitude

Architecture: Brainstorm and Grill Altitude

Context Scope

  • Capability identity: apps/wiki/content/docs/project/specs/cli/brainstorm-grill-altitude. The capability splits the requirements front end into three roles: brainstorm proposes shapes, the new flow-lenses skill finds candidate gaps, and a graph-based requirements-grill asks all question rounds and routes them by Altitude down to module-level decisions.
  • Actors and outcome: the user steers brainstorm proposals and answers grill rounds; the operating agent runs the skills; requirements-phase and create-architecture consume the closed grill. The outcome: brainstorms end in a durable Brainstorm Brief without question rounds, and every code-bearing grill branch settles at L3 Modules before closure (Q1, Q10, Q14).
  • In scope: shared skills brainstorm, requirements-grill, new flow-lenses; consumer edits in requirements-phase, create-architecture, ask-hi; contract tests, a package.json test script, and a GitHub Actions workflow in wearedevpunks/skills; Baseline sync, changelog, and wiki pages in this repository (S1 Phase State).
  • Non-goals: changes to the upstream grilling primitive (S1 Phase State, Q16); planning items inside the grill: edit order, task breakdown, waves, estimates, tuning constants (Q9); changes to Finder's Fog, which stays one precision input (Q15).
  • Spec: sibling SPEC.md in this folder (codes mapped in Spec Traceability).

Canonical Terms

The terms come from the published glossary and Glossary Q25.

  • Altitude: the level of abstraction of a grill question or settled decision: L1 Outcome, L2 Shape, or L3 Modules. Avoid: depth, granularity, zoom, fog level.
  • Target Altitude: the deepest altitude a branch must settle before the grill can close.
  • Settled Altitude: the deepest altitude at which every question of a branch is answered or parked.
  • Brainstorm Brief: the durable record of a brainstorm: chosen shape, rejected shapes, user preferences, open forks. Avoid: brainstorm summary, brainstorm handoff.
  • Flow Lenses: the ten end-to-end failure lenses that produce candidate gaps for a caller. Avoid: architectural lenses, brainstorm lenses.
  • Relationships: each Branch has exactly one Target Altitude and one Settled Altitude. One Round asks questions at exactly one Altitude.
  • Axioms: only requirements-grill asks the user question rounds; brainstorm proposes. The grill closes only when every branch has reached its Target Altitude or is parked at a named altitude.
  • Flagged ambiguity: "Fog" names Finder's artifact; grill depth uses Altitude, and the Fog is one precision input (Q15).

Sources

SourceRoleExact location and anchorImmutable revision or content hash
S1Grill status and closureapps/wiki/content/docs/project/grilling/brainstorm-grill-altitude-grill-status.md#phase-state, #branch-dashboard, #technical-grounding, #glossarycommit 657296989d59; sha256 c4ef2247c829cca4…
S2Grill decision logapps/wiki/content/docs/project/grilling/brainstorm-grill-altitude-grill-log.md #current-state-findings, Q1–Q24, #glossary-q25, #closurecommit 657296989d59; sha256 12cdbd140711b564…
S3Published glossaryapps/wiki/content/docs/project/domains/brainstorm-grill-altitude-glossary.mdxcommit 657296989d59; sha256 9750cf43f88d21f7…
S4Current shared skills and tests (observed current behavior)wearedevpunks/skills skills/agnostic/requirements/{brainstorm,requirements-grill,grilling}/**; skills/agnostic/docs/write-graph-based-skills/**; skills/phases/design-phase/phases/router.md; skills/phases/requirements-phase/SKILL.md; skills/agnostic/planning/create-architecture/{SKILL.md,references/artifact-contract.md,assets/ARCHITECTURE-TEMPLATE.md}; skills/agnostic/cli/ask-hi/**; tests/*.test.mjsmain c86912b42c3b
S5Skills history for the Illustrative default (observed)wearedevpunks/skills commits f370868 (adds module-shape questions) and 3b0e174 (removes them, adds Illustrative:)f370868, 3b0e174
S6Baseline distribution and catalog (observed current behavior)apps/cli/scripts/sync-skills-repo.mjs defaultRepositoryRef, defaultRepositoryCommit; apps/cli/src/data/catalog/{skills,packs}.ts; apps/cli/src/registry/shape.ts default-pack install; apps/cli/src/registry/publisher/sources/skills.test.ts "one skill item per catalogued skill"commit 657296989d59
S7Installed Flow failure lens list used for this compile.agents/skills/brainstorm/SKILL.md#flow-failure-lensescommit 657296989d59

Source Disposition

Question / entryDispositionAccepted detail, replacement, or unresolved pointEvidence
Q1–Q24, Glossary Q25acceptedAll entries answered; shared understanding confirmed; closed by the user 2026-10-16S1 Phase State, S2 Closure
brainstorm as internal gap scan for requirements-grill and create-architecturesupersededReplaced by flow-lenses (Q1, Q7, Q20)S4 brainstorm/SKILL.md steps 2, 4
brainstorm "Return evidence-grounded observations and unresolved decisions"supersededProposal turn with forks as defaults (Q2)S4 brainstorm/SKILL.md step 4
"Operating agent's seat" default framesupersededBound the system and name its real operators (Q4)S4 brainstorm/SKILL.md step 2
Illustrative: log field and "leave illustrative spelling … to downstream work"supersededL3 decides names, interfaces, primitives, seams, layout (Q13)S4 artifact-output.md, grilling-flow.md#technical-grounding; S5
references/grilling-flow.mdsupersededContent moves into the gates (Q16)S4
Parked itemsnoneNo parked branchS1 Branch Dashboard

Whole System

Question: which owners change, and which skill calls which?

Conclusion: question rounds come only from requirements-grill; brainstorm writes only the Brief; flow-lenses produces candidates for three callers, which own the questions (Q1, Q3, Q7, Q8). All skill text starts in the skills repo; this repository ships it (root CLAUDE.md shared-skills rule).

Architecture Blocks

SelectorOwnerAuthority and mutation rightsAccepted boundaryConstraint and evidence
ARC-001 brainstorm skillskills repo skills/agnostic/requirements/brainstorm/SKILL.md (rewritten)User-facing proposal loop. Each turn: current shape; 2–3 alternative shapes, each with its tradeoff against the current shape; evidence anchor or explicit unknown per claim; open forks as proposals with a default ("I take X unless you steer"), never a numbered question list and no AskUserQuestion; one show-me view (rendered page when the host supports it, else show-me text views); ends on the proposal and an invitation to react. Bounds the system and names its real operators (end users, agents, operators, or a mix); agent legibility (agent-intuitive, agent-ergonomic, agent-accretive) is one lens when agents operate the system. May apply flow-lenses to its own shapes; findings show as tradeoffs, never as questions. Edits no code, writes no plan, starts no implementation. The Flow failure lens list and the "another skill invokes $brainstorm" trigger leave this fileTwo exits only: another turn, or $requirements-grill with the BriefQ1–Q4, Q8; S4 current text
ARC-002 Brainstorm Briefbrainstorm writes; requirements-grill readsPath <wiki-root>/content/docs/project/grilling/<topic>-brainstorm-brief.md, with the routed-wiki frontmatter and grilling/meta.json entry of the grill artifacts. Content: bounded system and operators; chosen shape; rejected shapes with reason; user-stated preferences quoted verbatim; open forks with proposed default; evidence anchors. Updated at the end of every turn in which the user accepted or rejected a shape or stated a preference. The Brief is the only durable write of brainstormGrill import: preferences and accepted shape → answered log entries with source Brainstorm Brief; rejected shapes → rejected alternatives; open forks → frontier questions at their altitude; no re-ask of a recorded preferenceQ3, Q5, Q6
ARC-003 flow-lenses skillskills repo skills/agnostic/requirements/flow-lenses/SKILL.md (new, internal)Holds the ten Flow failure lenses moved out of brainstorm with their exact labels (S7). Description names its callers; users do not invoke it directly. Output: candidate gaps, each with evidence or explicit unknown, the guarantee at stake, and the altitude of the question it implies. Writes nothing; callers own the questionsCallers: grill checkpoint (every response set, including partial sets); create-architecture step 3; optional brainstormQ7, Q8
ARC-004 requirements-grill bootstrap and routerskills repo requirements-grill/{SKILL.md,AUTHORING-HANDOFF.md,phases/router.md}Graph-based skill under write-graph-based-skills (Convert mode): bootstrap SKILL.md without gate bodies; flat phases/ with router.md and one file per gate; AUTHORING-HANDOFF.md records authoring. Router owns question selection: it reads precision inputs (Fog graph when Finder context is supplied, Brainstorm Brief, grill status, code evidence); starts a branch at the next level when these already settle a level; selects one altitude per round, the shallowest that has ready frontier questions across all branches. $wayfinder routing for one stuck unknown staysRouter selects exactly one gate or stop from current evidence; cold resume from statusQ11, Q15, Q16; S4 write-graph-based-skills/SKILL.md required target structure, design-phase/phases/router.md
ARC-005 ground gaterequirements-grill/phases/ground.mdFinds facts through subagents; never asks the user. Carries the technical-grounding obligations of the current grilling-flow.md#technical-grounding that remain currentFeeds evidence to router and roundQ16; S4 grilling-flow.md
ARC-006 round gaterequirements-grill/phases/round.mdOne $grilling round over the ready questions of the selected altitude, presented through $wait-what with a show-me view. $grilling stays unchanged as the per-round interview primitiveOne altitude per roundQ11, Q16
ARC-007 checkpoint gaterequirements-grill/phases/checkpoint.mdAfter every response set, including partial sets: record answers; $domain-modeling; flow-lenses; next-level derivation; frontier recompute; persist. Raises a branch target to L3 when an accepted answer has a code consequence. When every question of a branch at level N is answered or parked and N is below target, derives level N+1 questions; L3 derivation uses codebase-design vocabulary (module, interface, seam, adapter, depth), applicable stack skills (for example effect-service-design), opensrc for exact primitives, and a show-me interface sketch or module tree. Records each required call's evidence in status for the round (for example flow-lenses: R<N> run); a skipped call is visible and blocks the next roundNext round only after persisted call evidenceQ8, Q10, Q12, Q16, Q18
ARC-008 close gaterequirements-grill/phases/close.mdGuard: every branch settled at its Target Altitude or parked at a named altitude with the user's reason. Then: explicit shared-understanding confirmation; final $domain-modeling; show-me of the persisted understanding; wiki synthesis after explicit closure; handoff to create-architecture. User-authorized auto-pinning of defaults stays; each pinned default records its altitudeOnly exit to create-architectureQ14, Q16
ARC-009 Grill referencesrequirements-grill/references/{artifact-output,wiki-output}.mdartifact-output.md stays and adds altitude fields: Branch Dashboard Target altitude and Settled altitude columns; Current Round Altitude: L1 | L2 | L3; round question table Altitude column; each log question entry Altitude: L1 | L2 | L3. The Illustrative: field leaves the log template. wiki-output.md stays. references/grilling-flow.md is removed; its content moves into the gatesGates point to the references they useQ13, Q16, Q17
ARC-010 Altitude ladderrequirements-grill router and gatesL1 Outcome: users, flows, scope, observable behavior, states, copy, non-goals. L2 Shape: deployables, boundaries, state ownership and authority, contracts between parts, data lifecycle, external dependencies. L3 Modules: primitives and libraries (exact module and symbol), modules and their interfaces, seams and adapters, dependency direction and injection, type and schema shapes, file and folder layout, resource lifetime owner. Planning stays out: edit order, task breakdown, waves, estimates, tuning constants. Code-bearing branch targets L3; product-only branch targets L1. No Illustrative default in grill textUsed by router (selection), checkpoint (derivation, target raise), close (guard)Q9, Q10, Q13
ARC-011 requirements-phaseskills repo skills/phases/requirements-phase/SKILL.mdStep 3 completes when every material branch is settled at its Target Altitude or explicitly parkedStep 4 unchangedQ19; S4 step 3
ARC-012 create-architectureskills repo skills/agnostic/planning/create-architecture/{SKILL.md,references/artifact-contract.md,assets/ARCHITECTURE-TEMPLATE.md}Step 3 calls flow-lenses in place of $brainstorm. The contract and template text that reads lens labels from brainstorm names flow-lenses as the lens owner. L3 decisions feed the architecture's module and interface sections. A compile gap returns to the grill with its altitudeCompile reads the closed grill; never interviewsQ20, Q21, Q7; S4 artifact-contract.md "Resolve the installed brainstorm skill"
ARC-013 ask-hi referencesskills repo skills/agnostic/cli/ask-hi/{SKILL.md,references/*.md}Every reference that describes brainstorm, requirements-grill, or the requirements family follows the new roles, graph, and flow-lenses. Observed files naming them: SKILL.md, references/{requirements,phase-graph,baseline,delivery,discovery-and-docs,known-gaps,quality}.mdText onlyQ21; S4
ARC-014 Wiki pagesapps/wiki/content/docs/harness/** through docs-ingest-phaseHarness entrypoint and skill-reference pages that describe brainstorm, requirements-grill, or the requirements flow. Observed candidates include harness/entrypoints/brainstorming-requirements-backlog.mdx and harness/skills-and-packs/{skill-reference,skill-graph,skill-packs,phase-wrappers}.mdx; docs-ingest-phase owns the final listPages follow the synced skillsQ22
ARC-015 Contract testsskills repo tests/*.contract.test.mjsRewrite tests/brainstorm.contract.test.mjs: show-me every turn, proposal ending, no question rounds, two exits, Brief path. New requirements-grill graph tests modelled on tests/design-phase-graph.contract.test.mjs: router and gates exist, altitude ladder, one altitude per round, close guard, L3 derivation inputs, no Illustrative default. New flow-lenses tests. Update tests/requirements-grill-composition.contract.test.mjs and any other test that pins the old textTests read skill files through the repo rootQ23; S2 Current-State Findings
ARC-016 Test runner and CIskills repo package.json, .github/workflows/*package.json with "test": "node --test tests/*.test.mjs". A GitHub Actions workflow runs it on push to main and on pull requests. The suite starts green: an assertion that pins stale text is updated to the current accepted skill text; a failure that shows a real skill regression blocks and goes to the user. Baseline at grill time: 337 tests, 14 failing (agent-workflow-contract 1, brainstorm 1, parallel-research 1, wayfinder-lifecycle 11)Green suite before syncQ24; S2 Current-State Findings
ARC-017 Baseline distributionapps/cli/scripts/sync-skills-repo.mjs, apps/cli/src/data/catalog/{skills,packs}.ts, root BASELINE_CHANGELOG.mdSkills commit on skills main → pin defaultRepositoryRef and defaultRepositoryCommit → bun run sync:skills with matching receipt SHA → apps/cli/skills and .agents/skills → baseline Unreleased notes. The registry publishes one item per catalogued skill (S6), so flow-lenses needs a skills.ts entry with sourceDirectory: "skills/agnostic/requirements/flow-lenses" and membership in a default packRelease classification selects baselineRoot CLAUDE.md shared-skills rule; S1 Phase State scope; S6

Critical Flows and Boundaries

FLOW-001 Brainstorm turn

Question: what does one brainstorm turn do, and where can it go next?

  • FLOW-001-STEP-001: bound the system and name its real operators; apply agent legibility only when agents operate it (Q4).
  • FLOW-001-STEP-002: the proposal carries the current shape, 2–3 alternatives with tradeoffs, evidence or unknowns, and forks as defaults; optional flow-lenses findings appear as tradeoffs (Q2, Q8).
  • FLOW-001-STEP-003: one show-me view every turn: rendered page when the host supports it, otherwise text views (Q2).
  • FLOW-001-STEP-004: write ARC-002 at turn end when the user accepted or rejected a shape or stated a preference (Q5).
  • FLOW-001-STEP-005: the turn ends on the proposal and an invitation to react; exits are another turn or $requirements-grill with the Brief (Q2, Q3).

Conclusion: no path in a brainstorm turn asks a question round, edits code, or writes a plan; the Brief carries everything the grill needs (Q1, Q3).

FLOW-002 Grill route

Question: in which order do grill gates run, and what blocks progress?

  • FLOW-002-STEP-001: the router reads the precision inputs; a level they already settle for a branch is skipped. Before the first round the grill imports the Brief into answered entries, rejected alternatives, and frontier questions (Q6, Q15).
  • FLOW-002-STEP-002: ARC-005 gathers facts by subagents and never asks the user (Q16).
  • FLOW-002-STEP-003: the router selects one altitude, the shallowest with ready questions across all branches (Q11).
  • FLOW-002-STEP-004: ARC-006 asks the selected altitude's ready questions in one round (Q11, Q16).
  • FLOW-002-STEP-005: ARC-007 runs its required calls on every response set, including partial sets, and persists call evidence; a skipped call blocks the next round (Q8, Q16, Q18).
  • FLOW-002-STEP-006: the close guard passes only when every branch is settled at its Target Altitude or parked at a named altitude with the user's reason (Q14).
  • FLOW-002-STEP-007: ARC-008 closes and hands off to create-architecture (Q16).

Conclusion: the router, not $grilling, picks the questions; required calls become durable status evidence, so a dropped call stops the grill instead of passing silently (Q16, Q18).

FLOW-003 Branch altitude descent

Question: how does one branch move from L1 to its Target Altitude?

  • FLOW-003-STEP-001: a branch starts at the first level its precision inputs do not settle (Q15).
  • FLOW-003-STEP-002: Settled Altitude rises to N when every level-N question is answered or parked (Q12, Glossary Q25). An accepted answer with a code consequence raises the Target Altitude to L3 (Q10).
  • FLOW-003-STEP-003: the checkpoint derives level N+1 questions; they join the next round of that altitude; branches descend independently (Q11, Q12).
  • FLOW-003-STEP-004: a branch settled at target, or parked at a named altitude, satisfies the close guard (Q14).

Conclusion: a code-bearing branch cannot close above L3 Modules unless the user parks it, which removes the "Illustrative" escape that kept module decisions out of every observed grill (Q10, Q13; S2 Current-State Findings).

FLOW-004 Requirements Phase and compile gaps

  • FLOW-004-STEP-001: requirements-phase step 3 runs the grill until every material branch is settled at its Target Altitude or explicitly parked (ARC-011, Q19).
  • FLOW-004-STEP-002: create-architecture step 3 calls flow-lenses; L3 decisions feed module and interface sections (ARC-012, Q20).
  • FLOW-004-STEP-003: a compile gap returns to the grill with its altitude, and the router places it in a round of that altitude (Q20, Q11).

FLOW-005 Skill source to Baseline

FLOW-005-STEP-001  skills main: brainstorm, flow-lenses, requirements-grill graph, consumers, tests,
                   package.json, workflow → node --test green (ARC-015, ARC-016) → commit, push
FLOW-005-STEP-002  harness-intelligence: pin ref + commit (ARC-017) → bun run sync:skills → receipt SHA = skills main HEAD
FLOW-005-STEP-003  flow-lenses catalog entry, BASELINE_CHANGELOG Unreleased, wiki pages (ARC-014, ARC-017)

Conclusion: skill text never starts in apps/cli/skills; the sync receipt proves which skills commit the Baseline ships, and the new CI keeps the suite green on skills main (Q24; root CLAUDE.md shared-skills rule).

Module layout

Question: which files exist after the change in the skills repo?

skills/agnostic/requirements/
├── brainstorm/SKILL.md                 # ARC-001 rewritten proposal loop
├── flow-lenses/SKILL.md                # ARC-003 new, internal
├── grilling/                           # unchanged upstream primitive
└── requirements-grill/
    ├── SKILL.md                        # ARC-004 bootstrap, no gate bodies
    ├── AUTHORING-HANDOFF.md            # ARC-004 authoring record
    ├── phases/
    │   ├── router.md                   # ARC-004, ARC-010
    │   ├── ground.md                   # ARC-005
    │   ├── round.md                    # ARC-006
    │   ├── checkpoint.md               # ARC-007
    │   └── close.md                    # ARC-008
    └── references/
        ├── artifact-output.md          # ARC-009 altitude fields, no Illustrative
        └── wiki-output.md              # ARC-009 unchanged role
                                        # grilling-flow.md removed (folded into gates)
skills/phases/requirements-phase/SKILL.md              # ARC-011
skills/agnostic/planning/create-architecture/**        # ARC-012
skills/agnostic/cli/ask-hi/**                          # ARC-013
tests/*.contract.test.mjs                              # ARC-015
package.json, .github/workflows/*                      # ARC-016

Conclusion: the grill graph has exactly four gates plus the router, matching Q16; the tree adds no file the grill did not decide, except the CI workflow file whose name is not recorded.

Accepted Detail Coverage

Question + exact entry/evidence anchorExact accepted choiceProvided rationale / alternativesArchitecture selectorSystem constraint served
Q1Proposal loop; no interview or question rounds; no longer an internal gap scanUser direction: question rounds "RESERVED" for the grillARC-001, FLOW-001One question owner
Q2Turn content: shape, 2–3 alternatives with tradeoffs, evidence/unknown, forks with default, no AskUserQuestion, one show-me view, proposal endingAll four observed calls ran interview rounds (S2)ARC-001, FLOW-001-STEP-002, FLOW-001-STEP-003, FLOW-001-STEP-005Proposals, not questions
Q3Two exits; no code, plan, or implementation; Brief is only durable writeUser corrected implementation offers twice (S2)ARC-001, ARC-002, FLOW-001-STEP-005Bounded side effects
Q4Drop operating-agent seat; name real operators; agent legibility as one lensAgent fought the frame (S2)ARC-001, FLOW-001-STEP-001Correct operator model
Q5brainstorm writes Brief at <wiki-root>/content/docs/project/grilling/<topic>-brainstorm-brief.md, routed frontmatter, grilling/meta.json; update rule; content listFork 3, option 1ARC-002, FLOW-001-STEP-004Durable brainstorm state
Q6Import before first round; source Brainstorm Brief; rejected → rejected alternatives; forks → frontier at altitude; no re-asknot recordedARC-002, FLOW-002-STEP-001No repeated questions
Q7Lenses move to internal skills/agnostic/requirements/flow-lenses/; description names callers; output candidate gaps with evidence/unknown, guarantee, altitudeBrainstorm had two jobs (S2)ARC-003, ARC-012One lens owner
Q8Callers: grill checkpoint every response set incl. partial; create-architecture step 3; optional brainstorm as tradeoffsnot recordedARC-003, ARC-007, FLOW-001-STEP-002, FLOW-002-STEP-005Gap scan at every set
Q9Leading word altitude (fork 1, option 1); L1/L2/L3 contents; planning out of grill"Fog" stays Finder'sARC-010Shared depth vocabulary
Q10Target and settled altitude per branch; code-bearing → L3, product-only → L1; raise on first code consequenceZero of nine grills asked L3 (S2)ARC-010, ARC-007, FLOW-003-STEP-002Code branches reach modules
Q11One altitude per round (fork 2, option 1); shallowest ready altitude; independent descentnot recordedARC-004, ARC-006, FLOW-002-STEP-003, FLOW-003-STEP-003Coherent rounds
Q12N+1 derivation at checkpoint; L3 inputs codebase-design, stack skills, opensrc, show-me sketch or module treenot recordedARC-007, FLOW-003-STEP-003Planned descent, not compile gaps
Q13Remove Illustrative from template and grill text; L3 decides names, interfaces, primitives, seams, layoutCommit history S5ARC-009, ARC-010No unasked module defaults
Q14Close only at target or parked at named altitude with reason; confirmation stays; auto-pin stays with altitudenot recordedARC-008, FLOW-002-STEP-006, FLOW-003-STEP-004Closure proves depth
Q15Precision inputs: Fog graph, Brief, status, code evidence; settled level skippednot recordedARC-004, FLOW-002-STEP-001, FLOW-003-STEP-001No re-asking known levels
Q16Graph shape; gates ground, round, checkpoint, close with listed duties; $grilling unchanged; references kept; grilling-flow.md folded; $wayfinder stayswrite-graph-based-skills ConvertARC-004..ARC-009, FLOW-002, Module layoutDurable, resumable grill
Q17Dashboard columns; Current Round Altitude; round table column; log entry Altitudenot recordedARC-009Altitude is durable state
Q18Each gate names its calls; checkpoint records call evidence per round; skip blocks next roundDirecta skipped calls (S2)ARC-007, FLOW-002-STEP-005Calls are observable
Q19requirements-phase step 3 completion at target or parkednot recordedARC-011, FLOW-004-STEP-001Phase uses same guard
Q20create-architecture step 3 → flow-lenses; L3 feeds module/interface sections; gap returns with altitudenot recordedARC-012, FLOW-004-STEP-002, FLOW-004-STEP-003Compile consumes depth
Q21ask-hi references naming the family; any skill text calling $brainstorm as gap scannot recordedARC-012, ARC-013No stale routing text
Q22Harness entrypoint and skill-reference wiki pages via docs-ingest-phasenot recordedARC-014, FLOW-005-STEP-003Wiki matches skills
Q23Rewrite brainstorm test; new grill graph tests; new flow-lenses tests; update composition and other pinning testsnot recordedARC-015Behavior guarded
Q24package.json "test": "node --test tests/*.test.mjs"; workflow on push to main and PRs; start green; stale assertions updated; real regression blocks to userNo runner existed (S2)ARC-016, FLOW-005-STEP-001Suite runs on every change
Glossary Q25Canonical terms, relationships, axioms"Fog" ambiguityCanonical TermsOne vocabulary

Spec Traceability

  • State: complete. Every current OUT and AC code in the sibling SPEC.md maps below.
Spec code / section selectorArchitecture selectorsAccepted grill Q / exact log-entry evidence anchorsCoverage explanation
OUT-001 (SPEC #out-001)ARC-001, FLOW-001-STEP-001, FLOW-001-STEP-002, FLOW-001-STEP-003Q1, Q2, Q4, Q8Proposal-loop turn content and operator framing
OUT-002 (SPEC #out-002)ARC-001, ARC-002, FLOW-001-STEP-004, FLOW-001-STEP-005Q3, Q5Two exits; Brief as the only durable write
OUT-003 (SPEC #out-003)ARC-002, ARC-004, FLOW-002-STEP-001, FLOW-003-STEP-001Q6, Q15Brief import and precision inputs
OUT-004 (SPEC #out-004)ARC-003Q7, Q8flow-lenses ownership, output, callers
OUT-005 (SPEC #out-005)ARC-004, ARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-002Q16Graph structure and gate duties
OUT-006 (SPEC #out-006)ARC-010, ARC-007, FLOW-002-STEP-003, FLOW-003Q9, Q10, Q11, Q12, Q13Altitude ladder, selection, derivation
OUT-007 (SPEC #out-007)ARC-008, FLOW-002-STEP-006, FLOW-003-STEP-004Q14Close guard at Target Altitude
OUT-008 (SPEC #out-008)ARC-009, ARC-007, FLOW-002-STEP-005Q17, Q18Altitude fields and call evidence
OUT-009 (SPEC #out-009)ARC-011, ARC-012, ARC-013, FLOW-004Q19, Q20, Q21Consumer changes
OUT-010 (SPEC #out-010)ARC-015, ARC-016, FLOW-005-STEP-001Q23, Q24Tests, runner, CI
OUT-011 (SPEC #out-011)ARC-014, ARC-017, FLOW-005Q22Sync, catalog, changelog, wiki; catalog need from S6
AC-001 (SPEC #ac-001)ARC-001, FLOW-001-STEP-002, FLOW-001-STEP-003, FLOW-001-STEP-005Q1, Q2Turn content, no question rounds
AC-002 (SPEC #ac-002)ARC-001, FLOW-001-STEP-001, FLOW-001-STEP-002Q4, Q8Operators, agent-legibility lens, lens findings as tradeoffs
AC-003 (SPEC #ac-003)ARC-001, FLOW-001-STEP-005Q3Exits and forbidden side effects
AC-004 (SPEC #ac-004)ARC-002, FLOW-001-STEP-004Q5Brief path, metadata, update rule, content
AC-005 (SPEC #ac-005)ARC-002, FLOW-002-STEP-001Q6Brief import mapping
AC-006 (SPEC #ac-006)ARC-004, FLOW-002-STEP-001, FLOW-003-STEP-001Q15Precision inputs
AC-007 (SPEC #ac-007)ARC-003, ARC-001Q7flow-lenses file, lenses moved
AC-008 (SPEC #ac-008)ARC-003, ARC-007, ARC-012, FLOW-002-STEP-005, FLOW-004-STEP-002Q8, Q20Caller wiring
AC-009 (SPEC #ac-009)ARC-004, ARC-009Q16Graph file set
AC-010 (SPEC #ac-010)ARC-004, FLOW-002Q16Graph audit
AC-011 (SPEC #ac-011)ARC-005, ARC-006, ARC-007, ARC-008, FLOW-002-STEP-002, FLOW-002-STEP-004, FLOW-002-STEP-005, FLOW-002-STEP-007Q16Gate duties; $grilling unchanged; $wayfinder kept
AC-012 (SPEC #ac-012)ARC-010, FLOW-003-STEP-002Q9, Q10Ladder content and targets
AC-013 (SPEC #ac-013)ARC-004, FLOW-002-STEP-003Q11One altitude per round
AC-014 (SPEC #ac-014)ARC-007, FLOW-003-STEP-003Q12Next-level derivation
AC-015 (SPEC #ac-015)ARC-009, ARC-010Q13No Illustrative default
AC-016 (SPEC #ac-016)ARC-008, FLOW-002-STEP-006, FLOW-003-STEP-004Q14Close guard, confirmation, auto-pin altitude
AC-017 (SPEC #ac-017)ARC-009Q17Artifact altitude fields
AC-018 (SPEC #ac-018)ARC-007, FLOW-002-STEP-005Q18Call evidence blocks next round
AC-019 (SPEC #ac-019)ARC-011, FLOW-004-STEP-001Q19requirements-phase step 3
AC-020 (SPEC #ac-020)ARC-012, FLOW-004-STEP-002, FLOW-004-STEP-003Q20, Q21create-architecture step 3, contract, template
AC-021 (SPEC #ac-021)ARC-012, ARC-013Q21No gap-scan $brainstorm calls; ask-hi text
AC-022 (SPEC #ac-022)ARC-015Q23Contract test set
AC-023 (SPEC #ac-023)ARC-016, FLOW-005-STEP-001Q24Runner, workflow, green suite
AC-024 (SPEC #ac-024)ARC-017, FLOW-005-STEP-002, FLOW-005-STEP-003Q22Pin, receipt, catalog, changelog; distribution from root shared-skills rule and S6
AC-025 (SPEC #ac-025)ARC-014, FLOW-005-STEP-003Q22Wiki pages through docs-ingest-phase

Flow Failure Coverage

Lens labels come from S7.

LensEvidence / unknown / justified not applicableGuarantee at stakeMaterial unresolved gap
Entry points and path convergenceEvery grill entry, resume, and compile-gap return goes through the router (ARC-004, FLOW-004-STEP-003). brainstorm has one entry and two exits (Q3). flow-lenses gives one output shape to three callers (Q7)One rule set per entryNone
Critical execution pathsFLOW-002 order: router → ground → round → checkpoint → router → close (Q16); Brief import before the first round (Q6)Evidence before questions; checkpoint before next roundNone
State ownership and authorityBrief: written only by brainstorm, read by grill (ARC-002). Status and log: grill via artifact-output (ARC-009). flow-lenses writes nothing (ARC-003). Router alone selects questions (Q16)No double authorshipNone
Transaction and side-effect boundariesCheckpoint persists answers, call evidence, and frontier before the next round (Q16, Q18); wiki synthesis only after explicit closure; Brief written at turn end (Q5)No unpersisted roundNone
Concurrency and stale stateUnknown: a Brief edited after the grill imported it. Import is defined before the first round (Q6); the Brief stays a router precision input (Q15); brainstorm exits to the grill (Q3)Grill reflects user preferencesNone (non-material)
Idempotency and retriesStable Q<N> ids and status-driven cold resume (S4 artifact-output.md); no re-ask of recorded preferences (Q6). Unknown: deduplication rule for Brief import on resume is not recordedResume does not duplicate entriesNone (non-material)
Partial failure and recoveryPartial response sets still run the checkpoint (Q8); skipped call blocks (Q18); compile gap returns with altitude (Q20); real test regression blocks to user (Q24)Visible failure, no silent skipNone
Execution lifetime and durabilityBrief, status, and log are routed wiki files; router recomputes from them on every entry (Q5, Q15, Q16)Cold resumeNone
Lifecycle and dependency transitionsLens list moves out of brainstorm; every caller and contract that read it moves (ARC-012, ARC-013, Q21); grilling-flow.md removal updates its readers (ARC-015). flow-lenses ships only when catalogued (S6, ARC-017). Unknown: migration of open grills whose status lacks altitude fields is not recordedNo dangling reference; new skill installed with its callersNone (non-material)
Completion and observabilityDashboard target/settled altitude (Q17); per-round call evidence (Q18); close guard (Q14); green CI (Q24); sync receipt SHA (FLOW-005-STEP-002)Distinguish settled, parked, closed, shippedNone

Parked Work and Non-material Unknowns

Question / sourceDisposition and scope consequenceOwner / resume triggerWhy current guarantees remain closed
Gate that performs the Brief import (Q6, Q16)Not recordedImplementer; write-graph-based-skills authoringQ6 fixes timing (before first round) and result; any gate placement meets it
File that holds the single definition of the altitude ladder (ARC-010)Not recordedImplementer; write-graph-based-skills authoringQ9 fixes the content; placement does not change behavior
flow-lenses pack membership (ARC-017, S6)Not recorded; a catalog entry is required to shipImplementer; create-plandefault packs always install (S6 shape.ts); callers sit in default packs requirements and planning
Brief edited after importUnknownImplementerImport timing and router input are accepted (Q6, Q15)
Open grills in the old status formatNot recordedImplementer; first resume of an old grillClosed grills feed create-architecture, which reads status/log, not altitude columns
CI workflow file name and Node versionNot recordedImplementer; create-planQ24 fixes triggers and command

Validation

  • Decision/source/glossary reconciliation: Q1–Q24 and Glossary Q25 match S1–S3 at commit 657296989d59; status closure, glossary snapshot, and published glossary agree.
  • Exact-detail cross-level coverage: every accepted Q has a row in Accepted Detail Coverage.
  • Relative links, selector targets, visual source/order checks: grill links use #q<N> and #glossary-q25 heading anchors; every ARC/FLOW/STEP selector has an explicit <a id>.
  • Spec-code → architecture → grill coverage: complete for OUT-001..OUT-011 and AC-001..AC-025.
  • Mermaid parsing/rendering: all four diagrams rendered to SVG with @mermaid-js/mermaid-cli@11 (mmdc), 2026-10-16.
  • Existing spec agreement: sibling SPEC.md compiled from this architecture; no other spec covers these skills.
  • Flow-lens source: the Skill tool resolved a user-global brainstorm copy without a Flow failure lens section; the lens labels come from the project-installed copy (S7).
  • Remaining limits: the non-material unknowns above.

On this page