@chrono-meta/fh-gate 2.12.1 → 2.14.0
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.
- package/.claude/rules/fh_4axis_gate.md +35 -1
- package/.claude-plugin/marketplace.json +2 -2
- package/AGENTS.md +17 -0
- package/CHEATSHEET.md +19 -1
- package/CLAUDE.md +34 -9
- package/README.ja.md +186 -649
- package/README.ko.md +207 -698
- package/README.md +186 -698
- package/README.zh.md +167 -601
- package/docs/ETHOS.md +73 -1
- package/docs/IDENTITIES.md +83 -0
- package/docs/MODEL_SETUP.md +111 -0
- package/docs/OUTPUT_EVIDENCE.md +10 -2
- package/knowledge/shared/harness-core/fh_detail_protocols.md +131 -1
- package/knowledge/shared/harness-core/fh_three_layer_canon.md +15 -0
- package/knowledge/shared/harness-core/field_harness_diagnostic.md +30 -0
- package/knowledge/shared/harness-core/gate_locality_principle.md +29 -0
- package/knowledge/shared/harness-core/measurement-integrity-checklist.md +80 -0
- package/knowledge/shared/harness-core/ship_readiness_gate.md +103 -15
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +120 -0
- package/knowledge/shared/rules/multi_session_close_protocol.md +7 -1
- package/package.json +22 -2
- package/plugins/fh-commons/.claude-plugin/plugin.json +2 -2
- package/plugins/fh-commons/skills/preprep/README.md +45 -0
- package/plugins/fh-commons/skills/preprep/SKILL.md +214 -0
- package/plugins/fh-commons/skills/preprep/canon_terms.example.yaml +36 -0
- package/plugins/fh-commons/skills/preprep/fixtures/adjdup_known_negative.md +7 -0
- package/plugins/fh-commons/skills/preprep/fixtures/adjdup_known_positive.md +8 -0
- package/plugins/fh-commons/skills/preprep/fixtures/progression_known_negative.md +13 -0
- package/plugins/fh-commons/skills/preprep/fixtures/progression_known_positive.md +13 -0
- package/plugins/fh-commons/skills/preprep/fixtures/promise_known_negative.md +9 -0
- package/plugins/fh-commons/skills/preprep/fixtures/promise_known_positive.md +7 -0
- package/plugins/fh-commons/skills/preprep/interslide_deps.py +223 -0
- package/plugins/fh-commons/skills/preprep/jargon_terms.example.yaml +40 -0
- package/plugins/fh-commons/skills/preprep/lane_adjacent_dup.py +86 -0
- package/plugins/fh-commons/skills/preprep/lane_progression.py +81 -0
- package/plugins/fh-commons/skills/preprep/lane_promise.py +121 -0
- package/plugins/fh-commons/skills/preprep/ooxml/c1_baseline.txt +12 -0
- package/plugins/fh-commons/skills/preprep/ooxml/gate.py +164 -0
- package/plugins/fh-commons/skills/preprep/preprep.py +776 -0
- package/plugins/fh-commons/skills/preprep/presentation_checklist.md +310 -0
- package/plugins/fh-commons/skills/preprep/surfaces.example.yaml +148 -0
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +150 -0
- package/plugins/fh-meta/skills/install-wizard/SKILL.md +39 -0
- package/scripts/activity_log.sh +144 -0
- package/scripts/com.forge-harness.daily-report.plist +44 -0
- package/scripts/context_continuity_score.sh +435 -0
- package/scripts/daily_report.sh +208 -0
- package/scripts/digest_landing_check.sh +71 -0
- package/scripts/fh_session_load.sh +71 -2
- package/scripts/field_canon_preload.sh +44 -0
- package/scripts/gate_pathspec_check.sh +10 -4
- package/scripts/lane_runner_check.sh +34 -1
- package/scripts/launchd_wiring_check.sh +182 -0
- package/scripts/mapped_tracks.sh +69 -0
- package/scripts/package_coverage_check.sh +28 -11
- package/scripts/portability_lint.sh +30 -0
- package/scripts/selfcheck.sh +98 -1
- package/scripts/sim_isolated_run.sh +339 -0
- package/scripts/test_heavy_classifier_lanes.sh +4 -1
- package/scripts/test_lane_runner_lanes.sh +75 -0
- package/scripts/test_mapped_tracks_lanes.sh +58 -0
- package/scripts/test_marker_address_lanes.sh +78 -0
- package/scripts/test_marker_soul_check_lanes.sh +36 -0
- package/scripts/test_precommit_staged_drift_lanes.sh +91 -0
- package/scripts/test_preprep_adjacent_dup_lanes.sh +57 -0
- package/scripts/test_preprep_drift_anchor.sh +65 -0
- package/scripts/test_preprep_progression_lanes.sh +53 -0
- package/scripts/test_preprep_promise_lanes.sh +56 -0
- package/scripts/test_preprep_retired_lanes.sh +54 -0
- package/scripts/test_sim_isolated_run_lanes.sh +219 -0
- package/scripts/test_skill_canon_preload_lanes.sh +58 -0
- package/scripts/universal_guard_check.sh +20 -8
- package/templates/.git-hooks/pre-commit +465 -8
- package/templates/regression_guard.sh +40 -1
package/README.md
CHANGED
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
<b>English</b> · <a href="README.ko.md">한국어</a> · <a href="README.zh.md">中文</a> · <a href="README.ja.md">日本語</a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
|
+
<p align="center">
|
|
19
|
+
<b>Stop re-explaining your rules to your agent. Put them in the project.</b>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
18
22
|
<!-- This line was chosen, not drafted. Before rewriting it, read docs/ETHOS.md
|
|
19
23
|
§"Who this line is for" — two rejected alternatives are recorded there with why. -->
|
|
20
24
|
<p align="center">
|
|
@@ -25,7 +29,7 @@
|
|
|
25
29
|
<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">
|
|
26
30
|
</p>
|
|
27
31
|
<p align="center">
|
|
28
|
-
<sub>A real run, not a mock: an agent “tidied up” a skill spec
|
|
32
|
+
<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 && vhs docs/demo/gate-block.tape</code></sub>
|
|
29
33
|
</p>
|
|
30
34
|
|
|
31
35
|
---
|
|
@@ -67,7 +71,7 @@ cd ~/projects/forge-harness && claude # then type a greeting: hi · 안
|
|
|
67
71
|
- You stop having to pick the check. The harness reads what you are about to do — publish, delete,
|
|
68
72
|
rewrite history, open a PR — and names the gate for that moment. ① is one command you remember; ②
|
|
69
73
|
is the layer that remembers for you.
|
|
70
|
-
- **
|
|
74
|
+
- **41 skills · 8 agents** you can call in plain language: diagnose a project, accelerate one, wire a
|
|
71
75
|
new one up.
|
|
72
76
|
- `tracks/` keeps what each session learned, so **session 2 starts where session 1 stopped**. This is
|
|
73
77
|
the part that compounds — and the part you cannot judge on day one.
|
|
@@ -94,677 +98,228 @@ shrink because a gate exists upstream of it. It gets a shorter queue.
|
|
|
94
98
|
|
|
95
99
|
---
|
|
96
100
|
|
|
97
|
-
##
|
|
98
|
-
|
|
99
|
-
Everything above is the whole decision. What follows is reference for when you want it.
|
|
100
|
-
|
|
101
|
-
### After the four lines in ②
|
|
102
|
-
|
|
103
|
-
**Type `hi`** — or a greeting in whatever language you actually think in: `안녕`, `こんにちは`,
|
|
104
|
-
`你好`, `hola`, `bonjour`. **Any of them opens the menu**, and it will try to answer in the language you
|
|
105
|
-
used. A numbered menu appears and takes it from there — pick a door, answer a couple of questions, and
|
|
106
|
-
it runs the install wizard for you.
|
|
107
|
-
|
|
108
|
-
<sub>🟥 <b>Honest about that last part</b>: matching your language is a prose rule with nothing
|
|
109
|
-
mechanical behind it, so it does not always hold. Measured blind at the floor tier on 2026-08-21, on a
|
|
110
|
-
<b>clean clone like the one you just made</b>: Chinese and Korean greetings both came back fully
|
|
111
|
-
translated, door labels included. On the maintainer's own machine — which pins a default language —
|
|
112
|
-
Chinese landed only 1 time in 5, which is why this note exists at all. What is still shaky is whether
|
|
113
|
-
the menu fires: one greeting variant produced no menu. If it answers in the wrong language, or skips
|
|
114
|
-
the menu, just say so — it will switch. Written up in <code>CLAUDE.md</code> §Voice/Tone rather than
|
|
115
|
-
smoothed over.</sub>
|
|
116
|
-
|
|
117
|
-
Everything below this line is reference for when you want it, not homework before you start.
|
|
118
|
-
|
|
119
|
-
- **What it amplifies** — the number of attempts. Trial and error moves off you and runs in parallel.
|
|
101
|
+
## Does it actually catch anything?
|
|
120
102
|
|
|
121
|
-
|
|
103
|
+
**On real code someone else wrote** (2026-05-31). `fh-gate` ran on OpenCode's AI-generated
|
|
104
|
+
`permission/arity.ts` — 163 lines, agent-written, **CI green**. Verdict: **BLOCKED**, on two A-grade
|
|
105
|
+
findings CI missed (short-token overflow in the allowlist; executor tools absent from the arity table).
|
|
122
106
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
that is not green names the real run that is still missing.
|
|
127
|
-
<sub>Each of the five is spelled out further down, under «The five identities».</sub>
|
|
107
|
+
**On planted holes, with the model held fixed** (2026-07-14). Eight subtle *default-toward-PASS*
|
|
108
|
+
(fail-open) holes, authored by two *other* models so the set was not tuned to us. The model stayed
|
|
109
|
+
pinned at a mid-tier floor; only the **method** changed:
|
|
128
110
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
111
|
+
| Method | Caught | False alarms |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| Plain review | 5/8 — **and 2 of those were the wrong bug** (false confidence, worse than a clean miss) | — |
|
|
114
|
+
| + FH's degrade-direction lens | 6/8 | 0 |
|
|
115
|
+
| + a different model family, same lens | **8/8** | 0 |
|
|
134
116
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
117
|
+
🟥 **The load-bearing line is not the 8/8.** Both single-model lanes missed **the same two holes** — a
|
|
118
|
+
falsy error-sentinel, and a separator-negation parse. Same input, same blind spot: a second reviewer of
|
|
119
|
+
the *same kind* would have missed them too. That is the whole argument for decorrelation; the rest is
|
|
120
|
+
arithmetic. Small sample (single draw); reps and harder holes are the stated next step. Method:
|
|
121
|
+
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md) §Dominance · more
|
|
122
|
+
dated runs: [`docs/OUTPUT_EVIDENCE.md`](docs/OUTPUT_EVIDENCE.md).
|
|
139
123
|
|
|
140
124
|
<p align="center">
|
|
125
|
+
<b>Quality is the lever; speed is the result.</b> ·
|
|
141
126
|
<a href="docs/ETHOS.md"><b>The principles</b></a> ·
|
|
142
127
|
<a href="docs/WHY.md"><b>Why it exists</b></a> ·
|
|
143
128
|
<a href="docs/OUTPUT_EVIDENCE.md"><b>The evidence</b></a> ·
|
|
144
|
-
<a href="CHEATSHEET.md"><b>How to use it</b></a>
|
|
129
|
+
<a href="CHEATSHEET.md"><b>How to use it</b></a><br>
|
|
130
|
+
<sub>If this is useful, a star helps others find it.</sub>
|
|
145
131
|
</p>
|
|
146
132
|
|
|
147
|
-
---
|
|
148
|
-
|
|
149
133
|
| If you're here because… | forge-harness solves it |
|
|
150
134
|
|---|---|
|
|
151
135
|
| Context disappears when a session ends | Persistent `tracks/` — resumable from anywhere |
|
|
152
136
|
| You repeat the same setup across projects | Connect once to the hub, share across all projects |
|
|
153
137
|
| Team AI know-how lives only in people's heads | Codify it so everyone shares it |
|
|
154
138
|
| You want AI to get *better* as work accumulates | Skills and patterns compound session over session |
|
|
155
|
-
| You need a governance layer for AI-generated code | `fh-gate` wraps any coding agent as a post-generation gate
|
|
156
|
-
|
|
157
|
-
> **This document is for humans.** AI operating rules → `CLAUDE.md` · Command reference → `CHEATSHEET.md`
|
|
158
|
-
|
|
159
|
-
**Two footnotes to the two doors**, rather than a third table:
|
|
139
|
+
| You need a governance layer for AI-generated code | `fh-gate` wraps any coding agent as a post-generation gate |
|
|
160
140
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
— identical content, different install UX. Community tap, not Homebrew Core, so `brew search` will
|
|
165
|
-
not find it until you tap.
|
|
141
|
+
> **This document is for humans.** AI operating rules → [`CLAUDE.md`](CLAUDE.md) · command reference →
|
|
142
|
+
> [`CHEATSHEET.md`](CHEATSHEET.md). The two doors above are the whole decision; everything below is
|
|
143
|
+
> reference for when you want it.
|
|
166
144
|
|
|
167
145
|
---
|
|
168
146
|
|
|
169
|
-
##
|
|
170
|
-
|
|
171
|
-
**
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
>
|
|
196
|
-
>
|
|
197
|
-
>
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
3. One honest note: FH's core payoff is **compounding** — session records, harvested learnings,
|
|
206
|
-
cross-session memory. It shows from **session 2 onward**. Day one gives you the menu, the
|
|
207
|
-
acceleration plan, and governance gates; don't judge the compounding on day one.
|
|
208
|
-
|
|
209
|
-
Unfamiliar words on the way? → [`knowledge/shared/GLOSSARY.md`](knowledge/shared/GLOSSARY.md).
|
|
210
|
-
|
|
211
|
-
**② without the clone** — plugin only, if you want the skills but not a hub directory:
|
|
212
|
-
```bash
|
|
213
|
-
claude plugin marketplace add https://github.com/chrono-meta/forge-harness.git # once
|
|
214
|
-
claude plugin install -s user fh-meta@forge-harness
|
|
215
|
-
cd ~/projects/{your-project} && claude
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
> ⚠️ **Plugin-only is partial synergy.** You get the skills and agents, but **not** the hub-side
|
|
219
|
-
> orchestration — the `CLAUDE.md` governance (active onboarding, the 4-axis gate, mode branching;
|
|
220
|
-
> automation layer) and the compounding context (`tracks/` memory accumulation, `harvest-loop`
|
|
221
|
-
> learning; methodology layer).
|
|
222
|
-
> Each skill runs the same in isolation; what's missing is the orchestration that makes them compound
|
|
223
|
-
> across sessions. Clone the hub (above) when you want the full set, not just the tools.
|
|
147
|
+
## Get going
|
|
148
|
+
|
|
149
|
+
**Type `hi`** — or `안녕`, `こんにちは`, `你好`, `hola`, `bonjour`. Any of them opens a numbered menu:
|
|
150
|
+
pick a door, answer a couple of questions, and it runs the install wizard for you. Say **"Connect a
|
|
151
|
+
project"** and the hub scans `../`, finds `.git` directories, and creates `tracks/{project}/`.
|
|
152
|
+
|
|
153
|
+
<sub>🟥 <b>Honest about that</b>: matching your language is a prose rule with no mechanical floor, so it
|
|
154
|
+
does not always hold — measured blind on a clean clone (2026-08-21) it translated the whole menu, but
|
|
155
|
+
whether the menu fires at all is shakier: one greeting variant produced none. Say so and it will
|
|
156
|
+
switch. Written up in <code>CLAUDE.md</code> §Voice/Tone rather than smoothed over.</sub>
|
|
157
|
+
|
|
158
|
+
**Requirements.** Door ② needs the Claude Code CLI (`claude --version`); door ① does not — that is the
|
|
159
|
+
point of it. One gate additionally needs **Python + PyYAML** (it parses YAML and fails closed without
|
|
160
|
+
it, turning all of `npm test` red): `python3 -m pip install --user pyyaml`. Why it fails closed:
|
|
161
|
+
[`CHEATSHEET.md`](CHEATSHEET.md) §6.
|
|
162
|
+
|
|
163
|
+
**Your first 15 minutes.** Setup worked when a greeting shows the 🐿️ door menu and "Connect a project"
|
|
164
|
+
creates `tracks/{your-project}/`. Then take a win in the same session: **"accelerate this project"** (a
|
|
165
|
+
ranked, install-gated plan) or **"run /context-doctor"** (token-waste scan); for full initial setup —
|
|
166
|
+
hooks, gates, baseline, each approved individually and a decline recorded — ask for
|
|
167
|
+
**`/install-wizard`**. One honest note: FH's payoff is **compounding**, and it shows from **session 2
|
|
168
|
+
onward**; day one gives you the menu, the plan, and the gates, so don't judge it on day one. Already
|
|
169
|
+
cloned elsewhere? That path *is* your hub. Unfamiliar words →
|
|
170
|
+
[`GLOSSARY.md`](knowledge/shared/GLOSSARY.md); trying ② on one project only?
|
|
171
|
+
[`templates/starter_profile.md`](templates/starter_profile.md) is one command and a curated first five.
|
|
172
|
+
|
|
173
|
+
> ⚠️ **Plugin-only is partial synergy.** You can install the plugin without cloning the hub
|
|
174
|
+
> (`claude plugin install -s user fh-meta@forge-harness`, then `cd` into your project). You get the
|
|
175
|
+
> skills and agents, but **not** the hub-side orchestration — the `CLAUDE.md` governance, or the
|
|
176
|
+
> compounding `tracks/` memory that makes them compound across sessions.
|
|
177
|
+
>
|
|
178
|
+
> 🟥 **Two version numbers, and they measure different things.** The **package version** (npm badge,
|
|
179
|
+
> top of page) is what you install; the **identity-maturity release** (`identity-v0.5.0`, on the
|
|
180
|
+
> Releases page) is how far along the harness is — `0.x` by design, because it refuses to call all five
|
|
181
|
+
> identities green when they are not. They are not on one scale, and a high package number is not
|
|
182
|
+
> maturity: [`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md).
|
|
224
183
|
|
|
225
184
|
---
|
|
226
185
|
|
|
227
|
-
##
|
|
228
|
-
|
|
229
|
-
This repo publishes **two counters**, deliberately. Conflating them is the single most common way to
|
|
230
|
-
misread the project's status, so they are named here rather than only in the canon.
|
|
231
|
-
|
|
232
|
-
| Counter | Where you see it | What it means |
|
|
233
|
-
|---|---|---|
|
|
234
|
-
| **Package version** (currently **2.8.0** — hardcoded here, so a release must update this cell by hand; the lockstep bump does not reach it) | npm, the plugin manifests, `git tag v2.x` | *what you install.* Ordinary release numbering: fixes → patch, new assets and gate lanes → minor, a capability **class** appearing or the thing being rebuilt → major |
|
|
235
|
-
| **Identity-maturity release** (currently **identity-v0.4.0**) | the GitHub **Releases** page | *how far along the harness is.* `0.x` carries an incomplete-but-honest status **by design**; **the all-green ship is reserved for `identity-v1.0.0`** — every one of the five identities at 🟢, none 🔵/🟡/🔴 |
|
|
236
|
-
|
|
237
|
-
🟥 **A high package number does not mean maturity.** `2.8.0` is not "ahead of" `identity-v0.4.0`; they are not on
|
|
238
|
-
the same scale. The maturity track is deliberately allowed to sit at `0.x` while the package ships and
|
|
239
|
-
improves, because the thing `0.x` refuses to do is **lie** — it says out loud that not every identity has
|
|
240
|
-
cleared its bar yet, and each release names exactly which real run is still missing.
|
|
241
|
-
|
|
242
|
-
⚠️ **Fixed, and the wart is left on the record**: the two counters used to share one `vX.Y.Z` git-tag
|
|
243
|
-
namespace, and only the maturity track had GitHub *Release* objects — so the Releases page showed
|
|
244
|
-
`v0.3.0` as "Latest" while the shipped package was `2.6.0`. Two layers under one name is a defect this
|
|
245
|
-
project keeps finding in its own gates; here it was in its own version numbers. The maturity track now
|
|
246
|
-
carries its own `identity-v*` prefix (first such release: `identity-v0.4.0`, 2026-08-21). 🟥 **Not** by also publishing the package
|
|
247
|
-
track here — that was tried on 2026-08-21 and reverted the same hour: GitHub gives exactly **one**
|
|
248
|
-
"Latest" badge, so two tracks on one page compete for it, and whichever holds it defines what the repo
|
|
249
|
-
says it is. Putting the package number there pushed the maturity claim — the honest core — below it.
|
|
250
|
-
**The Releases page carries the maturity track; what the package shipped is carried by
|
|
251
|
-
[CHANGELOG](plugins/fh-meta/CHANGELOG.md) and the registry.** Existing tags are left alone — renaming them is an irreversible operation on a public surface, and the
|
|
252
|
-
[Destructive-Op gate](knowledge/shared/harness-core/claude_md_gate_details.md) applies to us too.
|
|
253
|
-
|
|
254
|
-
Full rules for what each grade requires:
|
|
255
|
-
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md).
|
|
256
|
-
|
|
257
|
-
## What it is
|
|
258
|
-
|
|
259
|
-
forge-harness is structured as **two distinct layers**:
|
|
260
|
-
|
|
261
|
-
| Layer | Contents | AI compatibility |
|
|
262
|
-
|---|---|---|
|
|
263
|
-
| **Methodology layer** | `tracks/`, `knowledge/`, `SKILL.md` docs, session protocols | Any AI model |
|
|
264
|
-
| **Automation layer** | `plugins/*/agents/` (FH agents), `.claude/agents/` (field-project overrides), hooks, slash commands, `CLAUDE.md` rules | Claude Code only |
|
|
265
|
-
|
|
266
|
-
The methodology layer is the portable core — persistent hub, accumulating learnings, curating cross-project knowledge. The automation layer makes it frictionless when running Claude Code.
|
|
186
|
+
## What makes it a harness, not a toolbox
|
|
267
187
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
188
|
+
A harness reads your **intent** and forges it into a **machined form** — rules an AI reliably follows,
|
|
189
|
+
or deterministic code that needs no model at all. The payoff is **less trial-and-error on the human
|
|
190
|
+
side**: the request → feedback → regenerate loop *relocates* into the harness and runs in parallel, so
|
|
191
|
+
your attention goes only where a change is irreversible. A **skill, agent, or plugin** is a tool; a
|
|
192
|
+
**harness** is a level up — a *star*: one project's tools, rules, gates, and memory bound into a single
|
|
193
|
+
working body. **forge-harness is the galaxy those stars live in**, binding many onto a shared floor so
|
|
194
|
+
they evolve together instead of drifting apart. It can also run a field harness **in simulation inside
|
|
195
|
+
its own sandbox** and then **emit** it as an independent one — 🟥 read that step as direction of
|
|
196
|
+
travel, not a shipped feature: the chamber has emitted once, and that run skipped the full flow.
|
|
273
197
|
|
|
274
198
|
```
|
|
275
|
-
forge-harness/ ← the hub (persistent brain)
|
|
276
|
-
├── knowledge/ → shared across all projects
|
|
199
|
+
forge-harness/ ← the hub (persistent brain) Project A ──→ connect hub in CLAUDE.md
|
|
200
|
+
├── knowledge/ → shared across all projects Project B ──→ connect hub in CLAUDE.md
|
|
277
201
|
└── tracks/ → work records per project
|
|
278
|
-
|
|
279
|
-
Project A ──→ connect hub in CLAUDE.md
|
|
280
|
-
Project B ──→ connect hub in CLAUDE.md
|
|
281
202
|
```
|
|
282
203
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
**less trial-and-error on the human side**: the request → feedback → regenerate loop doesn't disappear, it
|
|
291
|
-
*relocates* — into the harness, run in parallel by agents and sidecars — so your time drops and your
|
|
292
|
-
attention is spent only where a change is irreversible.
|
|
293
|
-
|
|
294
|
-
Scale is the second point. A **skill, agent, or plugin** is a tool. A **harness** is a level up — a *star*:
|
|
295
|
-
one project's tools, rules, gates, and memory bound into a single working body. **forge-harness is the
|
|
296
|
-
galaxy those stars live in**: it binds many harnesses onto a shared floor to prevent drift, and lets
|
|
297
|
-
them evolve together instead of scattering.
|
|
298
|
-
|
|
299
|
-
This galaxy is more than a container. FH can run a field harness **in simulation inside its own
|
|
300
|
-
sandbox** — expensive per run, cheaper in total, because the trial-and-error pools in one place and
|
|
301
|
-
compounds — and when the simulation holds, it **emits** the project as an independent, specialized
|
|
302
|
-
harness. **That last step is the goal it is built toward, not a shipped feature** — the incubation
|
|
303
|
-
chamber has emitted once, and the run that produced it did not go through the full flow. Read the
|
|
304
|
-
simulate-and-emit sentence as direction of travel; everything before it is in use today.
|
|
204
|
+
Structurally it is **two layers** — a model-agnostic **methodology layer** (`tracks/`, `knowledge/`,
|
|
205
|
+
`SKILL.md` docs) and a Claude-Code-native **automation layer** (agents, hooks, slash commands,
|
|
206
|
+
`CLAUDE.md` rules). That boundary is deliberate, not a gap to be closed:
|
|
207
|
+
[`docs/codex-compat.md`](docs/codex-compat.md). **Where this sits (2026):** basic agent orchestration is
|
|
208
|
+
commoditizing into standard infrastructure, and FH deliberately stakes nothing on that plumbing — its
|
|
209
|
+
durable layer is what does not commoditize: the governance gates, drift control, and the cross-project
|
|
210
|
+
compounding loop. Routing and dispatch are means; **the gate and the loop are the asset.**
|
|
305
211
|
|
|
306
212
|
### The five identities — what FH is for
|
|
307
213
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
rather than layered on top of them. They sit at a different level from the problem table at the top of
|
|
311
|
-
this page: that table is *symptoms you might arrive with*, this is *what the hub is organized around*.
|
|
214
|
+
Not five modules and not five shipped features: the **shapes the skills clump into**, named after the
|
|
215
|
+
fact rather than layered on top.
|
|
312
216
|
|
|
313
217
|
| | Identity | What a person gets |
|
|
314
218
|
|---|---|---|
|
|
315
|
-
| **①** | **Harness cluster** | One task rides several harnesses,
|
|
219
|
+
| **①** | **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 |
|
|
316
220
|
| **②** | **Project incubator** | A new harness comes out **walking where it was born**, not as an empty scaffold |
|
|
317
221
|
| **③** | **Governance gate** | What must not ship is blocked **mechanically**, not by remembering to check |
|
|
318
|
-
| **④** | **Frontier
|
|
222
|
+
| **④** | **Frontier absorption** | When you are unsure, *what we already have* then *what the world already built* gets searched first — so nothing is rebuilt |
|
|
319
223
|
| **⑤** | **Amplifier** | A short intent gets forged all the way to the finished artifact |
|
|
320
224
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
tracked per identity on a four-step scale — `aspirational → partial → RC (stood up in the lab) → REALIZED
|
|
336
|
-
(walked outside)` — with a dated line of evidence for each. Those grades are deliberately **not** copied
|
|
337
|
-
here: a grade kept in two files goes stale in one, and this page exists in four languages, so a copy here
|
|
338
|
-
would be four copies. Before you rely on any row above, read the current grades — that is one file:
|
|
339
|
-
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md). The short version if you
|
|
340
|
-
only want one sentence, as of **2026-08-17**: **①, ③, ⑤ and Ⓑ are graded green — demonstrated outside
|
|
341
|
-
the lab; ② and ④ are release candidates — built and calibrated, not yet shown to walk in someone
|
|
342
|
-
else's hands.**
|
|
343
|
-
If that sentence and the gate file disagree, the gate file is right and this line is stale.
|
|
344
|
-
|
|
345
|
-
Two properties cut across all five, and neither is a feature you switch on:
|
|
346
|
-
|
|
347
|
-
- **It rides the frontier instead of patching it.** FH dispatches across families (Claude, Codex, Gemini,
|
|
348
|
-
local) — but the point is *not* papering over each model's weak spots, because that scaffolding dies as
|
|
349
|
-
models improve. It is co-evolution: shed what the substrate now does natively, absorb what it ships
|
|
350
|
-
next. **Decorrelation** is today's trust lever, and it is the load-bearing word on this page:
|
|
351
|
-
deliberately making two checks fail *differently* — a reviewer from another model family, a run against
|
|
352
|
-
a real target, an outside audit of your own record — so that what one is blind to, another is not.
|
|
353
|
-
A cross-family panel beats a single model's ceiling for exactly that reason, not because it is bigger.
|
|
354
|
-
- **It evolves in two directions.** *Outward*, each session's lessons compound into the hub so the next
|
|
355
|
-
project starts further along. *Inward*, it catches and repairs **its own** defects — the same gates,
|
|
356
|
-
turned on the harness itself.
|
|
357
|
-
|
|
358
|
-
The whole thing is a division of labor: **raw capability is the model's; assembly, trust, and evolution
|
|
359
|
-
are the harness's.**
|
|
225
|
+
A sixth row is deliberately absent: `Ⓑ` **Project Booster** — FH's machinery accelerating *another
|
|
226
|
+
harness's own development* — is real and graded, but sits on a different layer, hence a letter rather
|
|
227
|
+
than a number. **And the table is not five working features**: maturity is graded per identity
|
|
228
|
+
(`aspirational → partial → RC → REALIZED`) with dated evidence, deliberately not copied here — a grade
|
|
229
|
+
kept in two files goes stale in one, and this page exists in four languages. Read the grades before
|
|
230
|
+
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`](docs/IDENTITIES.md): the grades say *how ready*, that page says *how to call it*.
|
|
231
|
+
|
|
232
|
+
Two properties cut across all five. **It rides the frontier instead of patching it** — dispatching
|
|
233
|
+
across families (Claude, Codex, Gemini, local) to co-evolve, not to paper over weak spots.
|
|
234
|
+
**Decorrelation** is today's trust lever and the load-bearing word on this page: deliberately making
|
|
235
|
+
two checks fail *differently* — another model family, a run against a real target, an outside audit of
|
|
236
|
+
your own record — so what one is blind to, another is not. And **it evolves in two directions**:
|
|
237
|
+
outward, each session's lessons compound into the hub; inward, the same gates turn on the harness
|
|
238
|
+
itself.
|
|
360
239
|
|
|
361
240
|
---
|
|
362
241
|
|
|
363
|
-
## How it is built —
|
|
364
|
-
|
|
365
|
-
The five identities above are the surface. Two layers sit under them, and naming all three is what keeps
|
|
366
|
-
"what FH does" from collapsing into one undifferentiated pile:
|
|
367
|
-
|
|
368
|
-
```
|
|
369
|
-
five identities what a person can actually use (surface — what you get)
|
|
370
|
-
↑ backed by
|
|
371
|
-
four engines the capability that makes it possible (capability — what it can do)
|
|
372
|
-
↑ produced by
|
|
373
|
-
three-stage the ORDER those engines are forged in (process — how it gets made)
|
|
374
|
-
process
|
|
375
|
-
└ stage ③ = the six-axis gate (§The six verification axes, below)
|
|
376
|
-
```
|
|
377
|
-
|
|
378
|
-
As a mnemonic: **three-stage process · four engines · five identities · six-axis gate**.
|
|
379
|
-
⚠️ But **the six axes are not a fourth layer** — they are *what stage ③ of the three-stage process
|
|
380
|
-
consists of*. Read the four as parallel layers and you get back the very "the layers do not land"
|
|
381
|
-
problem this section was written to fix.
|
|
382
|
-
|
|
383
|
-
**The four engines.** Each one is what some identity above is standing on. They were not invented for this
|
|
384
|
-
page: the readiness gate had already been scoring every identity against these same four capabilities in a
|
|
385
|
-
column of its own ([`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md)), so
|
|
386
|
-
naming them was recognition rather than taxonomy-building.
|
|
387
|
-
|
|
388
|
-
| Engine | What it is | Identities it backs |
|
|
389
|
-
|---|---|---|
|
|
390
|
-
| `judgment-circuit` | what counts as success, which way to lean under uncertainty, what is out of scope, what never happens | ⑤ Amplifier · ② Incubator |
|
|
391
|
-
| `ship-gate` | mechanical blocking before an irreversible surface — commit, publish, delete, rewrite | ③ Governance gate |
|
|
392
|
-
| `context-continuity` | not losing the thread across compaction, sub-agents, machines, sessions | ① Cluster · ② Incubator |
|
|
393
|
-
| `external-grounding` | reaching outside the repo *before* asserting novelty or settling a design | ④ Frontier → org |
|
|
394
|
-
|
|
395
|
-
They are written by name, never by number — the table order here and the prose order elsewhere differ, so
|
|
396
|
-
"engine ④" decodes to two different engines depending on which you read.
|
|
397
|
-
|
|
398
|
-
`judgment-circuit` is the one that gets misread most, so state it flatly: **it is a coordinate system for
|
|
399
|
-
deciding, not a statement of who the harness is.** The four items in its row are the whole of it. Do not
|
|
400
|
-
shorten it to "the harness's soul" in English either — that word reads as *persona*, and the largest
|
|
401
|
-
finding of the measurement behind this engine (105 runs, comparing prompts with and without an identity
|
|
402
|
-
declaration) was precisely that the two are different things: adding *"you are a ~"* came out a **net loss**
|
|
403
|
-
on the weakest model tested, and taking it out recovered ground. A one-word rename re-fuses exactly what
|
|
404
|
-
that measurement separated. The figure itself is deliberately not quoted here — the source records it
|
|
405
|
-
without a scale, and an unscaled number on a front page is decoration; it is in
|
|
406
|
-
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md) with its context. Nor is
|
|
407
|
-
a judgment circuit built in one sitting: FH hands a new harness a **seed draft**, and it fills in as that
|
|
408
|
-
harness is actually used.
|
|
409
|
-
|
|
410
|
-
**The three-stage process** — this is an *order of investment*, not a menu:
|
|
411
|
-
|
|
412
|
-
```mermaid
|
|
413
|
-
flowchart TD
|
|
414
|
-
S["① Circuit<br/>before design"]
|
|
415
|
-
P["② Parallel decorrelation<br/>in the middle"]
|
|
416
|
-
B["③ Burn it down<br/>on six axes"]
|
|
417
|
-
A(["⟹ It accelerates"])
|
|
418
|
-
S --> P --> B --> A
|
|
419
|
-
style A fill:#0f766e,stroke:#0f766e,color:#fff
|
|
420
|
-
```
|
|
421
|
-
|
|
422
|
-
**Speed is the arrow at the end, not a fourth box.** And ② is **two dials, turned separately** —
|
|
423
|
-
*decorrelation* (reacts to blind-spot risk: a different model family ⓐ, a different standpoint ⓑ)
|
|
424
|
-
and *parallelism* (reacts to surface size: can one context hold it?). Do not multiply them, choose.
|
|
425
|
-
|
|
426
|
-
```
|
|
427
|
-
① Circuit before design the judgment circuit goes in FIRST — success · leaning · out-of-scope ·
|
|
428
|
-
never-do — not written up afterwards as a record of what you did
|
|
429
|
-
|
|
430
|
-
② Parallel decorrelation split the work into checks that fail DIFFERENTLY and run them at once.
|
|
431
|
-
middle, to accelerate Choose which differences matter — a second reviewer of the same kind is
|
|
432
|
-
not decorrelation, it is the same blind spot twice. Parallelism has no
|
|
433
|
-
direction of its own; the judgment circuit from ① is what picks.
|
|
434
|
-
This is a way of WORKING, not the end-of-line check in ③.
|
|
435
|
-
|
|
436
|
-
③ Burn it down at the the six axes below. Adversarial review is ONE of them, not all of them —
|
|
437
|
-
end, on six axes adversariality is a **posture**, not an axis. It can ride on any axis, and
|
|
438
|
-
riding it does not make that axis see what it cannot see
|
|
439
|
-
```
|
|
242
|
+
## How it is built — three · four · five · six
|
|
440
243
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
244
|
+
**Three-stage process · four engines · five identities · six-axis verification.** The identities above
|
|
245
|
+
are the surface; **four engines** (`judgment-circuit` · `ship-gate` · `context-continuity` ·
|
|
246
|
+
`external-grounding`) are the capability under them; the **three-stage process** — ① plant the judgment
|
|
247
|
+
circuit *before* design → ② parallel decorrelation in the middle → ③ burn it down on six axes — is the
|
|
248
|
+
order those engines get forged in, with speed as the arrow at the end, not a fourth box. ⚠️ **The six
|
|
249
|
+
axes are not a fourth layer**; they are *what stage ③ consists of*. Full canon, and why this is
|
|
250
|
+
deliberately *not* a clean stack:
|
|
251
|
+
[`fh_three_layer_canon.md`](knowledge/shared/harness-core/fh_three_layer_canon.md) — the same three in
|
|
252
|
+
the smith's words (forge · quench · temper) are in [`ETHOS.md`](docs/ETHOS.md#the-forge).
|
|
446
253
|
|
|
447
|
-
**
|
|
448
|
-
|
|
449
|
-
🟥 **Axes are not divided by *how adversarial* they are. They are divided by *what they were given*.**
|
|
450
|
-
Hand two reviewers the same input and **the same blind spot survives**, however many of them you add.
|
|
451
|
-
That is why the column that matters most below is *what it gets*:
|
|
254
|
+
🟥 **Axes are not divided by *how adversarial* they are, but by *what they were given*.** Hand two
|
|
255
|
+
reviewers the same input and the same blind spot survives, however many you add:
|
|
452
256
|
|
|
453
257
|
| Axis | **What it gets** | What it catches | Typical instrument |
|
|
454
258
|
|---|---|---|---|
|
|
455
259
|
| **ⓐ Different family** | the diff + the author's framing | the **implementation** is wrong | a reviewer from another model family (`auto-decorrelation`) |
|
|
456
260
|
| **ⓑ 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)) |
|
|
457
|
-
| **ⓒ Isolated grounding** | the sentences the author wrote — their claims *and* what they **declared before starting** — + the tree as it stands
|
|
261
|
+
| **ⓒ 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 |
|
|
458
262
|
| **ⓓ 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 |
|
|
459
|
-
| **ⓔ 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
|
|
263
|
+
| **ⓔ 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 |
|
|
460
264
|
| **ⓕ 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 |
|
|
461
265
|
|
|
462
|
-
|
|
463
|
-
> this repo has been required since 2026-08-09 to carry the author's own pre-declaration — *what
|
|
464
|
-
> counts as success* and *what I will not do* — written before designing. Measured with a control
|
|
465
|
-
> that day: **nothing read it.** Zero lines of consuming code anywhere, while the sibling fields
|
|
466
|
-
> were checked in 21 places; the gate spec did not even name it. On the real corpus, **37 of 98
|
|
467
|
-
> markers carried no such line at all** — including a panel-reviewed one with 28 lanes and every
|
|
468
|
-
> other field filled. The axes all looked *outward* (the diff, the target repo, prior art, the
|
|
469
|
-
> artifact); none looked at the record's own mandatory field. A slot with no consumer always
|
|
470
|
-
> reports "done", because presence is doing the judging.
|
|
471
|
-
>
|
|
472
|
-
> The fix was not a seventh axis. ⓒ already receives *the sentences the author wrote plus the tree
|
|
473
|
-
> as it stands* — which is, word for word, what a pre-declaration check receives. Tense (declared
|
|
474
|
-
> beforehand vs claimed afterwards) is a **posture**, like adversariality, not an axis. Minting a
|
|
475
|
-
> new one would have repeated the exact error the blind reclassification above found.
|
|
476
|
-
|
|
477
|
-
> **A peer session counts on ⓑ and ⓓ — decided 2026-08-21, and *which* peer you ask is the whole
|
|
478
|
-
> trick.** A parallel session of this same harness, running hot on a different branch of the work, is
|
|
479
|
-
> not a copy of you. At the point it got hot it has genuinely grown a second face: a real standpoint
|
|
480
|
-
> (ⓑ) and a real someone-else's-codebase (ⓓ). So peer findings are recorded on those two axes — no
|
|
481
|
-
> seventh axis was minted, and the marker's `axes-run` alphabet did not change.
|
|
482
|
-
>
|
|
483
|
-
> This is why the ⓓ row above says *someone else's codebase* rather than *another company's repo*:
|
|
484
|
-
> the boundary that matters is **whose working context produced the judgment**, not whose GitHub org
|
|
485
|
-
> owns the files. A peer hot on a different branch is across that boundary; a subagent you spawned
|
|
486
|
-
> from this context is not, however different the repo it reads.
|
|
487
|
-
>
|
|
488
|
-
> 🟥 The corollary is the part that bites. **Ask the peer about the axis it actually got hot on.**
|
|
489
|
-
> Anywhere else it wears your face and decorrelates nothing — same input, same blind spot. And a
|
|
490
|
-
> subagent cannot stand in for it, nor can re-reading your own work: the second face comes from that
|
|
491
|
-
> session having *done* different work, and a prompt cannot manufacture it.
|
|
492
|
-
|
|
493
|
-
**You do not run all six every time, and that is the design** — do not multiply them, **choose**:
|
|
266
|
+
**You do not run all six every time, and that is the design** — do not multiply them, choose:
|
|
494
267
|
|
|
495
268
|
```
|
|
496
|
-
one-line fix (typo · gitignore) nothing burns
|
|
497
|
-
planting one is overhead
|
|
269
|
+
one-line fix (typo · gitignore) nothing burns — with one answer, planting a circuit is overhead
|
|
498
270
|
ordinary code change (reversible) ⓔ first real use + ⓕ revert
|
|
499
271
|
verdict · gate code + ⓐ different family — verdict logic is what a reviewer who
|
|
500
|
-
shares the author's optimism misses
|
|
501
|
-
change
|
|
502
|
-
|
|
272
|
+
shares the author's optimism misses structurally
|
|
273
|
+
change touching another harness + ⓑ standpoint — bolt on three families and if all three eat
|
|
274
|
+
your framing, nobody asks "does that canon actually say so"
|
|
503
275
|
very large · irreversible + ⓒ isolation + ⓓ third-party encounter. Burn all of it
|
|
504
276
|
```
|
|
505
277
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
**Why this is not superseded by base-model advances** — an axis is defined by its **input**, not by the
|
|
513
|
-
*reviewer's ability*. A stronger model still **cannot see information it was not given.** Scaffolding
|
|
514
|
-
sheds as models improve, but **input-boundary decorrelation does not**, and a single author cannot, by
|
|
515
|
-
definition, step outside their own input.
|
|
516
|
-
|
|
517
|
-
🟥 **Honest edge**: if the agent **fetches more input by itself with tools**, the boundary blurs — an outside judgment held that "the store is never used in full" and
|
|
518
|
-
"the swallowed exception" are catchable by ⓐ and ⓒ as well, since those reviewers grep for themselves.
|
|
519
|
-
Conversely, "a rule another repo retired long ago" **cannot be fetched by any tool** — there is no reason
|
|
520
|
-
to have access to that project's review history in the first place. That is where ⓓ remains.
|
|
521
|
-
|
|
522
|
-
**Where a rule lives — and why the always-loaded layer does not have to grow forever.**
|
|
523
|
-
|
|
524
|
-
A harness learns by writing rules down. The obvious place is the always-loaded file every session
|
|
525
|
-
reads, and that file only ever gets longer. Left there, the reasoning ends in a corner: *a harness
|
|
526
|
-
that keeps learning keeps getting more expensive to start.*
|
|
527
|
-
|
|
528
|
-
It does not, because a rule has **three possible seats**, and the right one is decided by **when the
|
|
529
|
-
rule has to fire**:
|
|
530
|
-
|
|
531
|
-
| Seat | Fires | Costs | Fits |
|
|
532
|
-
|---|---|---|---|
|
|
533
|
-
| **Always-loaded** | before you act | every session, every turn | rules whose trigger is an *intention* — tone, "don't normalize the unfamiliar", "prove the instrument works here". Nothing can hook an intention, so salience is the only layer |
|
|
534
|
-
| **The gate's own error message** | at the moment you act | **nothing** | rules whose trigger is an *action*. The message that blocks you also teaches the form: `Write, before the design: success = «…». never = «…».` |
|
|
535
|
-
| **The hook** | after you act | nothing | properties of a record — present · typed · attributable · non-vacuous |
|
|
536
|
-
|
|
537
|
-
The middle seat is the one that usually goes unused, and it is free. It is
|
|
538
|
-
[gate-locality](knowledge/shared/harness-core/gate_locality_principle.md) applied to salience: the actor reads it exactly where the
|
|
539
|
-
action happens, so it does not have to be carried all session to be there when needed.
|
|
540
|
-
|
|
541
|
-
🟥 **It is a third layer, not a replacement — and the honest limit is that it only fires on failure.**
|
|
542
|
-
Someone who gets it right never sees it. So mechanizing a rule does **not** shrink the resident layer:
|
|
543
|
-
measured on the very change described above, the machine grew by 480 lines and the always-loaded prose
|
|
544
|
-
by **zero**, and that is correct. The prose has to reach the author *before* they design; the hook
|
|
545
|
-
catches its absence *after*. A backstop cannot substitute for salience that must fire earlier.
|
|
546
|
-
|
|
547
|
-
⚠️ And the threshold that would tell you the resident layer is "too big" is, in this repo, **not
|
|
548
|
-
grounded** — the numbers in our own doctor skill were introduced without a single line justifying the
|
|
549
|
-
cutpoints, and one of them was set to a value the target already exceeded on the day it landed. We are
|
|
550
|
-
re-deriving them rather than trimming toward a number nobody can defend. Cutting resident text toward
|
|
551
|
-
an unjustified target buys fail-open with the savings.
|
|
552
|
-
|
|
553
|
-
> 🟥 **Limits to read before citing this**: the six-axis table is **n=1** (one artifact · one session ·
|
|
554
|
-
> one author). Whether the axes' non-overlap is structural or an accident of that day is **unmeasured**.
|
|
555
|
-
> And when the author's self-scoring was stripped out — 16 findings handed, **with their provenance
|
|
556
|
-
> removed**, to two classifiers from other families for blind judgment — **3 of the 5** the author had
|
|
557
|
-
> attributed to ⓓ were judged to belong to a different axis; those three were not "what the axis was
|
|
558
|
-
> needed for" but "what another axis missed". Discount the table's attributions accordingly.
|
|
559
|
-
|
|
560
|
-
> **Honest note — this is not a clean stack, and that is the point.** Stage ① and stage ③ are made of the
|
|
561
|
-
> same material as the engines, so the lower layer uses the upper one. The contradiction resolves on
|
|
562
|
-
> *subject*: the **engines** are what FH applies to your work, while the **process** is the order FH uses
|
|
563
|
-
> when forging its own engines. If the method had been borrowed from outside it would be unrelated to the
|
|
564
|
-
> engines; the overlap is the fingerprint of dogfooding. Full canon, including the sample limits behind
|
|
565
|
-
> each claim: [`fh_three_layer_canon.md`](knowledge/shared/harness-core/fh_three_layer_canon.md).
|
|
566
|
-
|
|
567
|
-
> **Self-healing here isn't a claim — check it.** `git log` in this repo is the record, and the shape
|
|
568
|
-
> repeats: a miss is caught, the fix is attacked, and the attack often lands on the fix rather than on the
|
|
569
|
-
> original. One you can open by hash — `cb74ea4`, where a register-consistency rule was added to
|
|
570
|
-
> `CLAUDE.md §Voice/Tone` after the harness drifted register mid-session. A second, in the same change
|
|
571
|
-
> that added this section: a checker whose whole job is finding tests nothing runs was caught reporting a
|
|
572
|
-
> green count off a script's *own comment*, and then the guard written to fix that turned out to have no
|
|
573
|
-
> test that would fail if it were deleted — found by a different model family, not by the author, and
|
|
574
|
-
> closed with a fixture that does fail. Commit hashes on feature branches do not survive squash-merge, so
|
|
575
|
-
> that one is cited by its shape rather than by an ID that would rot.
|
|
278
|
+
An axis is defined by its **input**, not by the reviewer's ability, so base-model advances do not
|
|
279
|
+
supersede this: a stronger model still cannot see information it was not given. 🟥 **Limits before
|
|
280
|
+
citing it** — the table is **n=1** (one artifact, one session, one author), and when 16 findings were
|
|
281
|
+
handed with provenance removed to two classifiers from other families, **3 of the 5** the author
|
|
282
|
+
attributed to ⓓ were judged to belong elsewhere. A worked day inside these gates, misses named:
|
|
283
|
+
[`docs/GATE_DAY.md`](docs/GATE_DAY.md).
|
|
576
284
|
|
|
577
285
|
---
|
|
578
286
|
|
|
579
|
-
##
|
|
580
|
-
|
|
581
|
-
After a long co-authoring session with your AI, you and it share the same context — and the same blind spots. The reviewer worth having is the one who never saw your reasoning. You can get that by hand: paste the work into a fresh, empty chat. FH just turns that chore into one routine command.
|
|
582
|
-
|
|
583
|
-
- **sidecar / agent dispatch** → a reviewer with none of your session's context
|
|
584
|
-
- **steel-quench · phantom-quench** → that cold pass, on demand
|
|
287
|
+
## Where a rule lives — three seats
|
|
585
288
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
289
|
+
A harness learns by writing rules down, and the always-loaded file only ever gets longer — so the
|
|
290
|
+
reasoning ends in a corner: *a harness that keeps learning keeps getting more expensive to start.* It
|
|
291
|
+
does not, because a rule has **three seats**, chosen by *when the rule has to fire*: **always-loaded**
|
|
292
|
+
(triggers that are an *intention* — nothing can hook one, so salience is the only layer) · **the gate's
|
|
293
|
+
own error message** (triggers that are an *action*; the message that blocks you also teaches the form,
|
|
294
|
+
and this seat is free) · **the hook** (properties of a record — present, typed, attributable,
|
|
295
|
+
non-vacuous). The middle seat is the one that usually goes unused. Full table, and the honest limit
|
|
296
|
+
that it only fires on failure:
|
|
297
|
+
[gate-locality](knowledge/shared/harness-core/gate_locality_principle.md) §Where a rule lives.
|
|
589
298
|
|
|
590
299
|
---
|
|
591
300
|
|
|
592
|
-
##
|
|
301
|
+
## Run it outside Claude Code — the `fh-gate` CLI
|
|
593
302
|
|
|
594
|
-
FH wraps any coding agent (OpenCode, Codex,
|
|
303
|
+
FH wraps any coding agent (OpenCode, Codex, …) as a **post-generation governance gate**.
|
|
595
304
|
|
|
596
305
|
```bash
|
|
597
306
|
npx --package @chrono-meta/fh-gate fh-gate # default: Claude backend
|
|
598
307
|
FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-gate # Codex backend
|
|
599
|
-
FH_BACKEND=
|
|
308
|
+
FH_BACKEND=cross npx --package @chrono-meta/fh-gate fh-gate # BOTH families, findings UNIONed
|
|
600
309
|
# → FH_GATE_VERDICT: PASS | PENDING | BLOCKED | ESCALATE
|
|
601
|
-
|
|
602
|
-
# or, via Homebrew (same content, no npx prefix needed after install):
|
|
603
|
-
brew tap chrono-meta/forge-harness && brew install forge-harness
|
|
604
|
-
fh-gate
|
|
605
|
-
```
|
|
606
|
-
|
|
607
|
-
`fh-gate` uses the same FH governance prompt for both runtimes. `FH_BACKEND=claude` runs `claude --print`; `FH_BACKEND=codex` runs `codex exec`; `FH_BACKEND=auto` prefers Codex when both CLIs are present — note that `auto` is fallback *selection*: it runs ONE leg. `FH_BACKEND=cross` runs BOTH families and unions their findings (a finding only one family saw is still a finding, so it unions rather than votes); the verdict is the most severe across legs. It costs ~2x, so it is for load-bearing verdict/gate/irreversible-surface changes, not a default. The output always declares which legs actually ran (`FH_GATE_LEGS:`, `FH_GATE_DECORRELATED:`) — on a machine with only one family, `cross` degrades to that single leg and says so, because a single-family result that reads as cross-checked is worse than an honest one.
|
|
608
|
-
|
|
609
|
-
For direct skill or agent execution outside Claude Code, use `fh-run`:
|
|
610
|
-
|
|
611
|
-
```bash
|
|
612
|
-
FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-run --skill phantom-quench --file docs/foo.md
|
|
613
|
-
FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-run --agent fh-commons:quench-challenger --file plugins/fh-meta/skills/foo/SKILL.md
|
|
614
310
|
```
|
|
615
311
|
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
`
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
For Codex-primary work, keep using Codex's native goal/session features when available. `fh-goal` is only a portable wrapper for one-off non-interactive runs that should be followed by FH governance:
|
|
628
|
-
|
|
629
|
-
```bash
|
|
630
|
-
FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-goal --prompt "Implement X and update tests" --gate quick
|
|
631
|
-
```
|
|
632
|
-
|
|
633
|
-
The broader FH automation layer still depends on Claude Code for sub-agents, hooks, and slash commands. The portable path is shared documents plus runtime adapters, not separate Codex and Claude forks.
|
|
634
|
-
|
|
635
|
-
**Recommended posture — Claude Code as orchestrator, others as sidecars.** FH's automation layer (auto-firing hooks, sub-agent dispatch, onboarding, memory) is Claude-Code-native, so the fullest experience runs **Claude Code as the main orchestrator with Gemini, Codex, or Antigravity (`agy`) as actively-used sidecars**. You can also run a **non-CC runtime as your main agent** — you keep the full methodology layer and M1 skills (M1 = runs on any runtime as written; M2 = needs agent dispatch; M3 = Claude-Code-native — the portability tiers detailed in [`docs/codex-compat.md`](docs/codex-compat.md)) through `fh-gate`/`fh-run`, but you do **not** get the autopilot layer: hooks don't auto-fire, M2 agent-dispatch steps need the adapter (or interactive approval), and M3 skills are reference-only. This is a deliberate two-layer boundary, not a gap to be closed. Per-runtime detail: [`docs/codex-compat.md`](docs/codex-compat.md) (tier-by-tier) and [`multi_model_sidecar_strategy.md`](knowledge/shared/harness-core/multi_model_sidecar_strategy.md) (sidecar engines, including the Gemini→`agy` succession at the 2026-06-18 EOL).
|
|
636
|
-
|
|
637
|
-
**Empirical result (2026-05-31)**: Applied to OpenCode's AI-generated `permission/arity.ts` (163 lines, CI green). Current gate semantics classify this as BLOCKED: 2 A-grade findings CI didn't catch (short-token overflow in allowlist, executor tools absent from arity table).
|
|
638
|
-
|
|
639
|
-
**Does the method actually add anything? A measured check (2026-07-14).** We held the model fixed at a
|
|
640
|
-
mid-tier floor and varied only the review *method*, on unseen gate snippets with planted *default-toward-PASS*
|
|
641
|
-
(fail-open) holes. On eight subtle holes — authored by two other models so the test set wasn't tuned to our
|
|
642
|
-
method — a plain review caught 5/8 (and two of those "catches" were the wrong bug, i.e. false confidence);
|
|
643
|
-
the same model with FH's degrade-direction lens caught 6/8 with zero false alarms. The honest part: **both
|
|
644
|
-
single-model lanes missed the same two holes** (a falsy error-sentinel, and a separator-negation parse). A
|
|
645
|
-
different model family, same lens, caught both — so the FH *stack* (lens + cross-family + a mechanical
|
|
646
|
-
pre-screen) reaches 8/8. The takeaway isn't a headline score; it's that the value comes from the
|
|
647
|
-
**decorrelated stack**, because even a well-prompted single model has a correlated blind spot that only a
|
|
648
|
-
different family closes. The two missed classes are now caught mechanically (a lint pre-screen), one layer
|
|
649
|
-
earlier. Small sample (single draw); reps and harder holes are the stated next step. Method + full result:
|
|
650
|
-
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md).
|
|
651
|
-
|
|
652
|
-
Full spec: [`fh_integration_contract.md`](knowledge/shared/harness-core/fh_integration_contract.md)
|
|
653
|
-
|
|
654
|
-
---
|
|
655
|
-
|
|
656
|
-
## The forge — where the name comes from
|
|
657
|
-
|
|
658
|
-
forge-harness treats a project like steel, and the metaphor is literal, not decoration. Work is shaped,
|
|
659
|
-
hardened by attack, and only then does it ship faster, for having survived.
|
|
660
|
-
|
|
661
|
-
> 🟥 **Not a fifth numbered set — it is the three-stage process said in the smith's words.**
|
|
662
|
-
> An earlier version of this section said the smith's vocabulary *"lines up with nothing"* above.
|
|
663
|
-
> That was wrong, and the two diagrams gave it away: both are three steps and an arrow into
|
|
664
|
-
> **⟹ accelerate**. They were already the same shape; only the naming was kept apart. So this is
|
|
665
|
-
> **one layer told twice**, not a second layer — the four engines, the four-axis commit gate and the
|
|
666
|
-
> six verification axes remain different counts and still do not line up here.
|
|
667
|
-
|
|
668
|
-
**Three at the anvil — and each is a stage of the three-stage process:**
|
|
669
|
-
|
|
670
|
-
| The smith's word | The stage | What it means here | The commands |
|
|
671
|
-
|---|---|---|---|
|
|
672
|
-
| **Forge** | ① **Plant the circuit** | shape the raw project into a harness, and settle *what counts as success / what it will never do* — **before** the design | `install-wizard` · `deep-clarify` · the marker's mandatory `①영혼` line (enforced at commit) |
|
|
673
|
-
| **Quench** | ② **Parallel decorrelation** | cool it fast: many attempts in parallel, from decorrelated angles. It hardens quickly — 🟥 **and it makes the asset brittle**, which is exactly what quenching does to steel | `auto-decorrelation` · `agent-composer` · `meta-prompt-builder` · cross-family sidecars (codex · agy · gemini) · isolated worktree lanes |
|
|
674
|
-
| **Temper** | ③ **Burn it on six axes** | reheat and draw the brittleness back out while keeping the hardness — this is where the attacking passes actually belong | `steel-quench` · `phantom-quench` · `sim-conductor` · `prompt-regression` · `verify-bidirectional` · `fh-meta:challenger` · revert probes · `templates/temper_check.sh` |
|
|
675
|
-
|
|
676
|
-
> ⚠️ **The skill names carry the older reading and are kept as they are.** `steel-quench` and
|
|
677
|
-
> `phantom-quench` say *quench*, but what they do — attacking a hardened asset until the brittleness
|
|
678
|
-
> shows — is **temper**. Renaming shipped skills to fix a metaphor would be the more expensive lie;
|
|
679
|
-
> the names stay and the roles are stated correctly here.
|
|
680
|
-
|
|
681
|
-
```mermaid
|
|
682
|
-
flowchart TD
|
|
683
|
-
F["Forge<br/>① circuit"] --> Q["Quench<br/>② parallel"] --> T["Temper<br/>③ six axes"] --> A(["⟹ Accelerate"])
|
|
684
|
-
style A fill:#0f766e,stroke:#0f766e,color:#fff
|
|
685
|
-
```
|
|
686
|
-
|
|
687
|
-
**⟹ And then it accelerates.** A blade that survived the forge cuts faster — `goal-quench`,
|
|
688
|
-
*Pass → Accelerate*. Speed is what the three above **produce**; it is not a fourth thing you do.
|
|
689
|
-
That is the same sentence as the tagline at the top of this page, said in the smith's words:
|
|
690
|
-
quality is the lever, speed is the result.
|
|
691
|
-
|
|
692
|
-
Every command named above ships today. Temper was named before it was built — deliberately (see
|
|
693
|
-
[`ETHOS.md`](docs/ETHOS.md#the-forge)) — and shipped once measurement runs validated it.
|
|
694
|
-
|
|
695
|
-
Around the forge, two more signatures keep it running: `harvest-loop` (each session's lessons become
|
|
696
|
-
permanent skills) and `agent-composer` (orchestrate the dispatch). The other skills wait until you need
|
|
697
|
-
them — full list below.
|
|
698
|
-
|
|
699
|
-
## 40 skills · 8 agents
|
|
700
|
-
|
|
701
|
-
> Count = non-deprecated skills (deprecated redirect stubs — kept only for old-name routing — excluded).
|
|
702
|
-
|
|
703
|
-
<details>
|
|
704
|
-
<summary>Full asset activation check</summary>
|
|
705
|
-
|
|
706
|
-
| Asset | Role | Triggers |
|
|
707
|
-
|---|---|---|
|
|
708
|
-
| `steel-quench` | Full-spectrum adversarial verification | "Run the quench", "Attack from the root" |
|
|
709
|
-
| `phantom-quench` | Phantom claim detection + source back-tracing | "Verify the source", "Grounding audit" |
|
|
710
|
-
| `harvest-loop` | End-of-session learning → evolution pipeline | "Harvest the session" |
|
|
711
|
-
| `agent-composer` | Plans optimal agent dispatch | "Run in parallel", "Which agents?" |
|
|
712
|
-
| `sim-conductor` | Meta-simulation orchestrator | "External user perspective" |
|
|
713
|
-
| `context-doctor` | Token efficiency + `.claudeignore` | "Session is slow", "Clean up context" |
|
|
714
|
-
| `harness-doctor` | Harness structure diagnosis | "Check my Claude setup" |
|
|
715
|
-
| `pipeline-conductor` | 4-axis quality gate (backward/adversarial/forward/record) | "Run the quality gate" |
|
|
716
|
-
| `field-harvest` | Back-propagate field patterns to hub | "I could reuse this" |
|
|
717
|
-
| `dialogue-harvest` | Mine AI-dialogue logs: strip sycophancy, label induced vs independent | "What did I actually contribute in this thread?" |
|
|
718
|
-
| `frontier-digest` | HN + arXiv → actionable insights | "AI trend digest" |
|
|
719
|
-
| `hub-cc-pr-reviewer` | Automated PR review | "Review this PR" |
|
|
720
|
-
| `verify-bidirectional` | Reverse-verify decisions | "Is that right?", "Double-check" |
|
|
721
|
-
| `deep-clarify` | Socratic requirements clarification | "I'm not sure what to build" |
|
|
722
|
-
| `install-wizard` | Initial onboarding | "First-time setup" |
|
|
723
|
-
| `plugin-recommender` | Plugin recommendations | "Is there a good tool for this?" |
|
|
724
|
-
| `apex-review` | Executive-perspective quality review | "Will this hold up?" |
|
|
725
|
-
| `meta-prompt-builder` | Meta prompt design | "Write a prompt for the agent" |
|
|
726
|
-
| `asset-placement-gate` | Hub vs project asset routing | "Should this be shared?" |
|
|
727
|
-
| `cross-ecosystem-synergy-detection` | Cross-tool synergy finder | "Are my tools working together?" |
|
|
728
|
-
| `corpus-grounding-expander` | Multi-version public-domain corpus → verified-axiom grounding store | "Broaden the grounded corpus" |
|
|
729
|
-
| `persona-roster-expander` | Persona seed → tiered, judgment-mapped cast | "Broaden these personas" |
|
|
730
|
-
| `convergence-loop` *(fh-commons)* | N-round convergence loops | "Single-pass seems suspicious" |
|
|
731
|
-
| `token-budget-gate` *(fh-commons)* | Pre-task token cost estimate | "How expensive is this?" |
|
|
732
|
-
| `mcp-circuit-breaker` *(fh-commons)* | MCP tool failure pattern detection | "MCP keeps failing" |
|
|
733
|
-
| `ko-tech-writer` *(fh-commons)* | Korean technical-writing pipeline (register calibration, translationese removal, honesty layering, perceptual QA) | "기술문서 써줘", "번역투 고쳐줘" |
|
|
734
|
-
| `quench-challenger` *(fh-commons)* | Adversarial pressure-test agent | "Challenge this with a devil" |
|
|
735
|
-
| `auto-decorrelation` | Recruits a different-model-family reviewer for load-bearing changes | "Decorrelate this verification" |
|
|
736
|
-
| `video-ingest` | Video → agent context, routed by capability and length | "What does this video show?" |
|
|
737
|
-
| `fh` | Renders the hub map on demand, without a greeting | "fh" |
|
|
738
|
-
| *(+ remaining skills)* | marketplace-gate · contention-layer · deliberation · edit-manifest · goal-quench · install-doctor · memory-hygiene · prompt-regression · public-surface-audit · return-path-gate · salience-splitter | |
|
|
739
|
-
| **8 agents** | `challenger` · `quench-challenger` (adversarial) · `beginner` · `main-player` · `expert` (the user-mastery spectrum — cold read, daily use, domain authority) · `fact-checker` · `hub-persona-auditor` · `persona-innovator` | dispatched by the skills above, or by name |
|
|
740
|
-
|
|
741
|
-
| Active count | Diagnosis |
|
|
742
|
-
|:---:|---|
|
|
743
|
-
| **~half the surface or more** | Advanced — chain agent-composer + sim-conductor + steel-quench + pipeline-conductor |
|
|
744
|
-
| **a handful up to that** | Activation stage — gradually enable unchecked assets |
|
|
745
|
-
| **almost none** | Early stage — start with `install-wizard` |
|
|
746
|
-
|
|
747
|
-
> These bands are a rough self-check, not a measurement — no artifact defines the thresholds, and the
|
|
748
|
-
> earlier fixed numbers were calibrated against a smaller roster, so they quietly drifted as the roster
|
|
749
|
-
> grew. Using more skills is also not the goal; using the ones your work actually needs is.
|
|
750
|
-
|
|
751
|
-
**Find a skill by what you're trying to do:**
|
|
752
|
-
|
|
753
|
-
| Cluster | Skills |
|
|
754
|
-
|---|---|
|
|
755
|
-
| Verification | `steel-quench` · `phantom-quench` · `convergence-loop` · `prompt-regression` · `return-path-gate` |
|
|
756
|
-
| Orchestration | `agent-composer` · `pipeline-conductor` · `goal-quench` · `deliberation` |
|
|
757
|
-
| Diagnosis | `harness-doctor` · `context-doctor` · `install-doctor` · `mcp-circuit-breaker` |
|
|
758
|
-
| Harvesting / Learning | `harvest-loop` · `field-harvest` · `edit-manifest` · `memory-hygiene` |
|
|
759
|
-
| Gate / Guard | `token-budget-gate` · `asset-placement-gate` · `marketplace-gate` |
|
|
760
|
-
| Discovery | `plugin-recommender` · `cross-ecosystem-synergy-detection` · `frontier-digest` · `verify-bidirectional` |
|
|
761
|
-
| Content / Simulation | `sim-conductor` · `apex-review` · `meta-prompt-builder` · `deep-clarify` |
|
|
762
|
-
| Setup | `install-wizard` · `hub-cc-pr-reviewer` · `salience-splitter` |
|
|
763
|
-
|
|
764
|
-
> **Full phrasebook** — every skill + agent with its one-line definition and the plain-language phrase
|
|
765
|
-
> that triggers it: [`CHEATSHEET.md` §12](CHEATSHEET.md#12-skills--agents--what-each-does-and-what-to-say).
|
|
766
|
-
|
|
767
|
-
</details>
|
|
312
|
+
Same governance prompt for every runtime. `auto` is fallback *selection* — it runs **one** leg; `cross`
|
|
313
|
+
runs both families and unions their findings (a finding only one family saw is still a finding), costs
|
|
314
|
+
~2x, and is for load-bearing verdict / gate / irreversible-surface changes, not a default. The output
|
|
315
|
+
always declares which legs actually ran, so a single-family result never reads as cross-checked.
|
|
316
|
+
`fh-run` (one skill or agent directly), `fh-goal` and `fh-codex-doctor` (adapter drift check) ship
|
|
317
|
+
alongside it — flags and the full env table in [`CHEATSHEET.md`](CHEATSHEET.md), spec in
|
|
318
|
+
[`fh_integration_contract.md`](knowledge/shared/harness-core/fh_integration_contract.md).
|
|
319
|
+
**Recommended posture — Claude Code as orchestrator, others as sidecars**: a non-CC runtime can be your
|
|
320
|
+
main agent and keeps the methodology layer through `fh-gate`/`fh-run`, but not the autopilot (hooks do
|
|
321
|
+
not auto-fire, dispatch needs the adapter) — tier-by-tier in
|
|
322
|
+
[`docs/codex-compat.md`](docs/codex-compat.md).
|
|
768
323
|
|
|
769
324
|
---
|
|
770
325
|
|
|
@@ -772,112 +327,29 @@ them — full list below.
|
|
|
772
327
|
|
|
773
328
|
Claude Code does not auto-select models by task complexity — you configure this once.
|
|
774
329
|
|
|
775
|
-
```bash
|
|
776
|
-
/model sonnet # recommended default — FH dispatches stronger models itself where they matter
|
|
777
|
-
```
|
|
778
|
-
|
|
779
330
|
| Command | Who runs what | Best for |
|
|
780
331
|
|---|---|---|
|
|
781
332
|
| `/model sonnet` | Sonnet session; FH dispatches higher-tier sub-agents on declared floors | **FH default** — operation + routine dev |
|
|
782
|
-
| `/model opus` | Opus handles everything | Harness-editing sessions
|
|
333
|
+
| `/model opus` | Opus handles everything | Harness-editing sessions · maximum depth every turn |
|
|
783
334
|
| `/model opusplan` | Opus *plans* · Sonnet executes *(when Opus engages)* | Cost-conscious routine coding — see caveat |
|
|
784
335
|
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
dispatches. If your environment tops out below a floor (e.g. Sonnet-only API routing), the floored
|
|
792
|
-
asset still runs at the best available tier with an explicit `below-floor` flag in its output — degraded
|
|
793
|
-
delivery is visible, never silent (tier-floor resolution: `knowledge/shared/harness-core/multi_model_sidecar_strategy.md §Tier-floor`).
|
|
794
|
-
|
|
795
|
-
**`opusplan` caveat (measured)**: its Opus engagement is **not guaranteed** — in a measured 10-turn run
|
|
796
|
-
it used Opus on **0** turns (CC classifies few turns as "plan-mode"). If you want Opus on every turn,
|
|
797
|
-
pin `/model opus` (22/22 turns Opus in the follow-up run). **Sub-agent dispatch** model is set by the
|
|
798
|
-
dispatch's own `model` parameter; the session model/plan-mode does **not** propagate to sub-agents.
|
|
799
|
-
|
|
800
|
-
> **By role**: running FH (field projects, gates, routine dev) → `/model sonnet` + let the floors
|
|
801
|
-
> escalate. Editing the harness itself (Mode D) → pin the strongest model you have — harness
|
|
802
|
-
> *self-development* is where tier depth measurably pays (design-increment finding), while operation
|
|
803
|
-
> does not. Sub-agent token costs are CC-visible in the session jsonl under `message.model`.
|
|
804
|
-
|
|
805
|
-
**Measured, not asserted** (worked examples): on a blind rule-application battery, *operating* FH is
|
|
806
|
-
near model-flat — on a 30-point blind battery (2026-06-10) the four tiers run scored **94–100%**
|
|
807
|
-
(top-tier anchor / Opus 4.8 / Sonnet 4.6 / Haiku 4.5 = 100 / 100 / 97 / 94), and a 2026-07-03
|
|
808
|
-
replication re-anchored Opus 4.8, **Sonnet 5** and Haiku 4.5 at 16/16 each. Two honesty notes rather
|
|
809
|
-
than one round number: the source artifact deliberately leaves the top tier unnamed, so this page does
|
|
810
|
-
not name it either; and the **current** top tier has not been run on this battery — the doctrine below
|
|
811
|
-
is what carries forward, not the scores. The few lost points are format discipline, never a trap or
|
|
812
|
-
gate-class miss. The tiers
|
|
813
|
-
separate only on above-rubric *design* increments (developing the harness, not running it) — which is
|
|
814
|
-
why the default is Sonnet with **tier-floored dispatch** covering the depth-sensitive turns, and a
|
|
815
|
-
pinned stronger model is recommended only for harness-editing sessions.
|
|
816
|
-
|
|
817
|
-
This is stated as an **invariant, not a per-model leaderboard**. Two structural laws, neither of which a
|
|
818
|
-
new release overturns:
|
|
819
|
-
|
|
820
|
-
1. **Operation flattens across tiers** — the rules-in-context do the work, so every tier ceilings
|
|
821
|
-
on rule-application (Sonnet 5 tied Opus 4.8 at the battery ceiling in a 2026-07-03 replication).
|
|
822
|
-
2. **Depth (design increments) is tier-ordered, and the order is fixed *within a generation*** — a lower
|
|
823
|
-
tier never overtakes the higher of the **same** generation (tiers are priced to be worth it, so the
|
|
824
|
-
vendor keeps them ordered). *Across* generations a newer lower-tier model can surpass an older
|
|
825
|
-
higher-tier one (Sonnet 5 ≥ Opus 4.8 on operation is exactly this cross-generation case) — but the
|
|
826
|
-
current top tier of any generation still wins its own depth turns.
|
|
827
|
-
|
|
828
|
-
So the doctrine is permanent, not perishable: **default to the mid tier for operation; escalate to the
|
|
829
|
-
current top tier for depth.** Re-measurement is warranted only when a new model becomes a field-main
|
|
830
|
-
*candidate* (a one-time cross-generation threshold check), never to re-confirm same-generation tier order
|
|
831
|
-
— that is guaranteed by design. Details + dated runs: `docs/OUTPUT_EVIDENCE.md` §Validation signals.
|
|
832
|
-
|
|
833
|
-
If you use external CLIs (Gemini, Codex, `gh copilot`) as sidecars, their costs are billed to their own quota and not visible in CC's token display.
|
|
834
|
-
|
|
835
|
-
### Hardware tiers (local sidecars are optional accelerators)
|
|
836
|
-
|
|
837
|
-
FH needs **no local LLM** — the baseline is whatever runs Claude Code. Local models are *optional*, for
|
|
838
|
-
the canary / cheap-breadth rungs only:
|
|
839
|
-
|
|
840
|
-
| Tier | Spec | Runs locally | What it buys |
|
|
841
|
-
|---|---|---|---|
|
|
842
|
-
| **Minimum** | anything that runs Claude Code | nothing | full methodology + gates; operating FH is ~model-flat across every tier tested (94–100%) |
|
|
843
|
-
| **Recommended** | laptop-class, ~16GB RAM | one 8B-class quantized model (e.g. an 8B / small Gemma) | a token-free **floor canary** (pre-screen before a metered sim) · offline triage · a cheap-breadth panel arm |
|
|
844
|
-
| **Optional (heavy)** | ~24GB VRAM GPU | a 27–32B model | a *stronger* decorrelation canary |
|
|
845
|
-
|
|
846
|
-
> Local tiers are **canaries, never the terminal verdict** — measured: the floor model missed a subtle
|
|
847
|
-
> adversarial case the frontier caught (and even a 27–32B local scored 1/4 on it). They lower the *cost
|
|
848
|
-
> of breadth*; the verdict stays frontier.
|
|
849
|
-
|
|
850
|
-
---
|
|
851
|
-
|
|
852
|
-
## Multi-Model Sidecar
|
|
853
|
-
|
|
854
|
-
Run Gemini, Codex, or `gh copilot` as independent reviewers alongside Claude. The point is **context
|
|
855
|
-
isolation**: a reviewer that did *not* co-create the work is cold to its froth — whoever sits *outside* the
|
|
856
|
-
collaboration tends to catch what the co-author, now an advocate for the shared result, glides past. It's
|
|
857
|
-
symmetric, not a model-ranking: when you co-build with Gemini, a fresh Claude catches its froth; when you
|
|
858
|
-
co-build with Claude, a fresh sidecar catches Claude's.
|
|
859
|
-
|
|
860
|
-
In one internal case study, layering reviewers surfaced progressively more issues — a single in-session
|
|
861
|
-
pass missed items that cross-session personas caught, and an external-CLI reviewer surfaced a few the
|
|
862
|
-
Claude personas shared a blind spot on. Treat it as a worked example, **not a benchmark**: the gain scales
|
|
863
|
-
with task complexity and how much you co-created the artifact, and an isolated reviewer also adds false
|
|
864
|
-
positives you have to triage. Whether the net is worth it on a given task is an empirical, per-use question.
|
|
865
|
-
|
|
866
|
-
Claude-side token cost does not increase when the extra reviewer is an external CLI — it bills to its own quota.
|
|
336
|
+
Measured, *operating* FH is near model-flat — the rules in context do the work — so FH dispatches the
|
|
337
|
+
few depth-sensitive turns itself at a declared floor and **never switches your session model**; a
|
|
338
|
+
below-floor environment gets an explicit `below-floor` flag rather than a silent degrade. ⚠️
|
|
339
|
+
`opusplan`'s Opus engagement is **not guaranteed** (0 of 10 turns in one measured run). The two
|
|
340
|
+
structural laws behind that doctrine, hardware tiers for optional local sidecars, and the multi-model
|
|
341
|
+
sidecar posture: [`docs/MODEL_SETUP.md`](docs/MODEL_SETUP.md).
|
|
867
342
|
|
|
868
343
|
---
|
|
869
344
|
|
|
870
|
-
##
|
|
871
|
-
|
|
872
|
-
> **FH papers** — the methodology below is documented, not just asserted:
|
|
873
|
-
> - **v1.0 — methodology** · [Zenodo](https://zenodo.org/records/20397566) (DOI 10.5281/zenodo.20397566). 2-layer design, 6-axis framework, 4-agent orchestration, and the compounding loop, with empirical evidence.
|
|
874
|
-
> - **cs.SE companion — governance-gate methodology** · **published** [Zenodo](https://zenodo.org/records/20680081) (DOI 10.5281/zenodo.20680081 · latest v1.1 10.5281/zenodo.20740038 · CC-BY-4.0) · arXiv submitted (cs.SE); the moderation outcome is not tracked in this repo, so treat "submitted" as the last state this page can vouch for, not as current.
|
|
875
|
-
> - **cs.AI companion — "Governance Dividend"** · in preparation.
|
|
345
|
+
## 41 skills · 8 agents
|
|
876
346
|
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
-
|
|
880
|
-
|
|
347
|
+
Count = non-deprecated skills. Clustered as verification · orchestration · diagnosis · harvesting ·
|
|
348
|
+
gates · discovery · simulation · setup, plus 8 agents (`challenger` · `quench-challenger` · `beginner`
|
|
349
|
+
· `main-player` · `expert` · `fact-checker` · `hub-persona-auditor` · `persona-innovator`) dispatched
|
|
350
|
+
by those skills or by name. **Full phrasebook** — every skill and agent with its one-line definition
|
|
351
|
+
and the phrase that triggers it:
|
|
352
|
+
[`CHEATSHEET.md` §12](CHEATSHEET.md#12-skills--agents--what-each-does-and-what-to-say).
|
|
881
353
|
|
|
882
354
|
---
|
|
883
355
|
|
|
@@ -885,10 +357,26 @@ External convergence:
|
|
|
885
357
|
|
|
886
358
|
| Resource | Purpose |
|
|
887
359
|
|---|---|
|
|
888
|
-
| [`
|
|
360
|
+
| [`docs/USER_GUIDE.md`](docs/USER_GUIDE.md) | How to actually use it, start to finish |
|
|
889
361
|
| [`CHEATSHEET.md`](CHEATSHEET.md) | Full command reference |
|
|
362
|
+
| [`docs/ETHOS.md`](docs/ETHOS.md) | What FH believes — the forge, the cold reviewer, claims earning their words |
|
|
363
|
+
| [`docs/WHY.md`](docs/WHY.md) | Why it exists |
|
|
364
|
+
| [`docs/OUTPUT_EVIDENCE.md`](docs/OUTPUT_EVIDENCE.md) | The evidence — papers, dated runs, external convergence |
|
|
365
|
+
| [`docs/GATE_DAY.md`](docs/GATE_DAY.md) | One day inside the gates, measured, with the misses named |
|
|
366
|
+
| [`docs/MODEL_SETUP.md`](docs/MODEL_SETUP.md) | Which model to run FH on, hardware tiers, sidecars |
|
|
367
|
+
| [`docs/codex-compat.md`](docs/codex-compat.md) | Running FH on a non-Claude-Code runtime |
|
|
368
|
+
| [`knowledge/shared/GLOSSARY.md`](knowledge/shared/GLOSSARY.md) | Unfamiliar words |
|
|
369
|
+
| [`CLAUDE.md`](CLAUDE.md) | AI operating rules + sync/push protocol |
|
|
890
370
|
| [`AGENTS.md`](AGENTS.md) | Runtime agent specs |
|
|
891
371
|
| [`CATALOG.md`](CATALOG.md) | Past work search index |
|
|
892
|
-
| [`
|
|
893
|
-
| [`
|
|
372
|
+
| [`fh_three_layer_canon.md`](knowledge/shared/harness-core/fh_three_layer_canon.md) | The three-layer canon — process, engines, identities |
|
|
373
|
+
| [`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md) | Identity grades, the two version tracks, the dominance results |
|
|
894
374
|
| [`fh_integration_contract.md`](knowledge/shared/harness-core/fh_integration_contract.md) | Governance gate spec |
|
|
375
|
+
| [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) | How to contribute skills and patterns |
|
|
376
|
+
| [`tracks/_contrib/`](tracks/_contrib/README.md) | **Consent lane** — share a de-identified work session; the repo compounds across operators |
|
|
377
|
+
|
|
378
|
+
> **FH papers**: v1.0 methodology · [Zenodo](https://zenodo.org/records/20397566) (DOI
|
|
379
|
+
> 10.5281/zenodo.20397566) · cs.SE companion, published ·
|
|
380
|
+
> [Zenodo](https://zenodo.org/records/20680081) (DOI 10.5281/zenodo.20680081) · cs.AI companion in
|
|
381
|
+
> preparation. Those, the independent convergent work, and the caveats on each:
|
|
382
|
+
> [`docs/OUTPUT_EVIDENCE.md`](docs/OUTPUT_EVIDENCE.md).
|