Harness Intelligence Wiki
Grilling

Baseline Video, Retro and Plan Move Grill Log

Baseline Video, Retro and Plan Move Grill Log

Status dashboard: baseline-video-retro-plan-move-grill-status.md. Precision input: Brainstorm Brief (sha256 6b00bdd71196e4edfdf3355335aff80b6c06f5da1a621935833323c7c7885d95).

Release

Q23

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: What does this release ship, and what release kind does it select?

Accepted answer:

  • One release that ships the Taste-skill 2.1 adoption, the image-skill re-pin, the manual video Pack, retro in hi report, the create-plan move, the ask-hi update, and issues #259, #260, #261 and #262.
  • It changes BASELINE_CHANGELOG.md and CHANGELOG.md, so the release kind is mixed: a Baseline publication plus an npm version bump.

Q48

Prerequisites:

  • Q23, Q44

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • CLI 6.3.0 (minor); BASELINE_CHANGELOG.md Compatibility becomes >=6.3.0 <7.0.0, because older CLIs reject optional. User: "agree all" (R2).

Taste-skill 2.1

Q1

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: How does the Baseline adopt Taste-skill 2.1?

Accepted answer:

  • Vendor Leonxlnx/taste-skill v2.1.4 skills/taste-skill verbatim as design-taste-frontend.
  • Add UPSTREAM.md and LICENSE. User: "bring them".

Q2

Prerequisites:

  • Q1

Altitude: L1

Source: Brainstorm Brief

Question: What happens to the design-phase exception that forces Taste on app screens?

Accepted answer:

  • Taste 2.1 covers app screens (references/app-screens.md). A new decision supersedes design-phase-redesign grill Q17 ("despite its 'Not for dashboards or app screens' scope line").
  • variant-round.md step 4 keeps "design-taste-frontend, always".
  • User: "no need for the dashboard/landing page behavior overwrite we setup for design-phase. this thing we will fix!"

Q3

Prerequisites:

  • Q1

Altitude: L1

Source: Brainstorm Brief

Question: What happens to the skills that Taste 2.1 retired or removed?

Accepted answer:

  • Remove redesign-existing-projects and full-output-enforcement from these places:
    • the skills repo
    • design-phase
    • the frontend Pack
    • the skill catalog
    • ask-hi
    • the wiki
  • Fix the stale Taste scope text in ask-hi and harness/entrypoints/design.mdx.
  • User: "ok remove them".

Rejected alternatives:

  • Keep the pinned copies: upstream retired or removed them.

Q37

Prerequisites:

  • Q3

Altitude: L2

Question: What happens to the design-phase intake field "existing-UI intent improve-existing"?

Accepted answer:

  • Keep it. variant-round passes it to design-taste-frontend's own redesign route (SKILL.md:470). User: "very good i agree with everything" (R1).

Rejected alternatives:

  • Remove the field.

Q55

Prerequisites:

  • Q1-Q4, Q37

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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; 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. No new provenance test: the pins live in each UPSTREAM.md; existing tests change only where these edits break them (the Emil test drops brandkit and lists the two removed skills as retired). User: "we dont put a fucking test for this"; then "agree all" (R2).

Rejected alternatives:

  • A new tests/leonxlnx-provenance.contract.test.mjs: the user rejected a test for provenance.

Image Skill Re-pin

Q4

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Where do brandkit, image-to-code, imagegen-frontend-web and imagegen-frontend-mobile come from?

Accepted answer:

  • Re-pin all four to Leonxlnx/imagegen-skills.
  • Each skill gets its own UPSTREAM.md and LICENSE.
  • Install names stay the same.
  • User: "yes and also bring over license".

Video Pack

Q5

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: What does the video Pack ship, and how does a user get it?

Accepted answer:

  • It ships the skills cinetic, earshot and real-sound.
  • Selection is manual only. User: "no autodetect, its manual"; "no both in video pack".

Rejected alternatives:

  • Only the earshot skill: user wants both earshot skills.

Q6

Prerequisites:

  • Q5

Altitude: L2

Source: Brainstorm Brief

Question: How does the Pack model express a manual-only Pack?

