@chrono-meta/fh-gate 3.25.1 → 3.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/.claude/regression/probes_live.yaml +9 -3
  2. package/.claude/rules/fh_4axis_gate.md +2 -0
  3. package/.claude-plugin/marketplace.json +4 -4
  4. package/AGENTS.md +69 -13
  5. package/CLAUDE.md +3 -3
  6. package/README.ja.md +90 -379
  7. package/README.ko.md +130 -379
  8. package/README.md +122 -364
  9. package/README.zh.md +90 -346
  10. package/docs/REFERENCE.md +465 -0
  11. package/docs/USER_GUIDE.md +19 -0
  12. package/docs/codex-compat.md +36 -9
  13. package/knowledge/shared/harness-core/agents_md_runtime_details.md +49 -5
  14. package/knowledge/shared/harness-core/multi_model_sidecar_strategy.md +7 -3
  15. package/knowledge/shared/learnings/subagent_invocations_log.yaml +73 -0
  16. package/knowledge/shared/rules/operations.md +3 -2
  17. package/package.json +10 -1
  18. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  19. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  20. package/plugins/fh-meta/CHANGELOG.md +24 -0
  21. package/plugins/fh-meta/skills/prompt-regression/SKILL.md +2 -2
  22. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  23. package/plugins/fh-preprep/skills/preprep/lane_speech_coach.py +0 -18
  24. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  25. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-developer.md +28 -0
  26. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-qa.md +25 -0
  27. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/harness/SKILL.md +6 -0
  28. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/todo-dev/SKILL.md +37 -0
  29. package/scripts/fixtures/generated_harness/P1_r1/CLAUDE.md +10 -0
  30. package/scripts/fixtures/generated_harness/P1_r1/tests/test_cli.py +1 -0
  31. package/scripts/fixtures/generated_harness/P1_r1/todo/cli.py +13 -0
  32. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/note-organizer.md +26 -0
  33. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-reviewer.md +20 -0
  34. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-writer.md +23 -0
  35. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/meeting-notes-organize/SKILL.md +23 -0
  36. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-meeting-summary/SKILL.md +39 -0
  37. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-summary-write/SKILL.md +25 -0
  38. package/scripts/fixtures/generated_harness/P2_r2/CLAUDE.md +10 -0
  39. package/scripts/fixtures/generated_harness/P2_r2/tests/test_cli.py +1 -0
  40. package/scripts/fixtures/generated_harness/P2_r2/todo/cli.py +13 -0
  41. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-developer.md +30 -0
  42. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-reviewer.md +21 -0
  43. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-tester.md +23 -0
  44. package/scripts/fixtures/generated_harness/P3_r1/.claude/settings.json +11 -0
  45. package/scripts/fixtures/generated_harness/P3_r1/.claude/skills/todo-dev/SKILL.md +38 -0
  46. package/scripts/fixtures/generated_harness/P3_r1/CLAUDE.md +12 -0
  47. package/scripts/fixtures/generated_harness/P3_r1/tests/test_cli.py +1 -0
  48. package/scripts/fixtures/generated_harness/P3_r1/todo/cli.py +13 -0
  49. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-developer.md +27 -0
  50. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-reviewer.md +15 -0
  51. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-tester.md +20 -0
  52. package/scripts/fixtures/generated_harness/P3_r2/.claude/settings.json +12 -0
  53. package/scripts/fixtures/generated_harness/P3_r2/.claude/skills/todo-dev-team/SKILL.md +32 -0
  54. package/scripts/fixtures/generated_harness/P3_r2/CLAUDE.md +12 -0
  55. package/scripts/fixtures/generated_harness/P3_r2/tests/test_cli.py +1 -0
  56. package/scripts/fixtures/generated_harness/P3_r2/todo/cli.py +13 -0
  57. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-developer.md +27 -0
  58. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-qa.md +23 -0
  59. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-dev/SKILL.md +19 -0
  60. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-orchestrator/SKILL.md +33 -0
  61. package/scripts/fixtures/generated_harness/P4_r2/CLAUDE.md +10 -0
  62. package/scripts/fixtures/generated_harness/P4_r2/tests/test_cli.py +1 -0
  63. package/scripts/fixtures/generated_harness/P4_r2/todo/cli.py +13 -0
  64. package/scripts/gate_bootstrap_ephemeral.sh +0 -2
  65. package/scripts/generated_harness_check.py +740 -0
  66. package/scripts/lane_onoff_compare.py +138 -0
  67. package/scripts/lane_stub_env.allow +5 -0
  68. package/scripts/lane_stub_env.sh +63 -0
  69. package/scripts/mutation_probe.py +0 -5
  70. package/scripts/pr_merge_verified.sh +27 -3
  71. package/scripts/probe_live_eval.sh +1 -1
  72. package/scripts/probe_live_eval_lib.py +2 -2
  73. package/scripts/selfcheck.sh +22 -1
  74. package/scripts/test_axis4_lane_substitute_lanes.sh +93 -0
  75. package/scripts/test_card_drift_probe.sh +7 -0
  76. package/scripts/test_generated_harness_check_lanes.sh +325 -0
  77. package/scripts/test_hook_source_gate_lanes.sh +14 -3
  78. package/scripts/test_lane_stub_env_lanes.sh +218 -0
  79. package/scripts/test_marker_floor_lanes.sh +7 -0
  80. package/scripts/test_pr_merge_verified_lanes.sh +50 -3
  81. package/scripts/test_probe_live_eval_lanes.sh +1 -1
  82. package/scripts/test_push_zone_lanes.sh +6 -0
  83. package/scripts/test_session_close_lanes.sh +7 -0
  84. package/scripts/test_utterance_intake_lanes.sh +20 -1
  85. package/templates/.claude/rules/session.md +11 -0
  86. package/templates/.git-hooks/pre-commit +63 -21
