Baseline Video, Retro and Plan Move Grill Status
Baseline Video, Retro and Plan Move Grill Status
Decision log: baseline-video-retro-plan-move-grill-log.md. Input: Brainstorm Brief.
Branch Dashboard
| Branch | Completion | Target altitude | Settled altitude | Locked direction | Open items | Parked |
|---|---|---|---|---|---|---|
| Release | 100% | L3 | L3 (anchors: Q23, Q48) | One mixed release: Baseline + npm; Baseline Compatibility lower bound rises to the new CLI (older CLIs reject optional) | — | — |
| Taste-skill 2.1 | 100% | L3 | L3 (anchors: R2; Q1-Q3, Q37) | Upgrade 2.0.0 -> 2.1.4 (tag 6010f91a); supersede design-phase grill Q17 and Q18; remove two retired skills | — | — |
| Image skill re-pin | 100% | L3 | L3 (anchors: R2; Q4; grounding: four SKILL.md byte-identical to imagegen-skills beb16b0d; provenance-only change) | Provenance re-pin, same bytes | — | — |
| Video Pack | 100% | L3 | L3 (anchors: R2; Q6-Q10, Q26-Q28, Q33, Q34) | optional category; uv-installed earshot pinned 925ebe5; check-only tools; no Chromium check | — | — |
| Retro in hi report | 100% | L3 | L3 (anchors: R2; Brief §2.D, Q11-Q12) | misc Pack; scoped to the reported issue | — | — |
| Plan move | 100% | L3 | L3 (anchors: R2; Q13, Q14, Q38-Q40, Q43) | create-plan after write-backlog; no delivery plan step | — | — |
| ask-hi | 100% | L3 | L3 (anchors: R2; Q15; grounding: references follow the other branches) | References follow every accepted change | — | — |
| PR topology (#259) | 100% | L3 | L3 (anchors: R2; Q16, Q41) | At most one PR per touched repository per plan; rewrite the four "exactly one pull request" lines | — | — |
| Brainstorm stop rule (#260) | 100% | L3 | L3 (anchors: R2; Q17; grounding: brainstorm/SKILL.md:53 already bans code edits, plans and implementation) | Add branches, commits, worktrees, implementation agents, explicit user go | — | — |
| Lockfile ranges (#261) | 100% | L3 | L3 (anchors: R2; Q20, Q29) | HI reports non-reproducible ranges; APITO fixes are project work | — | — |
| Hook activation (#262) | 100% | L3 | L3 (anchors: R2; Q22, Q30-Q32, Q35, Q36) | Managed hook script through core.hooksPath, fail closed | — | — |
| Issue 263 | 100% | L1 | L1 (anchors: Brief §2.K, Q25) | Out of scope; project-owned | — | — |
Precision Inputs
- Brief import:
apps/wiki/content/docs/project/grilling/baseline-video-retro-plan-move-brainstorm-brief.mdsha2566b00bdd71196e4edfdf3355335aff80b6c06f5da1a621935833323c7c7885d95R0 - Fog: not supplied
- Altitude upgrade: not needed
- Auto-pin: not authorized
- Conservative closure: not requested
- Compile gaps: none
- Planning items handed to
create-plan: Brief fork F8 (release order: skills repo, then HI catalog and CLI with the #261/#262 debugging first, then wiki and changelogs)
Current Round
- Round: R2
- Altitude: L3
- Current frontier: empty
- Shared-understanding confirmation: confirmed — "yes agree all"
- Closure: closed R2
| Question id | Branch | Altitude | Prerequisites | Question | State |
|---|---|---|---|---|---|
| R1 ids | — | L2 | — | Glossary Q24, Q26-Q41, Q43 answered in R1 (Q35: no); Q42 answered early at L3 (set false) | answered |
| Q44 | Video Pack | L3 | Q6 | Pack category model: add optional to packages/scaffold/src/catalog/identity.ts:PackCategorySchema and apps/cli/src/registry/model.ts:PackCategory; drop the Exclude in data/catalog/packs.ts; one predicate in registry/shape.ts:detectedPacks gives default and optional no evidence. No edits in pipeline, drift or init. | answered |
| Q45 | Video Pack | L3 | Q7, Q8, Q33, Q34 | Tool catalog: data/catalog/tools.ts entries get a discriminated kind: npm-global (current shape), uv (requirement, full-SHA pin, installArgs, requiredBins: ["uv"]), check-only (versionCommand?, minimumVersion?). New ids: earshot (uv), uv, ffmpeg, ffprobe, python3 (min 3.11), node (min 22). Provider CLIs (gh, glab, az) resolve through the same check-only path. RequiredToolContract stays unchanged (no consumer; drift recorded). | answered |
| Q46 | Video Pack | L3 | Q27, Q45; F6 | uv seam: new apps/cli/src/integrations/uv-tool.ts over the existing ToolCommandRuntime (no Effect Layer): readUvToolRev (reads uv-receipt.toml [tool].requirements[].git rev) and installUvTool; ensureToolsInstalled dispatches by kind. A present-but-too-old tool gets its own failure detail naming the minimum and the found version. | answered |
| Q47 | Video Pack | L3 | Q5, Q34 | Skills layout: skills/agnostic/video/{cinetic,earshot,real-sound} in the skills repo, each with UPSTREAM.md + LICENSE; cinetic pinned to v1.1.0 ecfa6605de1adb9345ce937724810dc32267d068, earshot skills to 925ebe56…. Catalog tier agnostic; Pack video with promptSurfaces: ["root-prompt-spec"]. Publisher build check: every skill requiresTools id exists in toolCatalog. | answered |
| Q48 | Release | L3 | Q23, Q44 | CLI 6.3.0 (minor); BASELINE_CHANGELOG.md Compatibility becomes >=6.3.0 <7.0.0, because older CLIs reject optional. | answered |
| Q49 | Lockfile ranges (#261) | L3 | Q20, Q29 | Range finding: pure isReproducibleRange(range) in apps/cli/src/registry/dependencies.ts (dist-tags, *, x, empty = not reproducible; semver ranges reproducible); new UpdateAction dependency-range-unreproducible from the present() branch of planWorkspace, detail <name>: "<range>" -> pin <seed>; hi check adds an advisory dependencyFindings field on CheckResult from the same predicate; hi-cli post-command-flow.md gets the row. | answered |
| Q50 | Hook activation (#262) | L3 | Q32 | Lefthook seed: 2.2.2 (latest; its postinstall.js runs plain install, same as 2.1.14), one source lefthookVersion in publisher/sources/commit-gate.ts, imported by features/commit-gate/index.ts (removes the literal at :41). The managed lefthook.yml merge adds no_auto_install: true. | answered |
| Q51 | Hook activation (#262) | L3 | Q22, Q30, Q31; F3 | Managed hook files: Copied .githooks/pre-commit runs $(git rev-parse --show-toplevel)/node_modules/.bin/lefthook run pre-commit, error + exit 1 when missing. Copied .agents/scripts/activate-git-hooks.mjs sets core.hooksPath .githooks when unset, never overrides another value, and does nothing when installed lefthook is below 2.1.14. Wiring: root scripts.prepare only when the project has none; an existing prepare is kept (merges overwrite scalars) and hi update reports the exact command to append. hi init/hi update run the script once (their own install may use --ignore-scripts). The managed lefthook.yml also sets lefthook: node_modules/.bin/lefthook and assert_lefthook_installed: true, so a hook written before activation still fails closed. | answered |
| Q52 | Hook activation (#262) | L3 | Q31, Q36, Q51 | Verifier and opt-out seam: platform/commit-gate-capabilities.ts:observeCommitGate recognises the managed script by digest when core.hooksPath is .githooks; hasOtherManager (:361-365) narrows to non-managed hook paths; verifyCommitGate reads lefthookVersion; cli/lifecycle.ts:229-235 hint names the activation script; opt-out removes .githooks/pre-commit and unsets core.hooksPath only when it is .githooks. | answered |
| Q53 | Plan move | L3 | Q13, Q14, Q38-Q40, Q43 | Plan move files: delete delivery-phase/phases/plan.md; router step 7 sends a missing or stale plan to phases/spec.md; references/artifact-state.md Plan Complete gains a retention clause (committed and pushed, verified blob URL); create-plan gains retain steps mirroring create-spec and new Contract Upstream/Downstream lines; requirements-phase gets a step after Write Backlog that runs create-plan, and step 8 names the plan; implement-spec lifecycle routes a missing or invalid plan to requirements-phase; wayfinder-lifecycle test :363/:379 repoint to phases/spec.md. | answered |
| Q54 | Retro in hi report | L3 | Q11, Q12, Q42 | Retro files: skills/misc/retro/{SKILL.md,UPSTREAM.md,LICENSE} at mattpocock/skills 5beb35b0; drop upstream agents/openai.yaml and record it; local edit disable-model-invocation: false. hi-cli attaches retro in references/commands.md hi report (before submission) and SKILL.md Commands; the Report branch stays unchanged. Catalog entry retro (tier misc), Pack misc; no new retro test assertion. | answered |
| Q55 | Taste-skill 2.1 | L3 | Q1-Q4, Q37 | Taste and image files: replace design-taste-frontend with v2.1.4 (6010f91a), UPSTREAM.md local edit = directory rename only; four imagegen skills pinned to beb16b0d; no new provenance test (user); brandkit leaves the Emil test, the two removed skills join its retired list; superseding entries for design-phase grill Q17 and Q18; variant-round.md replaces the redesign line with "pass improve-existing to design-taste-frontend's redesign route"; copy-lens.md drops the full-output paragraph. | answered |
| Q56 | PR topology (#259) | L3 | Q16, Q41 | Wording placement: create-spec/references/readiness.md and assets/SPEC-TEMPLATE.md Branch/Base Intent; create-plan references/planner-task-graph.md and plan-schema.md; the four "exactly one pull request" lines become "at most one pull request per touched repository" with the user-asked split exception. | answered |
| Q57 | Brainstorm stop rule (#260) | L3 | Q17 | Extend the one Exits sentence at brainstorm/SKILL.md:53 (keeps the two-bullet test): "Brainstorm edits no code, writes no plan, creates no branch, commit or worktree, and starts no implementation agent; implementation starts only on the user's explicit go." | answered |
| Q58 | ask-hi | L3 | Q15 | ask-hi files: baseline.md (Pack table, optional, video, misc row incl. ask-hi and retro, removed skills), discovery-and-docs.md (taste entry, design-phase calls), delivery.md, phase-graph.md, requirements.md (plan move, #259), the brainstorm entry (#260) and the hi-cli report flow. | answered |
| Glossary Q59 | Hook activation (#262) | L3 | Q22 | Canonical term for the committed .githooks/pre-commit that HI owns: Managed Hook Script; and Hook Activation = setting core.hooksPath to the managed dir. | answered |
Fact requests:
- F3: reported. Proven in a scratch repo with bun 1.4.3; the scratch dir and its worktrees are removed.
- Bun runs lefthook's postinstall by default.
- lefthook 2.1.10
postinstall.js:6-13runslefthook install -f. OnlyCIset andLEFTHOOKunset skips it;LEFTHOOK=0does not. - With a tracked
core.hooksPath, 2.1.10-frenames the committed.githooks/pre-committopre-commit.oldand writes its own hook. Q22 alone breaks on 2.1.10. - lefthook 2.1.14 (upstream #1510, "don't force-install hooks") refuses to install under
core.hooksPath, and the committed script stays clean. lefthook runundercore.hooksPathprints "Skipping hook sync";no_auto_install: truesilences it.- Alternative found:
lefthook.ymlkeylefthook: node_modules/.bin/lefthookplusassert_lefthook_installed: truefails closed per worktree, with nocore.hooksPath. - A non-empty
trustedDependenciesdrops bun's default trust list;ignoreScriptsis global. .git/configis shared, so onecore.hooksPathcovers every worktree.- Open unknown: why HI's own worktrees keep
.githooksclean on 2.1.10.
- F4: reported (source reading, not run). Managed lint throws "No repository-local Oxlint installation…" and exits 2 (
data/scripts/managed-lint.mjs:602,724);commit-gate-runner.mjs:401-408exits 1. The managedlintcommand fails closed; nothing is skipped. - F5: reported — HI keeps a global tool when its Pack is deselected and reports nothing. No uninstall path exists in
apps/cli/src; the Installed Record has no tools;registry/materialize.tsrecomputes the union from current items; the Tool Runtime keeps its directory too (features/typescript-semantic-reads/sync.ts:222removes only the Codex config block) - F7: unknown, deferred — why HI's own worktrees keep
.githooksclean on lefthook 2.1.10. No question depends on it once Q32 raises the seed; the implementation proof re-tests activation. - F6: reported (uv 0.12.5 scratch test with
pypa/sampleproject, scratch dir removed). Findings:$UV_TOOL_DIR/<tool>/uv-receipt.tomlrecords[tool].requirements[].git = "<url>?rev=<rev as passed>". A short SHA stays short, so HI must always pass the full 40-character SHA.- Re-running the same SHA is a no-op (exit 0).
- A different SHA replaces the install without
--force(exit 0). uv tool listhas no JSON output; the receipt TOML is the machine-readable source.uv tool uninstallremoves the tool dir and its bin link, but not the uv cache.
Required Calls
R0 (response set before the first round)
- domain-modeling: R0 run — no change; Glossary Q24 still open (the Brief did not cover it)
- flow-lenses: R0 run — three flows (video Pack install lifecycle, non-reproducible-range finding, hook activation): lens 9 -> Q26, Q27, Q31; lens 10 -> Q28, Q29; lenses 1 and 9 -> Q30; lens 5 resolved by evidence (a relative
core.hooksPathresolves per worktree root); lens 7 resolved by Q22 (fail closed) - level derivation: R0 run — grounding gaps -> Q33, Q34 (Video Pack), Q35, Q36 (Hook activation), Q37 (Taste), Q38-Q40, Q43 (Plan move), Q41 (#259), Q42 (Retro, L3); Image re-pin, ask-hi, #260 and Retro L2 settled by evidence
Close
- domain-modeling: run — final pass: terms Optional Pack, Check-only Tool, Non-reproducible Range, Touched Repository, Managed Hook Script, Hook Activation consistent; no conflict with registry-baseline or lefthook-commit-gate glossaries
- show-me: run — branch table with Settled Altitude and locked direction
- wiki synthesis: run —
content/docs/project/domains/baseline-video-retro-plan-move-glossary.mdx; domainsmeta.jsonandindex.mdx;log.mdgrill entry
R2 checkpoint
- domain-modeling: R2 run — Glossary Q59 accepted
- flow-lenses: R2 run — no new gap; the Q55 correction removes a test only
- level derivation: R2 not due — every branch settled at L3
R2
- grilling: R2 run — Q44-Q58, Glossary Q59
- wait-what: R2 run
- show-me: R2 run — module tree of proposed files and a Markdown table per branch
R1 checkpoint
- domain-modeling: R1 run — Check-only Tool accepted; Glossary Q59 raised (Managed Hook Script, Hook Activation)
- flow-lenses: R1 run — hook activation flow: lens 1 (entry points: fresh-clone install,
hi init/hi updatewith--ignore-scripts, an existing projectprepare) and lens 9 (a consumer still on lefthook 2.1.10 would have the Managed Hook Script overwritten) -> folded into Q51 as the activation script's preconditions - level derivation: R1 run — L3 questions Q44-Q58 for every code-bearing branch
R1
- grilling: R1 run — Glossary Q24, Q26-Q34, Q36-Q41, Q43
- wait-what: R1 run
- show-me: R1 run — Markdown table of the frontier grouped by branch, plus a text flow of hook activation (install, hooksPath, run)
Ground
- subagent fact finding: run — three readonly grounding subagents (video Pack CLI; hook and lockfile; skills-repo branches)
- domain-modeling: run — seeded glossary; Glossary Q24 raised
Technical Grounding
| Branch | Evidence anchors | Applicable dimensions | Open technical decisions | Grounding |
|---|---|---|---|---|
| Video Pack | existing: packages/scaffold/src/catalog/identity.ts:PackCategorySchema; apps/cli/src/registry/model.ts:PackCategory (l.139, decoded at l.265); apps/cli/src/registry/shape.ts:detectedPacks (l.268, the single exclusion point feeding proposePacks, pipeline.ts:selectIntent l.640, drift.ts:unselectedDetectedPacks l.308); apps/cli/src/registry/init.ts:packChoices; apps/cli/src/registry/builders/prompts.ts:packsForWorkspace; apps/cli/src/data/catalog/tools.ts:toolCatalog (untyped, binary = id); apps/cli/src/integrations/tool-management.ts:ensureToolsInstalled, isMinimumVersionSatisfied (l.225), manualProviderCliTools; apps/cli/src/integrations/providers.ts:providerCliTools; apps/cli/src/features/tool-ensure/application.ts:installedToolIds (refresh-latest, l.71); apps/cli/src/registry/check.ts:runCheck l.205 (settings tools only, presence only); apps/cli/src/data/catalog/skills.ts:SkillCatalogEntry.requiresTools. Tool management is plain sync code over ToolCommandRuntime, no Effect Layer. Pinning tests: packages/scaffold/src/public-scaffold-contract.test.ts, publisher/build.test.ts l.467-471, sources/skills.test.ts l.92-94, tool-management.test.ts, check.test.ts l.137-172. Constraints: older CLIs reject optional when decoding (Baseline Compatibility lower bound must rise); a skill must be vendored before it is catalogued (skills.ts:118); a manual tool that is too old fails with "not available on PATH" (l.394-398). | contracts, schema, external dependency, install lifecycle, version compatibility | Q26-Q28; L3 derivation due | grounded |
| Lockfile ranges (#261) | existing: apps/cli/src/registry/dependencies.ts:141 planWorkspace, :178 present(), :264 planDependencies (no range validation); apps/cli/src/registry/model.ts:494 UpdateAction; apps/cli/src/registry/check.ts:55 CheckResult (status only; header: never reads managed file contents); seeds data/catalog/lint.ts:119,188,223,279,310, registry/builders/lint.ts:38 lintToolchain, commit-gate.ts:64; F4 managed lint fails closed. Constraint: #248 means a seed bump never reaches existing consumers. | contracts, reporting | Q29 | grounded |
| Hook activation (#262) | existing: apps/cli/src/registry/publisher/sources/commit-gate.ts:17 lefthookVersion and apps/cli/src/features/commit-gate/index.ts:41 (both hard-code 2.1.10); apps/cli/src/platform/commit-gate-capabilities.ts:20 hookPath, :361-365 (treats any core.hooksPath as another manager); apps/cli/src/cli/commit-gate-command.ts:35 runCommitGateVerify; apps/cli/src/cli/lifecycle.ts:229-235 (manual npx lefthook install hint); apps/cli/src/registry/merge.ts:66 mergeYaml; HI .githooks/pre-commit:4-7, scripts/install-git-hooks.mjs:23-41, root package.json hooks:install; pipeline.ts:317 (dependency install may use --ignore-scripts, so prepare is not reliable activation). Prior decisions touched: lefthook grill Q16 (opt-out), Q17 (other-manager detection), Q20/Q27 (hi check read-only). | lifecycle, external dependency, failure result, migration | Q30-Q32 | grounded |
| Skills-repo branches (Taste, image re-pin, retro, plan move, ask-hi, #259, #260) | existing (skills main 022a485): Taste: design-phase/phases/variant-round.md:48,54-55, references/copy-lens.md:11-12,17-18, intake.md:32, design-handoff.md:36, grill log Q17 (l.325) and Q18 (l.334); upgrade adds 8 files and changes 17. Image: four SKILL.md byte-identical to Leonxlnx/imagegen-skills beb16b0d; brandkit pinned to taste f624f37a. Retro: upstream mattpocock/skills 5beb35b0 (a7d038f6), agents/openai.yaml allow_implicit_invocation: false; hi-cli runs the command first, so retro attaches in commands.md:110-114. Plan move: delivery-phase/SKILL.md:14,25,33, phases/router.md:30-39, phases/plan.md (delete), references/artifact-state.md:55-68, phases/spec.md:3-27; requirements-phase/SKILL.md:10,58-77; create-plan/SKILL.md:12-17,39-44; implement-spec/SKILL.md:16, references/lifecycle.md:26-33,60-62, references/architecture-conformance.md:16-17,90; debugging-phase/SKILL.md:61. #259: four "exactly one pull request" lines (delivery-phase/SKILL.md:49-51, implement-spec/SKILL.md:105-107, lifecycle.md:171-172, ask-hi delivery.md:13); create-spec/references/readiness.md:67-69, assets/SPEC-TEMPLATE.md:37-40. #260: brainstorm/SKILL.md:45-53. Tests: emil-kowalski-animation-provenance :25-41,:103,:110; design-phase-graph :150-156,:252; wayfinder-lifecycle :331,:343-344,:363,:379 (read the deleted plan.md); brainstorm :119-130; matt-pocock-provenance :9-23; requirements-grill-graph :396-425 link checker. Provenance: taste v2.1.4 6010f91a9935f1c167dfc500fb1a475681892e6b; Leonxlnx LICENSE sha256 4575a543…; mattpocock LICENSE sha256 0e7ac423…. HI: apps/cli/src/data/catalog/skills.ts:569,593, packs.ts:97,214-233; wiki harness/skills-and-packs/{skill-reference,skill-packs,skill-graph}.mdx, harness/entrypoints/design.mdx, implementation/index.mdx:15. Drift: sync receipt 6f08a090 vs script pin 022a4851. | file layout, contract tests, provenance, routing contracts | Q37-Q43 | grounded |
Learnings consulted: .agents/notes/2026-06-25-dp-update-required-tools-baseline.md, .agents/notes/2026-07-07-scaffold-init-default-pack-surface.md, .agents/notes/2026-07-09-cli-check-ultracite-dependency.md, .agents/notes/2026-08-20-effect-tsgo-oxlint-version-coupling.md.
Gate Outcomes
ground
- Phase: ground
- Status: complete
- Exit: grounded
- Scope: R0; all branches
- Artifacts: status Technical Grounding (Video Pack, #261, #262, skills-repo branches), fact records F3-F7, Branch Dashboard
- Validation: every code-bearing branch has a grounded row; F7 deferred as non-blocking
- Grill state: Image re-pin, Retro, ask-hi and #260 settled at L2 by evidence
- Next suggested route: round R1 at L2
- Blockers: none
- Resume identity: none
checkpoint
- Phase: checkpoint
- Status: complete
- Exit: recorded
- Scope: R0; Video Pack, Lockfile ranges (#261), Hook activation (#262), Taste, Plan move, #259, Retro
- Artifacts: log Q9, Q10, Q19, Q20, Q22; status questions Q26-Q43; Required Calls R0
- Validation: each answer logged with its Altitude; each lens gap and grounding gap is a question
- Grill state: R1 frontier at L2; Q35 waits for Q32; Q42 waits for L3
- Next suggested route: round R1
- Blockers: none
- Resume identity: none
round
- Phase: round
- Status: complete
- Exit: answered
- Scope: R2; L3
- Artifacts: log Q44-Q58, Glossary Q59
- Validation: every frontier id answered
- Grill state: every branch settled at its Target Altitude
- Next suggested route: close
- Blockers: none
- Resume identity: none
close
- Phase: close
- Status: complete
- Exit: grill_closed
- Scope: R2; all branches
- Artifacts: log Closure section; status Closure line; glossary page; domains bookkeeping; wiki log
- Validation: Close Guard passed; confirmation and closure quoted from the user
- Grill state: closed R2; every branch 100% at its Target Altitude
- Next suggested route:
create-architecture - Blockers: none
- Resume identity: none
Glossary
Terms
-
Optional Pack: a Pack of category
optional. Only a user selection adds it; detection,hi init --yesandhi updateadoption never do. Avoid: manual Pack, opt-in Pack -
Check-only Tool: a required tool that
hi tools ensureverifies for presence and minimum version but never installs.hi checkkeeps its settings-only scope (Q33). Avoid: manual tool, prerequisite -
Non-reproducible Range: a dependency version range such as
latestor*that resolves differently over time. -
Touched Repository: a repository that receives commits from one plan's delivery work.
-
Managed Hook Script: the committed
.githooks/pre-committhat HI owns. -
Hook Activation: setting
core.hooksPathto the managed hook directory.
Relationships
- An Optional Pack is a Pack; it never appears in a detection proposal.
- One plan has at most one pull request per Touched Repository.
Axioms
hi updatenever rewrites an existing devDependency (#248); it may report one.
Flagged Ambiguities
- "manual" was used for both the Pack selection mode (Optional Pack) and tools HI does not install (Check-only Tool). Resolution: two separate terms.