Accepted answer:

  • A new Pack category, optional, with these rules:
    • detection never proposes it;
    • hi init --yes never selects it;
    • hi update adoption of newly detected Packs never adds it;
    • the user selects it through the hi init prompt or settings.packs.
  • User: "ok this can be optional pack".

Q7

Prerequisites:

  • Q5

Altitude: L2

Source: Brainstorm Brief

Question: How does HI install the earshot CLI?

Accepted answer:

  • A new uv tool kind in hi tools ensure.
  • The install is uv tool install --torch-backend cpu from git+https://github.com/Leonxlnx/earshot at a pinned commit SHA.
  • HI installs only the CLI; it registers no MCP server.
  • User: "i want this"; MCP: "ok".

Rejected alternatives:

  • Skill-only manual setup: the user wants a HI-managed install.
  • A git-clone tool kind: the most code; the uv install is proven.
  • PyPI earshot or uvx earshot: that name belongs to an unrelated pyke project.

Evidence anchor:

  • uv prototype, 2026-10-21: install exit 0 in 10 s; torch 2.14.1+cpu, no CUDA; about 1.4 GB; earshot sfx render clean; earshot kit present.
  • earshot earshot/paths.py:25-29: the cache is ~/.cache/earshot outside a checkout, or EARSHOT_HOME.

Q8

Prerequisites:

  • Q5

Altitude: L2

Source: Brainstorm Brief

Question: Which tools does the video Pack require that HI does not install?

Accepted answer:

  • These are check-only:
    • uv
    • ffmpeg and ffprobe
    • python3 3.11 or newer
    • Node 22 or newer
  • The cinetic skill tells the user to create cinetic's Python virtual environment and put it on PATH; HI does not manage it.
  • User: "thus i presume uv ffmpeg and python 3(wahtever version it was) must be required tools for video pack".

Rejected alternatives:

  • HI manages cinetic's virtual environment: cinetic calls python3 from PATH, so managing it is fragile.

Q9

Prerequisites:

  • Q5

Altitude: L2

Question: Does the video Pack check for Chromium?

Accepted answer:

  • No. Remotion downloads its own Chromium. User: "agree all. lets proceed" (R0 response set, accepts the Brief default).

Rejected alternatives:

  • A check-only Chromium tool: Remotion manages its own browser.

Q10

Prerequisites:

  • Q7

Altitude: L3

Question: Which earshot commit does the uv tool pin?

Accepted answer:

  • 925ebe56a1b755e5d354ab642bb8f344440cfa9c (main on 2026-10-21, pyproject 0.3.0), the SHA the uv prototype tested. User: "agree all. lets proceed" (R0 response set, accepts the Brief default).

Rejected alternatives:

  • Tag v0.2.0: it has no earshot kit, and cinetic needs 0.3 or newer.

Glossary Q24

Question: What is the canonical term for a tool HI verifies but never installs?

Accepted answer:

  • Canonical term: Check-only Tool — a required tool that hi tools ensure verifies for presence and minimum version but never installs.
  • Avoid: manual tool, prerequisite
  • User: "very good i agree with everything" (R1).

Q26

Prerequisites:

  • Q6, Q7; F5

Altitude: L2

Question: Does deselecting video uninstall the earshot uv tool?

Accepted answer:

  • No. The tool stays installed, the same as every global tool today. User: "very good i agree with everything" (R1).

Q27

Prerequisites:

  • Q7, Q10; F6

Altitude: L2

Question: When does hi tools ensure reinstall earshot?

Accepted answer:

  • Only when the uv receipt rev differs from the full 40-character pinned SHA. The uv kind has no refresh-latest run. User: "very good i agree with everything" (R1).

Q28

Prerequisites:

  • Q7

Altitude: L2

Question: Does hi tools ensure pre-fetch earshot's models?

Accepted answer:

  • No. The first listen fetches them; the earshot skill names earshot doctor --fetch. User: "very good i agree with everything" (R1).

Q33

Prerequisites:

  • Q8, Glossary Q24

Altitude: L2

Question: Which command verifies Check-only Tools?

Accepted answer:

  • hi tools ensure verifies presence and minimum version. hi check keeps its settings-only scope. User: "very good i agree with everything" (R1).