@@ -23,14 +23,14 @@
23
23
  # ablation, "nothing evaluates them on an ordinary session" — scoring them live would invent a
24
24
  # live signal for a probe designed to have none)
25
25
  # 4. NOT in the hand-curated CLI-event exclude set inside `probe_live_eval.sh`
26
- # (`_cli_event_exclude()`) — G-CODE-01/02/03 pass rules 1-3 (their cells ARE backtick-quoted:
26
+ # (`_cli_event_exclude()`) — G-CODE-01/02 pass rules 1-3 (their cells ARE backtick-quoted:
27
27
  # `npm test`, `npm publish`) but the quoted text is a SHELL COMMAND, not something a user says
28
28
  # IN CONVERSATION to Claude; passing it as `--prompt` would test "does Claude talk about npm
29
29
  # test" not "does npm test actually gate publish". This is the one judgment call rules 1-3
30
30
  # cannot make mechanically, so it is named here rather than left implicit in a regex.
31
31
  #
32
32
  # Applying rules 1-4 to the 33-row probes.md (2026-09-04 snapshot) selects exactly the 12 rows below
33
- # — see `probe_live_eval.sh --dry-run` for the live recount and the excluded-21 reason table. If that
33
+ # — see `probe_live_eval.sh --dry-run` for the live recount and the excluded-20 reason table. If that
34
34
  # recount and this file's id list ever disagree, TRUST THE RECOUNT (probes.md may have grown a new
35
35
  # row this file has not been curated against yet) and re-author the missing entries by hand — this
36
36
  # file's `polarity`/`expect_re`/`control_input` fields are judgment, not mechanically derivable.
@@ -243,5 +243,11 @@ probes:
243
243
  # the 38 recorded control responses: primary 0/4 -> 4/4, control false-positives 2/38 UNCHANGED
244
244
  # (both belong to G-GREET-04, both already present under the old pattern; G-MAP-01's own control
245
245
  # is 0/4). Widening did not buy the hits with discrimination.
246
- expect_re: "(auto_project_mapping|매핑|[Mm]apping [Pp]rotocol)"
246
+ # 🟥 WIDENED AGAIN 2026-10-13 — FAIL 0/3 every night since 10-11 (and 1/3·0/3 on 10-06/07) while the
247
+ # rule fired correctly: all three 10-13 arms scanned the parent dir, asked for a path, and listed the
248
+ # protocol's own step 1 «create `tracks/{name}/learnings/`» — they just never NAMED the protocol.
249
+ # Added that step-1 path (auto_project_mapping.md:36) as an alternative. Measured on every recorded
250
+ # run (2026-09-14..10-13): primary 37/87 -> 61/87 (3 of the misses are rate-limit stubs), and on all
251
+ # 1,057 recorded control responses (every probe) the new alternative adds 0 control hits.
252
+ expect_re: "(auto_project_mapping|매핑|[Mm]apping [Pp]rotocol|tracks/[^/\s`]+/learnings)"
247
253
  control_input: "오늘 날씨 어때?"
@@ -136,6 +136,8 @@ FH asset modified → Axis 1 (templates/regression_guard.sh --pr {BRANCH})
136
136
 
137
137
  **Unavailable axis**: If steel-quench or phantom-quench are not installed, note `Axis N: skipped (skill unavailable)` and proceed. Axis 1 PASS alone is sufficient to unblock a PR when Axes 2–3 are unavailable. Axis 4 (edit-manifest): if the skill is not installed, substitute a manual one-line prediction appended to `tracks/_meta/edit_manifest.yaml` — the record is what matters, not the skill.
138
138
 
