@chrono-meta/fh-gate 3.25.0 → 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 (90) 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 +32 -0
  21. package/plugins/fh-meta/skills/prompt-regression/SKILL.md +2 -2
  22. package/plugins/fh-meta/skills/sim-conductor/SKILL.md +3 -3
  23. package/plugins/fh-meta/skills/sim-conductor/SKILL_detail.md +4 -2
  24. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  25. package/plugins/fh-preprep/skills/preprep/lane_speech_coach.py +14 -22
  26. package/plugins/fh-preprep/skills/preprep/test_lane_speech_coach.py +47 -1
  27. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  28. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-developer.md +28 -0
  29. package/scripts/fixtures/generated_harness/P1_r1/.claude/agents/todo-qa.md +25 -0
  30. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/harness/SKILL.md +6 -0
  31. package/scripts/fixtures/generated_harness/P1_r1/.claude/skills/todo-dev/SKILL.md +37 -0
  32. package/scripts/fixtures/generated_harness/P1_r1/CLAUDE.md +10 -0
  33. package/scripts/fixtures/generated_harness/P1_r1/tests/test_cli.py +1 -0
  34. package/scripts/fixtures/generated_harness/P1_r1/todo/cli.py +13 -0
  35. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/note-organizer.md +26 -0
  36. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-reviewer.md +20 -0
  37. package/scripts/fixtures/generated_harness/P2_r2/.claude/agents/summary-writer.md +23 -0
  38. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/meeting-notes-organize/SKILL.md +23 -0
  39. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-meeting-summary/SKILL.md +39 -0
  40. package/scripts/fixtures/generated_harness/P2_r2/.claude/skills/weekly-summary-write/SKILL.md +25 -0
  41. package/scripts/fixtures/generated_harness/P2_r2/CLAUDE.md +10 -0
  42. package/scripts/fixtures/generated_harness/P2_r2/tests/test_cli.py +1 -0
  43. package/scripts/fixtures/generated_harness/P2_r2/todo/cli.py +13 -0
  44. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-developer.md +30 -0
  45. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-reviewer.md +21 -0
  46. package/scripts/fixtures/generated_harness/P3_r1/.claude/agents/todo-tester.md +23 -0
  47. package/scripts/fixtures/generated_harness/P3_r1/.claude/settings.json +11 -0
  48. package/scripts/fixtures/generated_harness/P3_r1/.claude/skills/todo-dev/SKILL.md +38 -0
  49. package/scripts/fixtures/generated_harness/P3_r1/CLAUDE.md +12 -0
  50. package/scripts/fixtures/generated_harness/P3_r1/tests/test_cli.py +1 -0
  51. package/scripts/fixtures/generated_harness/P3_r1/todo/cli.py +13 -0
  52. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-developer.md +27 -0
  53. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-reviewer.md +15 -0
  54. package/scripts/fixtures/generated_harness/P3_r2/.claude/agents/todo-tester.md +20 -0
  55. package/scripts/fixtures/generated_harness/P3_r2/.claude/settings.json +12 -0
  56. package/scripts/fixtures/generated_harness/P3_r2/.claude/skills/todo-dev-team/SKILL.md +32 -0
  57. package/scripts/fixtures/generated_harness/P3_r2/CLAUDE.md +12 -0
  58. package/scripts/fixtures/generated_harness/P3_r2/tests/test_cli.py +1 -0
  59. package/scripts/fixtures/generated_harness/P3_r2/todo/cli.py +13 -0
  60. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-developer.md +27 -0
  61. package/scripts/fixtures/generated_harness/P4_r2/.claude/agents/todo-qa.md +23 -0
  62. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-dev/SKILL.md +19 -0
  63. package/scripts/fixtures/generated_harness/P4_r2/.claude/skills/todo-orchestrator/SKILL.md +33 -0
  64. package/scripts/fixtures/generated_harness/P4_r2/CLAUDE.md +10 -0
  65. package/scripts/fixtures/generated_harness/P4_r2/tests/test_cli.py +1 -0
  66. package/scripts/fixtures/generated_harness/P4_r2/todo/cli.py +13 -0
  67. package/scripts/gate_bootstrap_ephemeral.sh +0 -2
  68. package/scripts/generated_harness_check.py +740 -0
  69. package/scripts/lane_onoff_compare.py +138 -0
  70. package/scripts/lane_stub_env.allow +5 -0
  71. package/scripts/lane_stub_env.sh +63 -0
  72. package/scripts/mutation_probe.py +0 -5
  73. package/scripts/pr_merge_verified.sh +27 -3
  74. package/scripts/probe_live_eval.sh +1 -1
  75. package/scripts/probe_live_eval_lib.py +2 -2
  76. package/scripts/selfcheck.sh +22 -1
  77. package/scripts/test_axis4_lane_substitute_lanes.sh +93 -0
  78. package/scripts/test_card_drift_probe.sh +7 -0
  79. package/scripts/test_channel_inventory_lanes.sh +7 -1
  80. package/scripts/test_generated_harness_check_lanes.sh +325 -0
  81. package/scripts/test_hook_source_gate_lanes.sh +14 -3
  82. package/scripts/test_lane_stub_env_lanes.sh +218 -0
  83. package/scripts/test_marker_floor_lanes.sh +7 -0
  84. package/scripts/test_pr_merge_verified_lanes.sh +50 -3
  85. package/scripts/test_probe_live_eval_lanes.sh +1 -1
  86. package/scripts/test_push_zone_lanes.sh +6 -0
  87. package/scripts/test_session_close_lanes.sh +7 -0
  88. package/scripts/test_utterance_intake_lanes.sh +20 -1
  89. package/templates/.claude/rules/session.md +11 -0
  90. package/templates/.git-hooks/pre-commit +63 -21