Rejected alternatives:

  • Extend hi check to every required tool and version.

Q34

Prerequisites:

  • Q7, Q8

Altitude: L2

Question: How do the video skills link to tools?

Accepted answer:

  • Skill-level requiresTools.
  • earshot and real-sound: earshot, uv, ffmpeg, ffprobe, python3.
  • cinetic: node, ffmpeg, ffprobe, python3 (earshot stays optional for cinetic). User: "very good i agree with everything" (R1).

Rejected alternatives:

  • A Pack-level tools field.

Q44

Prerequisites:

  • Q6

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Q45

Prerequisites:

  • Q7, Q8, Q33, Q34

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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). User: "agree all" (R2).

Q46

Prerequisites:

  • Q27, Q45; F6

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Q47

Prerequisites:

  • Q5, Q34

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Retro in hi report

Q11

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: How does the Baseline ship retro?

Accepted answer:

  • Vendor mattpocock/skills skills/engineering/retro into the default misc Pack.
  • Set disable-model-invocation: false and record it as a local edit. User: "set to false".

Rejected alternatives:

  • Read retro by file path and leave upstream unchanged: the user chose the flag edit.
  • The planning Pack: the user accepted misc.

Q12

Prerequisites:

  • Q11

Altitude: L2

Source: Brainstorm Brief

Question: What does retro do inside the hi report flow?

Accepted answer:

  • The hi-cli Report branch activates retro before hi report.
  • Retro researches only the issue the user wants to report, using the session moments for that report area.
  • Its findings fill --steps, --expected and --actual.
  • It proposes no project-environment fixes.
  • User: "retro must be used to research a specific issue thats guided by user wanting to report. only scoped to the user input area".

Rejected alternatives:

  • A full project-environment retrospective: outside the report area.

Q42

Prerequisites:

  • Q11

Altitude: L3

Question: Does retro set disable-model-invocation: false or remove the key?

Accepted answer:

  • Set disable-model-invocation: false, recorded as a local edit. User: "yes" (to setting it to false).

Rejected alternatives:

  • Remove the key (wait-what precedent): the user chose the explicit flag; the provenance test changes to expect false.

Q54

Prerequisites:

  • Q11, Q12, Q42

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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 test assertion for retro (same rule as Q55). User: "agree all" (R2).

Plan Move

Q13

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Where does create-plan run?

Accepted answer:

  • In requirements-phase, right after write-backlog.
  • delivery-phase has no plan step.
  • User: "move create-plan step out of delivery-phase and into requirements-phase. right after write-backlog step."; "yeah no plan step in delivery".

Q14

Prerequisites:

  • Q13

Altitude: L2

Source: Brainstorm Brief

Question: Which gates and artifacts change with the move?

Accepted answer:

  • Delivery-phase:
    • "Plan Complete" becomes a delivery entry gate.
    • A missing or stale PLAN.md routes to requirements-phase through phases/spec.md.
  • Requirements-phase:
    • PLAN.md is committed and pushed before requirements-phase returns.
    • A blocked Write Backlog result stops requirements-phase with no plan.
    • The Requirements result names the architecture, the spec, the backlog result and the plan.

Rejected alternatives:

  • A planning-only plan when backlog projection is blocked: the user accepted stopping.

Q38

Prerequisites:

  • Q14

Altitude: L2

Question: Who commits and pushes PLAN.md?

Accepted answer:

  • create-plan retains it, as create-spec retains SPEC.md; requirements-phase verifies. User: "very good i agree with everything" (R1).

Q39

Prerequisites:

  • Q14

Altitude: L2

Question: Is a missing backlog provider a blocked Write Backlog result?

Accepted answer:

  • No. create-plan runs with task_identity_mode: planning-only.
  • Blocked means a configured provider failed or authority is missing. User: "very good i agree with everything" (R1).

Q40

Prerequisites:

  • Q13

Altitude: L2

Question: Where does implement-spec send a missing or invalid plan?

Accepted answer:

  • To requirements-phase. User: "very good i agree with everything" (R1).

Q43

Prerequisites:

  • Q13

