Harness Intelligence Wiki
SpecsCLIBrainstorm and Grill Altitude

Plan: Brainstorm and Grill Altitude

Execution Plan: Brainstorm and Grill Altitude

Context Pointers

AliasSourceExact identityFreshness rule
SPECSPEC.md blobcommit 0cefe387b0cc6ee14beb849adc7852c275b08eeb; sha256 f1ffbdb50e512255bf405e1eb1aac1d83ed3de7761097d6dafe54c30f3e887abAny byte change invalidates every task proof that cites a SPEC# selector
ARCHARCHITECTURE.md blobcommit 5a9667427afe2591c24e6e8319cf2e684ed0c424; sha256 22dac0208d14784442f3f81fab39333a02c19b9d626f3186d6ad7021113dd380 (matches SPEC#architecture-source)Same; a change returns to Requirements Phase
STATUSapps/wiki/content/docs/project/grilling/brainstorm-grill-altitude-grill-status.mdcommit 657296989d59879ae3cb09ec91b438c2f13beba1; sha256 c4ef2247c829cca4…Closed grill; unchanged at plan time
LOGapps/wiki/content/docs/project/grilling/brainstorm-grill-altitude-grill-log.md (#q1–#q24, #glossary-q25, #closure)same commit; sha256 12cdbd140711b564…Same
GLOSSARYapps/wiki/content/docs/project/domains/brainstorm-grill-altitude-glossary.mdxsame commit; sha256 9750cf43f88d21f7…Canonical terms: Altitude, Target Altitude, Settled Altitude, Brainstorm Brief, Flow Lenses
SKILLS_BASEwearedevpunks/skills mainc86912b42c3bf2e7aa790554b6a4f929f99bd3c9 (local main = origin/main at plan time)Base for RED exports and for exact lens labels (brainstorm/SKILL.md sha256 dc63d714f78df27a…)
HI_BASEthis repo main3e79a7801d53217d7c8e06d64ff56330acacaec0; branch t3/brainstorm-requirements-grill-retro at 0cefe387b (pushed)Base for release:classify and squash

Selectors: SPEC#out-NNN, SPEC#ac-NNN, ARCH#arc-NNN, ARCH#flow-NNN-step-NNN, ARCH#trace-*, LOG#qN. Workers read the selector at its source; this plan copies no accepted decision beyond a bounded excerpt.

Architecture/SPEC Pair Complete gate (installed delivery-phase references/artifact-state.md): pass. Both artifacts have status: compiled, readiness: agent-ready; both commits are on origin/t3/brainstorm-requirements-grill-retro; the spec's Architecture Source names the exact architecture commit and hash; ARCH#spec-traceability maps OUT-001..OUT-011 and AC-001..AC-025; status, log, and glossary hashes match ARCH#sources S1–S3 and are unchanged since 657296989d59.

Task Identity and Backlog Sync

  • task_identity_mode: planning-only for every task. relation_mode: unprojected. backlog_item_id and backlog_item_url: not_applicable.
  • backlog_sync_skip_reason (every task): User-directed chain grill → architecture → plan → implement excludes write-backlog; no provider projection for this Baseline skill delivery (precedent: design-phase-redesign).
  • depends_on names Tn ids of this plan only. No provider parent, milestone, blocker, or readback claim exists.

Architecture Applicability

architecture_applicability: architecture-bearing. Evidence: eight tasks change one capability cumulatively; ownership moves (the Flow Lenses leave brainstorm for a new flow-lenses owner); public seams change (brainstorm exits and Brief, requirements-grill file graph, create-architecture step 3 caller); cross-skill dependency edges change (create-architecture and grill checkpoint → flow-lenses, not $brainstorm). backend-domain-structure and frontend-domain-structure do not apply: the owners are Markdown skills, test files, and catalog data, not backend or frontend code. Convergence views below derive from ARCH#architecture-blocks, ARCH#module-layout, and ARCH#whole-system.

Initial Situation

  • Skills repo /home/stefan/repos/skills on main at SKILLS_BASE, clean except a pre-existing untracked tests/fixtures/v43/IP-453/skills/ (mtime 2026-09-07; not created by this delivery; never stage it).
  • No package.json and no .github/ in the skills repo.
  • Suite baseline (node --test tests/*.test.mjs, Node v24.19.0): 337 tests, 323 pass, 14 fail — agent-workflow-contract 1, brainstorm 1, parallel-research 1, wayfinder-lifecycle 11. Matches ARCH#arc-016.
  • Wiki check:health baseline: exit 0, 10 structural findings, all in project/public-docs/** and project/research/ip-439-knowledge-consultation.md frontmatter sources. "No new finding" means this count and set stay unchanged.
  • apps/cli/scripts/sync-skills-repo.mjs pins refs/tags/sync/design-phase-redesign-c86912b42c3b / c86912b42c3bf2e7aa790554b6a4f929f99bd3c9. apps/cli/.devpunks-cache/ is absent until the first sync.
  • apps/cli/src/data/catalog/skills.ts has brainstorm at the start of the requirements entries; packs.ts requirements default pack lists requirements-phase, requirements-grill, brainstorm, domain-modeling, repo-asset-management, write-backlog.

Problem and Solution Shape

Problem: SPEC#context. Solution: SPEC#out-001..SPEC#out-011, structured by ARCH#whole-system. Delivery order follows ARCH#flow-005: skills main text and tests → push and tag → Baseline sync, catalog, changelog → wiki → review → squash to main.

Dependency Readiness

No Stack Required (copied from SPEC#dependency-readiness).

Branch/Base Intent

Copied from SPEC#branch-base-intent: skills changes land on skills main per the root shared-skills rule, from c86912b42c3b (T1–T9 skills work). This repository's changes land on branch t3/brainstorm-requirements-grill-retro from main 3e79a7801d53 (T9–T11), then squash to main (T12). No stacked PRs; depends_on edges are delivery blockers only.

Resolved Decision Ledger

$grilling ran as internal ambiguity reduction. The user directed "do not ask questions", so each plan-shaping decision takes its recommendation and records the evidence. No decision changes an accepted requirement.

IdDecisionResolutionEvidence
D1Task identityplanning-only, unprojected, skip reason aboveUser direction; references/backlog-sync.md
D2Applicabilityarchitecture-bearingSection above
D3 (ARCH unknowns row 3)flow-lenses Packrequirements default Pack only, listed directly after brainstorm. Catalog entry in skills.ts directly after the brainstorm entryARCH#parked-work-and-non-material-unknowns row 3: default Packs always install; requirements-grill (main caller) and the source skill sit in requirements; create-architecture sits in default planning, so it also receives the skill. One membership is the smallest choice
D4 (row 1)Gate that imports the Briefground. The router reads the Brief only as a precision input. When a Brief exists and status has no matching import record, the router routes to ground; ground writes the import before the first roundLOG#q6 fixes timing (before first round) and mapping; LOG#q16 makes ground the evidence gate that never asks the user; router stays read-only per write-graph-based-skills router rules
D5 (row 2)Single definition of the Altitude ladderphases/router.md, section ## Altitude Ladder (L1/L2/L3 content, planning exclusions, Target Altitude rule, code-consequence raise). checkpoint.md and close.md link router.md#altitude-ladder and restate nothing. SKILL.md names the ladder and links thereARCH#module-layout annotates router.md # ARC-004, ARC-010; SPEC#ac-009 forbids a third reference file; the router loads before every gate, so the ladder is always in context
D6 (row 4 + Idempotency lens row)Brief re-import idempotency and Brief edited after importground records Brief import: <brief path> sha256 <hash> R<N> in status. The router routes to ground for import only when no record exists or the recorded hash differs from the current Brief. On a hash change, ground imports only the delta: new items get new Q<N> ids; a changed preference or shape gets a superseding log entry (existing supersession rule in artifact-output.md); unchanged items are never duplicated; recorded preferences are never re-askedARCH#flow-failure-coverage rows "Concurrency and stale state" and "Idempotency and retries"; artifact-output.md stable ids and supersession
D7 (row 5)Open grills in the old status formatOn the first router entry to an open grill whose status lacks altitude fields, the router routes to ground; ground adds Target altitude (L3 for a code-bearing branch, else L1) and Settled altitude: none per branch, adds the Altitude column to the Current Round table, and records Altitude upgrade: R<N>. The router then skips levels that the status, log, and code evidence already settle (SPEC#ac-006). Existing log entries stay unchanged; new entries carry Altitude:. Closed grills are never upgraded. The rule text lives in artifact-output.md under a Legacy status headingARCH#parked-work-and-non-material-unknowns row 5; ARCH#flow-003-step-001
D8 (row 6)CI workflow file and Node version.github/workflows/test.yml, workflow test, triggers push: branches: [main] and pull_request, permissions: contents: read, one ubuntu-latest job: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1, actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with node-version: 24.19.0, then npm test. No install step (no dependencies). package.json: {"name": "devpunks-skills", "private": true, "scripts": {"test": "node --test tests/*.test.mjs"}}LOG#q24; SHA pins with version comments match the v7 action pins in use in this repo's .github/workflows/; node-version: 24.19.0 matches every workflow there; local Node is v24.19.0
D9RED strategy for skill-text contract testsTests follow the skill text (user topology). Each test task proves RED by running its new or changed test file against a read-only git archive export of SKILLS_BASE in a task-owned temp directory, then GREEN in the live checkout. The export is removed in the same command$tdd hard law adapted to the user-fixed order; no alternate worktree in the skills repo
D10Commit custody in the shared skills checkoutWorkers never commit, push, or stash in /home/stefan/repos/skills. After each Task Gate the parent commits that task's owned_paths only: git -C /home/stefan/repos/skills add -A -- <owned_paths> && git -C /home/stefan/repos/skills commit -m "<msg>" -- <owned_paths>, author simosabba, trailer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>. Commits are serialized. Nothing is pushed before T9Root CLAUDE.md shared-skills rule (single main checkout); disjoint write scopes
D11New test file namestests/requirements-grill-graph.contract.test.mjs, tests/flow-lenses.contract.test.mjsRepo naming: design-phase-graph, review-phase-graph, finder-phase-graph
D12flow-lenses frontmattername and description only. The description says what it returns and names its callers (grill checkpoint, create-architecture step 3, optional brainstorm); no user-invocable or disable-model-invocation keyInternal-skill precedent autoreview and review in skills main; callers must reach it by model invocation; repository-hygiene forbids platform metadata
D13.agents/skillsNot changed by T9. bun run sync:skills updates apps/cli/skills only. ARCH#arc-017 names .agents/skills as a downstream copy; that part is met through hi update after the Baseline publishes (T12), not by a hand edit. Recorded as an execution-path clarification, not a requirement changePrecedent release 3e79a7801 touched no .agents/skills file; sync script writes only apps/cli/skills and the receipt
D14Docs that quote the pingrep -rn c86912b42c3b outside history finds only the script. The runbook sentence "The repository skill-sync source pin is …" in apps/wiki/content/docs/project/runbooks/hi-cli-scaffolding.md:572 quotes an older pin (6f08a090aa62); T9 updates it to the new pin. History entries in BASELINE_CHANGELOG.md and apps/wiki/log.md stayMemory "skills sync release flow"; current runbook text

Assumptions and Constraints

  • Constraints: SPEC#constraints (only the grill asks rounds; skill text starts on skills main; write-graph-based-skills Convert mode; writing-for-agents style; canonical terms; stale-pin-only test fixes, real regressions block to the user).
  • skills/agnostic/requirements/grilling/** stays byte-identical to SKILLS_BASE (SPEC#ac-011, SPEC#non-goals).
  • Planning stays out of grill text: edit order, task breakdown, waves, estimates, tuning constants (SPEC#out-006).
  • Machine policy /AGENTS.md: test runs are light (node --test ≈ 1.3 s); run under nice -n 10. Every temp export lives under mktemp -d and is removed by the same command.
  • Lefthook: if a hook rewrites .githooks/pre-commit or creates .githooks/pre-commit.old, restore with git checkout .githooks/pre-commit && rm -f .githooks/pre-commit.old.

Codebase Findings

  • Readers of moved grill text: requirements-grill/references/artifact-output.md links grilling-flow.md and ../SKILL.md#core-behavior; ask-hi/references/requirements.md:23 lists references/grilling-flow.md. No other skill links grill internals.
  • $brainstorm callers (gap-scan): requirements-grill/SKILL.md lines 10, 38–39; create-architecture/SKILL.md step 3; create-architecture/references/artifact-contract.md:70; create-architecture/assets/ARCHITECTURE-TEMPLATE.md:96. Descriptions: ask-hi/SKILL.md:17, ask-hi/references/{requirements,phase-graph,baseline}.md.
  • Tests that read changed files: brainstorm (brainstorm + grill SKILL), requirements-grill-composition (grill SKILL, grilling-flow.md, artifact-output.md, requirements-phase), show-me (grill SKILL: $show-me … shared understanding … approval; no frontier is empty), agent-workflow-contract (grill SKILL code- or architecture-bearing), wayfinder-lifecycle and requirements-delivery-depth (requirements-phase), wiki-bookkeeping (wiki-output.md, unchanged).
  • Graph-skill precedent: skills/phases/design-phase/{SKILL.md,AUTHORING-HANDOFF.md,phases/*.md} and tests/design-phase-graph.contract.test.mjs (gate sections Entry Guard, Inputs, Actor-Like Gate Boundary, Bounded Action, Invariants, Completion Re-entry, …).
  • Catalog tests: apps/cli/src/registry/publisher/sources/{skills,packs}.test.ts.
  • Codebase Rule Registry activation (.agents/rules/index.md): HI-REPO-004 (skills, catalog) T9; HI-CLI-003 (apps/cli/scripts/**) T9; HI-CLI-004 (apps/cli/src/data/**) T9; HI-WIKI-001, HI-WIKI-003, HI-DOCS-001 (wiki content, log.md) T9 runbook line, T10, plan bookkeeping; HI-UI-001 not-applicable (content only); HI-CLI-002 not-applicable (no CHANGELOG.md, no npm version). Each executor records pass/fail/not-applicable with evidence in its task log.

Wiki Context

Discovery: apps/wiki/content/docs/project/index.mdx "Applies when" cues (Specs, Grilling, Domains, Runbooks), search for brainstorm, requirements-grill, sync:skills, flow-lenses.

Knowledge used

PageSelected byClaims usedFreshnessStatus / evidence
Grill status, grill logGrilling cueQ1–Q24 decisions, closurefreshAccepted decisions; hashes match ARCH#sources
GlossaryDomains cueCanonical terms and axiomsfreshAccepted; hash matches S3
CLI scaffolding runbook line 572search sync:skillsMain-only authoring; push and tag before sync; receipt SHAstale (pin quote)Verified implementation for flow; pin quote disagrees with sync-skills-repo.mjs (see below)
Brainstorming, requirements and backlogsearch brainstormCurrent $brainstorm gap-scan role, grill flowfresh for current skills; becomes stale at T9Verified against SKILLS_BASE text; T10 target
Skill packssearch brainstormrequirements Pack membershipfresh; becomes stale at T9Verified against packs.ts; T10 target

Stale or contradictory claims

  • Runbook line 572 says the sync pin is refs/tags/sync/ask-hi-skill-graph-6f08a090aa62; sync-skills-repo.mjs:21 pins refs/tags/sync/design-phase-redesign-c86912b42c3b. Resolution: T9 rewrites the sentence to the new pin.

Returned findings

  • Knowledge no-op for docs-ingest-phase now: the only discrepancy (runbook pin quote) is resolved inside T9; all other used claims match primary evidence. T10 runs the ingest after the synced skills exist.

External Research

None needed. No third-party library behavior shapes this plan; opensrc not used. GitHub Actions pins reuse SHAs already vetted in this repo's workflows.

Target Ownership Topology

Source: ARCH#architecture-blocks, ARCH#module-layout.

wearedevpunks/skills main
├── skills/agnostic/requirements/
│   ├── brainstorm/SKILL.md            owner: proposal loop + Brainstorm Brief writer   (ARC-001, ARC-002)
│   │                                  must not own: question rounds, lens list, plans, code edits
│   ├── flow-lenses/SKILL.md           owner: the ten Flow Lenses + candidate-gap output (ARC-003)
│   │                                  must not own: questions, durable writes
│   ├── grilling/                      unchanged upstream primitive
│   └── requirements-grill/            owner: all question rounds, Altitude routing, grill artifacts
│       ├── SKILL.md                   bootstrap only, no gate bodies             (ARC-004)
│       ├── AUTHORING-HANDOFF.md       authoring record                           (ARC-004)
│       ├── phases/router.md           question selection + Altitude Ladder       (ARC-004, ARC-010)
│       ├── phases/ground.md           facts by subagents, Brief import, legacy upgrade (ARC-005, D4, D7)
│       ├── phases/round.md            one $grilling round at one Altitude        (ARC-006)
│       ├── phases/checkpoint.md       record, domain-modeling, flow-lenses, derive, persist (ARC-007)
│       ├── phases/close.md            close guard, confirm, synthesis, handoff   (ARC-008)
│       └── references/{artifact-output,wiki-output}.md                          (ARC-009)
├── skills/phases/requirements-phase/SKILL.md   step 3 completion rule           (ARC-011)
├── skills/agnostic/planning/create-architecture/** step 3 caller of flow-lenses  (ARC-012)
├── skills/agnostic/cli/ask-hi/**               descriptions only                (ARC-013)
├── tests/*.test.mjs                            contract tests                    (ARC-015)
└── package.json, .github/workflows/test.yml    runner + CI                       (ARC-016)
harness-intelligence
├── apps/cli/scripts/sync-skills-repo.mjs, apps/cli/skills/**, apps/cli/src/data/catalog/{skills,packs}.ts,
│   BASELINE_CHANGELOG.md                       Baseline distribution             (ARC-017)
└── apps/wiki/content/docs/harness/** (+ project pages)  docs                     (ARC-014)

Public entrypoints: $brainstorm, $requirements-grill (SKILL.md → phases/router.md), flow-lenses (model-invoked by callers only), npm test.

Declared Dependency Graph

Allowed edges: as drawn; each traverses the named skill entrypoint. Forbidden after A1: any skill → brainstorm as a gap scan or lens source; any skill → requirements-grill/references/grilling-flow.md; flow-lenses → any durable write; brainstorm → question round, AskUserQuestion, plan, code edit; round/checkpoint/close → second Altitude ladder definition; any edit to grilling/**. The graph is one-way and acyclic except the declared compile-gap return (create-architecture → grill), which is a documented re-entry, not a static import.

Responsibility Acceptance Criteria

criterion_idOwnerObservable assertionEvidencedue_architecture_wave
RAC-1brainstormTurn contract, operators, two exits, Brief as only durable write; no question rounds; no lens listtests/brainstorm.contract.test.mjs green; AC-001..AC-004A1
RAC-2flow-lensesHolds the ten lenses with exact SKILLS_BASE labels, output fields, callers; no write/question step; no other skill holds the listtests/flow-lenses.contract.test.mjs green; `grep -rln "Idempotency and retries" skillsgrep -v AUTHORING-HANDOFF.mdlists onlyflow-lenses/SKILL.md(historicaldesign-phase/AUTHORING-HANDOFF.md` excluded); AC-007
RAC-3requirements-grillExact file set; router owns selection and Altitude ladder; gates own their duties and required-call evidence; close guard; no Illustrative; grilling/** unchanged; graph audit passestests/requirements-grill-graph.contract.test.mjs + composition test green; write-graph-based-skills audit record in AUTHORING-HANDOFF.md; AC-005, AC-006, AC-008 (checkpoint), AC-009..AC-018A1
RAC-4consumersrequirements-phase step 3 rule; create-architecture calls flow-lenses, routes L3, returns gaps with Altitude; no gap-scan $brainstorm; ask-hi describes new rolesAC-008 (create-architecture), AC-019..AC-021 assertions in T7 tests; T9 grepA1
RAC-5tests + runnernpm test 0 failures; workflow triggers on push to main and PRsT9 gate output; .github/workflows/test.yml; AC-022, AC-023A1
RAC-6Baseline distributionPin = pushed skills main commit = receipt commit; flow-lenses catalogued + requirements Pack; Unreleased notes; classify → baseline; CLI tests and types passT9 commands; AC-024A2
RAC-7wiki docsHarness pages describe proposal loop, grill graph with Altitude routing, flow-lenses; health unchanged (10); content currentT10 commands; AC-025A3

Architecture Waves

A1 boundary establishment + caller migration   T1 T2 T3 T4 T5 (W1) → T6 T7 T8 (W2)
   └─ CP-A1 convergence checkpoint (T9 step 1): RAC-1..RAC-5, zero forbidden edges
A2 Baseline distribution                        T9
   └─ CP-A2: RAC-6, regression RAC-1..RAC-5 (receipt tree = tested tree)
A3 docs convergence                             T10
   └─ CP-A3: RAC-7, regression RAC-6
Final closure                                   T11 review, T12 squash and publish
   └─ zero drift: all RAC re-checked on the squashed tree; migration ledger empty

Only work that consumes an unproved responsibility waits on a checkpoint; T6 may start when T1 and T2 pass their Task Gates even if T3 is still open.

Public Seam Contract

SeamOwnerAllowed consumersChange
$brainstorm turn and exitsbrainstormuser; exit to $requirements-grillRewritten per ARCH#arc-001
Brainstorm Brief file <wiki-root>/content/docs/project/grilling/<topic>-brainstorm-brief.mdbrainstorm writesrequirements-grill ground reads/imports; router readsNew per ARCH#arc-002, D4, D6
flow-lenses output (candidate gap: evidence or unknown, guarantee at stake, implied Altitude)flow-lensesgrill checkpoint, create-architecture step 3, optional brainstormNew per ARCH#arc-003
$requirements-grill entry → phases/router.mdrequirements-grillrequirements-phase, design-phase grill gate, docs-onboarding handoff, compile-gap returnFile graph per ARCH#arc-004; entry name unchanged
Grill status/log fields (altitude columns, call evidence, Brief import record, legacy upgrade record)artifact-output.mdall grill gates; create-architecture reads status/logExtended per ARCH#arc-009, D6, D7
npm testskills package.jsonCI, developersNew
Catalog item flow-lensesapps/cli/src/data/catalog/skills.tsRegistry builder, requirements PackNew per ARCH#arc-017, D3

A change to an accepted seam returns to Requirements Phase. Execution-only detail (exact wording) stays inside these bounds.

Migration Ledger

Empty. No temporary seam is planned. Between T1 and T4 commits the local skills main may briefly hold a consumer that still points at the old lens owner; nothing is pushed before T9, and CP-A1 proves zero such references before the push.

Dependency Graph and Waves

WaveTasks (earliest frontier)Write scopesNotes
W1T1, T2, T3, T4, T5disjoint skills-repo pathsParallel; parent serializes commits (D10)
W2T6 (after T1, T2); T7 (after T2, T3, T4); T8 (after T3, T4)disjoint test filesRelease per Task Gate
W3T9skills push/tag; harness CLI files, changelog, runbook lineSequential
W4T10apps/wiki/content/docs/harness/** + listed project pages, apps/wiki/log.md
W5T11review report + fix loopFix loop re-enters owning task scope
W6T12main

Read/write conflicts: during W1, sibling skill files are in flight; a worker's task-local checks run only its own probes, never the full suite. The full suite gates at CP-A1 (T9). T6–T8 read skill files that W1 owns; their dependencies make those reads stable.

Testing Strategy

  • Skills contract tests are the executable proof (node --test), read through the repo root, integration-style over skill text.
  • RED for T6/T7 per D9: export SKILLS_BASE, copy the new or changed test file in, run, observe the named assertion failures, delete the export. GREEN in the live checkout.
  • RED for T8: the 13 current failures in its three files (live checkout, before edit).
  • Task-local checks for T1–T5: acceptance probes (grep/structure) listed per task; their executable RED/GREEN lives in T6–T8.
  • CP-A1: full npm test 0 failures (includes the T7 cross-skill link and anchor check); graph audit record; forbidden-edge greps.
  • CLI: bun run --cwd apps/cli test -- src/registry/publisher/sources/skills.test.ts src/registry/publisher/sources/packs.test.ts and bun run --cwd apps/cli check-types.
  • Wiki: bun run --cwd apps/wiki check:health (10 findings, same set) and bun run --cwd apps/wiki check:content (current).
  • CI owns the full repository suites (references/validation-scope.md).

Risks and Mitigations

RiskMitigation
Parallel workers in one skills checkout race the git indexD10: workers never commit; parent commits per task with pathspecs, serialized
Pre-existing untracked fixture staged by accidentPathspec commits only; T9 verifies git status --short shows only that fixture before push
A stale-test failure is a real regressionSPEC#constraints Q24: T8 stops and reports to the user with the failing assertion and skill text; no assertion weakening
Moving text out of grill SKILL.md breaks tests in files owned elsewhereT7 owns all grill/consumer readers except T6/T8 files; any additional failing file found at CP-A1 is assigned to T7 by the parent
Lens labels drift while copiedT2 copies from SKILLS_BASE export, not the live file T1 edits; T6 asserts exact labels
Review (T11) finds a skills defect after the T9 pushFix in skills main through the owning task scope, new commit, new tag, re-run T9 steps 2–7, then T10 delta and T11 re-review
Local pre-commit hook fails on unrelated pre-existing lintVerify on clean origin/main worktree first; record evidence before any --no-verify (memory: CLI patch release gotchas)
/tmp tmpfs pressure during CLI testsUse a disk TMPDIR for CLI tests; remove it after

Unresolved Questions

None blocking. The six non-material unknowns of ARCH#parked-work-and-non-material-unknowns are resolved as D3–D8. Execution-only wording stays with the executors inside the accepted bounds.

Planning Run Record

  • planning-discovery, $parallel-research: skipped; the evidence set was small and read locally (skills repo files, tests, catalog, sync script, wiki pages).
  • $grilling: internal ambiguity reduction, no user questions (user direction); ledger D1–D14.
  • $swarm-planner, $tdd, $codebase-design: applied below. $show-me: dependency, topology, wave views above. $wait-what: ASD-STE100 pass on the complete plan; ledger unchanged.
  • plan-reviewer: see Plan Review.

Tasks

Common fields for every task unless the task overrides them: task_identity_mode: planning-only; backlog_item_id: not_applicable; backlog_item_url: not_applicable; relation_mode: unprojected; backlog_sync_skip_reason: User-directed chain grill → architecture → plan → implement excludes write-backlog; no provider projection for this Baseline skill delivery (precedent: design-phase-redesign). status: Planned; log, files edited/created, red_evidence, green_evidence, runtime_evidence start blank. runtime_validation: not_required (no process or infrastructure boundary beyond CLI commands); runtime_target, runtime_evidence, runtime_cleanup: not_applicable unless stated. shared_runtime_resources: the single skills checkout /home/stefan/repos/skills (shared read; writes only inside owned_paths; no git index writes by workers). relevant_input_set always includes the SPEC and ARCH identities above (re-hash before and after checks).

T1: Rewrite brainstorm as a proposal loop

  • depends_on: []
  • location: /home/stefan/repos/skills/skills/agnostic/requirements/brainstorm/SKILL.md
  • owned_paths: [skills/agnostic/requirements/brainstorm/SKILL.md]
  • read_dependencies: SPEC#out-001, SPEC#out-002, SPEC#ac-001..SPEC#ac-004, SPEC#ac-007 (lens list removal); ARCH#arc-001, ARCH#arc-002, ARCH#flow-001; LOG#q1–#q5, #q8; GLOSSARY; requirements-grill/references/artifact-output.md#routed-wiki-contract read from SKILLS_BASE (git show c86912b:…), because T3 edits the live file (T3 keeps the ## Routed Wiki Contract heading so T1 may link it); show-me skill (view catalog, rendered page vs text views); writing-for-agents.
  • shared_runtime_resources: common.
  • relevant_input_set: common + sha256 of brainstorm/SKILL.md before edit equals dc63d714f78df27a….
  • wave_boundary: W1
  • description: Replace the gap-scan body with the turn contract of OUT-001 (current shape; 2–3 alternatives with tradeoff; evidence anchor or explicit unknown per claim; forks as proposals with a default; one show-me view; end on proposal and invitation). Bound the system and name real operators; agent legibility is one lens for agent-operated systems; flow-lenses findings appear as tradeoffs, never questions. Name exactly two exits; forbid code edits, plans, implementation. Specify the Brief path, frontmatter, grilling/meta.json entry, end-of-turn update rule, six content items, and "only durable write". Remove the Flow failure lens list and the "another skill invokes $brainstorm" trigger; rewrite the description (no operating-agent seat).
  • validation: Probes: grep -c "AskUserQuestion" SKILL.md → only inside the prohibition sentence; grep -n "Idempotency and retries\|another skill invokes\|operating agent" SKILL.md → no hit; grep -n "brainstorm-brief.md\|grilling/meta.json\|show-me" SKILL.md → hits; executable proof in T6.
  • assigned_skills: [writing-for-agents, show-me]
  • implementation_skill_guidance:
    • skill: writing-for-agents applicable_behavior: State the turn as positive steps with a checkable completion criterion; front-load the description's leading word; phrase the no-question rule positively ("end on the proposal") with one hard guardrail sentence.
    • skill: show-me applicable_behavior: Require one view per turn chosen from its catalog: rendered page when the host supports it, else text views.
  • tdd_status: not_applicable
  • tdd_target: Skill-text artifact; executable RED/GREEN owned by T6 (D9).
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Markdown skill authoring in the user-fixed text→tests order; T6 proves the same assertions RED against SKILLS_BASE and GREEN on this text.
  • codebase_design_notes: Interface = turn contract + two exits + Brief file; depth: one entry, one durable write; the lens list leaves (locality moves to flow-lenses).
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: brainstorm
  • integration_surface: $brainstorm invocation; exit to $requirements-grill
  • public_seam: $brainstorm turn/exits; Brief file
  • topology_delta: brainstorm loses lens ownership and caller-trigger; gains Brief writer role
  • forbidden_ownership: question rounds, numbered question lists, AskUserQuestion, lens list, plans, code edits
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-1]
  • Covers: OUT-001, OUT-002; AC-001, AC-002, AC-003, AC-004, AC-007 (removal part)
  • commit: feat(brainstorm): turn brainstorm into a proposal loop with a Brainstorm Brief

T2: Create the flow-lenses skill

  • depends_on: []
  • location: /home/stefan/repos/skills/skills/agnostic/requirements/flow-lenses/SKILL.md
  • owned_paths: [skills/agnostic/requirements/flow-lenses/]
  • read_dependencies: SPEC#out-004, SPEC#ac-007, SPEC#ac-008; ARCH#arc-003; LOG#q7, #q8; GLOSSARY (Flow Lenses, Altitude); lens labels and questions from git -C /home/stefan/repos/skills show c86912b42c3bf2e7aa790554b6a4f929f99bd3c9:skills/agnostic/requirements/brainstorm/SKILL.md (section ### Flow failure lenses); D12; writing-for-agents.
  • shared_runtime_resources: common.
  • relevant_input_set: common + SKILLS_BASE brainstorm blob hash dc63d714f78df27a….
  • wave_boundary: W1
  • description: New internal skill. Frontmatter per D12. Body: the ten lenses with their exact labels and examination questions from SKILLS_BASE; output contract: candidate gaps, each with evidence or explicit unknown, guarantee at stake, implied Altitude (L1/L2/L3); callers own the questions; no write or question step; completion: each applicable lens covered by evidence, explicit unknown, or a not-applicable reason.
  • validation: Probes: the ten labels appear in order; grep -n "Altitude" SKILL.md hits; description names requirements-grill, create-architecture, brainstorm; no user-invocable/disable-model-invocation.
  • assigned_skills: [writing-for-agents, codebase-design]
  • implementation_skill_guidance:
    • skill: writing-for-agents applicable_behavior: Make the description a pointer that names the callers as its branches; keep the lens list as flat in-file reference; end on an exhaustive completion criterion.
    • skill: codebase-design applicable_behavior: Keep the interface small (bounded flow in, candidate gaps out); no caller-specific branches inside the skill.
  • tdd_status: not_applicable
  • tdd_target: Skill-text artifact; executable RED/GREEN owned by T6.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: New Markdown skill; T6 proves RED (file absent at SKILLS_BASE) and GREEN.
  • codebase_design_notes: Deep module: one small interface (bounded flow in → candidate gaps out) shared by three callers; no state.
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: flow-lenses
  • integration_surface: grill checkpoint, create-architecture step 3, optional brainstorm
  • public_seam: candidate-gap output contract
  • topology_delta: new owner of the Flow Lenses
  • forbidden_ownership: questions to the user, durable writes, decision acceptance
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-2]
  • Covers: OUT-004; AC-007 (file part), AC-008 (callee side)
  • commit: feat(flow-lenses): add internal Flow Lenses skill

T3: Convert requirements-grill into an Altitude-routed graph

  • depends_on: []
  • location: /home/stefan/repos/skills/skills/agnostic/requirements/requirements-grill/
  • owned_paths: [skills/agnostic/requirements/requirements-grill/] (incl. new AUTHORING-HANDOFF.md, phases/{router,ground,round,checkpoint,close}.md; delete references/grilling-flow.md; edit SKILL.md, references/artifact-output.md; references/wiki-output.md unchanged unless a link breaks)
  • read_dependencies: SPEC#out-003, #out-005..#out-008, SPEC#ac-005, #ac-006, #ac-008..#ac-018; ARCH#arc-002, #arc-004..#arc-010, ARCH#flow-002, ARCH#flow-003, ARCH#module-layout; LOG#q6, #q8–#q18; D4–D7; write-graph-based-skills (skills repo skills/agnostic/docs/write-graph-based-skills/**, Convert mode, references/authoring-contract.md); precedent skills/phases/design-phase/{SKILL.md,AUTHORING-HANDOFF.md,phases/router.md}; grilling, domain-modeling, wait-what, show-me, wayfinder, codebase-design skill texts (read only).
  • shared_runtime_resources: common.
  • relevant_input_set: common + git -C /home/stefan/repos/skills diff --quiet c86912b -- skills/agnostic/requirements/grilling before and after.
  • wave_boundary: W1
  • description: Run write-graph-based-skills Convert mode with AUTHORING-HANDOFF.md at the target root. Bootstrap SKILL.md (no gate bodies; links router; names composition $domain-modeling, flow-lenses, $grilling, $wait-what, $show-me, $wayfinder). router.md: precision inputs (Fog graph when supplied, Brief, status, code evidence), next-level start, one Altitude per round (shallowest with ready questions across branches), ## Altitude Ladder (D5), routes to ground for Brief import (D4, D6) and legacy upgrade (D7), blocks the next round when required-call evidence is missing, close-guard route. ground.md: subagent fact finding, never asks, carries the still-current technical-grounding obligations from grilling-flow.md, Brief import mapping (answered entries with source Brainstorm Brief, rejected alternatives, frontier questions at their Altitude; no re-ask). round.md: one $grilling round over the selected Altitude's ready questions via $wait-what with a show-me view; $wayfinder route for one stuck unknown. checkpoint.md: every response set incl. partial: record answers, $domain-modeling, flow-lenses, raise target to L3 on a code consequence, derive N+1 (L3: codebase-design vocabulary, stack skills, opensrc, show-me interface sketch or module tree), recompute frontier, persist, record per-round call evidence (flow-lenses: R<N> run). close.md: guard (every branch at Target Altitude or parked at a named Altitude with the user's reason), explicit confirmation, final $domain-modeling, show-me of persisted understanding, wiki synthesis after explicit closure, handoff to create-architecture; auto-pinned defaults record their Altitude. artifact-output.md: four altitude fields, call-evidence record, Brief import record, Legacy status rule; remove Illustrative: and links to grilling-flow.md and ../SKILL.md#core-behavior (point to gates). Keep wiki-output.md and the ## Routed Wiki Contract heading of artifact-output.md (T1 links it). Leave grilling/** untouched.
  • validation: write-graph-based-skills phases/audit.md passes and its outcome is written in AUTHORING-HANDOFF.md (every gate: guard, inputs, bounded action, invariants, completion evidence, exits, durable handoff; every route resolves to one gate or stop) — AC-010; ls phases references matches AC-009 exactly; grep -rn Illustrative skills/agnostic/requirements/requirements-grill → none; grep -rn grilling-flow skills/agnostic/requirements/requirements-grill → none; grilling/** diff empty. Executable proof in T7.
  • assigned_skills: [write-graph-based-skills, writing-for-agents, codebase-design]
  • implementation_skill_guidance:
    • skill: write-graph-based-skills applicable_behavior: Use Convert mode from its root router, one phase at a time, writing each phase outcome to requirements-grill/AUTHORING-HANDOFF.md; preserve valid current obligations; finish only after audit passes.
    • skill: writing-for-agents applicable_behavior: Use Altitude as the leading word; keep one definition of the ladder in router.md (single source of truth); give every gate a checkable completion criterion; state required calls positively.
    • skill: codebase-design applicable_behavior: Use its exact vocabulary (module, interface, seam, adapter, depth) in the L3 derivation text of checkpoint.md.
  • tdd_status: not_applicable
  • tdd_target: Skill graph artifact; executable RED/GREEN owned by T7; structural proof by the graph audit.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Markdown skill conversion in the user-fixed order; T7 proves RED against SKILLS_BASE and GREEN on this graph.
  • codebase_design_notes: Router = the seam that owns selection; gates are adapters for one duty each; ladder single-sourced in router (locality); $grilling stays the unchanged per-round primitive behind round.
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: requirements-grill
  • integration_surface: $requirements-grill entry from requirements-phase, design-phase, compile-gap return
  • public_seam: grill file graph; status/log field contract
  • topology_delta: linear skill → router + four gates; grilling-flow.md folded into gates; $brainstorm gap scan replaced by flow-lenses at checkpoint
  • forbidden_ownership: edits to grilling/**; planning content (edit order, tasks, waves, estimates, tuning constants); second ladder definition
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-3]
  • Covers: OUT-003, OUT-005, OUT-006, OUT-007, OUT-008; AC-005, AC-006, AC-008 (checkpoint), AC-009, AC-010, AC-011, AC-012, AC-013, AC-014, AC-015, AC-016, AC-017, AC-018
  • commit: feat(requirements-grill): route grill rounds by Altitude through a graph

T4: Move consumers to the new roles

  • depends_on: []
  • location: requirements-phase, create-architecture, ask-hi in /home/stefan/repos/skills/skills
  • owned_paths: [skills/phases/requirements-phase/SKILL.md, skills/agnostic/planning/create-architecture/SKILL.md, skills/agnostic/planning/create-architecture/references/artifact-contract.md, skills/agnostic/planning/create-architecture/assets/ARCHITECTURE-TEMPLATE.md, skills/agnostic/cli/ask-hi/]
  • read_dependencies: SPEC#out-009, SPEC#ac-008, #ac-019..#ac-021; ARCH#arc-011..#arc-013, ARCH#flow-004; LOG#q19–#q21; ARCH#module-layout (grill file names); D3 (Pack for ask-hi baseline.md Pack table); writing-for-agents.
  • shared_runtime_resources: common.
  • relevant_input_set: common.
  • wave_boundary: W1
  • description: requirements-phase step 3 completes when every material branch is settled at its Target Altitude or explicitly parked; step 4 unchanged. create-architecture step 3 calls flow-lenses in place of $brainstorm; L3 decisions feed module and interface sections; a compile gap returns to the grill with its Altitude; artifact-contract.md and the template name flow-lenses as owner of the lens labels. ask-hi (SKILL.md, references/{requirements,phase-graph,baseline,delivery,discovery-and-docs,known-gaps,quality}.md where they describe these skills): proposal loop, grill graph with Altitude routing and its file set, flow-lenses entry (Pack requirements, callers), Brief; remove grilling-flow.md from source lists; $brainstorm no longer listed as called by grill or create-architecture. ask-hi/references/requirements.md line 38 (**Lenses:** list) leaves the $brainstorm entry; the new flow-lenses entry points to flow-lenses/SKILL.md and does not copy the ten labels.
  • validation: Probes: grep -rn '\$brainstorm' skills/agnostic/planning skills/phases/requirements-phase → none; grep -rn grilling-flow skills/agnostic/cli/ask-hi → none; grep -n flow-lenses hits in create-architecture SKILL, contract, template, ask-hi requirements; grep -rln 'Idempotency and retries' skills/agnostic/cli/ask-hi → none. Executable proof in T7, T8.
  • assigned_skills: [writing-for-agents]
  • implementation_skill_guidance:
    • skill: writing-for-agents applicable_behavior: Change only the sentences that describe the moved roles; keep each meaning in one place; keep ask-hi entries in their existing field format.
  • tdd_status: not_applicable
  • tdd_target: Skill-text artifact; executable RED/GREEN in T7 (AC-008, AC-019..AC-021 assertions) and T8.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Markdown consumer edits in the user-fixed order.
  • codebase_design_notes: Caller migration: create-architecture edge moves from brainstorm to flow-lenses seam.
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: requirements-phase, create-architecture, ask-hi
  • integration_surface: phase step 3; compile step 3; HI explanations
  • public_seam: unchanged entrypoints; caller edge to flow-lenses
  • topology_delta: remove create-architecture → brainstorm; add create-architecture → flow-lenses
  • forbidden_ownership: lens list copies; grill internals restated in consumers
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-4]
  • Covers: OUT-009; AC-008 (create-architecture), AC-019, AC-020, AC-021
  • commit: feat(requirements): point consumers at flow-lenses and the Altitude grill

T5: Add the test runner and CI workflow

  • depends_on: []
  • location: /home/stefan/repos/skills/package.json, /home/stefan/repos/skills/.github/workflows/test.yml
  • owned_paths: [package.json, .github/workflows/test.yml]
  • read_dependencies: SPEC#out-010, SPEC#ac-023; ARCH#arc-016; LOG#q24; D8; this repo's .github/workflows/*.yml pin convention.
  • shared_runtime_resources: common.
  • relevant_input_set: common + action SHAs in D8.
  • wave_boundary: W1
  • description: Create package.json and test.yml exactly per D8.
  • validation: cd /home/stefan/repos/skills && npm test runs the same 337-test suite as node --test tests/*.test.mjs (same totals at that moment; failures from in-flight W1 text are expected and not this task's gate); node -e parse of package.json; YAML has push.branches: [main], pull_request, permissions.contents: read.
  • assigned_skills: [architect-pipeline]
  • implementation_skill_guidance:
    • skill: architect-pipeline applicable_behavior: Smallest validation pipeline: read-only token, SHA-pinned actions with version comments, no secrets, no install step, one job.
  • tdd_status: not_applicable
  • tdd_target: Config artifact; green suite proven at CP-A1.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Config-only change; CI run on the T9 push is the runtime proof.
  • codebase_design_notes: not_applicable
  • review_mode: cli
  • runtime_validation: required
  • runtime_target: GitHub Actions test workflow on wearedevpunks/skills push to main (T9)
  • runtime_evidence: run for the pushed SHA concludes success (gh run list -R wearedevpunks/skills --workflow test.yml --commit <sha>)
  • runtime_cleanup: none (hosted runner)
  • architecture_wave: A1
  • behavior_owner: skills test runner
  • integration_surface: CI, developers
  • public_seam: npm test
  • topology_delta: new runner and CI
  • forbidden_ownership: dependency installs, secrets, write permissions
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-5]
  • Covers: OUT-010; AC-023
  • commit: ci: run the contract suite on push to main and pull requests

T6: Rewrite brainstorm tests and add flow-lenses tests

  • depends_on: [T1, T2]
  • location: /home/stefan/repos/skills/tests/
  • owned_paths: [tests/brainstorm.contract.test.mjs, tests/flow-lenses.contract.test.mjs]
  • read_dependencies: T1 and T2 committed text; SPEC#ac-001..#ac-004, #ac-007, #ac-022; ARCH#arc-015; LOG#q23; lens labels from SKILLS_BASE.
  • shared_runtime_resources: common; task-owned temp export dir.
  • relevant_input_set: common + blob hashes of T1/T2 files at their commits.
  • wave_boundary: W2
  • description: Rewrite brainstorm.contract.test.mjs: show-me every turn, current shape + 2–3 alternatives + tradeoff, evidence or unknown, forks with default, proposal ending, no question rounds / numbered questions / AskUserQuestion instruction, real operators, agent-legibility lens, lens findings as tradeoffs, two exits, no code/plan/implementation, Brief path + frontmatter + grilling/meta.json + update rule + six items + only durable write, no lens list, no "another skill invokes". Retire the grill-side assertions (mandatory $brainstorm gate before the first frontier; $brainstorm in the grill composition list): they pin removed behavior. T7 keeps the candidate-material intent at the grill checkpoint (flow-lenses output stays candidate until accepted). This retires the stale baseline failure in this file. New flow-lenses.contract.test.mjs: file exists; ten exact labels in order (read from the test's own literal list copied from SKILLS_BASE); description names callers; output fields (evidence or unknown, guarantee at stake, Altitude); no write or question step.
  • validation: node --test tests/brainstorm.contract.test.mjs tests/flow-lenses.contract.test.mjs → 0 failures.
  • assigned_skills: [tdd, make-tsuite]
  • implementation_skill_guidance:
    • skill: tdd applicable_behavior: Observe RED per D9 before claiming GREEN; record both outputs in red_evidence/green_evidence.
    • skill: make-tsuite applicable_behavior: Implement mode; test-only writes; record a semantic lock for each replaced brainstorm assertion (kept, moved to T7, or retired as removed behavior).
  • tdd_status: required
  • tdd_target: brainstorm requires a show-me view every turn and names exactly two exits; flow-lenses/SKILL.md exists with the ten labels.
  • red_command: t=$(mktemp -d /tmp/t6-red-XXXX) && git -C /home/stefan/repos/skills archive c86912b42c3bf2e7aa790554b6a4f929f99bd3c9 | tar -x -C "$t" && cp /home/stefan/repos/skills/tests/brainstorm.contract.test.mjs /home/stefan/repos/skills/tests/flow-lenses.contract.test.mjs "$t/tests/" && (cd "$t" && nice -n 10 node --test tests/brainstorm.contract.test.mjs tests/flow-lenses.contract.test.mjs); rc=$?; rm -rf "$t"; exit $rc
  • expected_red_failure: brainstorm assertions for show-me, two exits, Brief path fail (ERR_ASSERTION); flow-lenses tests fail with ENOENT for flow-lenses/SKILL.md.
  • green_command: cd /home/stefan/repos/skills && nice -n 10 node --test tests/brainstorm.contract.test.mjs tests/flow-lenses.contract.test.mjs
  • reason_not_testable:
  • codebase_design_notes: Test surface = the skill file through the repo root (owned seam).
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: skills contract tests
  • integration_surface: npm test
  • public_seam: unchanged
  • topology_delta: tests follow brainstorm/flow-lenses ownership
  • forbidden_ownership: edits outside owned_paths; weakening assertions to pass
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-1, RAC-2, RAC-5]
  • Covers: OUT-010; AC-022 (brainstorm, flow-lenses parts); proves AC-001..AC-004, AC-007
  • commit: test(brainstorm): assert the proposal loop and Flow Lenses ownership

T7: Add grill graph tests and repoint grill readers

  • depends_on: [T2, T3, T4]
  • location: /home/stefan/repos/skills/tests/
  • owned_paths: [tests/requirements-grill-graph.contract.test.mjs, tests/requirements-grill-composition.contract.test.mjs, tests/show-me.contract.test.mjs, tests/requirements-delivery-depth.contract.test.mjs (edit only if it fails from T3/T4 text)]
  • read_dependencies: T2, T3, T4 committed text; SPEC#ac-005, #ac-006, #ac-008..#ac-021, #ac-022; ARCH#arc-015; tests/design-phase-graph.contract.test.mjs (pattern); LOG#q23.
  • shared_runtime_resources: common; task-owned temp export dir.
  • relevant_input_set: common + blob hashes of T3/T4 files at their commits.
  • wave_boundary: W2
  • description: New graph test modelled on design-phase-graph: exact file sets (phases/ = 5 files, references/ = 2, AUTHORING-HANDOFF.md, no grilling-flow.md); SKILL.md links router and holds no gate body; every gate has the audit sections; router: four precision inputs, next-level start, one Altitude per round (shallowest ready), call-evidence block, routes to ground for Brief import; ladder L1/L2/L3 contents and planning exclusions in router.md only; code-bearing → L3, product-only → L1, raise on code consequence; ground subagents, never asks, import mapping, no re-ask; round $grilling + $wait-what + show-me, $wayfinder; checkpoint steps incl. partial sets, flow-lenses (output stays candidate material until accepted), N+1 derivation inputs (codebase-design, stack skills, opensrc, show-me), flow-lenses: R<N> run evidence; close guard, confirmation, $domain-modeling, show-me, wiki synthesis, create-architecture handoff, pinned default Altitude; artifact-output.md four altitude fields; no Illustrative anywhere under requirements-grill/; grilling/SKILL.md equals SKILLS_BASE bytes (hash literal); every relative Markdown link and #anchor in brainstorm/SKILL.md, flow-lenses/SKILL.md, requirements-grill/**, requirements-phase/SKILL.md, create-architecture/**, and ask-hi/** resolves to an existing file and heading. Consumers: requirements-phase step 3 rule; create-architecture step 3 names flow-lenses not $brainstorm, contract and template name flow-lenses, L3 routing, gap with Altitude; no skill file (outside brainstorm/) contains a gap-scan $brainstorm call; ask-hi files that describe these skills mention proposal loop, Altitude, flow-lenses. Update requirements-grill-composition and show-me to read the gate files that now hold the asserted text (semantic lock: same behavior, new location).
  • validation: node --test tests/requirements-grill-graph.contract.test.mjs tests/requirements-grill-composition.contract.test.mjs tests/show-me.contract.test.mjs tests/requirements-delivery-depth.contract.test.mjs → 0 failures.
  • assigned_skills: [tdd, make-tsuite, write-graph-based-skills]
  • implementation_skill_guidance:
    • skill: tdd applicable_behavior: Observe RED per D9; one assertion group at a time against the live graph.
    • skill: make-tsuite applicable_behavior: Semantic lock for every repointed assertion in requirements-grill-composition and show-me: same capability, new file; record before/after fingerprints.
    • skill: write-graph-based-skills applicable_behavior: Assert its required target structure and gate fields, not wording that its audit already owns.
  • tdd_status: required
  • tdd_target: requirements-grill/phases/router.md exists and selects one Altitude per round, shallowest first.
  • red_command: t=$(mktemp -d /tmp/t7-red-XXXX) && git -C /home/stefan/repos/skills archive c86912b42c3bf2e7aa790554b6a4f929f99bd3c9 | tar -x -C "$t" && cp /home/stefan/repos/skills/tests/requirements-grill-graph.contract.test.mjs /home/stefan/repos/skills/tests/requirements-grill-composition.contract.test.mjs /home/stefan/repos/skills/tests/show-me.contract.test.mjs "$t/tests/" && (cd "$t" && nice -n 10 node --test tests/requirements-grill-graph.contract.test.mjs tests/requirements-grill-composition.contract.test.mjs tests/show-me.contract.test.mjs); rc=$?; rm -rf "$t"; exit $rc
  • expected_red_failure: the graph test reads files inside each test() (no top-level read of new files), so failures report separately: ENOENT for phases/router.md and AUTHORING-HANDOFF.md; the Illustrative assertion fails on artifact-output.md; the create-architecture flow-lenses assertion fails; composition and show-me tests fail on the moved text.
  • green_command: cd /home/stefan/repos/skills && nice -n 10 node --test tests/requirements-grill-graph.contract.test.mjs tests/requirements-grill-composition.contract.test.mjs tests/show-me.contract.test.mjs tests/requirements-delivery-depth.contract.test.mjs
  • reason_not_testable:
  • codebase_design_notes: Test surface = graph files via repo root; mirrors design-phase-graph seam.
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: skills contract tests
  • integration_surface: npm test
  • public_seam: unchanged
  • topology_delta: tests follow grill graph and consumer edges
  • forbidden_ownership: edits to T6/T8 files; skill text edits; weakening assertions
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-3, RAC-4, RAC-5]
  • Covers: OUT-010; AC-022 (graph, composition, other pins); proves AC-005, AC-006, AC-008..AC-021
  • commit: test(requirements-grill): assert the Altitude graph and its consumers

T8: Fix the pre-existing stale assertions

  • depends_on: [T3, T4]
  • location: /home/stefan/repos/skills/tests/
  • owned_paths: [tests/agent-workflow-contract.test.mjs, tests/parallel-research.contract.test.mjs, tests/wayfinder-lifecycle.contract.test.mjs]
  • read_dependencies: current skill text each failing assertion reads (after T3/T4): requirements-grill/**, domain-modeling, create-plan, parallel-research, requirements-phase, create-spec, delivery-phase, wayfinder files named in the failures; SPEC#constraints (Q24 rule); ARCH#arc-016.
  • shared_runtime_resources: common.
  • relevant_input_set: common + hash of each skill file an updated assertion reads.
  • wave_boundary: W2
  • description: For each failure in the recorded RED list (baseline 1 + 1 + 11, adjusted by T3/T4 effects), compare the pinned regex with the current accepted skill text. When the behavior is present in new wording or location, update the assertion to the current text and keep its intent (semantic lock). When the behavior is absent, stop: report the test, assertion, and skill text to the user as a real regression; do not edit that assertion.
  • validation: node --test tests/agent-workflow-contract.test.mjs tests/parallel-research.contract.test.mjs tests/wayfinder-lifecycle.contract.test.mjs → 0 failures; task log lists each recorded failure with before/after pattern and the skill line it now matches.
  • assigned_skills: [tdd, make-tsuite]
  • implementation_skill_guidance:
    • skill: make-tsuite applicable_behavior: Semantic lock per assertion; a changed actor, outcome, or authority is a new decision and blocks to the user.
    • skill: tdd applicable_behavior: Record the live RED output before edits and the GREEN output after.
  • tdd_status: required
  • tdd_target: Each stale assertion matches current accepted skill text with unchanged intent.
  • red_command: cd /home/stefan/repos/skills && nice -n 10 node --test tests/agent-workflow-contract.test.mjs tests/parallel-research.contract.test.mjs tests/wayfinder-lifecycle.contract.test.mjs
  • expected_red_failure: the 13 baseline failures (technical grilling closes accepted architecture outside GLOSSARY.md; parallel research always produces a wiki-backed durable report; 11 wayfinder-lifecycle tests on research durable report, retention commit, current checkout branch, spec compiler, delivery routing), plus or minus failures that T3/T4 text changes cause in these three files (they read the grill SKILL.md and requirements-phase/SKILL.md). Record the actual list before edits; each new failure takes the same stale-or-regression rule.
  • green_command: same as red_command, 0 failures.
  • reason_not_testable:
  • codebase_design_notes: not_applicable
  • review_mode: cli
  • architecture_wave: A1
  • behavior_owner: skills contract tests
  • integration_surface: npm test
  • public_seam: unchanged
  • topology_delta: none
  • forbidden_ownership: skill text edits; deleting or loosening an assertion that guards absent behavior
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-5]
  • Covers: OUT-010; AC-022 (other stale pins), AC-023 (green suite)
  • commit: test: update stale assertions to the current accepted skill text

T9: Gate, publish skills main, and sync the Baseline

  • depends_on: [T1, T2, T3, T4, T5, T6, T7, T8]
  • location: skills repo main; /home/stefan/.t3/worktrees/harness-intelligence/t3-5ca26ca7
  • owned_paths: [skills main push and tag refs/tags/sync/brainstorm-grill-altitude-<sha12>; apps/cli/scripts/sync-skills-repo.mjs; apps/cli/skills/** (generated by sync); apps/cli/src/data/catalog/skills.ts; apps/cli/src/data/catalog/packs.ts; BASELINE_CHANGELOG.md; apps/wiki/content/docs/project/runbooks/hi-cli-scaffolding.md (pin sentence only)]
  • read_dependencies: all T1–T8 commits; SPEC#out-011, SPEC#ac-024; ARCH#arc-017, ARCH#flow-005; D3, D13, D14; root CLAUDE.md release classification and shared-skills rule; .agents/rules HI-REPO-004, HI-CLI-003, HI-CLI-004, HI-WIKI-003.
  • shared_runtime_resources: GitHub wearedevpunks/skills (push, tag, Actions run); network for sync:skills; disk TMPDIR for CLI tests (task-owned, removed after).
  • relevant_input_set: pushed skills SHA; tag ref readback; apps/cli/.devpunks-cache/skills-sync.json commit; hashes of catalog files.
  • wave_boundary: W3
  • description:
    1. CP-A1: cd /home/stefan/repos/skills && nice -n 10 npm test → 0 failures; AUTHORING-HANDOFF.md records audit pass; git diff --quiet c86912b -- skills/agnostic/requirements/grilling; grep -rn '\$brainstorm' skills | grep -v '^skills/agnostic/requirements/brainstorm/' → each remaining hit is a description or exit, not a gap-scan call; grep -rln 'Idempotency and retries' skills | grep -v AUTHORING-HANDOFF.md → only flow-lenses/SKILL.md; git status --short → only the pre-existing fixture untracked; all eight task commits present on local main.
    2. git -C /home/stefan/repos/skills push origin main; sha=$(git -C /home/stefan/repos/skills rev-parse HEAD); tag sync/brainstorm-grill-altitude-${sha:0:12} at $sha; push tag; git ls-remote origin refs/tags/sync/brainstorm-grill-altitude-${sha:0:12} = $sha.
    3. Watch the skills test workflow run for $sha → success (T5 runtime evidence).
    4. Set defaultRepositoryRef = "refs/tags/sync/brainstorm-grill-altitude-<sha12>" and defaultRepositoryCommit = "<sha>" in apps/cli/scripts/sync-skills-repo.mjs; bun run sync:skills; jq -r .commit apps/cli/.devpunks-cache/skills-sync.json = $sha; apps/cli/skills/agnostic/requirements/flow-lenses/SKILL.md exists; apps/cli/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md absent.
    5. skills.ts: entry { framework: null, id: "flow-lenses", language: null, requiresTools: [], sourceDirectory: "skills/agnostic/requirements/flow-lenses", tier: "agnostic" } directly after brainstorm; packs.ts requirements skills: insert "flow-lenses" directly after "brainstorm".
    6. BASELINE_CHANGELOG.md Unreleased: reviewed notes for brainstorm proposal loop + Brainstorm Brief, new flow-lenses (requirements Pack), Altitude-routed requirements-grill graph, consumer changes, skills runner/CI; compatibility note (open grills upgrade in place per D7; .agents/skills refresh via hi update). Rewrite the runbook pin sentence (D14).
    7. Checks: TMPDIR=<task-owned disk dir> bun run --cwd apps/cli test -- src/registry/publisher/sources/skills.test.ts src/registry/publisher/sources/packs.test.ts; bun run --cwd apps/cli check-types; grep -rn "c86912b42c3b" --exclude-dir=node_modules --exclude-dir=.git . | grep -v "BASELINE_CHANGELOG.md\|apps/wiki/log.md\|specs/cli/brainstorm-grill-altitude\|specs/cli/design-phase-redesign" → none.
    8. Run $simplify on the catalog diff, then commit on t3/brainstorm-requirements-grill-retro: chore(baseline): sync brainstorm and grill altitude skills (+ trailer); push the branch.
    9. node apps/cli/scripts/classify-release-impact.mjs --base origin/main --head HEAD → releaseKind: baseline.
  • validation: outputs of steps 1, 3, 4, 7, 9 recorded in the task log.
  • assigned_skills: [simplify, writing-for-agents]
  • implementation_skill_guidance:
    • skill: simplify applicable_behavior: Run on the skills.ts/packs.ts diff before the commit; no behavior change.
    • skill: writing-for-agents applicable_behavior: Changelog notes and the runbook sentence state the shipped behavior in one place each, terse.
  • tdd_status: not_applicable
  • tdd_target: Catalog data and release bookkeeping; proof is the sync receipt, the catalog suites, and type checks.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: TMPDIR=<task-owned disk dir> bun run --cwd apps/cli test -- src/registry/publisher/sources/skills.test.ts src/registry/publisher/sources/packs.test.ts && bun run --cwd apps/cli check-types
  • reason_not_testable: Catalog data only (one entry, one Pack membership); no catalog/source parity test exists in skills.test.ts, and a registration-only assertion is low-signal under $tdd high-signal-tests.md.
  • codebase_design_notes: Catalog is the single seam from source tree to Registry (S6); one entry + one Pack membership.
  • review_mode: cli
  • runtime_validation: required
  • runtime_target: GitHub skills test workflow; bun run sync:skills against the pushed tag
  • runtime_evidence: workflow success for $sha; receipt commit = $sha; git ls-remote tag = $sha
  • runtime_cleanup: remove the disk TMPDIR used by CLI tests; keep apps/cli/.devpunks-cache (ignored sync cache, owner: CLI sync, reused by later syncs)
  • architecture_wave: A2
  • behavior_owner: Baseline distribution
  • integration_surface: Registry build, hi init/hi update
  • public_seam: catalog item flow-lenses
  • topology_delta: Registry gains flow-lenses; pin moves to the new tag
  • forbidden_ownership: hand edits under apps/cli/skills/** or .agents/skills/**; CHANGELOG.md or apps/cli/package.json version changes
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-5 (regression at CP-A1), RAC-6]
  • Covers: OUT-010 (CI live), OUT-011; AC-023 (live), AC-024

T10: Update the Harness wiki through docs ingest

  • depends_on: [T9]
  • location: /home/stefan/.t3/worktrees/harness-intelligence/t3-5ca26ca7/apps/wiki
  • owned_paths: [apps/wiki/content/docs/harness/**, apps/wiki/content/docs/project/domains/harness.mdx, apps/wiki/content/docs/project/reference/{harness-intelligence,hi-requirements,dp-requirements}.md, apps/wiki/log.md; section indexes/meta.json that these pages own]
  • read_dependencies: synced apps/cli/skills/** at the T9 receipt; SPEC#out-011, SPEC#ac-025; ARCH#arc-014; LOG#q22; docs-ingest-phase wiki contract; apps/wiki/AGENTS.md; .agents/notes/2026-07-10-project-owned-wiki-sync.md.
  • shared_runtime_resources: none beyond the worktree.
  • relevant_input_set: receipt commit; hashes of synced brainstorm, flow-lenses, requirements-grill/**, requirements-phase, create-architecture files.
  • wave_boundary: W4
  • description: Run docs-ingest-phase (internal ingest path). It owns the final page list; start set: harness/entrypoints/brainstorming-requirements-backlog.mdx, harness/skills-and-packs/{skill-reference,skill-graph,skill-packs,phase-wrappers}.mdx, plus every page in grep -rlE 'brainstorm|requirements-grill' apps/wiki/content/docs/harness apps/wiki/content/docs/project/{domains/harness.mdx,reference} whose claim the change makes stale. Describe: proposal loop and Brief, flow-lenses and its callers and Pack, grill graph with Altitude routing and close guard, requirements flow step 3. Frontmatter sources point at apps/cli/skills/... paths that exist. Append one log.md entry. Excludes the runbook (T9) and this spec folder.
  • validation: bun run --cwd apps/wiki check:health → exit 0 and the same 10 findings; bun run --cwd apps/wiki check:content → current; grep -rn "flow failure lenses\|another skill invokes" apps/wiki/content/docs/harness → none describing current behavior.
  • assigned_skills: [docs-ingest-phase, writing-for-agents]
  • implementation_skill_guidance:
    • skill: docs-ingest-phase applicable_behavior: Resolve the wiki contract, update owning pages and section indexes, keep claims traceable to synced skill files, record bookkeeping.
    • skill: writing-for-agents applicable_behavior: Keep each page's claim in one place; link the synced skill instead of restating its body.
  • tdd_status: not_applicable
  • tdd_target: Docs-only; validated by wiki health/content checks.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: bun run --cwd apps/wiki check:health && bun run --cwd apps/wiki check:content
  • reason_not_testable: Docs-only change.
  • codebase_design_notes: not_applicable
  • review_mode: cli
  • architecture_wave: A3
  • behavior_owner: Harness wiki
  • integration_surface: wiki routes, /llms.txt
  • public_seam: none
  • topology_delta: docs follow the synced skills
  • forbidden_ownership: skill text; apps/cli/**; this spec folder
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-7]
  • Covers: OUT-011; AC-025
  • commit: docs(wiki): describe brainstorm, flow-lenses, and the Altitude grill

T11: Review the delivery

  • depends_on: [T9, T10]
  • location: branch t3/brainstorm-requirements-grill-retro vs origin/main; skills range c86912b..<T9 sha>
  • owned_paths: [review report under apps/wiki/content/docs/project/reviews/ per review-phase; fix commits only inside the owning task's owned_paths]
  • read_dependencies: SPEC, ARCH, this plan; both diffs; T1–T10 logs.
  • shared_runtime_resources: none.
  • relevant_input_set: branch head SHA; skills main SHA; receipt commit.
  • wave_boundary: W5
  • description: Run review-phase (Standards and Spec axes via autoreview) over both diffs. Final-closure checkpoint: re-check RAC-1..RAC-7, forbidden edges, migration ledger empty. A skills finding loops: fix in the owning scope on skills main, new commit, new tag, re-run T9 steps 1–8, T10 delta, re-review.
  • validation: review report with zero open blocking findings; RAC table re-checked on the branch head.
  • assigned_skills: [review, autoreview]
  • implementation_skill_guidance:
    • skill: review applicable_behavior: Report findings first with file:line; Spec axis maps each OUT/AC to evidence.
    • skill: autoreview applicable_behavior: Each axis subagent runs it over its Review Packet; findings feed the review report.
  • tdd_status: not_applicable
  • tdd_target: Review gate.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Review activity; fixes inherit their owning task's RED/GREEN.
  • codebase_design_notes: not_applicable
  • review_mode: cli
  • architecture_wave: final closure
  • behavior_owner: reviewer
  • integration_surface: both repositories
  • public_seam: none
  • topology_delta: none
  • forbidden_ownership: unscoped fixes
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-1, RAC-2, RAC-3, RAC-4, RAC-5, RAC-6, RAC-7]
  • Covers: closure check for OUT-001..OUT-011, AC-001..AC-025

T12: Squash to main and publish the Baseline

  • depends_on: [T11]
  • location: this repository main
  • owned_paths: [main branch ref]
  • read_dependencies: T11 report; memory "skills sync release flow"; root CLAUDE.md release classification.
  • shared_runtime_resources: GitHub wearedevpunks/harness-intelligence main; "Protected release authority" workflow.
  • relevant_input_set: branch head SHA; origin/main SHA at squash time; receipt commit.
  • wave_boundary: W6
  • description: Re-run release:classify --base origin/main --head <branch head> → baseline. Create one squashed commit of the branch onto current origin/main as simosabba <simone.sabba@live.com> with message chore(baseline): brainstorm proposal loop, flow-lenses, and Altitude-routed grill + summary + trailer; push to main (main is checked out in another worktree: build the commit from a detached origin/main checkout). Watch the release workflow; record the published baseline/stable/<date>-<sha8>.
  • validation: git log origin/main -1 is the squash; release workflow success; published Baseline id recorded.
  • assigned_skills: [hi-cli]
  • implementation_skill_guidance:
    • skill: hi-cli applicable_behavior: Verify the published Baseline is resolvable by hi update (read-only check) after the workflow succeeds.
  • tdd_status: not_applicable
  • tdd_target: Release step.
  • red_command: not_applicable
  • expected_red_failure: not_applicable
  • green_command: not_applicable
  • reason_not_testable: Release operation; proof is the workflow result.
  • codebase_design_notes: not_applicable
  • review_mode: cli
  • runtime_validation: required
  • runtime_target: GitHub Actions release workflow on main
  • runtime_evidence: workflow success; Baseline tag/id for the squash SHA
  • runtime_cleanup: remove any detached checkout used to build the squash
  • architecture_wave: final closure
  • behavior_owner: release
  • integration_surface: Registry Baseline
  • public_seam: published Baseline
  • topology_delta: none
  • forbidden_ownership: content changes during squash
  • temporary_seams: none
  • responsibility_acceptance_criteria: [RAC-6]
  • Covers: OUT-011 (shipped)

Coverage Matrix

CodeTasks
OUT-001T1, T6
OUT-002T1, T6
OUT-003T3, T7
OUT-004T2, T6
OUT-005T3, T7
OUT-006T3, T7
OUT-007T3, T7
OUT-008T3, T7
OUT-009T4, T7, T8
OUT-010T5, T6, T7, T8, T9
OUT-011T9, T10, T12
AC-001..AC-004T1 (text), T6 (proof)
AC-005, AC-006T3, T7
AC-007T1 (removal), T2 (file), T6
AC-008T3 (checkpoint), T4 (create-architecture), T2, T7
AC-009..AC-018T3, T7 (AC-010 also T3 audit)
AC-019..AC-021T4, T7, T9 step 1 grep
AC-022T6, T7, T8
AC-023T5, T8, T9 (CP-A1 + CI run)
AC-024T9
AC-025T10

Plan Review

plan-reviewer (readonly subagent, 2026-10-16) reported 1 blocking, 8 should-fix, 4 nits. All applied:

  • Blocking: the lens-list probe now excludes the historical design-phase/AUTHORING-HANDOFF.md; T4 removes the ten-label list from ask-hi/references/requirements.md.
  • T7 depends on T2; T8 records its RED list after T3/T4 effects; T1 reads the routed-wiki contract from SKILLS_BASE; T7 adds a cross-skill link and anchor check; T9 tdd_status: not_applicable (catalog data); Dependency Readiness and Branch/Base Intent copied; D13 records how the .agents/skills copy of ARCH#arc-017 is met; missing guidance entries added; read-only sources removed from assigned_skills (they stay in read_dependencies).
  • Nits: D3–D8 labels follow the ARCH unknown rows; D8 evidence wording; T7 per-test reads; T6 retired-assertion wording.

Reviewer confirmed: no test outside T6/T7/T8 reads a T1–T4 target; baseline 337/14 reproduced; T6 RED valid; full OUT/AC coverage; each RAC has one due wave; W1 write scopes disjoint.

On this page