@@ -0,0 +1,465 @@
1
+ # forge-harness — full overview (moved from README.md)
2
+
3
+ > **Why this file exists.** The root `README.md` was rewritten (2026-10) as a one-page entry: what FH is,
4
+ > how to start, what you get, what it cannot do. Everything the old README said is kept here, unchanged
5
+ > except for relative links. The table at the bottom of this file records where each old section went.
6
+ > If you are new, read the [`README.md`](../README.md) first.
7
+
8
+ ---
9
+
10
+ <p align="center">
11
+ <img src="https://raw.githubusercontent.com/chrono-meta/forge-harness/main/docs/banner.png" alt="forge-harness — Forge your projects, pass them through, faster. Quality is the lever — speed is the result." width="680">
12
+ </p>
13
+
14
+ <p align="center">
15
+ <a href="https://github.com/walkinglabs/awesome-harness-engineering#coding-agent-harnesses"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Harness Engineering"></a>
16
+ <a href="https://github.com/VoltAgent/awesome-agent-skills#community-skills"><img src="https://img.shields.io/badge/listed_in-awesome--agent--skills-0ea5e9.svg" alt="Listed in awesome-agent-skills"></a>
17
+ <a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg" alt="Claude Code compatible — official Claude Code repository"></a>
18
+ <a href="https://chrono-meta.github.io/forge-harness/"><img src="https://img.shields.io/badge/whole_map-interactive-6366f1.svg" alt="FH whole map — interactive diagrams on GitHub Pages"></a>
19
+ <a href="https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict"><img src="https://img.shields.io/badge/GitHub_Action-marketplace-2088FF.svg" alt="GitHub Actions Marketplace — fh-gate"></a>
20
+ <a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/v/@chrono-meta/fh-gate.svg?color=cb3837" alt="npm"></a>
21
+ <a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg" alt="Homebrew tap"></a>
22
+ <a href="../LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
23
+ </p>
24
+
25
+ <p align="center">
26
+ <b>English</b> · <a href="../README.ko.md">한국어</a> · <a href="../README.zh.md">中文</a> · <a href="../README.ja.md">日本語</a>
27
+ </p>
28
+
29
+ <p align="center">
30
+ <b>Stop re-explaining your rules to your agent. Put them in the project.</b>
31
+ </p>
32
+
33
+ <!-- This line was chosen, not drafted. Before rewriting it, read docs/ETHOS.md
34
+ §"Who this line is for" — two rejected alternatives are recorded there with why. -->
35
+ <p align="center">
36
+ <b>Quality gates that catch you, not just your agent.</b>
37
+ </p>
38
+
39
+ <p align="center">
40
+ <img src="https://raw.githubusercontent.com/chrono-meta/forge-harness/main/docs/demo/gate-block.gif" alt="regression guard blocking a change that dropped a Done When section, then passing once it is restored" width="820">
41
+ </p>
42
+ <p align="center">
43
+ <sub>A real run, not a mock: an agent “tidied up” a skill spec (<code>SKILL.md</code>) and dropped its <b>Done When</b> section. The guard names the missing section; put it back and the cleanup ships unchanged.<br>Regenerate: <code>brew install vhs &amp;&amp; vhs docs/demo/gate-block.tape</code></sub>
44
+ </p>
45
+
46
+ ---
47
+
48
+ ## Pick one. They install differently and buy you different things.
49
+
50
+ ### ① Just the gate — you do not need Claude Code
51
+
52
+ ```bash
53
+ npx --package @chrono-meta/fh-gate fh-gate # nothing to install
54
+ brew tap chrono-meta/forge-harness && brew install forge-harness # or this
55
+ ```
56
+
57
+ **In GitHub Actions** — the same gate as a step, with the verdict kept typed:
58
+
59
+ ```yaml
60
+ - uses: chrono-meta/forge-harness@v3.1.2
61
+ with:
62
+ files: ${{ steps.changed.outputs.files }}
63
+ env:
64
+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
65
+ ```
66
+
67
+ Listed on the [GitHub Actions Marketplace](https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict).
68
+
69
+ The step exposes `verdict` (PASS · PENDING · BLOCKED · ESCALATE · HARNESS_ERROR · ARG_ERROR · DRY_RUN · UNKNOWN)
70
+ and `reviewed`. **`reviewed: false` is not a pass** — a backend that never answered, a dry run, or an exit
71
+ code this wrapper does not know all land there, and all of them fail the step by default. That default is
72
+ the point: a check that did not run must never read green. Change it with `fail-on:` if you want a softer
73
+ policy, and know what you are trading.
74
+
75
+
76
+ **What you get**
77
+
78
+ - A change is judged **before** it merges, and the verdict names what the change **lost** — not that
79
+ something is "off". The GIF above is that verdict on a real diff.
80
+ - The verdict is a **typed value**, not text you grep: `PASS · PENDING · BLOCKED · ESCALATE`.
81
+ - Runs anywhere a shell runs — CI, a pre-commit hook, a different coding agent. Claude Code optional.
82
+ - **It reviews your own code, not just an agent's.** Point it at a diff and it names the weakness — a verdict
83
+ that quietly degrades toward PASS, a reference that does not exist, a secret, a claim with no grounds —
84
+ so you fix it and re-run *before* merge. Where each FH engine applies (harness building · skill/agent
85
+ authoring · code review · irreversible-surface gates · context continuity), and what changes by model
86
+ tier and effort level: [`docs/USE_CASES.md`](USE_CASES.md) ·
87
+ [`docs/model_tier_expectations.md`](model_tier_expectations.md).
88
+ How the gates line up with ISO/IEC AI-testing and AI-quality standards (42119 · 29119-11 · 25059 · 42001), as a
89
+ self-assessment with evidence pointers: [`docs/STANDARDS_ALIGNMENT.md`](STANDARDS_ALIGNMENT.md).
90
+
91
+ ### ② The whole harness — inside Claude Code
92
+
93
+ ```bash
94
+ claude plugin marketplace add https://github.com/chrono-meta/forge-harness.git
95
+ claude plugin install -s user fh-meta@forge-harness
96
+ claude plugin install -s user fh-qp@forge-harness # optional: QP (Quality Platform) — plan→run→regress a web/desktop app through the session's Playwright / computer-use MCP
97
+ git clone https://github.com/chrono-meta/forge-harness.git ~/projects/forge-harness
98
+ cd ~/projects/forge-harness && claude # then type a greeting: hi · 안녕 · こんにちは · 你好
99
+ ```
100
+
101
+ <p align="center">
102
+ <img src="https://raw.githubusercontent.com/chrono-meta/forge-harness/main/docs/demo/door2-menu.gif" alt="typing hi in a fresh forge-harness clone; FH reads the checkout, opens the new-user menu, and warns that the install wizard has not run yet" width="820">
103
+ </p>
104
+ <p align="center">
105
+ <sub>The whole of the fourth line. A clone made minutes earlier: it reads the checkout, sees no session files, opens the <b>new-user</b> menu — and tells you the wizard has not run yet.<br>Launch and thinking time are hidden; every character is that run's output. Regenerate: <code>vhs docs/demo/door2-menu.tape</code></sub>
106
+ </p>
107
+
108
+ **What you get, on top of ①**
109
+
110
+ - You stop having to pick the check. The harness reads what you are about to do — publish, delete,
111
+ rewrite history, open a PR — and names the gate for that moment. ① is one command you remember; ②
112
+ is the layer that remembers for you.
113
+ - **46 skills · 14 agents** you can call in plain language: diagnose a project, accelerate one, wire a
114
+ new one up.
115
+ - `tracks/` keeps what each session learned, so **session 2 starts where session 1 stopped**. This is
116
+ the part that compounds — and the part you cannot judge on day one.
117
+ - Ask for the same thing three times and it stops answering: it builds you the harness that answers.
118
+
119
+ <sub>🟥 <b>One thing ② does not give you.</b> FH also carries a 4-axis <b>pre-commit</b> hook, and it is
120
+ not for your repos: it hard-codes hub paths and hub markers, so installing it into your project blocks
121
+ your commits instead of helping. The installer treats it as opt-in and tells you to skip it unless you
122
+ develop FH itself. <b>For your own repos, ① is the gate</b> — wire it into CI or your own pre-commit.</sub>
123
+
124
+ <sub><b>Not sure?</b> Start with ①. It costs one command and nothing to uninstall, and ② is a superset —
125
+ nothing you learn in ① is thrown away.</sub>
126
+
127
+ ### What neither door is
128
+
129
+ **It does not replace the review that happens after.** It moves the question earlier, so that what
130
+ reaches a human reviewer is smaller — not so that a human stops reviewing. The bottleneck it targets
131
+ is the gap between how fast things get generated and how fast a person can check them; it closes that
132
+ gap from the *front*, by cutting what has to travel to the back.
133
+
134
+ **What a diff cannot show stays a person's job.** Anything that only surfaces when the thing actually
135
+ runs — on a real screen, against real state — is outside what any of this reaches. That work does not
136
+ shrink because a gate exists upstream of it. It gets a shorter queue.
137
+
138
+ ---
139
+
140
+ ## Does it actually catch anything?
141
+
142
+ **On real code someone else wrote** (2026-05-31). `fh-gate` ran on OpenCode's AI-generated
143
+ `permission/arity.ts` — 163 lines, agent-written, **CI green**. Verdict: **BLOCKED**, on two A-grade
144
+ findings CI missed (short-token overflow in the allowlist; executor tools absent from the arity table).
145
+
146
+ **On planted holes, with the model held fixed** (2026-07-14). Eight subtle *default-toward-PASS*
147
+ (fail-open) holes, authored by two *other* models so the set was not tuned to us. The model stayed
148
+ pinned at a mid-tier floor; only the **method** changed:
149
+
150
+ | Method | Caught | False alarms |
151
+ |---|---|---|
152
+ | Plain review | 5/8 — **and 2 of those were the wrong bug** (false confidence, worse than a clean miss) | — |
153
+ | + FH's degrade-direction lens | 6/8 | 0 |
154
+ | + a different model family, same lens | **8/8** | 0 |
155
+
156
+ 🟥 **The load-bearing line is not the 8/8.** Both single-model lanes missed **the same two holes** — a
157
+ falsy error-sentinel, and a separator-negation parse. Same input, same blind spot: a second reviewer of
158
+ the *same kind* would have missed them too. That is the whole argument for decorrelation; the rest is
159
+ arithmetic. Small sample (single draw); reps and harder holes are the stated next step. Method:
160
+ [`ship_readiness_gate.md`](../knowledge/shared/harness-core/ship_readiness_gate.md) §Dominance · more
161
+ dated runs: [`docs/OUTPUT_EVIDENCE.md`](OUTPUT_EVIDENCE.md).
162
+
163
+ <p align="center">
164
+ <b>Quality is the lever; speed is the result.</b> ·
165
+ <a href="ETHOS.md"><b>The principles</b></a> ·
166
+ <a href="WHY.md"><b>Why it exists</b></a> ·
167
+ <a href="OUTPUT_EVIDENCE.md"><b>The evidence</b></a> ·
168
+ <a href="../CHEATSHEET.md"><b>How to use it</b></a><br>
169
+ <sub>If this is useful, a star helps others find it.</sub>
170
+ </p>
171
+
172
+ | If you're here because… | forge-harness solves it |
173
+ |---|---|
174
+ | Context disappears when a session ends | Persistent `tracks/` — resumable from anywhere |
175
+ | You repeat the same setup across projects | Connect once to the hub, share across all projects |
176
+ | Team AI know-how lives only in people's heads | Codify it so everyone shares it |
177
+ | You want AI to get *better* as work accumulates | Skills and patterns compound session over session |
178
+ | You need a governance layer for AI-generated code | `fh-gate` wraps any coding agent as a post-generation gate |
179
+
180
+ > **This document is for humans.** AI operating rules → [`CLAUDE.md`](../CLAUDE.md) · command reference →
181
+ > [`CHEATSHEET.md`](../CHEATSHEET.md). The two doors above are the whole decision; everything below is
182
+ > reference for when you want it.
183
+
184
+ ---
185
+
186
+ ## Get going
187
+
188
+ **Type `hi`** — or `안녕`, `こんにちは`, `你好`, `hola`, `bonjour`. Any of them opens a numbered menu:
189
+ pick a door, answer a couple of questions, and it runs the install wizard for you. Say **"Connect a
190
+ project"** and the hub scans `../`, finds `.git` directories, and creates `tracks/{project}/`.
191
+
192
+ <sub>🟥 <b>Honest about that</b>: matching your language is a prose rule with no mechanical floor, so it
193
+ does not always hold — measured blind on a clean clone (2026-08-21) it translated the whole menu, but
194
+ whether the menu fires at all is shakier: one greeting variant produced none. Say so and it will
195
+ switch. Written up in <code>CLAUDE.md</code> §Voice/Tone rather than smoothed over.</sub>
196
+
197
+ **Requirements.** Door ② needs the Claude Code CLI (`claude --version`); door ① does not — that is the
198
+ point of it. One gate additionally needs **Python + PyYAML** (it parses YAML and fails closed without
199
+ it, turning all of `npm test` red): `python3 -m pip install --user pyyaml`. Why it fails closed:
200
+ [`CHEATSHEET.md`](../CHEATSHEET.md) §6.
201
+
202
+ **Your first 15 minutes.** Setup worked when a greeting shows the 🐿️ door menu and "Connect a project"
203
+ creates `tracks/{your-project}/`. Then take a win in the same session: **"accelerate this project"** (a
204
+ ranked, install-gated plan) or **"run /context-doctor"** (token-waste scan); for full initial setup —
205
+ hooks, gates, baseline, each approved individually and a decline recorded — ask for
206
+ **`/install-wizard`**. One honest note: FH's payoff is **compounding**, and it shows from **session 2
207
+ onward**; day one gives you the menu, the plan, and the gates, so don't judge it on day one. Already
208
+ cloned elsewhere? That path *is* your hub. Unfamiliar words →
209
+ [`GLOSSARY.md`](../knowledge/shared/GLOSSARY.md); trying ② on one project only?
210
+ [`templates/starter_profile.md`](../templates/starter_profile.md) is one command and a curated first five.
211
+
212
+ > ⚠️ **Plugin-only is partial synergy.** You can install the plugin without cloning the hub
213
+ > (`claude plugin install -s user fh-meta@forge-harness`, then `cd` into your project). You get the
214
+ > skills and agents, but **not** the hub-side orchestration — the `CLAUDE.md` governance, or the
215
+ > compounding `tracks/` memory that makes them compound across sessions.
216
+ >
217
+ > 🟥 **Two version numbers, and they measure different things.** The **package version** (npm badge,
218
+ > top of page) is what you install; the **identity-maturity release** (`identity-v1.0.0`, on the
219
+ > Releases page) is how far along the harness is — `0.x` by design, because it refuses to call all five
220
+ > identities green when they are not. They are not on one scale, and a high package number is not
221
+ > maturity: [`ship_readiness_gate.md`](../knowledge/shared/harness-core/ship_readiness_gate.md).
222
+ > 🟢 **2026-09-04 — the two counters merge.** `identity-v1.0.0` (every identity 🟢) is the **last**
223
+ > identity-track tag and the first to carry the *Latest* badge. From here on a release is **one number for
224
+ > both** — the next is the package major that carries identity 1.0 — and release notes are written in
225
+ > English with a Korean summary. The paragraph above stays as the reason the tracks were split while
226
+ > not everything was green; it is history, not the current rule.
227
+
228
+ ---
229
+
230
+ ## What makes it a harness, not a toolbox
231
+
232
+ A harness reads your **intent** and forges it into a **machined form** — rules an AI reliably follows,
233
+ or deterministic code that needs no model at all. The payoff is **less trial-and-error on the human
234
+ side**: the request → feedback → regenerate loop *relocates* into the harness and runs in parallel, so
235
+ your attention goes only where a change is irreversible. A **skill, agent, or plugin** is a tool; a
236
+ **harness** is a level up — a *star*: one project's tools, rules, gates, and memory bound into a single
237
+ working body. **forge-harness is the galaxy those stars live in**, binding many onto a shared floor so
238
+ they evolve together instead of drifting apart. It can also run a field harness **in simulation inside
239
+ its own sandbox** and then **emit** it as an independent one — 🟥 read that step as direction of
240
+ travel, not a shipped feature: the chamber has emitted once, and that run skipped the full flow.
241
+
242
+ ```
243
+ forge-harness/ ← the hub (persistent brain) Project A ──→ connect hub in CLAUDE.md
244
+ ├── knowledge/ → shared across all projects Project B ──→ connect hub in CLAUDE.md
245
+ └── tracks/ → work records per project
246
+ ```
247
+
248
+ Structurally it is **two layers** — a model-agnostic **methodology layer** (`tracks/`, `knowledge/`,
249
+ `SKILL.md` docs) and a Claude-Code-native **automation layer** (agents, hooks, slash commands,
250
+ `CLAUDE.md` rules). That boundary is deliberate, not a gap to be closed:
251
+ [`docs/codex-compat.md`](codex-compat.md). **Where this sits (2026):** basic agent orchestration is
252
+ commoditizing into standard infrastructure, and FH deliberately stakes nothing on that plumbing — its
253
+ durable layer is what does not commoditize: the governance gates, drift control, and the cross-project
254
+ compounding loop. Routing and dispatch are means; **the gate and the loop are the asset.**
255
+
256
+ ### The five identities — what FH is for
257
+
258
+ Not five modules and not five shipped features: the **shapes the skills clump into**, named after the
259
+ fact rather than layered on top.
260
+
261
+ | | Identity | What a person gets |
262
+ |---|---|---|
263
+ | **①** | **Harness cluster** | One task rides several harnesses, governance computed *between* them — **call** a capability you do not have rather than build it, and **absorb** the one you should have built |
264
+ | **②** | **Project incubator** | A new harness comes out **walking where it was born**, not as an empty scaffold |
265
+ | **③** | **Governance gate** | What must not ship is blocked **mechanically**, not by remembering to check |
266
+ | **④** | **Frontier absorption** | When you are unsure, *what we already have* then *what the world already built* gets searched first — so nothing is rebuilt |
267
+ | **⑤** | **Amplifier** | A short intent gets forged all the way to the finished artifact |
268
+
269
+ A sixth row is deliberately absent: `Ⓑ` **Project Booster** — FH's machinery accelerating *another
270
+ harness's own development* — is real and graded, but sits on a different layer, hence a letter rather
271
+ than a number. **And the table is not five working features**: maturity is graded per identity
272
+ (`aspirational → partial → RC → REALIZED`) with dated evidence, deliberately not copied here — a grade
273
+ kept in two files goes stale in one, and this page exists in four languages. Read the grades before
274
+ relying on any row: [`ship_readiness_gate.md`](../knowledge/shared/harness-core/ship_readiness_gate.md). And for **how to use each one** — which command or door lights which identity — [`docs/IDENTITIES.md`](IDENTITIES.md): the grades say *how ready*, that page says *how to call it*.
275
+
276
+ Two properties cut across all five. **It rides the frontier instead of patching it** — dispatching
277
+ across families (Claude, Codex, Gemini, local) to co-evolve, not to paper over weak spots.
278
+ **Decorrelation** is today's trust lever and the load-bearing word on this page: deliberately making
279
+ two checks fail *differently* — another model family, a run against a real target, an outside audit of
280
+ your own record — so what one is blind to, another is not. And **it evolves in two directions**:
281
+ outward, each session's lessons compound into the hub; inward, the same gates turn on the harness
282
+ itself.
283
+
284
+ ---
285
+
286
+ ## How it is built — three · four · five · six
287
+
288
+ **Three-stage process · four engines · five identities · six-axis verification.** The identities above
289
+ are what appears where the process and the engines interlock — the five are the forged, graded, stable
290
+ ones; other identities surface and recede with how you steer and how far you push (operator's formulation,
291
+ 2026-09-05); **four engines** (`judgment-circuit` · `ship-gate` · `context-continuity` ·
292
+ `external-grounding`) are the core every FH-specific output comes from; the **three-stage process** —
293
+ ① plant the judgment circuit *before* design → ② parallel decorrelation in the middle → ③ burn it down on
294
+ six axes — is the order every piece of FH work runs in, forging an engine included, with speed as the arrow
295
+ at the end, not a fourth box. **The whole map** — what FH is, how it is implemented (every node a real path), why it is trustworthy (gates · lanes · grades with file paths), and what is operator-local vs generic — is one page: [`docs/map/FH_MAP.md`](map/FH_MAP.md), with three interactive diagrams beside it — live at **[chrono-meta.github.io/forge-harness](https://chrono-meta.github.io/forge-harness/)**.
296
+
297
+ [![FH whole map — flow: doors → three-stage process → four engines → identities (click for the interactive version)](map/fh_process.workflow.png)](https://chrono-meta.github.io/forge-harness/map/fh_process.workflow.html) ⚠️ **The six
298
+ axes are not a fourth layer**; they are *what stage ③ consists of*. Full canon, and why this is
299
+ deliberately *not* a clean stack:
300
+ [`fh_three_layer_canon.md`](../knowledge/shared/harness-core/fh_three_layer_canon.md) — the same three in
301
+ the smith's words (forge · quench · temper) are in [`ETHOS.md`](ETHOS.md#the-forge).
302
+
303
+ 🟥 **Axes are not divided by *how adversarial* they are, but by *what they were given*.** Hand two
304
+ reviewers the same input and the same blind spot survives, however many you add:
305
+
306
+ | Axis | **What it gets** | What it catches | Typical instrument |
307
+ |---|---|---|---|
308
+ | **ⓐ Different family** | the diff + the author's framing | the **implementation** is wrong | a reviewer from another model family (`auto-decorrelation`) |
309
+ | **ⓑ Standpoint** | the diff + **the target harness's own canon** | **whether the rule you cited actually says that** | run the diff from that harness's own repo and rules ([`§7`](../knowledge/shared/harness-core/field_verdict_crossfamily_gate.md)) |
310
+ | **ⓒ Isolated grounding** | the sentences the author wrote — their claims *and* what they **declared before starting** — + the tree as it stands | the **claim** is wrong · the delta does not match what was declared | someone who did not write it re-measures what it says |
311
+ | **ⓓ Third-party encounter** | the problem + **someone else's codebase** | **is this already solved** · where your change touches someone else's repo | look at the same problem in an unrelated third repo |
312
+ | **ⓔ First real use** | one real target | the **way you are measuring** is wrong — the instrument's instrument | run it once against one real target and check by hand |
313
+ | **ⓕ Revert and observe** | the tree with the wiring deleted | the **anchor** is wrong — the check is decorative | delete the thing it guards and confirm *that specific* check goes red |
314
+
315
+ **You do not run all six every time, and that is the design** — do not multiply them, choose:
316
+
317
+ ```
318
+ one-line fix (typo · gitignore) nothing burns — with one answer, planting a circuit is overhead
319
+ ordinary code change (reversible) ⓔ first real use + ⓕ revert
320
+ verdict · gate code + ⓐ different family — verdict logic is what a reviewer who
321
+ shares the author's optimism misses structurally
322
+ change touching another harness + ⓑ standpoint — bolt on three families and if all three eat
323
+ your framing, nobody asks "does that canon actually say so"
324
+ very large · irreversible + ⓒ isolation + ⓓ third-party encounter. Burn all of it
325
+ ```
326
+
327
+ An axis is defined by its **input**, not by the reviewer's ability, so base-model advances do not
328
+ supersede this: a stronger model still cannot see information it was not given. 🟥 **Limits before
329
+ citing it** — the table is **n=1** (one artifact, one session, one author), and when 16 findings were
330
+ handed with provenance removed to two classifiers from other families, **3 of the 5** the author
331
+ attributed to ⓓ were judged to belong elsewhere. A worked day inside these gates, misses named:
332
+ [`docs/GATE_DAY.md`](GATE_DAY.md).
333
+
334
+ ---
335
+
336
+ ## Where a rule lives — three seats
337
+
338
+ A harness learns by writing rules down, and the always-loaded file only ever gets longer — so the
339
+ reasoning ends in a corner: *a harness that keeps learning keeps getting more expensive to start.* It
340
+ does not, because a rule has **three seats**, chosen by *when the rule has to fire*: **always-loaded**
341
+ (triggers that are an *intention* — nothing can hook one, so salience is the only layer) · **the gate's
342
+ own error message** (triggers that are an *action*; the message that blocks you also teaches the form,
343
+ and this seat is free) · **the hook** (properties of a record — present, typed, attributable,
344
+ non-vacuous). The middle seat is the one that usually goes unused. Full table, and the honest limit
345
+ that it only fires on failure:
346
+ [gate-locality](../knowledge/shared/harness-core/gate_locality_principle.md) §Where a rule lives.
347
+
348
+ ---
349
+
350
+ ## Run it outside Claude Code — the `fh-gate` CLI
351
+
352
+ FH wraps any coding agent (OpenCode, Codex, …) as a **post-generation governance gate**.
353
+
354
+ ```bash
355
+ npx --package @chrono-meta/fh-gate fh-gate # default: Claude backend
356
+ FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-gate # Codex backend
357
+ FH_BACKEND=cross npx --package @chrono-meta/fh-gate fh-gate # BOTH families, findings UNIONed
358
+ # → FH_GATE_VERDICT: PASS | PENDING | BLOCKED | ESCALATE
359
+ ```
360
+
361
+ Same governance prompt for every runtime. `auto` is fallback *selection* — it runs **one** leg; `cross`
362
+ runs both families and unions their findings (a finding only one family saw is still a finding), costs
363
+ ~2x, and is for load-bearing verdict / gate / irreversible-surface changes, not a default. The output
364
+ always declares which legs actually ran, so a single-family result never reads as cross-checked.
365
+ `fh-run` (one skill or agent directly), `fh-goal` and `fh-codex-doctor` (adapter drift check) ship
366
+ alongside it — flags and the full env table in [`CHEATSHEET.md`](../CHEATSHEET.md), spec in
367
+ [`fh_integration_contract.md`](../knowledge/shared/harness-core/fh_integration_contract.md).
368
+ **Recommended posture — Claude Code as orchestrator, others as sidecars**: a non-CC runtime can be your
369
+ main agent and keeps the methodology layer through `fh-gate`/`fh-run`, but not the autopilot (hooks do
370
+ not auto-fire, dispatch needs the adapter) — tier-by-tier in
371
+ [`docs/codex-compat.md`](codex-compat.md).
372
+
373
+ ---
374
+
375
+ ## Model setup
376
+
377
+ Claude Code does not auto-select models by task complexity — you configure this once.
378
+
379
+ | Command | Who runs what | Best for |
380
+ |---|---|---|
381
+ | `/model sonnet` | Sonnet session; FH dispatches higher-tier sub-agents on declared floors | **FH default** — operation + routine dev |
382
+ | `/model opus` | Opus handles everything | Harness-editing sessions · maximum depth every turn |
383
+ | `/model opusplan` | Opus *plans* · Sonnet executes *(when Opus engages)* | Cost-conscious routine coding — see caveat |
384
+
385
+ Measured, *operating* FH is near model-flat — the rules in context do the work — so FH dispatches the
386
+ few depth-sensitive turns itself at a declared floor and **never switches your session model**; a
387
+ below-floor environment gets an explicit `below-floor` flag rather than a silent degrade. ⚠️
388
+ `opusplan`'s Opus engagement is **not guaranteed** (0 of 10 turns in one measured run). The two
389
+ structural laws behind that doctrine, hardware tiers for optional local sidecars, and the multi-model
390
+ sidecar posture: [`docs/MODEL_SETUP.md`](MODEL_SETUP.md).
391
+
392
+ ---
393
+
394
+ ## 46 skills · 14 agents
395
+
396
+ Count = non-deprecated skills across all four plugins (`fh-meta` · `fh-commons` · `fh-qp` ·
397
+ `fh-preprep`). Clustered as verification · orchestration · diagnosis · harvesting · gates · discovery ·
398
+ simulation · setup. The 14 agents are 8 evaluators (`challenger` · `quench-challenger` · `beginner` ·
399
+ `main-player` · `expert` · `fact-checker` · `hub-persona-auditor` · `persona-innovator`) and 6 review
400
+ lenses (`designer` · `fe-dev` · `be-dev` · `qa` · `ux-writer` · `a11y`), dispatched by those skills or
401
+ by name. **Full phrasebook** — every skill and agent with its one-line definition
402
+ and the phrase that triggers it:
403
+ [`CHEATSHEET.md` §12](../CHEATSHEET.md#12-skills--agents--what-each-does-and-what-to-say).
404
+
405
+ ---
406
+
407
+ ## Learn more
408
+
409
+ | Resource | Purpose |
410
+ |---|---|
411
+ | [`docs/USER_GUIDE.md`](USER_GUIDE.md) | How to actually use it, start to finish |
412
+ | [`CHEATSHEET.md`](../CHEATSHEET.md) | Full command reference |
413
+ | [`docs/ETHOS.md`](ETHOS.md) | What FH believes — the forge, the cold reviewer, claims earning their words |
414
+ | [`docs/WHY.md`](WHY.md) | Why it exists |
415
+ | [`docs/OUTPUT_EVIDENCE.md`](OUTPUT_EVIDENCE.md) | The evidence — papers, dated runs, external convergence |
416
+ | [`docs/GATE_DAY.md`](GATE_DAY.md) | One day inside the gates, measured, with the misses named |
417
+ | [`docs/MODEL_SETUP.md`](MODEL_SETUP.md) | Which model to run FH on, hardware tiers, sidecars |
418
+ | [`docs/codex-compat.md`](codex-compat.md) | Running FH on a non-Claude-Code runtime |
419
+ | [`knowledge/shared/GLOSSARY.md`](../knowledge/shared/GLOSSARY.md) | Unfamiliar words |
420
+ | [`CLAUDE.md`](../CLAUDE.md) | AI operating rules + sync/push protocol |
421
+ | [`AGENTS.md`](../AGENTS.md) | Runtime agent specs |
422
+ | [`CATALOG.md`](../CATALOG.md) | Past work search index |
423
+ | [`fh_three_layer_canon.md`](../knowledge/shared/harness-core/fh_three_layer_canon.md) | The three-layer canon — process, engines, identities |
424
+ | [`ship_readiness_gate.md`](../knowledge/shared/harness-core/ship_readiness_gate.md) | Identity grades, the two version tracks, the dominance results |
425
+ | [`fh_integration_contract.md`](../knowledge/shared/harness-core/fh_integration_contract.md) | Governance gate spec |
426
+ | [`docs/CONTRIBUTING.md`](CONTRIBUTING.md) | How to contribute skills and patterns |
427
+ | [`tracks/_contrib/`](../tracks/_contrib/README.md) | **Consent lane** — share a de-identified work session; the repo compounds across operators |
428
+
429
+ > **FH papers**: v1.0.2 methodology · [Zenodo](https://zenodo.org/records/22843702) (DOI
430
+ > 10.5281/zenodo.22843702) · cs.SE companion v1.2.2, preprint ·
431
+ > [Zenodo](https://zenodo.org/records/22674575) (DOI 10.5281/zenodo.22674575) ·
432
+ > [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) (v2 announced 2026-09-09 — adds Sec. 6.7 and downgrades the title's claim; Zenodo v1.2.2 was published the same day with the same content, so the two deposits agree) · cs.AI companion in
433
+ > preparation. Those, the independent convergent work, and the caveats on each:
434
+ > [`docs/OUTPUT_EVIDENCE.md`](OUTPUT_EVIDENCE.md).
435
+
436
+
437
+ ---
438
+
439
+ ## Where the old README went
440
+
441
+ Every old section is kept in this file, in its original order. The new `README.md` carries a shorter
442
+ restatement of some of them; nothing was deleted. "Moved" means the full text is above in this file.
443
+
444
+ | Old README section | Now |
445
+ |---|---|
446
+ | Banner · badges · language row · taglines | Kept in `README.md` (top) |
447
+ | Gate-block demo GIF | Kept in `README.md` (Who it is for) |
448
+ | Pick one. ① Just the gate (npx · brew · GitHub Actions · verdict fields · What you get) | Short form in `README.md` (Door ①); full text moved here |
449
+ | ② The whole harness (plugin install · clone · door2 GIF · What you get · pre-commit hook warning · "Not sure?") | Install lines + GIF kept in `README.md` (Door ②); the rest moved here |
450
+ | What neither door is | Restated in `README.md` (Can / Cannot); full text moved here |
451
+ | Does it actually catch anything? (OpenCode run · 8-hole table) | Condensed in `README.md` (Evidence); full text moved here |
452
+ | "If you're here because…" table | Moved here |
453
+ | Get going · Requirements · First 15 minutes · plugin-only caveat · two version numbers | Condensed in `README.md` (Start in 30 seconds); full text moved here |
454
+ | What makes it a harness, not a toolbox | Replaced by the one-line definition and picture in `README.md`; full text moved here |
455
+ | The five identities | One-row summary in `README.md` (Words you will meet); full text moved here |
456
+ | How it is built — three · four · five · six, incl. six-axis table and chooser | One-row summaries in `README.md`; full text moved here |
457
+ | Where a rule lives — three seats | Moved here |
458
+ | Run it outside Claude Code — the `fh-gate` CLI | Linked from `README.md` (Door ①); full text moved here |
459
+ | Model setup | Moved here (linked under Read next) |
460
+ | 46 skills · 14 agents | Count kept in `README.md` (Evidence); full text moved here |
461
+ | Learn more (resource table) | Merged into `README.md` (Read next) plus the full table moved here |
462
+ | FH papers (Zenodo · arXiv) | Moved here, last section above |
463
+
464
+ Translations (`README.ko.md`, `README.zh.md`, `README.ja.md`) still carry the old structure. They were not
465
+ touched in this change and are out of date relative to `README.md` until someone updates them.
@@ -1,5 +1,24 @@
1
1
  # forge-harness 사용 가이드
2
2
 
3
+ **한 줄로**: FH 는 Claude Code 용 **메타하네스**다 — 프로젝트에 필요한 규칙 · 게이트 · 기억(= 하네스)과 스킬을 짓도록 돕고, 내보내기 전에 검증한다.
4
+ (하네스 = AI 에이전트가 같은 지시를 매번 다시 듣지 않도록 프로젝트에 둘러놓은 규칙 · 차단 장치 · 기록.)
5
+
6
+ **이 가이드를 끝내면 얻는 것**: ① FH 를 깔고 첫 인사에 메뉴가 뜬다 ② 내 프로젝트 하나를 연결해 `tracks/` 가 생긴다 ③ 진단 또는 가속 요청 한 번으로 «순위 매긴 할 일 목록»을 받는다 (자동으로 고치지는 않는다).
7
+
8
+ **첫 세션 경로**
9
+ ```
10
+ 1. 설치 claude plugin marketplace add https://github.com/chrono-meta/forge-harness.git
11
+ claude plugin install -s user fh-meta@forge-harness
12
+ git clone https://github.com/chrono-meta/forge-harness.git ~/projects/forge-harness
13
+ 2. 열기 cd ~/projects/forge-harness && claude
14
+ 3. 인사 "안녕" → 새 설치면 메뉴: 첫 프로젝트 만들기 · 기존 프로젝트 매핑 · 가이드
15
+ 4. 연결 "프로젝트 연결해줘" → ../ 의 git 레포를 찾아 tracks/{프로젝트}/ 생성
16
+ 5. 첫 성과 "이 프로젝트 가속화해줘" 또는 "/context-doctor"
17
+ ```
18
+ 설치 없이 게이트만 써보려면 `npx --package @chrono-meta/fh-gate fh-gate` 한 줄이면 된다(Claude Code 세션은 불필요, Node 와 `claude` 또는 `codex` CLI 는 필요). 효과가 쌓이는 쪽(세션 기록 이어받기)은 **두 번째 세션부터** 보이니 첫날 판단하지 마라.
19
+
20
+ ---
21
+
3
22
  > **이 문서는 '읽는' 문서다.** 명령을 찾으려면 `CHEATSHEET.md`, 과거 작업을 찾으려면
4
23
  > `CATALOG.md`, FH 가 무엇이고 왜 작동하는지는 `README.md` 를 봐라. 여기는 **처음 쓰는 사람이
5
24
  > 첫 세션을 완주하는 것**만 다룬다.
@@ -6,7 +6,27 @@
6
6
  > what breaks, and what to expect when applying forge-harness (FH) methodology through OpenAI Codex
7
7
  > (`codex exec`) instead of Claude Code.
8
8
 
9
- FH is a 2-layer system: a **methodology layer** (`tracks/`, `knowledge/`, `SKILL.md` docs) that is model-agnostic, and an **automation layer** (Claude Code hooks, plugin-channel agents under `plugins/*/agents/`, field-project overrides under `.claude/agents/`, `/model`, settings.json) that is Claude-native. Codex users run the methodology layer by reading `SKILL.md` files directly; automation steps either run through runtime adapters (`fh-gate`, `fh-run`) or require manual substitution.
9
+ FH is a 2-layer system: a **methodology layer** (`tracks/`, `knowledge/`, `SKILL.md` docs) that is model-agnostic, and an **automation layer** (Claude Code hooks, plugin-channel agents under `plugins/*/agents/`, field-project overrides under `.claude/agents/`, `/model`, settings.json) that is Claude-native. Codex users run methodology through native skills/tools or by reading `SKILL.md`; Claude-specific steps require a verified native equivalent or an FH adapter (`fh-gate`, `fh-run`). A directly tasked Codex session can govern implementation and repair; a recruited audit sidecar remains read-only. See `AGENTS.md §Governor Operation` for authorization and evidence boundaries.
10
+
11
+ ## Current host capability
12
+
13
+ Codex has native project instructions, skills, and plugin support; it also documents native hooks.
14
+ These capabilities remove the blanket assumption that every non-Claude automation step must be
15
+ manual. They do not prove that a particular FH workflow is installed, enabled, trusted, or compatible.
16
+ Sources: [Codex customization](https://learn.chatgpt.com/docs/customization/overview),
17
+ [Codex hooks](https://learn.chatgpt.com/docs/hooks),
18
+ [plugin construction](https://developers.openai.com/plugins/build/plugins).
19
+
20
+ For each substituted step, verify the actual host and exposed tools, its configuration and trust,
21
+ and the event/input/output contract. Preserve isolation, model floor, tool limits, delegation
22
+ consent, and the caller's result gate. Keep M3 until the particular shipped dependency is adapted
23
+ and validated; native hook support alone is insufficient to reclassify it. The doctor below audits
24
+ FH source primitives and documented tiers, not live host permissions or hook trust.
25
+
26
+ A governor investigates and repairs an FH hook failure before escalating a decision. Existing task
27
+ approval carries forward within the same scope; a runtime access prompt is a separate technical
28
+ requirement. Automatic permission review does not replace an FH check or human clearance for an
29
+ irreversible surface. Source: [Codex sandboxing](https://learn.chatgpt.com/docs/sandboxing).
10
30
 
11
31
  ## Validated invocation pattern
12
32
 
@@ -106,11 +126,17 @@ Both ran end-to-end with no Claude-native dependency. The M1 tier claim holds fo
106
126
 
107
127
  ## Known limitations
108
128
 
109
- ### 1. CC-native hooks fire and fail (noise, not breakage)
110
- When `codex exec` runs **inside this repo**, FH's Claude-native git/Stop/PostToolUse hooks attempt to fire and emit `hook: Stop Failed` / `hook: PostToolUse Failed` lines interleaved with output. These are **harmless to the skill result** — the skill's verdict is produced correctly — but they are visible noise. Running from a directory **without** FH's `.claude/settings.json` (the normal Codex-user case) avoids them entirely. Filter with `grep -vE "^hook:"` if needed.
129
+ ### 1. Historical hook noise is not current compatibility evidence
130
+ Earlier author runs reported `hook: Stop Failed` / `hook: PostToolUse Failed` noise while
131
+ producing skill verdicts. That observation does not establish current hook coverage or safety.
132
+ For a current interruption, inspect the actual configuration, hook command, exit status, and typed
133
+ result; distinguish a host event hook from Git's `core.hooksPath` backstop. Do not filter away a
134
+ failure before determining whether it affects the required gate. Native Codex hooks use their own
135
+ configuration/trust contract (see §Current host capability); FH's Claude configuration is not an
136
+ automatic substitute.
111
137
 
112
- ### 2. M2 skills need manual agent substitution
113
- M2 skills (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) have a core workflow that runs under Codex, but any step that dispatches `Agent(subagent_type=...)` or a slash command must be replaced by `fh-run` or a direct `codex exec` call reading the sub-agent's `SKILL.md`/agent `.md` — same workflow, different runtime (the "M2 adaptation pattern" in `AGENTS.md`). Example: `steel-quench` Waves 1–3 run; the `quench-challenger` agent step becomes `fh-run --agent fh-commons:quench-challenger`.
138
+ ### 2. M2 skills need explicit dispatch substitution
139
+ M2 skills (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) have a core workflow that runs under Codex, but any step that dispatches `Agent(subagent_type=...)` or a slash command needs an explicit equivalent: a permitted native agent reading the spec, `fh-run`, or direct `codex exec`, preserving isolation, tool limits, model floor, consent, and return gate — same workflow, different runtime (the "M2 adaptation pattern" in `AGENTS.md`). Example: `steel-quench` Waves 1–3 run; the `quench-challenger` agent step becomes `fh-run --agent fh-commons:quench-challenger`.
114
140
 
115
141
  ### 3. M3 skills do not run automatically under Codex
116
142
  M3 skills (`goal-quench` Phase-3 Stop hook, `harness-pr-reviewer` CC session context, `install-wizard` settings.json write) require Claude-Code-native runtime and are **methodology reference only** under Codex unless a dedicated adapter exists. Use Codex's native goal/session features for goal control, and use `fh-gate` after completion for FH quality gating.
@@ -119,8 +145,9 @@ M3 skills (`goal-quench` Phase-3 Stop hook, `harness-pr-reviewer` CC session con
119
145
  Codex token usage is billed in the Codex CLI quota and is **not** recorded in any FH session log or orchestrator measurement. Cross-family runs (Gemini/Codex) are invisible to FH's token-budget tooling by construction.
120
146
 
121
147
  ### 6. 🟥 The gate may not be wired in your checkout — and a gate that never ran looks exactly like one that passed
122
- Every "the hook blocks this" statement in FH's docs is true only where `core.hooksPath` points at
123
- `templates/.git-hooks`. Git tracks the hook files; it does **not** carry that config value. Measured
148
+ FH's shipped Git pre-commit/pre-push blocking claims apply only where `core.hooksPath` points at
149
+ `templates/.git-hooks`. Host lifecycle hooks require their own configuration, trust, and contract
150
+ verification; Git wiring does not establish their coverage. Git tracks the hook files; it does **not** carry that config value. Measured
124
151
  2026-09-21, same commit, two checkouts: **15 layers compared, only the 4 READ layers matched — all 11
125
152
  ENFORCE/EVIDENCE/PATTERN layers were opposite.** A third direction is quieter still: with the pattern
126
153
  layer absent the confidentiality scan still runs and still goes **green**, while company-name and
@@ -150,7 +177,7 @@ The sibling pattern for Gemini is `gemini -p "$(cat <skill+artifact>)"`. Outside
150
177
  | Tier | Under Codex | Action |
151
178
  |---|---|---|
152
179
  | **M1** | Runs fully (`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)) | `cat SKILL.md artifact \| codex exec -m gpt-5.5 -` |
153
- | **M2** | Core runs; agent/slash steps via adapter (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) | Substitute each dispatch with `fh-run` or a direct `codex exec` on the sub-agent's `.md` |
180
+ | **M2** | Core runs; agent/slash steps via adapter (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) | Use a permitted native agent, `fh-run`, or direct `codex exec` reading the spec; preserve dispatch constraints |
154
181
  | **M3** | Does not run automatically | Use native Codex session features where available; otherwise read as methodology reference or use a dedicated adapter |
155
182
 
156
183
  ## Beta removal — remaining (external-blocked)
@@ -159,7 +186,7 @@ The sibling pattern for Gemini is `gemini -p "$(cat <skill+artifact>)"`. Outside
159
186
 
160
187
  | Sense | What it says | Is it a removal condition? |
161
188
  |---|---|---|
162
- | ⓐ **Scope** — partial support | The automation layer (hooks, sub-agent dispatch, slash commands) is Claude-Code-native *by construction*. Codex runs the methodology layer plus adapters. | **No.** This is the intended two-layer boundary, not a gap to be closed — the READMEs say exactly that. 100% parity is not a state this document is working toward, so do not write completion conditions against it. |
189
+ | ⓐ **Scope** — partial support | The shipped Claude hook/configuration path is host-specific. Codex may run native capabilities and adapters after contract verification; full FH automation parity is not established. | **No.** This is the intended two-layer boundary, not a gap to be closed — the READMEs say exactly that. 100% parity is not a state this document is working toward, so do not write completion conditions against it. |
163
190
  | ⓑ **Validation maturity** — thin external evidence | Everything validated so far is author-run (see the M1 table above). No non-author has reproduced it. | **Yes.** This is what the `Status: beta` header means, and **every condition in the table below is a ⓑ condition.** |
164
191
 
165
192
  | Condition | Status |