Harness Intelligence Wiki
Grilling

Brainstorm and Grill Altitude Grill Log

Brainstorm and Grill Altitude Grill Log

Context

  • Source: user /retro direction, 2026-10-16, over T3 threads 12de7e90 (Directa), 978870ef (APITO company logos) and 6fd56191 (ClickStack observability), plus six earlier grill runs on disk.
  • User direction, verbatim: "brainstorm should provide proposals and brainstorm with you on an architecture/shape to reach. and it should always provide show-me visualizations. actual interview/question rounds is RESERVED for $requirements-grill passes."
  • User direction, verbatim: "our grills dont go near the abstraction level desired … turning requirements-grill into a /write-graph-based-skills skill that routes intelligently (based on precision and granularity reached so far in context …) between functional higher level requirement questions and lower level implementation details questions."
  • Input: the retro proposal (two root-cause lists, a Wave 1 / Wave 2 plan, and three open forks). The user accepted all of it: "i agree with all this … no more questions. i agree all. we reached shared understanding". Each fork took the first option listed in the proposal.
  • Target: shared skill source wearedevpunks/skills (/home/stefan/repos/skills, main), vendored to apps/cli/skills and .agents/skills through bun run sync:skills.
  • Authoring method: write-graph-based-skills (Convert mode) for requirements-grill; writing-for-agents for all gate and skill text.

Current-State Findings