Altitude: L2

Question: Does an execution-only amendment from implement-spec still call create-plan directly?

Accepted answer:

  • Yes. Only a missing or stale plan routes to requirements-phase. User: "very good i agree with everything" (R1).

Q53

Prerequisites:

  • Q13, Q14, Q38-Q40, Q43

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

ask-hi

Q15

Prerequisites:

  • Q1-Q14, Q16, Q17

Altitude: L1

Source: Brainstorm Brief

Question: What does ask-hi change?

Accepted answer:

  • Its references describe every accepted change in this release.
  • User: "/ask-hi skill must then be updated with all these edits."

Q58

Prerequisites:

  • Q15

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

PR Topology (#259)

Q16

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: What PR topology do planning and delivery enforce?

Accepted answer:

  • "One plan creates at most one pull request in each repository its delivery work touches."
  • The rule is stated in create-spec Branch/Base Intent, create-plan, implement-spec lifecycle and delivery-phase.
  • create-plan never proposes per-Story or per-Task PRs.

Q41

Prerequisites:

  • Q16

Altitude: L2

Question: Keep the exception "split or stack PRs only when the user explicitly asks"?

Accepted answer:

  • Yes. User: "very good i agree with everything" (R1).

Q56

Prerequisites:

  • Q16, Q41

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Brainstorm Stop Rule (#260)

Q17

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Where does brainstorm stop?

Accepted answer:

  • Its output is candidates and a Brainstorm Brief.
  • It never edits code and never creates branches, commits, worktrees or implementation agents.
  • Implementation starts only on an explicit user go.

Q57

Prerequisites:

  • Q17

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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." User: "agree all" (R2).

Lockfile Ranges (#261)

Q18

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Is #261 in this release, and what is the accepted cause?

Accepted answer:

  • Yes, with a debugging step first. User: "yes".
  • The cause chain:
    1. HI-required devDependencies are declared as "latest".
    2. An upstream publish makes bun.lock drift.
    3. bun install --frozen-lockfile fails.
    4. A fresh worktree has no node_modules.
    5. ultracite check fails.
    6. Agents bypass the hook.
  • The ultracite, oxlint and oxfmt hook commands are project-owned. HI manages only the lint command.

Evidence anchor:

  • Disposable APITO clone at 46e9a98c, 2026-10-21: bun install --frozen-lockfile failed with "lockfile had changes, but lockfile is frozen". The only lock drift was @repo/wiki/@oxlint/plugins 1.88.0 -> 1.89.0.
  • HI apps/cli/src/registry/dependencies.ts:1-17 and 5476ee945 (#248): hi update never rewrites an existing devDependency.

Q19

Prerequisites:

  • Q18

Altitude: L1

Question: Are the APITO-side fixes part of this release?

Accepted answer:

  • No. Pinning APITO's latest ranges, refreshing its bun.lock and fixing its #263 wiki line are project work outside this release. User: "agree all. lets proceed" (R0 response set, accepts the Brief default).

Q20

Prerequisites:

  • Q18

Altitude: L2

Question: Does HI report or rewrite HI-required devDependencies that use a non-reproducible range (latest, *)?

Accepted answer:

  • hi update and hi check report each one as a finding that names the catalog seed version and the exact fix.
  • HI does not rewrite it, so #248 holds. User: "agree all. lets proceed" (R0 response set, accepts the Brief default).

Rejected alternatives:

  • A one-time rewrite of latest to the seed: it breaks the #248 rule that the project owns existing versions.

Q29

Prerequisites:

  • Q20

Altitude: L2

Question: Is the non-reproducible-range finding advisory, and may hi check read workspace package.json files?

Accepted answer:

  • Advisory in hi update and hi check; neither status changes.
  • hi check reads workspace package.json files for this finding. User: "very good i agree with everything" (R1).

Rejected alternatives:

  • Report in hi update only.

Q49

Prerequisites:

  • Q20, Q29

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Hook Activation (#262)

Q21

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Is #262 in this release, and what is the accepted cause?

Accepted answer:

  • Yes, with a debugging step first.
  • The lefthook npm postinstall (lefthook install -f) writes the absolute path of the installing checkout's binary into the shared $(git rev-parse --git-common-dir)/hooks/pre-commit.
  • When that path is dead and node_modules is missing, the hook passes silently. User: "inspect this in the consumer repo to debug"; "yes".

Evidence anchor:

  • Disposable APITO clone: a worktree bun install repointed the shared hook. With no node_modules, the hook printed "Can't find lefthook in PATH" and exited 0.

Q22

Prerequisites:

  • Q21

Altitude: L2

Question: How does the Commit Gate activate Git hooks?

Accepted answer:

  • Through core.hooksPath and a managed, committed hook script.
  • The script resolves lefthook at run time from git rev-parse --show-toplevel.
  • It fails closed when lefthook is missing.
  • Precedent: HI's own .githooks/pre-commit. User: "agree all. lets proceed" (R0 response set, accepts the Brief default).

Rejected alternatives:

  • Keep lefthook-written hooks and add only a hi check finding for a worktree-pinned path: the silent pass stays.

Q30

Prerequisites:

  • Q22; F3

Altitude: L2

Question: What sets core.hooksPath in a fresh clone?

Accepted answer:

  • A managed install-time root step sets it when it is unset.
  • hi commit-gate verify reports an inactive gate when it is unset. User: "very good i agree with everything" (R1).

Rejected alternatives:

  • Only hi init and hi update set it.

Q31

Prerequisites:

  • Q22; F3

Altitude: L2

Question: How does an existing consumer migrate?

Accepted answer:

  • An old lefthook-written .git/hooks/pre-commit becomes inert; HI reports it and does not delete it.
  • A different existing core.hooksPath is never overridden; the Hook Migration Proposal rule (lefthook grill Q17) applies. User: "very good i agree with everything" (R1).

Q32

Prerequisites:

  • Q22; F3

Altitude: L2

Question: Does the Commit Gate raise its lefthook seed and set no_auto_install?

Accepted answer:

  • Yes: seed 2.1.14 or later (no forced postinstall install, upstream #1510) and no_auto_install: true in the managed lefthook.yml. User: "very good i agree with everything" (R1).

Rejected alternatives:

  • The lefthook: key plus assert_lefthook_installed with no hook script: it reopens Q22.

Q35

Prerequisites:

  • Q32

Altitude: L2

Question: Does HI report a consumer whose lefthook devDependency is below the Commit Gate minimum?

Accepted answer:

  • No. User: "no".

Q36

Prerequisites:

  • Q22

Altitude: L2

Question: How does Commit Gate Opt-Out work under the managed script?

Accepted answer:

  • Remove the managed script; unset core.hooksPath only when it equals the managed dir.
  • Supersedes lefthook grill Q16 (lefthook uninstall). User: "very good i agree with everything" (R1).

Q50

Prerequisites:

  • Q32

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Q51

Prerequisites:

  • Q22, Q30, Q31; F3

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Q52

Prerequisites:

  • Q31, Q36, Q51

Altitude: L3

Question: Which modules, files and interfaces implement this branch?

Accepted answer:

  • 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. User: "agree all" (R2).

Glossary Q59

Question: What are the terms for the committed hook HI owns and for turning it on?

Accepted answer:

  • Canonical term: Managed Hook Script — the committed .githooks/pre-commit that HI owns.
  • Canonical term: Hook Activation — setting core.hooksPath to the managed hook directory.
  • User: "agree all" (R2).

Issue 263

Q25

Prerequisites:

  • none

Altitude: L1

Source: Brainstorm Brief

Question: Does this release handle #263?

Accepted answer:

  • No. The bad command comes from APITO scaffold commit b057ecea, not from HI.
  • Close #263 as project-owned. User: "ok then fuck this forget it".

Rejected alternatives:

  • A HI wiki-command check: the user rejected it.

Closure

  • Shared-understanding confirmation: "yes agree all" (2026-10-22, in reply to the R2 confirmation request).
  • Closure: "yes agree all. now /create-architecture /create-spec /write-backlog and /create-plan" (2026-10-22).
  • Handoff: create-architecture with this log and the status, then create-spec, write-backlog and create-plan through requirements-phase.

On this page