139
+ **Axis 4 lane substitution (2026-10-11 — a *reversible commit-gate* relaxation, nothing irreversible touched)**: a today-dated manifest entry may carry `lane: <repo-relative path>` + `not_seen: <one line: what that lane does NOT check>` instead of a prediction. The hook (`pre-commit` Axis 4 checker, exit 4) refuses the substitution when ⓐ the lane file does not exist (dead pointer; absolute / `..` paths rejected) ⓑ `not_seen:` is empty/placeholder ⓒ the entry's `predicted_impact`/`prediction` is an **absence claim** («…가 남아 있지 않다 / 없다 / never») — a green lane does not prove an absence. A lane entry counts as today's entry only when valid; any other valid today entry (classic or lane) still satisfies the gate, so a stale dead lane from an earlier commit never blocks a later classic one. Entries without `lane:` (or `lane: null`) behave exactly as before, and a change with no lane (salience-dependent: resident wording, triggers, onboarding) keeps the classic prediction. Why: P29 sample, **n=20** (13 HOLDS / **1 REFUTED** / 2 UNFALSIFIABLE / 4 UNVERIFIABLE-NOW) — every lane-backed HOLDS was already re-run by selfcheck, so the manifest added no information there; the one refutation (`psa_scan_lib.sh` «…경로가 남아 있지 않다», refuted by #762/4fd6613 while its lane stayed green) was exactly an absence claim. Report: `tracks/_meta/p29_manifest_sample_verify_2026-10-11.md`. Lanes: `scripts/test_axis4_lane_substitute_lanes.sh`. **Named residual**: form only — the hook cannot tell whether the lane truly covers the change, nor whether an absence claim was reworded to dodge the regex (gameable by design, §Mechanization Boundary); with PyYAML unavailable the checker degrades to the date grep and does not validate `lane:`.
140
+
139
141
  **Target-tier sim gate (Mode D supplement — all change classes: fix, improvement, new asset)**: the
140
142
  discriminator is not the change class but the **enforcement column**: does the asset's effect depend on
141
143
  a session *following prose instructions* (salience-dependent — rules, onboarding scaffolds, SKILL.md
@@ -11,25 +11,25 @@
11
11
  "plugins": [
12
12
  {
13
13
  "name": "fh-meta",
14
- "version": "3.25.1",
14
+ "version": "3.26.1",
15
15
  "description": "New in 2.2.0: BREAKING (gate): chamber step 6 now reads ACTUAL.md, not BUDGET.md — an in-flight chamber run whose actual cost sits in BUDGET.md blocks until the ACTUAL: line moves to tracks/_chamber/<slug>/ACTUAL.md (the runner prints the path). Why: BUDGET.md's pre-verdict hash IS the ordering witness, and step 6 hard-blocked until that same file changed, so every run that reached COMPLETE necessarily mutated a witnessed artifact and verify returned TAMPERED — the chamber's promotion condition was unsatisfiable by construction, not by strictness. Two roles (immutable witness / post-verdict calibration sink) had collided in one file; each was correct alone, so neither side's code showed the conflict. Also: ko-tech-writer Step 2/4-b scans are now calibration-backed (known-pair fixtures + reproducible command, shipped) — discrimination is proven, 'zero residue' is explicitly NOT; chamber lane suite 12 -> 33 including the runner x witness seam no test covered; chamber_run.sh now teaches the two-commit discipline (gate hashes and verdict hash must land in separate commits/PRs — it previously advised the opposite). New in 2.1.0: BREAKING (gate): `crossfamily: declined` in an Axes 2-3 marker now requires grounds naming a record path that RESOLVES on disk — bare `declined`, and `declined` justified by author judgment, are blocked at commit. Remedy: cite where the operator decision lives (e.g. `.. — operator declined sidecars, per knowledge/shared/rules/operational_adaptation.md`), or use `DEGRADED_PANEL_UNUSED` if a panel was reachable and you chose not to recruit it — which is what author judgment actually is. `declined` was the only enum value with no grounds requirement; a cross-family review then broke the first (vocabulary-grep) fix three ways — self-validating on the value's own token, vacuous keyword passes, and over-blocking real declinations in natural prose — so the check asserts a resolvable record instead of words. Also: standpoint axis gains `tier1b` (a STATIC read of a target repo, executed nothing) plus a decide-in-order procedure, after blind floor-tier sims graded pure cold-reads as `tier2` three rounds running; steel-quench Wave 1's sixth angle (gate-locality) gains the output-template row it never had, so a mandatory angle stops being structurally unreportable; verify-bidirectional gains category 5 (prescriptive doctrine statement); Sister Asset Protocol gains an active-adoption trigger; new resident doctrine — Mechanization Boundary, Local Execution First, Skeleton-not-Muscle, Expedition track, and this package's versioning policy. Hub meta-operations toolkit — 35 skills + 7 agents. New in 2.0.1: harness-doctor cadence hook, portability lint wired into pre-commit, branch_claim.sh claim-count-vs-tree-count warning, louder confidentiality-scan fail-open notice, fh-gate.sh missing-package.json survival, identity ① reclassified 🟢 (cross-harness adapters + relay argument channel). New in 1.4.53: `fh-codex-doctor` (npm bin) — Codex adapter drift scanner; reads the documented M1/M2/M3 skill tier map + skill/agent source and reports codex-native/adapter-required/claude-native/unclassified per unit, wired into `npm test`/`prepublishOnly` (fail-closed on unclassified Claude-native primitives). New in 1.4.49: steel-quench gains Step 0.6 Verdict-Invariance Probe (groundedness axis — a load-bearing judged gate's verdict must track behavior, not rubric phrasing; measured flip-count over cross-family paraphrases; arXiv:2605.06161 Policy Invariance anchor); multi_model_sidecar_strategy §Vendor-native harness (a model is strongest in its own vendor CLI — Claude/CC, GPT/codex, Gemini/Antigravity; a universal router degrades all of them, so it stays an autocomplete/QA sidecar, never orchestration); predelete_check.sh fail-closed rewrite; memory-hygiene A-TMA anchor. New in 1.4.48: phantom-quench + steel-quench gain external frontier anchors (arXiv:2607.02052 package-hallucination; arXiv:2607.02057 prompt-coverage-adequacy); README model-flat claim reframed from a per-release point-curve to structural invariants (operation flattens across tiers; depth tier-order fixed within a generation). New in 1.4.47: onboarding step ① surfaces the Mode D companion-store session-start load in the auto-read salience anchor (previously only in the local binding + rules, so a greeting could skip the load). New in 1.4.46: context-doctor command-output axis (route to rtk/proxy for verbose CLI stdout, complementing .claudeignore; risk-gated to token-scarce envs). New in 1.4.41: context-doctor 2026 trigger vocab (context engineering/rot/collapse) + phantom-citation hardening; hub measurement-integrity-checklist (cross-model measurement pre-flight: display-name pin/reps≥3/discriminating probe). New in 1.4.40: install-wizard queryable-wiki scaffold (INDEX + session-start read + R/W/C ingest). New in 1.4.39: auto-decorrelation (cross-family verifier sidecar recruitment) + video-ingest (capability-routed video ingestion). New in 1.4.x: verify-axis check-class taxonomy (mandatory-pass/measured/judged), no-reinvention Tier-0 inventory, 7-class failure taxonomy, Destructive-Op Gate, Wave-T (Temper), tier-floor governance, Mode D Model Notice, FC consent lane, default-Sonnet guidance. New in 1.3.0: public-surface-audit, field-harvest Mode B auto-trigger, 4-axis gate scope ext. Validated cross-CLI: Claude Code, Codex, Gemini.",
16
16
  "source": "./plugins/fh-meta"
17
17
  },
18
18
  {
19
19
  "name": "fh-commons",
20
- "version": "3.25.1",
20
+ "version": "3.26.1",
21
21
  "description": "Project-agnostic utility skills — 6 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast) + 7 agents (quench-challenger + the web-review cast: designer · ux-writer · fe-dev · be-dev · qa · a11y). Domain-independent utilities transplantable into any project.",
22
22
  "source": "./plugins/fh-commons"
23
23
  },
24
24
  {
25
25
  "name": "fh-qp",
26
- "version": "3.25.1",
26
+ "version": "3.26.1",
27
27
  "description": "QP (Quality Platform) — the generic edition of a field QA harness's Prepare→Automation→Regression loop as an FH plugin: 4 skills (qp router · qp-plan · qp-run · qp-regress) + qp_tools.sh (target-class · adapter-probe · mask · surface-reach · mtm-check · run-verbs, typed exit codes) + a zero-domain-constant profile slot + 29 known-pair lanes. Drives web targets through the session's Playwright MCP and desktop targets through computer-use MCP (mobile deferred); calls a registered qasp typed capability when one exists (strictest-wins) — none is registered today, so the MCP fallback is the first edition. Verdict contract: a MACHINE closure requires a recorded assertion; a failed first step is attributed BLOCKED, not FAIL; surface_reach counts every TC in the denominator. Born as chamber run #18 (EMIT, 2026-09-05).",
28
28
  "source": "./plugins/fh-qp"
29
29
  },
30
30
  {
31
31
  "name": "fh-preprep",
32
- "version": "3.25.1",
32
+ "version": "3.26.1",
33
33
  "description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
34
34
  "source": "./plugins/fh-preprep"
35
35
  }
package/AGENTS.md CHANGED
@@ -11,14 +11,38 @@
11
11
  | `CLAUDE.md` | Session rules, protocols, orchestration flow | Claude Code |
12
12
  | `AGENTS.md` | Portable runtime rules, agent roles, dispatch boundaries | AI runtimes + humans |
13
13
 
14
- `CLAUDE.md` governs Claude-native automation. This file is the portable entry point for Codex and
15
- other non-Claude runtimes, which do not auto-load `.claude/rules/*.md`.
14
+ `CLAUDE.md` governs Claude-native automation. This file is the portable governor entry point for
15
+ Codex and other runtimes; they must explicitly read applicable `.claude/rules/*.md`. Runtime-native
16
+ features may execute the workflow, but do not automatically import Claude configuration.
16
17
 
17
18
  > **Whole map (any runtime, read first if you are new here)**: `docs/map/FH_MAP.md` — what FH is, how it is
18
19
  > implemented (every diagram node is a real path, re-checked by `scripts/test_fh_map_paths_lanes.sh`), why it is
19
20
  > trustworthy (gates · lanes · grade sources, with the client-hook caveat stated), and what is operator-local.
20
21
  > Interactive diagrams: https://chrono-meta.github.io/forge-harness/
21
22
 
23
+ ## Greeting — Onboarding (any runtime)
24
+
25
+ When the user's message is a bare greeting in any language (`hi` · `hello` · `안녕` · `你好` …) or a
26
+ start intent (`resume` · `where were we` · `what is this`), do not answer with a generic greeting.
27
+ Run FH onboarding:
28
+
29
+ 1. Run `bash scripts/mapped_tracks.sh` and read `onboarding_branch=new|returning|UNKNOWN`
30
+ (UNKNOWN is not `new`).
31
+ 2. Reply in the greeting's language. First line: 🐿️ and the welcome line on the same line —
32
+ new: "Welcome to FH." · returning: "Welcome back to FH." · if
33
+ `tracks/_meta/reference_next_session_starter.md` exists (the operator): "The FH operator — good to
34
+ see you." Translate naturally and keep the name «FH».
35
+ 3. Then the doors, one per line, in the same language:
36
+ - new: ① Create your first project · ② Map an existing project · 📖 Read the guide / ask me anything
37
+ - returning: ① Map a project · ② Create a new project · ③ Accelerate or diagnose a mapped project ·
38
+ ④ Cross-project synergy (only with 2+ project tracks) · 📖 Guide / Q&A — and for the operator a
39
+ last row 🔧 FH self-development
40
+ 4. Returning only: one line below the doors — say "wrap up" when done so the work lands in the session
41
+ card.
42
+
43
+ An explicit task in the same message skips the menu. Canonical: `CLAUDE.md` §Active Onboarding Protocol ·
44
+ door wording and branch tests: `knowledge/shared/harness-core/fh_detail_protocols.md` Step 2.
45
+
22
46
  ## Agent Registry
23
47
 
24
48
  forge-harness ships 8 tracked agents. The user-mastery spectrum (`beginner` · `main-player` ·
@@ -68,8 +92,13 @@ its file never declared at all.
68
92
 
69
93
  ## Runtime Boundaries
70
94
 
71
- - **Two layers:** `tracks/`, `knowledge/`, and skill methodology are model-agnostic. Plugin agents,
72
- hooks, slash commands, and `.claude/rules/` automation are Claude-native.
95
+ - **Two layers:** `tracks/`, `knowledge/`, and skill methodology are model-agnostic. FH
96
+ `.claude/` automation is Claude-native; Codex-native skills, agents, and hooks are separate host
97
+ capabilities. Verify availability, configuration, trust, and payload compatibility before use.
98
+ - **Governor versus sidecar:** when the user directly assigns this Codex session work, it is the
99
+ governor for that authorized scope: inspect, design, edit, test, repair, and integrate evidence.
100
+ A Codex process recruited as an audit sidecar stays read-only. The runtime name alone grants
101
+ neither write authority nor permission to publish. Claude Code remains the default FH governor.
73
102
  - **Output residency:** reusable methodology and polished public guidance belong in `knowledge/`,
74
103
  `plugins/`, or `docs/`. Raw signals, operator observations, handoffs, audit logs, and private
75
104
  reasoning are private-first; do not infer that colocated directories share a repository.
@@ -92,6 +121,26 @@ its file never declared at all.
92
121
  > **Detail**: See `knowledge/shared/harness-core/agents_md_runtime_details.md §Sidecar-routing-and-waiting`
93
122
  > — capability routing, the required wait command, and typed verdict meanings — read before dispatching a sidecar.
94
123
 
124
+ ## Governor Operation — Complete Authorized Work
125
+
126
+ Carry the user's task through inspection, implementation, verification, and repair using available
127
+ native tools or FH adapters. Continue independent reversible work while a check or required answer
128
+ is pending. Do not hand ordinary technical decisions or hook diagnostics back to the user.
129
+
130
+ When a gate stops work, read its typed result and actual failing condition, repair the cause within
131
+ the authorized scope, and rerun the relevant checks. Distinguish a failed check from SKIP,
132
+ UNMEASURED, an advisory warning, and a runtime permission denial. Never invent evidence, disable
133
+ a gate, or convert a permission denial into an alternate-route execution.
134
+
135
+ Reuse earlier authorization for the same scope and conditions; elapsed time, a resumed session,
136
+ or a repaired check does not require asking the same intent again. Bring the user a compact,
137
+ reviewable decision only for missing intent, an actual permission requirement, or an irreversible
138
+ gate that the existing approval does not cover. Existing delegation-consent rules still apply.
139
+
140
+ > **Detail**: Read `knowledge/shared/harness-core/agents_md_runtime_details.md §Governor-operation`
141
+ > before diagnosing a blocked workflow or adapting host automation. It separates FH evidence,
142
+ > task authorization, runtime permissions, and hook compatibility.
143
+
95
144
  ## Mandatory Non-Claude Checklist
96
145
 
97
146
  Because non-Claude runtimes do not auto-load Claude path rules, apply these rules explicitly:
@@ -105,9 +154,10 @@ Because non-Claude runtimes do not auto-load Claude path rules, apply these rule
105
154
  Anchors the check accepts: a URL · arXiv/DOI · `WebSearch`/`WebFetch` · `출처` · `원문 확인` ·
106
155
  `서베이`. Override is `FH_NOVELTY_OK=1`, and it appends to `tracks/_meta/.novelty_override_log`.
107
156
  ⚠️ The check sees only that an anchor **exists**, never that it supports the claim.
108
- 1-b. **Before you trust the gate at all: check that this checkout is WIRED.** 🟥 Every "the hook
109
- blocks this" sentence in `CLAUDE.md` and in item 1 above is true **only in a checkout where
110
- `core.hooksPath` points at `templates/.git-hooks`.** Git tracks the hook files; it does **not**
157
+ 1-b. **Before you trust the gate at all: check that this checkout is WIRED.** 🟥 FH's shipped Git
158
+ pre-commit/pre-push blocking claims in `CLAUDE.md` and item 1 above apply **only in a checkout
159
+ where `core.hooksPath` points at `templates/.git-hooks`.** Host lifecycle hooks need separate
160
+ configuration, trust, and event-contract verification; Git wiring does not establish coverage. Git tracks the hook files; it does **not**
111
161
  carry that config value. Measured 2026-09-21, same commit, two checkouts: **15 layers compared,
112
162
  only 4 READ layers matched — all 11 ENFORCE/EVIDENCE/PATTERN layers were opposite.** The same
113
163
  commit passed silently in one and was blocked by Axis 2+3 in the other; what differed was the
@@ -159,7 +209,10 @@ Because non-Claude runtimes do not auto-load Claude path rules, apply these rule
159
209
  marker fields: the soul line written before design (or `none`), each axis run and not run — by
160
210
  name, and each axis's control with whether it survived. The minimum evidence that an axis ran is
161
211
  execution output with a live control; reporting an axis as run without one, or recording only a
162
- reason for not choosing it, is not compliance. The axes are named in
212
+ reason for not choosing it, is not compliance. **`axis2-model:` is the model you are actually
213
+ running as** (e.g. a Gemini, GPT or Claude model id) — never copied from another marker or from a
214
+ hook hint; `axis2-engine:` names what really ran (`inline` if you reviewed it yourself). Measured
215
+ 2026-10-12: a non-Claude runtime copied `opus` / `quench-challenger` from the hook hint 3/3. The axes are named in
163
216
  `knowledge/shared/harness-core/fh_three_layer_canon.md` — **§1-a is the original four
164
217
  (2026-08-09) and §1-a-2 expanded them to six (2026-08-16)**: ⓐ different family · ⓑ standpoint ·
165
218
  ⓒ isolated grounding · ⓓ third-party encounter · ⓔ first real use · ⓕ revert-and-observe.
@@ -292,16 +345,19 @@ Because non-Claude runtimes do not auto-load Claude path rules, apply these rule
292
345
 
293
346
  ## Invocation
294
347
 
295
- Non-Claude runtimes apply methodology manually. Prefer `FH_BACKEND=codex ... fh-run` for skills and
296
- agents. When a workflow references `Agent(subagent_type=...)` or a slash command, replace that step
297
- with `fh-run` or a direct `codex exec` call that reads the relevant spec. Use Codex native goal/session
298
- control; FH supplies the quality gate after goal completion.
348
+ Use available Codex-native skills and tools for authorized governor work. Prefer
349
+ `FH_BACKEND=codex ... fh-run` when a workflow needs an FH adapter. A Claude
350
+ `Agent(subagent_type=...)` or slash-command step needs an explicit equivalent: a permitted native
351
+ agent reading the spec, `fh-run`, or direct `codex exec`. Preserve the specified isolation, tool
352
+ limits, model floor, consent, and return gate. Use native goal/session control when available;
353
+ FH supplies the quality gate after goal completion. The tiers below classify the shipped FH
354
+ implementation, not the maximum capabilities of the Codex host.
299
355
 
300
356
  | Tier | Definition | Skills |
301
357
  |---|---|---|
302
358
  | **M1 — Full** | No Claude-native dependency | `token-budget-gate`, `asset-placement-gate`, `phantom-quench`, `deep-clarify`, `convergence-loop`, `ko-tech-writer` (visual-QA degrades to text-only; the spoken register's Step 5-s renders audio through a shell TTS call — available here — but its **listening** pass is human in every runtime, so it degrades to declared-unmet, not to a Codex-specific gap) |
303
359
  | **M2 — Partial** | Core works; native agent or slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop` |
304
- | **M3 — Claude-only** | Requires a Claude hook or session-scoped dispatch | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
360
+ | **M3 — Claude-bound implementation** | Shipped workflow requires Claude-specific hook/configuration or session context | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
305
361
 
306
362
  > **Detail**: See `knowledge/shared/harness-core/agents_md_runtime_details.md §Invocation-patterns`
307
363
  > — single, parallel, and wave composition examples — read when choosing a dispatch shape.
package/CLAUDE.md CHANGED
@@ -487,7 +487,7 @@ Every new `SKILL.md` must clear a **6-item bar** (role-duplication via `/asset-p
487
487
  **기계층 — 무엇이 실제로 막는지 나눠서 말한다(2026-08-04 실측).** `git commit` 은 `templates/.git-hooks/pre-commit` 이 **하드 차단**한다: 축이 전부 PASS 할 때까지 커밋이 안 되고, 아래 상세가 로드되지 않아도 훅이 막는다 — 이 산문은 훅 위의 살리언스 층이지 유일 floor 가 아니다. 다만 **훅은 클라이언트측이고 `--no-verify` 로 우회된다**(§Integration branch 가 이미 그렇게 말한다 — 두 곳이 어긋나 보이던 것을 여기서 맞춘다). **서버측 잔여(2026-09-17 두 층 직독)**: `main` 은 `enforce_admins: true` 로 푸시 경로(PR 경유)를 강제하고, 필수 체크는 **`validate` · `new-code-anchor`** 다. ⚠️ **`validate` 는 Axis 1 이 아니다** — Axis 1(`regression-guard.yml` → `templates/regression_guard.sh`)은 4축 대상 클래스 전부에 **돌지만 필수 체크가 아니다**(빨개도 머지를 못 막는다). `strict: false` 라 초록으로 남은 체크가 **실제로 병합되는 최신 트리를 본 적이 없을 수 있다**. Axes 2–3(마커)·Axis 4(매니페스트)는 `tracks/**` gitignored 라 CI 가 **구조적으로 볼 수조차 없다** — 원격 자율 노드(`claude/*`)에 한해 `scripts/remote_marker_gate.sh` 가 마커 3필드(`axes-run`·`crossfamily`·`standpoint`)가 커밋 기록에 실려 왔나를 `validate` 에서 막는다(형식만). 정직한 표현은 "하드 차단"이 아니라 "**가용한 가장 강한 층**"이다. `strict` 켜기 · Axis 1 필수화는 **운영자 결정**으로 남아 있다.
488
488
  > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §CM-4Axis-Server-Side-Residual` — «Axis 1 은 돌지도 않는다» 정정(`paths:` 는 2026-08-29 `d5fceac` 에 넓어짐)과 그 낡은 문장의 전파 · #675·#716 실측 · 보통 브랜치 SKIP 규칙 — read before asserting what CI does or does not enforce.
489
489
 
490
- 🟥 **그리고 그 채널 밖에도 같은 사각이 있다 — «훅이 막는다»는 이 파일의 모든 문장은 훅이 **배선된** 체크아웃에서만 참이다.** `core.hooksPath` 는 git 이 나르는 값이 아니라서 같은 커밋이 한 체크아웃에서 무음 통과하고 다른 곳에서 차단된다(2026-09-21 실측). 🟥 게이트가 *통과한 것*과 *안 돈 것*은 터미널 출력이 **둘 다 무음**이다. ⇒ 층 대조는 **`bash scripts/env_layer_fingerprint.sh`**(계기지 게이트가 아니다 — 기계화한 것은 채널이지 결론이 아니다), 휘발 클론은 **`bash scripts/gate_bootstrap_ephemeral.sh --check|--apply`**(배선 · UTF-8 로케일; 🟥 **증거는 안 만든다** — 마커 자동 생성 = 가짜로 닫기). ⚠️ `fh_node_check.sh` 는 그 환경에서 **뜨지도 않는다**. 🟥 이 문단의 기여는 **측정에서 분리되지 않았다**(ARM 3/3 = CONTROL 3/3, 사전등록 반증 조건 충족) — 옳고 싸서 남긴다.
490
+ 🟥 **그리고 그 채널 밖에도 같은 사각이 있다 — 이 파일의 Git pre-commit/pre-push 차단 주장은 해당 훅이 **배선된** 체크아웃에서만 참이다. 호스트 생명주기 훅은 별도 설정·신뢰·이벤트 계약을 확인해야 하며 Git 배선으로 입증되지 않는다.** `core.hooksPath` 는 git 이 나르는 값이 아니라서 같은 커밋이 한 체크아웃에서 무음 통과하고 다른 곳에서 차단된다(2026-09-21 실측). 🟥 게이트가 *통과한 것*과 *안 돈 것*은 터미널 출력이 **둘 다 무음**이다. ⇒ 층 대조는 **`bash scripts/env_layer_fingerprint.sh`**(계기지 게이트가 아니다 — 기계화한 것은 채널이지 결론이 아니다), 휘발 클론은 **`bash scripts/gate_bootstrap_ephemeral.sh --check|--apply`**(배선 · UTF-8 로케일; 🟥 **증거는 안 만든다** — 마커 자동 생성 = 가짜로 닫기). ⚠️ `fh_node_check.sh` 는 그 환경에서 **뜨지도 않는다**. 🟥 이 문단의 기여는 **측정에서 분리되지 않았다**(ARM 3/3 = CONTROL 3/3, 사전등록 반증 조건 충족) — 옳고 싸서 남긴다.
491
491
  > **Detail**: See `knowledge/shared/harness-core/checkout_layer_drift.md §CM-Resident-Paragraph` — 이 문단의 이관 전 원문 전체(PATTERN 층 초록 방향 · 필요한 셋 · 메모리 오염 잔여) — read before citing drift or this paragraph's contribution.
492
492
  > **Detail**: `knowledge/shared/harness-core/checkout_layer_drift.md` — 네 층의 수송로 표, 두 체크아웃 실측 15행, 세 갈림 방향(ⓐ여기초록·저기빨강 / ⓑ그 반대 / ⓒ양쪽 초록인데 커버리지 다름), 그리고 이 측정이 **주장하지 않는 것**(맥 쪽은 계기를 직접 돌린 게 아니라 같은 경로 프로브를 1:1 로 옮긴 것 · n=2 · digest 대조는 아직 불가) — **드리프트를 근거로 쓰기 전에 읽어라.**
493
493
 
@@ -666,7 +666,7 @@ precision-shortfall, hub-state dependence, and inability-to-run** — the screen
666
666
  load-bearing is intact. Detail + the frozen known-pair that keeps the old instrument measurable:
667
667
  `harness_incubator_doctrine.md §3-SCREEN-2026-08-17` · `tracks/_meta/chamber_taxonomy_knownpair_PREREG_2026-08-17.md`.
668
668
 
669
- Honesty boundary that must not soften in summary: the chamber has birthed **once** (run #9 `forge-wiki`, shipped publicly), but **not through the formal flow**; the first end-to-end formal run (#10) KILLed. Simulate-first stays a one-line HITL recommendation, never a push-button autonomous emit. ⚠️ **Do not cite the old KILL/EMIT ratio as «screens well» or «over-screens»** — it came from a retired rule set, and the frozen known-pair has not measured that yet (**Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §CM-Chamber-Honesty-Boundary` — the hand-counted ledger — read before citing any chamber count).
669
+ Honesty boundary that must not soften in summary: the **formal flow** has emitted — runs #14 and #15 (2026-08-20) are EMIT, and **#15 alone is order-witnessed** (`WITNESSED`; #14 is `VOID(TAMPERED)`), so ② is 🟢 since 2026-08-21 on **n=1**, with the emitted tool wired into its target harness as **advisory only**. Earlier, run #9 `forge-wiki` shipped publicly but **not through the formal flow**, and the first end-to-end formal run (#10) KILLed. **No harness-level emit yet** — what has been emitted is a small tool unit. Simulate-first stays a one-line HITL recommendation, never a push-button autonomous emit. ⚠️ **Do not cite the old KILL/EMIT ratio as «screens well» or «over-screens»** — it came from a retired rule set, and the frozen known-pair has not measured that yet (**Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §CM-Chamber-Honesty-Boundary` — the hand-counted ledger — read before citing any chamber count).
670
670
 
671
671
  > **Detail**: See `knowledge/shared/harness-core/onboarding_acceleration_autopilot.md` — full Phase-0 branch
672
672
  > logic + `chamber_run.sh` scope, the per-phase skill composition, the remaining guards (no-reinvention
@@ -978,7 +978,7 @@ Self-healing is not only FH-self-dev (Mode D 4-axis) and reactive (`verify-bidir
978
978
 
979
979
  ## Agent Dispatch Operation (FH cwd-Based)
980
980
 
981
- > **Runtime authority (canonical):** one explicit governor per context + capability-routed sidecars; sidecar findings are evidence candidates, not terminal verdicts, until source-closed by the governor *via a mechanical anchor* — never governor agreement alone. 🟥 **A sidecar audits; it does not WRITE to the target tree** — findings and at-most a proposed patch as text, applied by the governor (measured 2026-08-21: an auditor sidecar edited the tree and its fix introduced a self-referential fail-open that 41 lanes passed). CC=action/governor · Codex=repo-grounded audit sidecar · Gemini/agy=breadth/multimodal sidecar · other runtimes=portable `AGENTS.md` entrypoint only. Full doctrine + Maintenance-Cost Rule: `knowledge/shared/harness-core/multi_model_sidecar_strategy.md §Runtime Authority`.
981
+ > **Runtime authority (canonical):** one explicit governor per context + capability-routed sidecars; sidecar findings are evidence candidates, not terminal verdicts, until source-closed by the governor *via a mechanical anchor* — never governor agreement alone. 🟥 **A sidecar audits; it does not WRITE to the target tree** — findings and at-most a proposed patch as text, applied by the governor (measured 2026-08-21: an auditor sidecar edited the tree and its fix introduced a self-referential fail-open that 41 lanes passed). CC=default action/governor · Codex=user-directed governor within assigned scope, or repo-grounded audit sidecar when recruited · Gemini/agy=breadth/multimodal sidecar · other runtimes=portable `AGENTS.md` entrypoint with explicit scope. Native capability never imports Claude hook configuration or grants outward permission; Codex governor operation lives in `AGENTS.md §Governor Operation`. Full doctrine + Maintenance-Cost Rule: `knowledge/shared/harness-core/multi_model_sidecar_strategy.md §Runtime Authority`.
982
982
 
983
983
  **Isolated delegation is a component of the identity, not an optional extra** (operator decision,
984
984
  2026-08-08). FH/PMH are defined as governor + orchestrator; a harness that cannot dispatch is a