Facts, not decisions:

  • Standalone $brainstorm produced interview rounds in all four observed calls. Thread 6fd56191 pos 4/8/21 asked single "(Recommended)" questions; r10 ended in decisions D1–D8 and an AskUserQuestion with four decisions. Thread 12de7e90 pos 2271/2277 ran two AskUserQuestion rounds. Thread 978870ef #181/#232/#238 ended in "Decisions for you" lists and offers to implement.
  • The agent read the skill as a question contract. Thread 6fd56191 pos 105: "return observations plus unresolved decisions … surface the handful of truly unresolved questions for the user".
  • skills/agnostic/requirements/brainstorm/SKILL.md steps 2 and 4 say "Surface material gaps as candidate decisions" and "Return evidence-grounded observations and unresolved decisions". It never names $show-me and has no exit rule.
  • brainstorm has two jobs: user-facing collaboration and the internal gap scan. requirements-grill/SKILL.md calls it before the first frontier and after every response set. create-architecture/SKILL.md step 3 calls it on accepted decisions.
  • No show-me render came from a brainstorm until the user typed $show-me (6fd56191 pos 119→128). In 12de7e90 pos 2257 the user asked for $show-me and got a text block.
  • The user corrected implementation offers during brainstorm twice: 978870ef #234 and #240 ("DO NOT FUCKING IMPLEMENT … we closing brainstorm first. then encode result into $requirements-grill").
  • The agent fought the "operating agent's seat" framing: 12de7e90 pos 2259 "brainstorm framing treats agent as operator, but here it's really end user trading app, I need adapt".
  • Zero of nine grill runs asked a module-level question. Module detail was labelled Illustrative (Directa Q17, Q22, Q40) or pinned as unasked defaults (CI federated-session-renewal D8, D14). The user later added module-level requirements by hand: XState + Effect persistence (Directa pos 246), Effect primitives for network delays (Q68), shadcn charts (Q69).
  • Rounds after closure came only from compile gaps (federated-session-renewal R3/R4, package-declared-groups R4/R5, apito R12), never from a planned deeper level.
  • Commit f370868 (2026-08-14) added "For each active technical branch, ask questions for the applicable topology, dependency direction or injection, seams, boundaries, persistence, and module shape." Commit 3b0e174 (2026-10-05) removed it and added "Technical grounding supplies requirements evidence, not an implementation plan … leave illustrative spelling … to downstream work" plus the Illustrative: log field.
  • The grill skipped its own required calls: Directa ran the brainstorm checkpoint once in seven rounds and skipped $wait-what ("would just slow things down", pos 243).
  • tests/brainstorm.contract.test.mjs asserts evidence-grounded observations.*unresolved decisions. One of its tests fails today (line 48: gate text no longer present).
  • The skills repo has no package.json, no .github/workflows, and no runner. node --test tests/*.test.mjs today: 337 tests, 14 fail in four files (agent-workflow-contract 1, brainstorm 1, parallel-research 1, wayfinder-lifecycle 11).

Branch: Brainstorm Role

Q1

Prerequisites:

  • none

Altitude: L1

Question: What is brainstorm for?

Accepted answer:

  • brainstorm is a user-facing proposal loop. It proposes a system shape or architecture to reach and refines it with the user.
  • brainstorm runs no interview or question rounds. Question rounds belong only to requirements-grill.
  • brainstorm is no longer an internal gap scan for other skills (Q7).

Q2

Prerequisites:

  • Q1

Altitude: L1

Question: What does each brainstorm turn contain?

Accepted answer:

  • The current proposed shape.
  • Two or three alternative shapes, each with its tradeoff against the current shape.
  • Evidence anchors for each claim, or an explicit unknown.
  • Open forks stated as proposals with a default ("I take X unless you steer"), never as a numbered question list. No AskUserQuestion.
  • One show-me view every turn. Use a rendered page when the host supports it, otherwise show-me's text views.
  • The turn ends on the proposal and an invitation to react.

Q3

Prerequisites:

  • Q1

Altitude: L1

Question: How does a brainstorm end, and what may it change?

Accepted answer:

  • Only two exits: another brainstorm turn, or $requirements-grill with the Brainstorm Brief (Q5).
  • brainstorm edits no code, writes no plan, and starts no implementation.
  • Its only durable write is the Brainstorm Brief.

Q4

Prerequisites:

  • Q1

Altitude: L1

Question: Which seat does a brainstorm take?

Accepted answer:

  • Drop "the operating agent's seat" as the default frame.
  • Bound the system and name its real operators: end users, agents, operators, or a mix.
  • Agent legibility (agent-intuitive, agent-ergonomic, agent-accretive) stays as one lens. It applies when agents operate the system.

Q5

Prerequisites:

  • Q3

Altitude: L2

Question: Who writes the Brainstorm Brief, where, and when?

Accepted answer:

  • brainstorm writes it (fork 3, option 1).
  • Path: <wiki-root>/content/docs/project/grilling/<topic>-brainstorm-brief.md, with the routed-wiki frontmatter and grilling/meta.json entry that the grill artifacts use.
  • Update it at the end of every turn in which the user accepted or rejected a shape or stated a preference.
  • Content: bounded system and operators; chosen shape; rejected shapes with the reason; user-stated preferences quoted verbatim; open forks with the proposed default; evidence anchors.

Q6

Prerequisites:

  • Q5, Q11

Altitude: L2

Question: How does requirements-grill use the Brainstorm Brief?

Accepted answer:

  • Before the first round, the grill imports the Brief. User-stated preferences and the accepted shape become answered log entries with source Brainstorm Brief. Rejected shapes become rejected alternatives.
  • Open forks become frontier questions at their altitude.
  • The grill does not re-ask a preference the Brief already records.

Branch: Flow Lenses

Q7

Prerequisites:

  • Q1

Altitude: L2

Question: Where do the ten flow failure lenses live?

Accepted answer:

  • Move them out of brainstorm into a new internal skill flow-lenses at skills/agnostic/requirements/flow-lenses/.
  • Its description names its callers. Users do not invoke it directly.
  • Output: candidate gaps. Each gap has evidence or an explicit unknown, the guarantee at stake, and the altitude of the question it implies. Callers own the questions.

Q8

Prerequisites:

  • Q7

Altitude: L2

Question: Who calls flow-lenses?

Accepted answer:

  • The requirements-grill checkpoint, after every response set, including partial sets.
  • create-architecture step 3, in place of $brainstorm.
  • brainstorm may apply it to its own shapes. Findings show as tradeoffs inside the proposal, never as questions.

Branch: Grill Altitude

Q9

Prerequisites:

  • none

Altitude: L1

Question: Which leading word and levels route grill depth?

Accepted answer:

  • Leading word: altitude (fork 1, option 1). "Fog" stays Finder's artifact name.
  • L1 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 of the grill: edit order, task breakdown, waves, estimates, tuning constants.

Q10

Prerequisites:

  • Q9

Altitude: L2

Question: How deep must each branch go?

Accepted answer:

  • Each branch records a target altitude and a settled altitude.
  • A code-bearing branch targets L3. A product-only branch targets L1.
  • A branch becomes code-bearing as soon as any accepted answer has a code consequence. Its target then rises to L3.

Q11

Prerequisites:

  • Q9, Q10

Altitude: L2

Question: Which questions does one round ask?

Accepted answer:

  • One altitude per round (fork 2, option 1).
  • The router selects the shallowest altitude that has ready frontier questions across all branches.
  • Branches descend independently. A branch whose level is settled contributes its next-level questions to the next round of that altitude.

Q12

Prerequisites:

  • Q10, Q11

Altitude: L2

Question: How are the next level's questions created?

Accepted answer:

  • When every question of a branch at level N is answered or parked and N is below the target, the checkpoint derives that branch's level N+1 questions.
  • L3 derivation uses codebase-design vocabulary (module, interface, seam, adapter, depth), the applicable stack skills (for example effect-service-design), opensrc for exact primitives, and a show-me interface sketch or module tree.

Q13

Prerequisites:

  • Q9

Altitude: L2

Question: What happens to the Illustrative default?

Accepted answer:

  • Remove it from the log template and from grill text.
  • At L3 the grill decides module names, interfaces, primitives, seam placement, and file layout.
  • Only planning items (Q9) stay downstream for create-plan.

Q14

Prerequisites:

  • Q10, Q12

Altitude: L2

Question: When can the grill close?

Accepted answer:

  • Only when every branch is settled at its target altitude, or parked at a named altitude with the user's reason.
  • The explicit shared-understanding confirmation stays.
  • User-authorized auto-pinning of defaults stays. A pinned default records its altitude.

Q15

Prerequisites:

  • Q9, Q6

Altitude: L2

Question: What tells the router how much precision exists already?

Accepted answer:

  • The Fog graph, when Finder context is supplied.
  • The Brainstorm Brief.
  • The grill status file.
  • Code evidence.
  • When these already settle a level for a branch, that branch starts at the next level.

Q16

Prerequisites:

  • Q11, Q12, Q14

Altitude: L2

Question: What shape does the converted requirements-grill take?

Accepted answer:

  • A graph-based skill under write-graph-based-skills: bootstrap SKILL.md, flat phases/ with router.md and one file per gate, and AUTHORING-HANDOFF.md.
  • Gates: ground (facts by subagents; never asks the user), round (one $grilling round over the selected altitude's ready questions, presented through $wait-what with a show-me view), checkpoint (record answers, $domain-modeling, flow-lenses, next-level derivation, frontier recompute, persist), close (confirmation, final $domain-modeling, show-me of the persisted understanding, wiki synthesis after explicit closure, handoff to create-architecture).
  • $grilling stays unchanged as the per-round interview primitive. The router owns question selection.
  • references/artifact-output.md and references/wiki-output.md stay as references. references/grilling-flow.md content moves into the gates.
  • $wayfinder routing for one stuck unknown stays.

Q17

Prerequisites:

  • Q10, Q11

Altitude: L3

Question: How do the durable artifacts record altitude?

Accepted answer:

  • Branch Dashboard: add Target altitude and Settled altitude columns.
  • Current Round: add Altitude: L1 | L2 | L3.
  • Round question table: add an Altitude column.
  • Each log question entry: add Altitude: L1 | L2 | L3.

Q18

Prerequisites:

  • Q16

Altitude: L2

Question: How does the grill stop dropping its required calls?

Accepted answer:

  • Each gate names its own required calls.
  • The checkpoint records each call's evidence in the status file for the round (for example flow-lenses: R<N> run). A skipped call is visible and blocks the next round.

Branch: Downstream Consumers

Q19

Prerequisites:

  • Q14

Altitude: L2

Question: What changes in requirements-phase?

Accepted answer:

  • Step 3 completes when every material branch is settled at its target altitude or explicitly parked.

Q20

Prerequisites:

  • Q8, Q12

Altitude: L2

Question: What changes in create-architecture?

Accepted answer:

  • Step 3 calls flow-lenses in place of $brainstorm.
  • L3 decisions feed the architecture's module and interface sections.
  • A compile gap returns to the grill with its altitude.

Q21

Prerequisites:

  • Q1, Q7, Q16

Altitude: L2

Question: Which other skill surfaces must move with the change?

Accepted answer:

  • ask-hi references that describe brainstorm, requirements-grill, or the requirements family (references/requirements.md, references/phase-graph.md, and any other reference naming them).
  • Any skill text that calls $brainstorm as a gap scan.

Q22

Prerequisites:

  • Q21

Altitude: L1

Question: Which wiki pages move with the change?

Accepted answer:

  • The harness entrypoint and skill-reference pages that describe brainstorm, requirements-grill, or the requirements flow, through docs-ingest-phase.

Branch: Guardrails

Q23

Prerequisites:

  • Q2, Q3, Q7, Q14, Q16

Altitude: L2

Question: Which contract tests change?

Accepted answer:

  • Rewrite tests/brainstorm.contract.test.mjs: show-me every turn, proposal ending, no question rounds, two exits, Brief path.
  • Add graph tests for requirements-grill, 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.
  • Add flow-lenses tests.
  • Update tests/requirements-grill-composition.contract.test.mjs and any other test that pins the old text.

Q24

Prerequisites:

  • Q23

Altitude: L2

Question: How do the contract tests run?

Accepted answer:

  • Add a package.json with "test": "node --test tests/*.test.mjs".
  • Add a GitHub Actions workflow that runs it on push to main and on pull requests.
  • The suite starts green. Triage the 14 failures that already exist: update an assertion that pins stale text to the current accepted skill text. A failure that shows a real skill regression blocks and goes to the user.

Glossary Q25

Question: Which terms are canonical?

Accepted answer:

  • Canonical term: 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.
  • Canonical term: Target Altitude — the deepest altitude a branch must settle before the grill can close.
  • Canonical term: Settled Altitude — the deepest altitude at which every question of a branch is answered or parked.
  • Canonical term: Brainstorm Brief — the durable record of a brainstorm: chosen shape, rejected shapes, user preferences, open forks.
  • Avoid: brainstorm summary, brainstorm handoff.
  • Canonical term: Flow Lenses — the ten end-to-end failure lenses that produce candidate gaps for a caller.
  • Avoid: architectural lenses, brainstorm lenses.
  • Relationship: each Branch has exactly one Target Altitude and one Settled Altitude.
  • Relationship: one Round asks questions at exactly one Altitude.
  • Axiom: only requirements-grill asks the user question rounds; brainstorm proposes.
  • Axiom: the grill closes only when every branch has reached its Target Altitude or is parked at a named altitude.

Closure

  • Shared-understanding confirmation: confirmed by the user, 2026-10-16: "i agree all. we reached shared understanding".
  • Grill closed by the user in the same message. Handoff: $create-architecture.

On this page