Baseline Video, Retro and Plan Move
Architecture: Baseline Video, Retro and Plan Move
Context and Scope
- Capability identity:
apps/wiki/content/docs/project/specs/cli/baseline-video-retro-plan-move. It covers one mixed release (Baseline and CLI 6.3.0) with these parts:- Taste-skill 2.1 adoption and the image-skill re-pin.
- A new Optional Pack
video, with an earshot uv tool. retroin thehi reportflow.- The move of
create-planfromdelivery-phaseintorequirements-phase. - The
ask-hiupdate. - Fixes for issues #259, #260, #261 and #262 (Q23).
- Actors:
- Agents operate skills and
hicommands in consumer repositories. - Human operators select Packs, run
hi init/hi updateand file reports. - Maintainers publish the Baseline and the CLI.
- Agents operate skills and
- Outcome:
- A consumer can opt into video production tooling.
hi reportcarries researched evidence.- Plans exist before delivery starts.
- PRs follow one rule.
- Brainstorms never build.
- Commit hooks fail closed in every worktree.
- Non-reproducible ranges are visible.
- In scope: the
wearedevpunks/skillssource tree; the HI CLI (apps/cli/src),packages/scaffold, the vendored copyapps/cli/skillsthroughbun run sync:skills; the wiki and both changelogs. - Non-goals:
- Spec: the sibling
SPEC.mdin this folder. Its codes are mapped in Spec Traceability.
Canonical Terms
The terms come from the published glossary, Glossary Q24 and Glossary Q59.
- Optional Pack: a Pack of category
optional. Only a user selection adds it. Avoid: manual Pack, opt-in Pack. - Check-only Tool: a required tool that
hi tools ensureverifies for presence and minimum version but never installs. Avoid: manual tool, prerequisite. - Non-reproducible Range: a version range such as
latest,next,*,xor empty, which 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 and 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).- HI never overrides a
core.hooksPaththat a project set to another directory.
Sources
| Source | Role | Exact location and anchor | Immutable revision or content hash |
|---|---|---|---|
| S1 | Grill status and closure | apps/wiki/content/docs/project/grilling/baseline-video-retro-plan-move-grill-status.md (Current Round: closed R2, confirmation confirmed) | commit e36d20e35, blob 497e66545d556313f3b7a95167b1ea64aac0b03b |
| S2 | Durable grill log | apps/wiki/content/docs/project/grilling/baseline-video-retro-plan-move-grill-log.md (Q1-Q58, Glossary Q24, Q59, Closure) | commit e36d20e35, blob 0637b5233d43e43833d67efd823141ea3b071d0a |
| S3 | Current glossary | S1 ## Glossary; published apps/wiki/content/docs/project/domains/baseline-video-retro-plan-move-glossary.mdx | blob c8ed8df25771fc265e2351885be2930ce3167a79 |
| S4 | Brainstorm Brief | apps/wiki/content/docs/project/grilling/baseline-video-retro-plan-move-brainstorm-brief.md | blob 7b9572761c8907faddb18c90733d10ca13419ab4 |
| S5 | Skills source tree (current behavior) | wearedevpunks/skills main; paths in S1 Technical Grounding | commit 022a4851fa028028dfbf313dc99ba12ed67be590 |
| S6 | HI CLI code (current behavior) | apps/cli/src/**, packages/scaffold/src/**; anchors in S1 Technical Grounding | commit 906e72726 |
| S7 | Upstream pins (accepted design) | taste-skill v2.1.4 6010f91a9935f1c167dfc500fb1a475681892e6b; imagegen-skills beb16b0d0f4dae9a6f5cb04ea41e97b93a54ab8e; cinetic v1.1.0 ecfa6605de1adb9345ce937724810dc32267d068; earshot 925ebe56a1b755e5d354ab642bb8f344440cfa9c; mattpocock/skills 5beb35b040e3de97e54fa9e386d7e42d15c295c2 | GitHub commit SHAs |
| S8 | Runtime facts (observed) | S1 fact records F3 (lefthook postinstall), F4 (managed lint without node_modules), F5 (tool removal), F6 (uv receipt); uv prototype and APITO reproduction in S4 | recorded in S1 blob above |
Source Disposition
| Question / entry | Disposition | Accepted detail, replacement, or unresolved point | Evidence | Parked owner / resume trigger |
|---|---|---|---|---|
| Q1-Q58, Glossary Q24, Glossary Q59 | accepted | See Accepted Detail Coverage | S2 | — |
Q55 R2 default "new tests/leonxlnx-provenance.contract.test.mjs" | superseded | Replaced inside the accepted Q55 entry: no new provenance test | S2 Q55 | — |
Q54 R2 default "matt-pocock-provenance adds retro" | superseded | Replaced inside the accepted Q54 entry: no new retro test assertion | S2 Q54 | — |
| design-phase-redesign grill Q17 ("despite its 'Not for dashboards or app screens' scope line") | superseded | Q2: Taste 2.1 covers app screens; variant-round keeps "always" | S2 Q2 | — |
design-phase-redesign grill Q18 (redesign-existing-projects activation) | superseded | Q3, Q37: skill removed; improve-existing passes to Taste's redesign route | S2 | — |
lefthook-pre-commit-catalog grill Q16 (opt-out runs lefthook uninstall) | superseded | Q36 | S2 | — |
lefthook-pre-commit-catalog grill Q17 (any core.hooksPath is another manager) | superseded in part | Q52: the managed .githooks is recognized by digest; other paths keep the Hook Migration Proposal rule (Q31) | S2 | — |
F7 (why HI's own worktrees keep .githooks clean on lefthook 2.1.10) | unknown | Non-material: the seed rises to 2.2.2 (Q50); implementation proof re-tests activation | S1 fact F7 | Implementation proof of ARC-008 |
Whole System
Conclusion: the skills repository owns all skill text and is synced into the
CLI before the catalog can reference it. The CLI owns Pack selection, tool
installation, dependency findings and the Commit Gate. Older CLIs reject the
optional category, so one Baseline publication ships with CLI 6.3.0
(Q44, Q47, Q48).
| Block selector / component / level | Owner | State and authority | Interface / dependency | Supported constraint and source |
|---|---|---|---|---|
| ARC-001 Skills source tree | wearedevpunks/skills main | Only source of skill text; UPSTREAM.md records each third-party pin | Synced by bun run sync:skills into apps/cli/skills; the skill must exist before a catalog entry (publisher/sources/skills.ts:118) | Shared-skills rule in root guidance; Q47 |
| ARC-002 Taste and image skills | skills repo skills/agnostic/frontend/ | design-taste-frontend = taste-skill v2.1.4 6010f91a; brandkit, image-to-code, imagegen-frontend-web, imagegen-frontend-mobile = imagegen-skills beb16b0d; redesign-existing-projects, full-output-enforcement removed | design-phase variant-round.md and copy-lens.md | Q1-Q4, Q37, Q55 |
| ARC-003 Video skills | skills repo skills/agnostic/video/{cinetic,earshot,real-sound} | cinetic v1.1.0 ecfa6605; earshot and real-sound at 925ebe56; each with UPSTREAM.md and LICENSE | Catalog requiresTools (ARC-009) | Q5, Q34, Q47 |
| ARC-004 Retro | skills repo skills/misc/retro | mattpocock/skills 5beb35b0; local edits: disable-model-invocation: false, upstream agents/openai.yaml dropped | Activated by hi-cli references/commands.md hi report, before submission | Q11, Q12, Q42, Q54 |
| ARC-005 Planning phases | skills repo skills/phases/{requirements-phase,delivery-phase}, skills/agnostic/planning/{create-plan,implement-spec} | requirements-phase owns plan creation after Write Backlog; create-plan retains PLAN.md; delivery-phase consumes the Plan Complete gate | phases/spec.md route; references/artifact-state.md Plan Complete | Q13, Q14, Q38-Q40, Q43, Q53 |
| ARC-006 Workflow rules and ask-hi | skills repo create-spec, create-plan, implement-spec, delivery-phase, brainstorm, ask-hi | Rule text only | ask-hi references mirror every other block | Q15-Q17, Q41, Q56-Q58 |
| ARC-007 Pack model | HI packages/scaffold/src/catalog/identity.ts, apps/cli/src/registry/model.ts, apps/cli/src/registry/shape.ts, apps/cli/src/data/catalog/packs.ts | PackCategory gains optional; detectedPacks gives default and optional no evidence; Pack video (promptSurfaces: ["root-prompt-spec"]); misc gains retro; frontend loses two skills | proposePacks, pipeline.ts:selectIntent, drift.ts:unselectedDetectedPacks read detectedPacks unchanged | Q6, Q44, Q47 |
| ARC-008 Commit Gate activation | HI registry/publisher/sources/commit-gate.ts, features/commit-gate/index.ts, platform/commit-gate-capabilities.ts, cli/lifecycle.ts | lefthookVersion = 2.2.2, one source; Copied .githooks/pre-commit and .agents/scripts/activate-git-hooks.mjs; managed lefthook.yml keys no_auto_install: true, lefthook: node_modules/.bin/lefthook, assert_lefthook_installed: true | core.hooksPath in shared .git/config; root scripts.prepare only when absent | Q21, Q22, Q30-Q32, Q35, Q36, Q50-Q52 |
| ARC-009 Tool kinds | HI data/catalog/tools.ts, integrations/tool-management.ts, new integrations/uv-tool.ts, integrations/providers.ts | Entries carry kind: npm-global, uv, check-only; uv receipt rev is the installed-pin authority | ToolCommandRuntime; skill requiresTools; publisher id check | Q7-Q10, Q26-Q28, Q33, Q34, Q45, Q46 |
| ARC-010 Range finding | HI registry/dependencies.ts, registry/model.ts:UpdateAction, registry/check.ts:CheckResult | Advisory only; never rewrites package.json | hi update row dependency-range-unreproducible; hi check dependencyFindings | Q18, Q20, Q29, Q49 |
| ARC-011 Release | HI BASELINE_CHANGELOG.md, CHANGELOG.md, apps/cli/package.json, apps/cli/scripts/sync-skills-repo.mjs | Mixed release: CLI 6.3.0 and a Baseline with Compatibility >=6.3.0 <7.0.0; skills pin moves to the new skills commit | Release workflow | Q23, Q48 |
Critical Flows and Boundaries
FLOW-001 Video Pack selection and tool ensure
-
FLOW-001-STEP-001: only a user selection adds an Optional Pack (Q5, Q6).
-
FLOW-001-STEP-002: one predicate in
detectedPackscovers detection,hi init --yes,hi updateadoption and drift (Q44). -
FLOW-001-STEP-003: tools come from skill-level
requiresTools:earshotandreal-soundneed earshot, uv, ffmpeg, ffprobe and python3.cineticneeds node, ffmpeg, ffprobe and python3.
(Q34).
-
FLOW-001-STEP-004: Check-only Tools
uv,ffmpeg,ffprobe,python3(minimum 3.11) andnode(minimum 22). A too-old tool gets its own failure detail naming the minimum and the found version. There is no Chromium check (Q8, Q9, Q45, Q46). -
FLOW-001-STEP-005 and FLOW-001-STEP-006:
- The uv kind does not refresh to the latest version.
- Reinstall happens only when the receipt
revdiffers from the full 40-character pin. - Models are not pre-fetched.
- Deselection does not uninstall.
FLOW-002 Hook activation and commit
bun install (fresh clone or worktree) [FLOW-002-STEP-001]
lefthook 2.2.2 postinstall: plain `lefthook install`
core.hooksPath set -> refuses; .githooks stays clean
core.hooksPath unset -> writes .git/hooks/pre-commit that runs
node_modules/.bin/lefthook, assert installed (fail closed)
root prepare (only when HI added it) -> activate-git-hooks.mjs [FLOW-002-STEP-002]
hi init / hi update -> run activate-git-hooks.mjs once [FLOW-002-STEP-003]
core.hooksPath unset and lefthook >= 2.1.14 -> set .githooks
core.hooksPath = other dir -> no change; Hook Migration Proposal
git commit (any worktree) [FLOW-002-STEP-004]
.githooks/pre-commit (Managed Hook Script)
$(git rev-parse --show-toplevel)/node_modules/.bin/lefthook run pre-commit
missing -> error, exit 1-
FLOW-002-STEP-001: the seed 2.2.2 runs a plain
installin its postinstall, andno_auto_install: truestops sync at run time. 2.1.10 usedinstall -f, which overwrote the committed script (Q32, Q50; S8 F3). -
FLOW-002-STEP-002: HI adds root
scripts.prepareonly when the project has none, because merges overwrite scalars. An existingprepareis kept, andhi updatereports the exact command to append (Q51). -
FLOW-002-STEP-003:
hi init/hi updaterun the script once, because their own install may use--ignore-scripts(pipeline.ts:317). The script does nothing while installed lefthook is below 2.1.14 (Q30, Q51). -
FLOW-002-STEP-004:
.git/configis shared, so one Hook Activation covers every worktree. A missing lefthook blocks the commit (Q22). -
Migration and opt-out:
- An old
.git/hooks/pre-commitbecomes inert and is reported, not deleted. - Opt-out removes the script and unsets
core.hooksPathonly when it is.githooks. - HI does not report a consumer on an old
lefthook.
- An old
FLOW-003 Requirements to delivery with the plan move
- FLOW-003-STEP-001:
create-planruns right after Write Backlog (Q13). - FLOW-003-STEP-002: a missing provider is not a blocked result (Q39).
- FLOW-003-STEP-003: a blocked result stops with no plan (Q14).
- FLOW-003-STEP-004:
create-planretainsPLAN.mdthe waycreate-specretainsSPEC.md(Q38). - FLOW-003-STEP-005: the delivery router has no plan phase. A missing or stale
plan routes through
phases/spec.md, andimplement-specroutes a missing plan the same way (Q40, Q53). - FLOW-003-STEP-006: an execution-only amendment from
architecture-conformancestill callscreate-plandirectly (Q43).
FLOW-004 hi report with retro
user asks to report friction [FLOW-004-STEP-001]
hi-cli commands.md `hi report` section
activate $retro, scoped to the reported issue [FLOW-004-STEP-002]
reads only session moments for that report area
proposes no project-environment fixes
findings -> --steps, --expected, --actual [FLOW-004-STEP-003]
hi report ... -> GitHub issue URL
post-command-flow Report branch (unchanged) [FLOW-004-STEP-004]hi-cli classifies results after the command runs, so retro attaches before submission. The Report branch stays unchanged (Q12, Q54).
FLOW-005 Non-reproducible range finding
hi update planWorkspace
required devDependency present (present() branch) [FLOW-005-STEP-001]
!isReproducibleRange(range) -> row dependency-range-unreproducible
detail: <name>: "<range>" -> pin <seed>; package.json unchanged
hi check
same predicate over workspace package.json -> dependencyFindings (advisory) [FLOW-005-STEP-002]
status unchangedModules and Interfaces
wearedevpunks/skills
├── skills/agnostic/frontend/design-taste-frontend/ ✎ v2.1.4 + UPSTREAM.md + LICENSE (ARC-002)
├── skills/agnostic/frontend/{brandkit,image-to-code,imagegen-frontend-web,imagegen-frontend-mobile}/UPSTREAM.md, LICENSE ✎
├── skills/agnostic/frontend/{redesign-existing-projects,full-output-enforcement}/ ✖
├── skills/agnostic/video/{cinetic,earshot,real-sound}/ ✚ (ARC-003)
├── skills/misc/retro/{SKILL.md,UPSTREAM.md,LICENSE} ✚ (ARC-004)
├── skills/phases/delivery-phase/phases/plan.md ✖ (ARC-005)
└── tests/* ✎ only where edits break existing assertions
apps/cli/src
├── data/catalog/{packs,skills,tools}.ts ✎ (ARC-007, ARC-009)
├── integrations/uv-tool.ts ✚ readUvToolRev, installUvTool (ARC-009)
├── integrations/{tool-management,providers}.ts ✎ dispatch by kind (ARC-009)
├── registry/{shape,model,dependencies,check}.ts ✎ (ARC-007, ARC-010)
├── registry/publisher/sources/{commit-gate,skills}.ts ✎ (ARC-008, ARC-009)
├── features/commit-gate/index.ts, platform/commit-gate-capabilities.ts, cli/lifecycle.ts ✎ (ARC-008)
└── data/scripts/activate-git-hooks.mjs + .githooks/pre-commit content ✚ (ARC-008)
packages/scaffold/src/catalog/identity.ts ✎ optional (ARC-007)-
DEC-001 Pack category (Q44):
- Add
"optional"toPackCategorySchemaandPackCategory, and drop theExcludeinpacks.ts. - In
detectedPacks,category === "default" || category === "optional"yields no evidence. - No edits in the pipeline, drift or init.
- Add
-
DEC-002 Tool entry kinds (Q45):
type ToolEntry = | { kind: "npm-global"; id; packageName; latestInstallTarget; requiredBins; ensureCommands; versionCommand?; minimumVersion? } | { kind: "uv"; id: "earshot"; requirement: "earshot[mcp] @ git+https://github.com/Leonxlnx/earshot"; pin: "<40-char sha>"; installArgs: ["--torch-backend", "cpu"]; requiredBins: ["uv"] } | { kind: "check-only"; id; versionCommand?; minimumVersion? };- New ids:
earshot,uv,ffmpeg,ffprobe,python3(3.11),node(22). gh,glabandazresolve through the check-only path.RequiredToolContractstays unchanged, with its drift recorded.
- New ids:
-
DEC-003 uv seam (Q46):
integrations/uv-tool.tsexportsreadUvToolRev(runtime, toolName)andinstallUvTool(runtime, entry)overToolCommandRuntime.readUvToolRevreads[tool].requirements[].gitrevfromuv-receipt.toml.- There is no Effect Layer.
ensureToolsInstalleddispatches bykind.
-
DEC-004 Video skill and catalog entries (Q47):
- Tier
agnostic,framework: null. - The publisher fails the build when a skill names a
requiresToolsid that is missing fromtoolCatalog.
- Tier
-
DEC-005 Range predicate (Q49):
isReproducibleRange(range: string): booleanis false for dist-tags (latest,next, any non-semver tag),*,xand"".- It is true for semver ranges.
- A new
UpdateActiondependency-range-unreproducible, plus aCheckResult.dependencyFindingsfield.
-
DEC-006 Commit Gate files (Q50-Q52):
lefthookVersion = "2.2.2"is imported byfeatures/commit-gate/index.ts, which removes the literal at :41.observeCommitGaterecognizes the Managed Hook Script by digest whencore.hooksPathis.githooks.hasOtherManagernarrows to non-managed hook paths.- The
lifecycle.ts:229-235hint names the activation script.
-
DEC-007 Planning files (Q53):
- Delete
delivery-phase/phases/plan.md. - Router step 7 routes to
phases/spec.md. artifact-state.mdPlan Complete gets a retention clause.create-plangets retain steps and new Contract lines.requirements-phasegets a post-Write-Backlog step, and step 8 names the plan.implement-speclifecycle routes torequirements-phase.wayfinder-lifecycletest :363/:379 repoint tophases/spec.md.
- Delete
-
DEC-008 Rule placement (Q56-Q58):
- #259 goes in
create-spec/references/readiness.md,assets/SPEC-TEMPLATE.md,create-plan/references/{planner-task-graph,plan-schema}.md, and the four "exactly one pull request" lines. - #260 extends
brainstorm/SKILL.md:53. - ask-hi:
baseline.md,discovery-and-docs.md,delivery.md,phase-graph.md,requirements.md.
- #259 goes in
Accepted Detail Coverage
| Question + exact entry/evidence anchor | Exact accepted choice and supplied detail | Provided rationale / alternatives | Architecture selector + applicable visual | System constraint served |
|---|---|---|---|---|
| Q23, Q48 | Mixed release; CLI 6.3.0; Compatibility >=6.3.0 <7.0.0 | Older CLIs reject optional | ARC-011; Whole System | Consumers never decode an unknown category |
| Q1, Q2, Q3, Q37, Q55 | v2.1.4 6010f91a verbatim, local edit = directory rename; supersede design Q17/Q18; remove two skills; improve-existing -> Taste redesign route; no new provenance test | User: "bring them", "ok remove them", "we dont put a fucking test for this" | ARC-002; DEC-008 | One frontend skill covers pages and app screens |
| Q4 | Four skills pinned beb16b0d, UPSTREAM.md + LICENSE each | Upstream moved them | ARC-002 | Provenance matches upstream |
| Q5-Q10, Q26-Q28, Q33, Q34, Q44-Q47, Glossary Q24 | optional category; uv --torch-backend cpu at 925ebe56…; Check-only uv, ffmpeg, ffprobe, python3 ≥3.11, node ≥22; no Chromium; keep on deselect; reinstall on receipt drift; no model pre-fetch; hi tools ensure verifies; skill-level requiresTools; uv-tool.ts; skills/agnostic/video/* | Rejected: skill-only, git-clone kind, PyPI earshot, MCP, cinetic venv, Pack-level tools, hi check extension | ARC-003, ARC-007, ARC-009; FLOW-001; DEC-001-DEC-004 | Opt-in heavy tooling, reproducible install |
| Q11, Q12, Q42, Q54 | misc Pack; disable-model-invocation: false; scoped to the reported issue; attached in commands.md; no new test | Rejected: path-read, planning Pack, full retrospective | ARC-004; FLOW-004 | Reports carry evidence without scope creep |
| Q13, Q14, Q38-Q40, Q43, Q53 | Plan after Write Backlog; no delivery plan step; retention; planning-only when no provider; blocked stops | Rejected: planning-only on blocked | ARC-005; FLOW-003; DEC-007 | Delivery starts from a retained plan |
| Q15, Q58 | ask-hi references follow every change | — | ARC-006; DEC-008 | Explanations match the Baseline |
| Q16, Q41, Q56 | At most one PR per Touched Repository; split only on user request | Issue #259 | ARC-006; DEC-008 | Predictable PR topology |
| Q17, Q57 | No branch, commit, worktree or implementation agent; explicit user go | Issue #260 | ARC-006; DEC-008 | Brainstorm never builds |
| Q18-Q20, Q29, Q49 | Advisory finding; no rewrite (#248); APITO fixes out of scope | Rejected: one-time rewrite | ARC-010; FLOW-005; DEC-005 | Visible drift without ownership change |
| Q21, Q22, Q30-Q32, Q35, Q36, Q50-Q52, Glossary Q59 | lefthook 2.2.2; no_auto_install; Managed Hook Script fails closed; activation script; prepare only when absent; fail-closed lefthook.yml keys; digest verify; opt-out; no old-lefthook report | Rejected: hook-path finding only; config keys without script | ARC-008; FLOW-002; DEC-006 | Hooks fail closed in every worktree |
| Q25 | #263 out of scope | User rejected an HI check | Context and Scope | — |
Spec Traceability
Traceability state: complete. Codes come from the sibling SPEC.md.
| Spec code / section selector | Architecture selectors | Accepted grill Q / exact log-entry and evidence anchors | Coverage explanation |
|---|---|---|---|
| OUT-001 | ARC-002 | Q1, Q2, Q3, Q37; S2 | Taste 2.1 covers pages and app screens |
| AC-001 | ARC-002 | Q1, Q55; S2 | v2.1.4 verbatim, UPSTREAM.md, LICENSE |
| AC-002 | ARC-002, DEC-008 | Q3, Q58; S2 | Two retired skills removed everywhere |
| AC-003 | ARC-002 | Q2, Q37; S2 | variant-round always; improve-existing; Q17/Q18 superseded |
| AC-004 | ARC-002, ARC-006 | Q2, Q58; S2 | No stale scope text |
| OUT-002 | ARC-002 | Q4; S2 | Image skills provenance |
| AC-005 | ARC-002 | Q4, Q55; S2 | imagegen-skills pin beb16b0d |
| OUT-003 | ARC-003, ARC-007, FLOW-001 | Q5, Q6, Q44; S2 | Optional video Pack |
| AC-006 | ARC-007, DEC-001 | Q6, Q44; S2 | optional category; video members |
| AC-007 | FLOW-001-STEP-002, DEC-001 | Q6, Q44; S2 | Never proposed or adopted |
| AC-008 | FLOW-001-STEP-001 | Q5, Q6; S2 | User selection installs skills |
| AC-009 | ARC-003, DEC-004 | Q5, Q47; S2 | Video skill layout and pins |
| OUT-004 | ARC-009, FLOW-001 | Q7, Q8, Q45, Q46; S2 | earshot install and Check-only Tools |
| AC-010 | FLOW-001-STEP-006, DEC-002, DEC-003 | Q7, Q10; S2 | uv install command with full SHA |
| AC-011 | FLOW-001-STEP-005, DEC-003 | Q27, Q46; S2 | Reinstall only on receipt drift |
| AC-012 | FLOW-001-STEP-004, DEC-002, DEC-003 | Q8, Q33, Q45, Q46; S2 | Version failures; never installed |
| AC-013 | FLOW-001-STEP-003, DEC-004 | Q34, Q47; S2 | Skill-level requiresTools; publisher check |
| AC-014 | FLOW-001 | Q26; S2 | Deselect keeps tool |
| OUT-005 | ARC-004, FLOW-004 | Q11, Q12; S2 | Retro-backed reports |
| AC-015 | ARC-004 | Q11, Q42, Q54; S2 | Retro files, flag, misc Pack |
| AC-016 | FLOW-004 | Q12, Q54; S2 | Scoped activation before submission |
| OUT-006 | ARC-005, FLOW-003 | Q13, Q14; S2 | Plan in requirements-phase |
| AC-017 | FLOW-003-STEP-001, FLOW-003-STEP-002, FLOW-003-STEP-003 | Q13, Q14, Q39; S2 | Plan step and stop rule |
| AC-018 | FLOW-003-STEP-004 | Q38; S2 | Plan retention |
| AC-019 | FLOW-003-STEP-005, DEC-007 | Q14, Q53; S2 | No delivery plan phase |
| AC-020 | FLOW-003-STEP-005, FLOW-003-STEP-006 | Q40, Q43; S2 | implement-spec routes |
| OUT-007 | ARC-006 | Q16, Q41; S2 | PR topology |
| AC-021 | DEC-008 | Q16, Q41, Q56; S2 | Rule text placement |
| OUT-008 | ARC-006 | Q17; S2 | Brainstorm stop |
| AC-022 | DEC-008 | Q17, Q57; S2 | Exits sentence |
| OUT-009 | ARC-010, FLOW-005 | Q18, Q20; S2 | Range visibility |
| AC-023 | FLOW-005-STEP-001, DEC-005 | Q20, Q49; S2 | hi update row |
| AC-024 | DEC-005 | Q49; S2 | Semver ranges reproducible |
| AC-025 | FLOW-005-STEP-002, DEC-005 | Q29, Q49; S2 | hi check advisory field |
| OUT-010 | ARC-008, FLOW-002 | Q21, Q22; S2 | Fail-closed hooks |
| AC-026 | FLOW-002-STEP-001, DEC-006 | Q32, Q50, Q51; S2 | Seed and lefthook.yml keys |
| AC-027 | FLOW-002-STEP-004 | Q22; S2 | Missing lefthook blocks commit |
| AC-028 | FLOW-002-STEP-001 | Q21, Q32; S2 | Install never repoints hooks |
| AC-029 | FLOW-002-STEP-002, FLOW-002-STEP-003 | Q30, Q31, Q51; S2 | Activation script rules |
| AC-030 | FLOW-002-STEP-002, FLOW-002-STEP-003 | Q30, Q51; S2 | prepare wiring |
| AC-031 | DEC-006 | Q31, Q52; S2 | Verify by digest |
| AC-032 | FLOW-002 | Q31, Q36, Q52; S2 | Opt-out and migration |
| OUT-011 | ARC-006 | Q15, Q58; S2 | ask-hi |
| AC-033 | DEC-008 | Q15, Q58; S2 | ask-hi references |
| OUT-012 | ARC-011 | Q23, Q48; S2 | Compatible release pair |
| AC-034 | ARC-011 | Q23, Q48; S2 | Versions and changelogs |
Flow Failure Coverage
| Lens | Evidence / unknown / justified not applicable | Guarantee at stake | Material unresolved gap |
|---|---|---|---|
| Entry points and path convergence | FLOW-001-STEP-002: one detectedPacks predicate for every proposal path; FLOW-002: fresh clone, worktree, hi init/hi update, existing prepare (Q51) | No path auto-adds an Optional Pack; every entry activates hooks or reports why not | None |
| Critical execution paths | FLOW-001-STEP-003 to STEP-006; FLOW-003 order grill -> architecture -> spec -> backlog -> plan; FLOW-004 retro before submission | Tools are verified before use; plan exists before delivery | None |
| State ownership and authority | ARC-001 skill text; uv receipt rev (DEC-003); shared .git/config core.hooksPath (FLOW-002-STEP-004); package.json stays project-owned (#248) | One authority per state | None |
| Transaction and side-effect boundaries | uv tool install replaces in place (S8 F6); create-plan commit and push (Q38); activation writes one config key | Partial tool or plan state is never treated as complete | None |
| Concurrency and stale state | Worktrees share core.hooksPath; a different value is never overridden (Q31); stale plan routes to requirements (Q53) | No worktree repoints shared hooks | None |
| Idempotency and retries | Same-SHA uv install is a no-op (S8 F6); activation sets only when unset; merges are idempotent (merge.ts) | Re-runs converge | None |
| Partial failure and recovery | Missing lefthook fails closed (Q22, S8 F4); blocked Write Backlog stops with no plan (Q14); too-old tool names versions (Q46) | Failures are visible and blocking | None |
| Execution lifetime and durability | PLAN.md retained remotely (Q38); earshot models fetched on first listen (Q28) | Plans survive sessions | None |
| Lifecycle and dependency transitions | Deselect keeps tools (Q26, S8 F5); pin change reinstalls (Q27); old .git/hooks inert (Q31); opt-out (Q36); consumers on lefthook 2.1.10 keep old behavior until they bump, unreported (Q35, Q51 version guard) | Transitions never break a consumer silently | None; F7 non-material |
| Completion and observability | hi commit-gate verify digest check (Q52); dependency-range-unreproducible row (Q49); hi report URL (FLOW-004) | Operators can see each outcome | None |
Parked Work and Non-material Unknowns
| Question / source | Disposition and scope consequence | Owner / resume trigger | Why current guarantees remain closed |
|---|---|---|---|
| S1 fact F7 | Unknown why HI's own worktrees keep .githooks clean on 2.1.10 | Implementation proof of ARC-008 | The seed rises to 2.2.2, whose postinstall runs plain install (S8 F3) |
| Q19, Q25 | APITO range, lockfile and #263 fixes are project work | APITO maintainers | HI reports ranges (ARC-010); no HI artifact contains the #263 line |
Validation
- Every relative grill link points to an existing
### Q<N>heading in S2 (checked by heading list at commite36d20e35). - Mermaid: syntax was reviewed by hand. No Mermaid parser ran in this session (limitation). The wiki build renders it.
bun run --cwd apps/wiki check:healthruns after save.