Grilling
Review Phase Token Rebuild Grill Status
Log: review-phase-token-rebuild-grill-log.
Brief: review-phase-token-rebuild-brainstorm-brief.
| Branch | Completion | Target altitude | Settled altitude | Locked direction | Open items | Parked |
|---|
| Measurement | 100% | L3 | L3 (anchors: log Q1, Q19, Q30, Q34) | Median pass ≤ 4M tokens as acceptance measurement; runtime limits only time and size | — | — |
| Pass orchestration | 100% | L3 | L3 (anchors: log Q32, Q33, Q35, Q36) | prepare → run → adjudicate → retain; scripts own mechanics; no axis subagents | — | — |
| Engine and helper | 100% | L3 | L3 (anchors: log Q25, Q26, Q33) | Upstream unchanged + own wrapper; host model default; Engine Fallback on any engine failure | — | — |
| Review method | 100% | L3 | L3 (anchors: log Q27, Q29, Q35 file names) | steipete prompt + mattpocock guidance; P2; no simplify | — | — |
| Reports and budget | 100% | L3 | L3 (anchors: log Q23, Q34) | Pass Report kept; rules unchanged; wiki history frozen | — | — |
| Standalone review | 100% | L3 | L3 (anchors: log Q15, Q32) | Git-range review only; --standalone flag on the CLI | — | — |
| Downstream consumers | 100% | L3 | L3 (anchors: log Q37, Q38, Q39, Q40) | Consumers move with the change | — | — |
| Out of scope | parked | L1 | none | PR bots and CI; Claude-engine usage; subagent start-context inflation | — | at L1: user, 2026-10-23 |
- Brief import:
apps/wiki/content/docs/project/grilling/review-phase-token-rebuild-brainstorm-brief.md sha256 d5cfa290af27ed3a6c1f4bab783205c5b03fea3491d4cfaf36c5984a18593987 R0
- Fog: not supplied
- Altitude upgrade: not needed
- Auto-pin: not authorized
- Conservative closure: not requested
- Compile gaps: none
- Round: R4
- Altitude: L3
- Current frontier: empty
- Shared-understanding confirmation: confirmed
- Closure: closed R4
| Question id | Branch | Altitude | Prerequisites | Question | State |
|---|
| Q32 | Standalone review; Pass orchestration | L3 | Q20, Q21 | review.mjs flags and one-line JSON results | answered |
| Q33 | Engine and helper; Pass orchestration | L3 | Q20, Q25, Q26 | Module split and the engine test seam | answered |
| Q34 | Reports and budget; Measurement | L3 | Q23, Q28, Q30 | Pass Report fields | answered |
| Q35 | Pass orchestration | L3 | Q20, Q22 | review-phase skill layout: graph gates or one procedure | answered |
| Q36 | Pass orchestration | L3 | Q20, Q24 | review-contract.mjs exports kept and removed | answered |
| Q37 | Downstream consumers | L3 | Q23, Q24 | delivery-phase handoff fields and files | answered |
| Q38 | Downstream consumers | L3 | Q25, Q29; fact: hi update stale removal reported | Harness catalog, packs, consumer removal of autoreview and review | answered |
| Q39 | Downstream consumers | L3 | Q33 | Tests that replace the graph contract tests | answered |
- grilling: R1 run — Q15, Q16, Q17, Q18, Q19
- wait-what: R1 run
- show-me: R1 run — before/after pass table
- domain-modeling: R1 run — added Pass Report; Glossary Q31
- flow-lenses: R1 run — lenses 3, 4, 5, 6, 7, 8, 9 gaps -> Q21, Q22, Q23, Q24, Q25; lenses 1, 2, 10 resolved by Q3, Q15, Q19
- level derivation: R1 run — L2: Q20–Q30
- grilling: R2 run — Q20–Q30
- wait-what: R2 run
- show-me: R2 run — proposed module tree and pass sequence
- domain-modeling: R2 run — no change
- flow-lenses: R2 run — lens 9 (removed skills in consumers) -> Q38; lens 6 (retain retry) resolved by Q23 exclusive create; lens 7 (engine model unavailable) resolved by Q10 any-failure fallback
- level derivation: R2 run — L3: Q32–Q39
- grilling: R3 run — Q32–Q37, Q39
- wait-what: R3 run
- show-me: R3 run — interface sketch of
review.mjs
- domain-modeling: R3 run — no change
- flow-lenses: R3 run — lens 5 (edits during background run) resolved by upstream tree-change check S:8537 and wrapper HEAD check; lens 8 (harness restart) resolved by Q22 + Q32
status; lens 4 (retain commit on dirty branch) resolved by Q23 pathspec commit
- level derivation: R3 run — not due
- grilling: R4 run — Q38
- wait-what: R4 run
- show-me: R4 run — change-set table
- domain-modeling: R4 run — no change
- flow-lenses: R4 run — lens 9 (edited consumer copies) resolved by STEP-011 report + changelog note
- level derivation: R4 run — not due
- domain-modeling: run — final pass: terms consistent; no conflict with
delivery-phase-flow-optimization glossary (Review Packet, Review Lens Result, Full Code Review Pass kept)
- show-me: run — shared-understanding summary
- wiki synthesis: run —
domains/review-phase-token-rebuild-glossary.mdx
| Branch | Evidence anchors | Applicable dimensions | Open technical decisions | Grounding |
|---|
| Engine and helper | upstream v0.6.0 scripts/autoreview S:151 (512 KB), S:413-423 (defaults codex gpt-6.1-sol medium, claude claude-fable-5), S:5635-5681 / S:5867-5891 (engine argv, empty sandbox), S:5910 (any nonzero → reviewer_unavailable), S:7294 (--engine-timeout-seconds per attempt), S:7330 (--max-priority default P0), S:8336-8347 (status sidecar), S:8567 (exits); engines.md:19 (no auto fallback); SKILL.md:112 (never switch hosts) | runtime, contract, failure, install | L2 not derived | grounded |
| Review method | upstream S:4200-4275 (prompt order: instructions → extra prompt → datasets → bundle), S:3708 (--prompt-file), S:3762 (source context branch/commit only), S:4236 (engine reads only the bundle) | contract | L2 not derived | grounded |
| Pass orchestration | skills phases/review-phase/phases/*.md; review-contract.mjs (1008 lines, library only, exports listed in fact report); vendored helper :1100-1205 | runtime, contract | L2 not derived | grounded |
| Reports and budget | review-phase/references/durable-report.md:5,105-143; delivery-phase/phases/review.md:95,103-104,121; delivery-phase/references/phase-handoff.md:42-61,83-101; artifact-state.md:96-106 | persistence, contract | Q16, Q17, Q18 | grounded |
| Standalone review | review-phase/references/targets.md:46-75,101-120; no skill invokes standalone; spec-reviewer lists review-phase (.agents/subagents/manifest.mjs:256); upstream S:4224, S:2055 (Git change only) | contract | Q15 | grounded |
| Downstream consumers | ask-hi/references/quality.md:11-32; apps/cli/src/data/catalog/skills.ts:841-857, packs.ts:266-268; publisher/sources/skills.test.ts:106; wiki harness/entrypoints/review.mdx and 8 more pages; skills tests review-phase-graph (1028), v43-frozen-review (180), workflow-boundaries | contract, docs, tests | L2 not derived | grounded |
| Measurement | upstream usage S:6729-6743 (Codex only); Headroom savings_events.jsonl | observability | Q34 | grounded |
| Engine host detection | openai/codex codex-rs/core/src/exec_env.rs:30-42, unified_exec/process_manager.rs:105; upstream S:7301, S:7312 (--codex-bin/CODEX_BIN, --claude-bin/CLAUDE_BIN) | runtime, test seam | Q33 | grounded (source-proven) |
| Consumer removal | apps/cli/src/registry/pipeline.ts:1135-1166 (applyStale: unlink unedited stale copies, keep and report edited ones unless --yes), :1229-1239 (STEP-011); publisher/sources/harness.ts:17 (.claude/skills is one directory link); precedent BASELINE_CHANGELOG.md:965 (effect-authoring removal) | lifecycle | Q38 | grounded |
- Phase: ground
- Status: complete
- Exit: grounded
- Scope: R0; all branches
- Artifacts: status file, log, Brief import (Q1–Q14)
- Validation: Brief sha256 recorded; two fact subagent reports reconciled into Technical Grounding
- Grill state: five branches set; three branches Settled L1 by Brief
- Next suggested route: round R1 at L1
- Blockers: none
- Resume identity: none
- Phase: checkpoint
- Status: complete
- Exit: recorded
- Scope: R4; Downstream consumers
- Artifacts: log Q32–Q39, Q40
- Validation: every R2 answer recorded; Q25 records user rejection of a byte-identity test; Q26 records Codex marker evidence
- Grill state: R4 recorded; all branches Settled L3
- Next suggested route: round R3 at L3
- Blockers: none
- Resume identity: none
- Phase: close
- Status: complete
- Exit: grill_closed
- Scope: R4; all branches
- Artifacts: log Closure; status Closure
closed R4; domains/review-phase-token-rebuild-glossary.mdx, domains meta.json and index.mdx
- Validation: Close Guard passed; confirmation quoted
- Grill state: all active branches 100% at L3; Out of scope parked at L1
- Next suggested route:
$create-architecture
- Blockers: none
- Resume identity: none
- Full Code Review Pass: one complete
review-phase run over one frozen implemented change.
- Review Packet: prepared frozen target, rules, evidence and dependencies for one pass.
- Review Lens Result: compact result from one review axis:
clean, findings, or incomplete.
- Axis Run: one upstream
autoreview engine run for one axis (standards or spec), started by the wrapper script.
Avoid: axis subagent, lens worker
- Adjudicator: the one subagent that verifies candidates and sets final severity and route.
Avoid: parent review, gate subagent
- Engine Fallback: the wrapper starting the same Axis Run on the next engine after an engine failure.
- Pass Report: the temporary JSON report of one completed Full Code Review Pass at
.devpunks/delivery/<goal>/reviews/pass-<n>.json.
Avoid: retained report, review report page
- One Full Code Review Pass has exactly two Axis Runs and one Adjudicator.
- Each Axis Run yields exactly one Review Lens Result.
- One Full Code Review Pass writes at most one Pass Report.
- No model turn does work with one correct output.
- No agent waits on an engine process.