@chrono-meta/fh-gate 2.7.0 → 2.9.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.
Files changed (47) hide show
  1. package/.claude/rules/fh_4axis_gate.md +33 -5
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/AGENTS.md +4 -0
  4. package/CLAUDE.md +169 -183
  5. package/README.ja.md +157 -53
  6. package/README.ko.md +147 -50
  7. package/README.md +136 -50
  8. package/README.zh.md +137 -46
  9. package/docs/ETHOS.md +20 -8
  10. package/docs/GATE_DAY.md +235 -0
  11. package/docs/OUTPUT_EVIDENCE.md +13 -2
  12. package/docs/codex-compat.md +10 -2
  13. package/knowledge/shared/dialogue/ai_dialogue_playbook.md +131 -0
  14. package/knowledge/shared/harness-core/agents_md_runtime_details.md +10 -3
  15. package/knowledge/shared/harness-core/claude_md_gate_details.md +90 -0
  16. package/knowledge/shared/harness-core/dispatch_conditional_prohibition.md +75 -0
  17. package/knowledge/shared/harness-core/fh_three_layer_canon.md +97 -5
  18. package/knowledge/shared/harness-core/field_verdict_crossfamily_gate.md +96 -5
  19. package/knowledge/shared/harness-core/harness_incubator_doctrine.md +6 -1
  20. package/knowledge/shared/harness-core/ship_readiness_gate.md +2 -2
  21. package/knowledge/shared/learnings/subagent_invocations_log.yaml +137 -0
  22. package/knowledge/shared/rules/multi_session_close_protocol.md +15 -4
  23. package/package.json +12 -2
  24. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  25. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  26. package/plugins/fh-meta/CHANGELOG.md +116 -0
  27. package/plugins/fh-meta/skills/cross-ecosystem-synergy-detection/SKILL.md +127 -0
  28. package/scripts/branch_claim.sh +3 -1
  29. package/scripts/chamber_candidate_collect.sh +71 -13
  30. package/scripts/listing_watch.sh +187 -0
  31. package/scripts/mapped_tracks.sh +113 -0
  32. package/scripts/package_coverage_check.sh +54 -0
  33. package/scripts/prior_art_prompt.sh +49 -2
  34. package/scripts/selfcheck.sh +44 -1
  35. package/scripts/session_close_check.sh +56 -3
  36. package/scripts/test_chamber_sig_lanes.sh +151 -0
  37. package/scripts/test_leak_scan_control_lanes.sh +163 -0
  38. package/scripts/test_listing_watch_lanes.sh +162 -0
  39. package/scripts/test_mapped_tracks_lanes.sh +162 -0
  40. package/scripts/test_peer_worktree_detect_lanes.sh +138 -0
  41. package/scripts/test_prepush_destructive_lanes.sh +366 -0
  42. package/scripts/test_prior_art_prompt_lanes.sh +48 -0
  43. package/scripts/test_regression_guard_ci_lanes.sh +124 -0
  44. package/scripts/test_wizard_snippet_merge_lanes.sh +40 -0
  45. package/templates/predelete_check.test.sh +56 -0
  46. package/templates/regression_guard.sh +75 -3
  47. package/templates/settings.PriorArt.snippet.json +41 -12
package/docs/ETHOS.md CHANGED
@@ -18,14 +18,26 @@ Everything below is **copyable**. None of it is a secret. The principles are the
18
18
  FH treats a project like steel — heat, shape, and shock, in named movements. The metaphor is literal,
19
19
  not decoration:
20
20
 
21
- | Movement | What it does | Today |
22
- |---|---|---|
23
- | **Forge** | shape the raw project into a harness — raise its floor | `install-wizard`, harness-ify |
24
- | **Quench** | harden it by attack — the cold pass leaves standing only what is sound | `steel-quench`, `phantom-quench` |
25
- | **Temper** | take the brittleness back out of the hardened asset | `steel-quench` **Wave-T** + `templates/temper_check.sh` |
26
- | → **Accelerate** | a blade that survived the forge cuts faster — pass, then run | `goal-quench` · *Pass → Accelerate* |
27
-
28
- All four movements now ship. **Temper** spent its first months named-but-unbuilt — deliberately, per
21
+ **Three at the anvil:**
22
+
23
+ | The smith's word | The stage | What it does | Today |
24
+ |---|---|---|---|
25
+ | **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 |
26
+ | **Quench** | ② parallel decorrelation | cool it fast: many attempts in parallel from decorrelated angles. It hardens quickly — **and it makes the asset brittle**, which is what quenching does to steel | `auto-decorrelation` · `agent-composer` · cross-family sidecars · isolated worktree lanes |
27
+ | **Temper** | ③ burn it on six axes | reheat and draw the brittleness back out while keeping the hardness — **where the attacking passes actually belong** | `steel-quench` · `phantom-quench` · `sim-conductor` · `fh-meta:challenger` · revert probes · `templates/temper_check.sh` |
28
+
29
+ **⟹ And then it accelerates.** A blade that survived the forge cuts faster — `goal-quench`,
30
+ *Pass → Accelerate*. Three at the anvil, and speed is what those three **produce**; it is not a
31
+ fourth thing you do at the anvil. Quality is the lever, speed is the result.
32
+
33
+ Every command named above ships today. (🟥 **Corrected 2026-08-22.** This used to read *"a vocabulary, not a
34
+ stage list, and a different layer from the three-stage process … do not count them against those."*
35
+ That was wrong: the two diagrams are the same shape — three steps and an arrow into **⟹ accelerate** —
36
+ so the smith's words **are** the three-stage process, said differently. One layer told twice, not two
37
+ layers. The four engines, the four-axis commit gate and the six verification axes remain different
38
+ counts and still do not line up here. ⚠️ The skill names keep the older reading: `steel-quench` and
39
+ `phantom-quench` say *quench* but do *temper* work; renaming shipped skills to fix a metaphor would be
40
+ the more expensive lie.) **Temper** spent its first months named-but-unbuilt — deliberately, per
29
41
  principle 5 — and shipped only after measurement runs on independent quench convergences validated that
30
42
  the check flags over-hardening without punishing simplification. Quenched steel is hard but brittle;
31
43
  no smith ships it un-tempered, and now neither does FH: after convergence, Wave-T measures the complexity
@@ -0,0 +1,235 @@
1
+ # A day inside the gates — 2026-08-22, measured
2
+
3
+ > A worked example, not a benchmark. Two kinds of number appear below and they are **not**
4
+ > interchangeable: *reproducible* ones, which any reader can re-run from the commands at the bottom, and
5
+ > *attested* ones, which come from local operating records this repo deliberately does not ship. Every
6
+ > attested figure is marked as such. Where something was **not** measured, it says so instead of showing
7
+ > a zero.
8
+ >
9
+ > This document exists to answer one question concretely: *what does "a meta-harness with quality
10
+ > gates" actually do on an ordinary working day?* The answer is not flattering, which is the point.
11
+
12
+ ## 0. This document was itself blocked, twice, by the thing it describes
13
+
14
+ Before publishing, this page was sent to a reviewer from a **different model family** with one
15
+ instruction: *does it practice what it sells?* It came back **BLOCK**, with two blockers that were both
16
+ correct:
17
+
18
+ - **A count was stale.** The section below originally said "six commits, seven PRs (six merged, one
19
+ open)." Re-running the command returns **seven commits and seven PRs, all merged.** The harvesting
20
+ pass had been correct *when it ran* — one PR merged in the interval — and the author copied the
21
+ number forward without re-running the command. In a document whose first line promises command
22
+ output, the flagship count was a recollection.
23
+ - **A "zero" was wrong in the flattering direction.** It claimed there are "zero lines of code
24
+ validating `standpoint:` values." There are: a validator exists in the pre-commit hook and is called
25
+ (control: a nonexistent function name returns zero hits). The true statement is narrower — the
26
+ hook validates the **form**, not the **truth** — and the author had collapsed the two while
27
+ translating, which made the repo look *less* mechanized than it is.
28
+
29
+ Author self-catches on both: **zero**. The second one matters more than the first: it shows the
30
+ collapse does not only run toward self-flattery — it runs toward whatever the author already believed.
31
+
32
+ ## 1. What shipped
33
+
34
+ Seven commits merged to `main` across seven PRs — all seven merged — and six 4-axis markers. By kind:
35
+ two documentation corrections, one new gate, one wiring change, one release, two fixes. *(Six markers
36
+ against seven commits is not a discrepancy: the release commit carries no marker.)*
37
+
38
+ ## 2. The gates blocked the author seven times — and the author caught none of them
39
+
40
+ The claim this section sells is **not** "we are careful." It is **the machine catches us.**
41
+
42
+ *(**Attested**: this table is read from the local completion log, not from shipped state.)*
43
+
44
+ | # | What caught it | What it caught |
45
+ |---|---|---|
46
+ | 1 | Resident-text admission gate | 11 lines added to an always-loaded rule file without stating *why* they must be resident |
47
+ | 2 | ①Soul field | The first delta had no success definition. Rather than backfill one, the marker records that it was missing |
48
+ | 3 | pre-commit confidentiality scan | The operator's real username reached a tracked file that is also an npm ship surface. From the commit body: *"without the gate this would have gone out"* |
49
+ | 4 | CHANGELOG format checker | The human-written heading and the format the checker reads had diverged. Commit body: *"the checker caught it, not my eyes"* |
50
+ | 5 | branch-claim gate | A branch was moved without refreshing its claim — at exactly the spot where the operator's own local rule says "if you moved, refresh" |
51
+ | 6 | Resident-text admission gate (2nd time, same day) | 13 lines of onboarding commentary |
52
+ | 7 | Marker residency lane | The `residency:` field appeared twice and the gate reads only the first line — so the second was not *rejected*, it was **invisible** |
53
+
54
+ An eighth defect was found the same day, and both the actor and the verb matter: **the author pushed
55
+ with a new lane left unwired, and CI was the first thing to notice.** CI did not block it — the
56
+ workflow is not a required status check — it reported it, after the push. That is simultaneously a
57
+ catch and a **violation of our own rule** — `CLAUDE.md §Local Execution First` says CI is a backstop,
58
+ never the discovery mechanism. The session recorded that against itself.
59
+
60
+ **All eight were external machinery or a different lens. Author diligence caught zero of them.**
61
+
62
+ What this eight does **not** count: there is reason to think the gates blocked us more times that day
63
+ than the record shows, but **the count is unmeasured** — no file records them. The absence check was
64
+ run with a control (the same grep does find the recorded items), so the instrument is alive and those
65
+ blocks are genuinely unrecorded. **They are not added to the eight, and no number is invented for
66
+ them.** ("Not found" is not zero.)
67
+
68
+ ## 3. Six-axis verification — what the name promises vs. what actually ran
69
+
70
+ FH records a **status for each of six axes** on a change — including the axes it skipped, and why.
71
+ Axes are separated by **what the reviewer receives**, not by how
72
+ adversarial the reviewer is — if two reviewers receive the same thing, adding a third leaves the same
73
+ blind spot.
74
+
75
+ ⓐ model family · ⓑ standpoint (executed from the target harness's own position) · ⓒ isolated grounding
76
+ · ⓓ third-party confrontation · ⓔ first real use · ⓕ revert-and-observe.
77
+
78
+ Reading the `axes-run:` line of that day's six markers verbatim (**attested** — markers are local):
79
+
80
+ ```
81
+ ⓐ family 3 / 6
82
+ ⓑ standpoint value present 6 / 6 — but only 1 reached EXECUTION
83
+ (tier2 ×1 · tier1b ×2 · not-applicable ×3)
84
+ ⓒ isolated ground 2 / 6
85
+ ⓓ third-party 0 / 6
86
+ ⓔ first real use 3 / 6
87
+ ⓕ revert 2 / 6
88
+ ```
89
+
90
+ The most any single delta burned was four axes; the least was zero.
91
+
92
+ **So "we verify every change on six axes" is false as a claim about that day's record.** Zero deltas
93
+ burned all six. What is true is narrower and is the actual product: **the six axes are a
94
+ discrimination table, and which axes a delta burned — and which it left empty — is committed as a
95
+ typed value.** The canon itself says *"you do not run all of them every time. Choose them against the
96
+ failure mode. Do not multiply — choose."*
97
+
98
+ *(The per-axis counts above are read from six markers against seven merged commits — see §1. The
99
+ release commit carries no marker, which is why the two sets differ.)*
100
+
101
+ ### "Did not" is stored as a different value from "could not" and "did not look"
102
+
103
+ This is the mechanism, not the slogan. The cross-family field is a closed enum, and three different
104
+ failures get three different values: `DEGRADED_SINGLE_FAMILY` (could not) · `DEGRADED_PANEL_UNUSED`
105
+ (chose not to) · `UNKNOWN` (did not look). Free prose collapses all three — and once collapsed, **a
106
+ probe that was never run renders as "zero findings."**
107
+
108
+ That day's six: `panel(...)` ×3 and `DEGRADED_PANEL_UNUSED` ×3. Each of the three degraded ones wrote
109
+ grounds naming what was *not* probed. One added this to itself:
110
+
111
+ > 🟥 Even so, this is an unexamined axis — in other deltas the same session the sidecar kept
112
+ > producing "defects the repair left behind" in rounds 2 and 3, and there is no reason to think this
113
+ > delta was the exception.
114
+
115
+ The standpoint field on the same marker takes the same shape: *"what was skipped here was skipped by
116
+ choice, not by inability."*
117
+
118
+ ### ⓓ is zero — and two of the entries claiming it were mislabeled
119
+
120
+ Two markers wrote `ⓓ = operator's direct proposal (third party)`. Under the canon that is not ⓓ. What
121
+ ⓓ receives is *a problem plus someone else's codebase*; operator input belongs to the ①Soul/intent
122
+ layer. The typed field (`thirdparty:`) is empty on all six, verified with a control — markers from
123
+ other dates do carry that field, so the grep is not dead. **Those two mislabels were caught by writing
124
+ this document, not by that day's machinery.**
125
+
126
+ ## 4. Governor separation — required by the canon, and not followed that day
127
+
128
+ 🟥 **The dominant fact about that day is that this separation was *not* observed.** By the session's
129
+ own record: the governor hand-edited six files, hand-dispatched subagents more than ten times and
130
+ stitched the results together by hand, and used the deterministic orchestration tool **zero times** —
131
+ in a session where at least three points needed it. One of the resulting defects is the CI-found one
132
+ above. The operator's verbatim assessment: *"I don't want a governor operated with this little
133
+ slack."* The canon already required the separation; the behavior did not follow. **The four cases
134
+ below are the exceptions, not the day's norm.**
135
+
136
+ **(a) The sidecar refused to converge, and the governor obeyed that verdict.**
137
+ Three rounds: R1 8 findings (S1 · A4 · B3) → R2 6 (S0 · A3 · B3) → R3 4 (S0 · A3 · B1). R3 returned
138
+ `not converged` **even though the finding count had dropped**, with the reason *"each repair is
139
+ creating fresh review surface — land one gate at a time."* Acting on that verdict, **only one of the
140
+ three gates built that round was landed.** The other two remain in the tree with one A-grade and one
141
+ B-grade finding open each. Convergence is judged by *whether anything changed that round*, not by
142
+ round count. *(Honest scope: those three rounds were a **single** model family. Other families saw
143
+ only the claims, never the code — that axis is unexamined, not clean.)*
144
+
145
+ **(b) A B-grade finding turned out to be A-grade while being repaired.**
146
+ Changing directory to an empty string is a no-op **SUCCESS** in bash — so a lane that was supposed to
147
+ run in an isolated tree was running **in the real repository**. The underlying "zero results means a
148
+ dead instrument" control is structurally blind to this shape: the lane *did* run. It ran against the
149
+ wrong target.
150
+
151
+ **(c) A control was always false.**
152
+ One control asked whether a string equals *itself plus a suffix*. That cannot happen. Proven by 1000
153
+ random inputs firing zero times, with a control-for-the-control in the same run showing that an
154
+ ordinary equality comparison does fire. The old control had been passing a degraded state as green,
155
+ silently.
156
+
157
+ **(d) A blind simulation overruled the governor's own judgment.**
158
+ Forge metaphors were added to the onboarding door subtitles. A blind sim (floor tier, cwd outside the
159
+ repo, reps=3 × 2 arms): routing did not break — option count and intent-routing were **3/3 identical**
160
+ between arm and control. But on *"what was confusing?"* the **arm alone named that vocabulary 3/3**.
161
+ It was reverted. The sim also reported its own defect: it asked a "first-time user" question while
162
+ showing the returning-user menu, so the returning door is **unmeasured**.
163
+
164
+ *(Word choice note: "blind sim" here means the review procedure, run by hand. It is not the
165
+ orchestration tool named in the paragraph above — that tool ran zero times.)*
166
+
167
+ ## 5. What honesty cost that day — including the parts with a person as the subject
168
+
169
+ Four items where the subject is an instrument:
170
+
171
+ - **`UNCALIBRATED` was left standing.** A checker returned PASS in an isolated tree, but the
172
+ known-positive planted for it never fired (that checker does not scan the workflow directory). So
173
+ the record says **that PASS says nothing about this delta**, and the verdict was carried by a
174
+ different checker instead.
175
+ - **A completeness claim was retracted** — "reachable executing runner" was narrowed to "runner(s)
176
+ matching the reachable-invocation **form**," with a §NAMED LIMITS block attached.
177
+ - **A 191-line evidence passage was cut to 41 lines** in a separate delta, because measurement
178
+ refuted it. The rule itself was kept; only its grounds were withdrawn.
179
+ - **`panel(...)` does not mean uniform quality.** One sidecar that day had a scratchpad as its working
180
+ directory and read **stale files**. The marker's controls field records it.
181
+
182
+ And four where the subject is **us** — recorded because a self-failure list with only instruments in
183
+ it is the softer, less useful kind of honesty:
184
+
185
+ - **A measurement with zero discriminating power was planted in three files at once.** The control had
186
+ been chosen as "does it exist," so the known-negative that mattered was never measured. Self-caught:
187
+ **zero** — a different-family review named it.
188
+ - **The same disease recurred within the hour** — asserting which process had produced a copy, without
189
+ separating two competing hypotheses. It was the exact shape that had been pointed out one turn
190
+ earlier.
191
+ - **A negation was inverted while quoting a rule** — "this is sequencing, **not** parallelism" was
192
+ written back as "it is." The rule now reads as its own opposite; the slip changes nothing mechanical
193
+ and everything semantic.
194
+ - **The dispatch ledger was written in bulk at close.** The rule says *immediately after each
195
+ dispatch*. It sat at zero for the whole session — 66 entries — and the close check caught it.
196
+
197
+ ## 6. Remaining holes, by name
198
+
199
+ - **`standpoint:` is validated for form, not for truth.** A validator in the pre-commit hook checks that
200
+ the value is in the closed enum and that its grounds are non-empty. Nothing checks whether the value
201
+ is *correct* — a delta that reads a target's files and records `tier2` (which asserts execution) will
202
+ pass. (An earlier draft of this line said "zero lines of code," which was wrong; see §0.)
203
+ - **The hook closed the form, not the truth.** It checks that a value is in the list and that grounds
204
+ are non-empty; it does not check whether the value is *true*. The direction that closes it is a
205
+ different model family reading the marker — not scoring ourselves more diligently.
206
+ - **A wrong `git switch` is still unblocked.** The gate sits at commit time; the accident happens
207
+ before it.
208
+ - **`thirdparty:` is an optional field**, so the ⓓ=0 above is not a gate violation. Not-a-violation and
209
+ measured are different things — this is unmeasured, not zero.
210
+
211
+ ## 7. One line
212
+
213
+ In one day the gates blocked the author seven times and the author self-caught zero, and an eighth
214
+ defect was found late, by CI, in violation of our own rule about CI. The record of all of that was
215
+ also produced by machinery, not by the author's memory. That is the entire claim of this document.
216
+
217
+ ---
218
+
219
+ **Sources.** Reproducible by any reader with the repo:
220
+
221
+ ```bash
222
+ # Pin the timezone explicitly — a bare date is resolved against the reader's local zone,
223
+ # and this day's boundary commits land on either side of it depending on where you are.
224
+ git log --after='2026-08-22T00:00:00+09:00' --before='2026-08-23T00:00:00+09:00' \
225
+ --oneline main # 7 commits: b750491..c67900f
226
+ gh pr list --state all --search "created:2026-08-22" # 7 PRs, all MERGED (#498–#504)
227
+ bash scripts/lane_runner_check.sh
228
+ # → PASS lane-runner: 67 suites — 67 wired · 1 exempt · 0 declared debt · self-test: 14/16 wired
229
+ ```
230
+
231
+ ⚠️ The per-axis counts, the gate-block table and the self-failure list come from `tracks/_meta/`
232
+ (4-axis markers, the completion log, the session signal file). **That directory is gitignored** — it
233
+ is local operating record, not shipped state — so a reader cannot open those files. The three commands
234
+ above are the reproducible part; the rest is attested, and this note exists so the difference is not
235
+ blurred.
@@ -37,7 +37,7 @@
37
37
  |---|---|
38
38
  | Paper (v1.0) | Zenodo DOI [`10.5281/zenodo.20397566`](https://zenodo.org/records/20397566) — arXiv in review |
39
39
  | Package | npm [`@chrono-meta/fh-gate`](https://www.npmjs.com/package/@chrono-meta/fh-gate) — multi-backend governance gate (claude · codex · auto) |
40
- | Codex-compatible beta | `docs/codex-compat.md` — methodology layer runs model-agnostic |
40
+ | Codex-compatible | `docs/codex-compat.md` — methodology layer runs model-agnostic. Marked **beta** there in the *validation-maturity* sense (external validation is still thin), **not** the *scope* sense: partial automation-layer support is the design, not an unfinished state |
41
41
 
42
42
  ## Validation signals (worked examples, not benchmarks)
43
43
 
@@ -69,6 +69,15 @@
69
69
  Measurement-integrity items applied: display-name pin (partial — Agent-tool binding, family-
70
70
  discriminated self-report), reps≥3 (not triggered — zero borderline verdicts), discriminating-probe
71
71
  (failed at instrument level — ceiling — flagged, not hidden). Single-session, pre-registered rubric.
72
+ - **A day inside the gates, self-applied** (2026-08-22): one ordinary working day audited against its own
73
+ records — [`GATE_DAY.md`](GATE_DAY.md). Six merged commits, six 4-axis markers. The gates blocked the
74
+ author **seven** times with **zero** self-catches; an eighth defect was found late by CI, which is itself
75
+ a violation of this repo's own "CI is a backstop, never the discovery mechanism" rule. Per-axis: the most
76
+ any delta burned was **4 of 6 axes**, the least **0**, and **no delta burned all six** — so "we verify
77
+ every change on six axes" is false as a claim about that day, and what is actually shipped is the typed
78
+ record of which axes ran. Includes what the day cost in honesty (a retracted completeness claim, a
79
+ 191→41-line evidence cut, an `UNCALIBRATED` left standing) and four self-failures with a person as the
80
+ subject. Attested from gitignored operating records; three of the commands are reproducible by any reader.
72
81
  - **Guard-axis before/after, measured** (2026-06-24): the same task was given to a bare agent and an
73
82
  FH-gated agent (same FH gate rule injected as context), reps=5 each, across two irreversible surfaces.
74
83
  On log cleanup (Destructive-Op Gate) the bare arm deletes on first run — 0/5 safe-default — while the
@@ -102,7 +111,9 @@ rather than only synthetic ones.
102
111
 
103
112
  ## What this evidence does *not* establish
104
113
 
105
- - No claim of scaled external adoption or longitudinal results — the project is 12 days old.
114
+ - No claim of scaled external adoption or longitudinal results — the project's age is the §Pace row above,
115
+ not a number pinned here. (This line read "12 days old" long after that had stopped being true; a
116
+ duplicated constant goes stale independently of the table it duplicates.)
106
117
  - Experimental results are worked examples, **not** benchmarks; reproduce before relying on them.
107
118
  - The cold-pass gain is the base model's own ability surfaced by isolation, **not** an accuracy engine FH adds.
108
119
 
@@ -1,6 +1,7 @@
1
1
  # Codex Compatibility — Known Limitations & Validated Patterns
2
2
 
3
- > Status: **beta**. This document is a beta-removal condition (see
3
+ > Status: **beta** — in the *validation-maturity* sense (ⓑ below), not the *scope* sense (ⓐ). This
4
+ > document is a beta-removal condition (see
4
5
  > `knowledge/shared/harness-core/agents_md_runtime_details.md §Beta-removal`). It lists what works,
5
6
  > what breaks, and what to expect when applying forge-harness (FH) methodology through OpenAI Codex
6
7
  > (`codex exec`) instead of Claude Code.
@@ -130,11 +131,18 @@ The sibling pattern for Gemini is `gemini -p "$(cat <skill+artifact>)"`. Outside
130
131
 
131
132
  ## Beta removal — remaining (external-blocked)
132
133
 
134
+ 🟥 **"Beta" can mean two different things here, and only one of them is a condition to be completed.**
135
+
136
+ | Sense | What it says | Is it a removal condition? |
137
+ |---|---|---|
138
+ | ⓐ **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. |
139
+ | ⓑ **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.** |
140
+
133
141
  | Condition | Status |
134
142
  |---|---|
135
143
  | Known limitation list published (this doc) | ✅ done (2026-06-04) |
136
144
  | 5+ externally validated M1 skill runs (not FH author) | ⬜ pending — needs external Codex users |
137
145
  | At least 1 external Codex user confirms methodology reproduces | ⬜ pending — needs external Codex users |
138
- | README badge updated (`Codex-compatible` without `beta`) | ⬜ blocked on the two above |
146
+ | ~~README badge updated (`Codex-compatible` without `beta`)~~ | 🚫 **RETRACTED 2026-08-23 — no longer a condition.** The `Codex-beta · help validate` badge was removed from all four README variants that day (operator decision), so this condition named an artifact that no longer exists — a completion condition pointing at nothing. Beta status is now carried by this document's own `Status:` header, which every README links to from its Codex section. Struck through rather than deleted: a silently dropped condition is indistinguishable from one that was quietly met. |
139
147
 
140
148
  To report a validated run, open an issue at `chrono-meta/forge-harness` with label `codex-validation`.
@@ -91,6 +91,109 @@ API 키 대화창 기록 방지 — Write 툴로 `.env` 직접 생성 (대화창
91
91
 
92
92
  **Forbidden response**: "I can't do that — I'm not in that project's cwd." Always check if Agent dispatch covers it first.
93
93
 
94
+ 🟥 **A live peer session is a different thing from a subagent — and the default reading is wrong.**
95
+ Operator, 2026-08-21, correcting exactly that: *"이작업을 분할하라는게 아니라 논의를 해보라는
96
+ 뜻이었어 작업은 니가하고"* → *"주위피어에는 **두뇌를빌려서 네 수행에 대한 판단**을 도움받아보라는
97
+ 거였으니"*.
98
+
99
+ | | you dispatch it | you ask a peer |
100
+ |---|---|---|
101
+ | what moves | **the work** | **the judgment** |
102
+ | what comes back | a completed unit | a verdict on *your* execution |
103
+ | the peer's own work | — | keeps running; you did not take it |
104
+
105
+ The reflex is to read "talk to the peers" as "split the task across the peers", because a peer
106
+ looks like a bigger subagent. It is not. The operator's own framing, same day:
107
+
108
+ > *"예열되어 다른갈래로 뻗어있는 자신의 다른 면모들은 하나의 **별개하네스(동일맥락을 공유하는)**
109
+ > 로도 동작도가능하므로 인사이트를 얻을수있다"*
110
+
111
+ A peer is **pre-warmed on its own branch of the same context** — a separate harness that shares
112
+ your origin but not your recent path. The operator's sharper form, same day:
113
+
114
+ > *"동일 하네스에서 분화한 세션이라도 **그 세션으로 뜨거워진 지점에서는 다른 양상과 관점을
115
+ > 지니게 된다. 그 세션만큼은 두 얼굴이 생기는거다.**"*
116
+ >
117
+ > *"**자신에 대해서는 뜨겁게, 남에 대해서는 그만큼 차갑게** (동일 하네스라도)"*
118
+
119
+ The divergence is not in how context is *delivered* — the peer genuinely **holds a different
120
+ aspect** at the point it got hot. The second line names the mechanism, and it is the half that
121
+ is easy to miss: the same heat that makes a session sharp on **its own** thread makes it
122
+ correspondingly **cold on yours**. Both halves are load-bearing and they buy different things:
123
+
124
+ | | what it buys |
125
+ |---|---|
126
+ | **hot on its axis** | it sees what you structurally cannot — it did that work |
127
+ | **cold on yours** | it does not carry your optimism, your sunk cost, or your reading of your own claim |
128
+
129
+ The second is why "read it again, more carefully" never substitutes: **you cannot make yourself
130
+ cold about your own output.** Dividing the work destroys both properties at once — a peer given
131
+ part of your task becomes hot on it, and is then judging its own output.
132
+
133
+ 🟥 **Two operating consequences, which follow from the mechanism rather than from etiquette:**
134
+ - **Ask the peer about the axis it got hot on.** Off that axis a peer wears *your* face — asking
135
+ buys nothing and costs a round trip.
136
+ - **A subagent or your own re-read cannot substitute.** The second face comes from that session
137
+ having actually done the work; a prompt cannot manufacture heat, and nothing manufactures
138
+ coldness toward your own output.
139
+
140
+ **Measured, and it is not one good day.** Scanned this hub's own records for peer-attributed
141
+ catches: **119 mentions across 35 files spanning 13 distinct dates (2026-08-08 → 08-21)**;
142
+ cross-family sidecar catches count separately at **113** — comparable in size, a *different*
143
+ axis. Eight sampled hits were hand-verified as genuine peer attribution, and at least two run
144
+ the **other way** (a peer's misdiagnosis reversed by measurement here) — so the shape is mutual
145
+ contention, not one-way review.
146
+ ⚠️ Named residuals: these are *mentions*, not deduplicated incidents (one event can be described
147
+ in several files); attribution is self-reported in this hub's own records; the window is the
148
+ ~2-week parallel-session era only.
149
+
150
+ 🟥 **Whether this is a verification axis in its own right is an OPEN OPERATOR DECISION, not
151
+ settled here.** The operator also said *"이것도 6축검증법에 속한다"*, which places peer discussion
152
+ inside the canonical six axes — but which axis, or whether it is a seventh, is unresolved: it is
153
+ closest to ⓒ isolated-grounding (someone re-verifies *your record*), yet a peer is precisely
154
+ **not** isolated. Do not cite this paragraph as if the axis question were closed.
155
+ See `tracks/_meta/fh_signal_2026-08-21_peer-axis-canon-claim.md`.
156
+
157
+ **So the ask to a peer is a question, not a work item.** The operator's own modelling of the
158
+ boundary, same day, on a branch belonging to another session: *"그 브랜치는 08d6fe75 갈래
159
+ 것이고 **여기서 손댈 게 아니다. 판단만 낸다.**"* — when the artifact belongs to another
160
+ session, produce a verdict, never an edit. This is about **scope of authority** and is separate
161
+ from the shared-checkout rules (which are about not clobbering); both apply at once.
162
+
163
+ ### The effect that needs 2+ concurrent — and why it is not a preference
164
+
165
+ Operator, 2026-08-21, arriving at it against their own habit:
166
+
167
+ > *"내가 두개이상을 동시에 잘 쓰려고는 안하는데 아이러니하게도 **두개이상을 동시에 써야 얻을수
168
+ > 있는 효과**도있어보이네"* → *"**2명~3명이 하네스를 굴려서 경합시키는 모양새**가 나오니까"*
169
+
170
+ The shape is not "parallel work". It is **contention** — two or three sessions *driving the same
171
+ harness* and colliding. What that produces cannot be reached serially, because both halves of the
172
+ hot/cold table must exist **at the same time**: one session hot on a thread while another is cold
173
+ on it. Run them in sequence and you get one face twice.
174
+
175
+ Same day, in both directions: the wiring-hot session found a defect in this session's delta; this
176
+ session found a drift defect inside *that* session's delta — and the check that caught it fires on
177
+ *"did main change today"*, not *"did I change it"*, which is a contention-shaped trigger by
178
+ construction. Neither finding was self-caught by its author.
179
+
180
+ ⚠️ **An observed effect, not a promotion to default.** Concurrency costs coordination, and it is
181
+ where the same day's two shared-checkout accidents came from. The claim is narrow: *some* effects
182
+ are unobtainable without it.
183
+
184
+ **So how to hold it** (operator, 2026-08-21): *"디폴트 승격은 안 해도 되. 다만 병렬세션 띄워서
185
+ 운영자가 작업할 때 얻게 되는 **반사이익**이라고 보면 되지. 아니면 **네가 권유해도 괜찮음**.
186
+ 「병렬세션으로 나눠서 작업해도 좋을 것 같습니다」 이런 식으로"*.
187
+
188
+ Two things follow, and the second is a permission most sessions will not assume they have:
189
+ - **It is a by-product, not a reason.** The operator opens parallel sessions for their own reasons;
190
+ contention is what they *also* get. Do not argue for concurrency on the strength of this effect
191
+ alone.
192
+ - 🟥 **You may propose it.** When work has separable threads and a second face would help — a
193
+ decision you would otherwise ratify alone, a claim only its author has read — say so plainly:
194
+ *"병렬세션으로 나눠서 작업해도 좋을 것 같습니다."* Proposing is invited; deciding is not yours,
195
+ and the standing preference remains delegation-in-conversation over standing parallelism.
196
+
94
197
  **Context Card** (required for non-trivial dispatch):
95
198
  ```
96
199
  [Session Context Card]
@@ -120,6 +223,34 @@ Note: {constraints the agent must know}
120
223
 
121
224
  ---
122
225
 
226
+ ## Approval Must Be Evaluable — never hand over a blind stamp
227
+
228
+ Operator, 2026-08-21: *"내가 판단해야하는건 내가 알아볼수있게 쉽게 브리핑해줘 **승인하더라도
229
+ 블라인드 도장은 찍고싶지않아**."*
230
+
231
+ An approval request is not done when it is *complete*; it is done when the approver can **reach
232
+ the verdict themselves**. A dump of everything measured technically discloses more and decides
233
+ less — the approver ends up ratifying your conclusion rather than forming one.
234
+
235
+ **What a decision-ready item carries:**
236
+ ```
237
+ the decision stated as a choice, not as a status report
238
+ what it costs what becomes irreversible, what stays open
239
+ the evidence the number AND how it was measured (an uncalibrated number is not evidence)
240
+ your recommendation named as yours, so it can be rejected without re-deriving everything
241
+ what you did NOT check the residual, by name — this is the half that makes the rest trustworthy
242
+ ```
243
+
244
+ 🟥 **The failure mode is not withholding — it is volume.** Burying the one load-bearing fact in a
245
+ complete record is the same defect as omitting it: either way the approver cannot separate what
246
+ matters. If it takes the approver a re-derivation to decide, the briefing has handed them a blind
247
+ stamp with extra steps.
248
+
249
+ **Applies to every approval surface**, not only long briefs: a one-line "merge this?" still owes
250
+ the choice, the cost, and the residual.
251
+
252
+ ---
253
+
123
254
  ## Counter-Argument Protocol
124
255
 
125
256
  When the user pushes back on an AI recommendation ("is that right?", "something seems off"):
@@ -16,8 +16,10 @@ FH agents ship under `plugins/*/agents/` through the plugin channel. `.claude/ag
16
16
  field-project local/override slot, not FH's shipping location. Skills straddle both layers: their
17
17
  methodology is portable, while their automatic invocation is Claude-native.
18
18
 
19
- The methodology layer is Codex-compatible beta. Gemini, Codex, and other runtimes can apply it by
20
- replacing hooks and native dispatch with manual invocation.
19
+ The methodology layer is Codex-compatible, marked **beta** in the *validation-maturity* sense
20
+ (external validation is still thin — see §Beta-removal), not in the *scope* sense: partial
21
+ automation-layer support is the design, not an unfinished state. Gemini, Codex, and other runtimes
22
+ can apply it by replacing hooks and native dispatch with manual invocation.
21
23
 
22
24
  Directory names do not determine publication residency:
23
25
 
@@ -201,12 +203,17 @@ gate (`fh-gate`). `fh-goal` is for non-interactive one-shot runs followed automa
201
203
 
202
204
  ## §Beta-removal
203
205
 
206
+ 🟥 **"Beta" here means ⓑ validation maturity (external evidence is thin), never ⓐ scope.** Partial
207
+ automation-layer support under Codex is the design, not an unfinished state, so it is not something
208
+ these conditions complete. Canonical statement of the split: `docs/codex-compat.md §Beta removal`.
209
+ Every condition below is a ⓑ condition.
210
+
204
211
  | Condition | Status |
205
212
  |---|---|
206
213
  | Known-limitations document published at `docs/codex-compat.md` | Done |
207
214
  | At least 5 externally validated M1 skill runs from non-authors | Pending |
208
215
  | At least 1 external Codex user confirms methodology reproduction | Pending |
209
- | README badge removes `beta` | Blocked on the external conditions |
216
+ | ~~README badge removes `beta`~~ | **RETRACTED 2026-08-23 — no longer a condition.** The `Codex-beta · help validate` badge was removed from all four READMEs that day (operator decision); the condition named an artifact that no longer exists. Beta status now lives in the `Status:` header of `docs/codex-compat.md`, which the READMEs link to. Struck through, not deleted — a dropped condition and a met one must not look alike. |
210
217
 
211
218
  Internal author validation does not satisfy the external conditions. The author validated
212
219
  `phantom-quench` against a phantom-seeded fixture and `asset-placement-gate` against a duplicate-skill
@@ -370,3 +370,93 @@ sessions (no FH asset modification) never see this notice — the Sonnet default
370
370
  > `knowledge/shared/harness-core/capability_escalation_consent.md` — the negotiated-consent protocol
371
371
  > (UAP `sidecar_consent`/`floorup_consent`) that decides ask-once vs. no-surprise floor-up/sidecar use.
372
372
  > This notice is the passive advisory; that doc is the active escalation gate.
373
+
374
+ ---
375
+
376
+ ## §Version-Digit-Policy — 어느 자릿수를 올리나 (CLAUDE.md §Session-Close ④-b 상세)
377
+
378
+ > **왜 여기 있나**: 이 판단은 **버전을 올릴 때만** 필요하다 — 매 세션 마감이 아니다.
379
+ > CLAUDE.md 는 규칙(3값 + 판별자 + `BREAKING (gate):` 의무)만 상주로 갖고, 아래 근거·판례를
380
+ > 여기서 읽는다. salience-split 2026-08-21.
381
+
382
+ 🟥 **WHICH DIGIT — operator decision 2026-08-17, and it is deliberately NOT strict semver.**
383
+ There was no policy before this line, which is why one session proposed three different bumps
384
+ for the same delta on three different (and each individually defensible) grounds. Decide by
385
+ **what the number tells a reader**, not by whether anything technically broke:
386
+
387
+ | Bump | Reserved for (operator's own wording, 2026-08-17) |
388
+ |---|---|
389
+ | **major** `+1.0.0` | **any one of three**: ⓐ **완전히 새로 지음** — rebuilt from scratch, not extended · ⓑ **정체성이 확립됨** — 🟥 **다섯이 «전부» 🟢** 인 순간이지 하나가 🟢 로 올라선 순간이 아니다(운영자 결정 2026-08-21). 초판은 *"an identity of the five … actually standing 🟢"* 였고 **「하나만 초록이어도 major」로 읽혔다** — 실제로 그날 ②가 🟢 로 판정되면서 3.0.0 후보로 올라왔고, 그 애매함이 그때 닫혔다. 🟥 그리고 **정체성 등급은 npm 이 나르는 신호가 아니다** — 그건 `identity-v*` 계보의 사건이고, npm 이 또 나르면 같은 날 고친 「두 계보 한 이름」 결함을 번호에서 재생산한다. ⇒ major-ⓑ 는 **`identity-v1.0.0` 과 같은 사건**을 가리킨다 · ⓒ **기능이 혁신적으로 변경되거나 늘어남** — a capability *class* appears or is replaced, not a capability instance. 🟥 **Never** for tightening a gate that already existed |
390
+ | **minor** `+0.1.0` | 미들급 — new assets, new gate lanes, doctrine that changes behavior; **including changes that break a consumer's gate acceptance**, which then carry a mandatory `BREAKING (gate):` line |
391
+ | **patch** `+0.0.1` | 트리비아급 — fixes, wiring, docs that change no behavior |
392
+
393
+ **The discriminator between major-ⓒ and minor**: *class* vs *instance*. A sixth Wave-1 attack
394
+ angle is an instance → minor. An attack-angle **registry** where none existed is a class → major.
395
+ Today's delta is instances and tightenings throughout, which is why it is 2.1.0 and not 3.0.0
396
+ even though it breaks a gate acceptance.
397
+
398
+ **Why gate-tightenings are minor here, stated so it is not mistaken for hiding a break**: what
399
+ breaks is the **record format of a gitignored local marker**, not an API or the consumer's code;
400
+ the hook prints exactly what to write instead; and the blast radius needs the consumer to have
401
+ installed the hook AND be making a load-bearing change AND have used the specific old form.
402
+ Against that, strict semver would burn a major on every gate we tighten — this repo took 2.0.0
403
+ for a publish-freshness gate one day and would have taken 3.0.0 for a commit gate the next.
404
+ **A major number that arrives monthly stops meaning anything**, and the milestone it should be
405
+ reserved for would have no word left.
406
+
407
+ ⚠️ **The condition that makes this honest, and it is not optional**: a minor that breaks gate
408
+ acceptance MUST carry `BREAKING (gate): <what now blocks> — <the one-line remedy>` in the
409
+ release description AND the CHANGELOG. Without it this policy is just burying breaks in minors.
410
+ **Applies from 2026-08-17 forward, not retroactively** (2.0.0 was the same class and is left
411
+ as-is rather than rewritten).
412
+
413
+ ---
414
+
415
+ ## §Branch-Protection-Two-Layers — 서버측 보호의 2층 구조와 세 번의 오판
416
+
417
+ > CLAUDE.md 는 결론만 상주로 갖는다: **통합 브랜치는 PR 전용 · 하드 플로어는 서버측 ·
418
+ > 브랜치 표면을 판정하려면 두 API 를 **모두** 읽어라.** 아래는 그 근거와, 한쪽만 읽어서
419
+ > 세 번 오판한 기록이다. salience-split 2026-08-21.
420
+
421
+ > **Two layers, and which one is the floor**: the **hard floor is server-side** — this repo now runs
422
+ > `enforce_admins: true` with `required_approving_review_count: 0` (set 2026-07-20; the count must be
423
+ > `0`, because enabling `enforce_admins` while it is `1` locks a solo operator out of merging their
424
+ > own PRs — self-approval is impossible). The hook is the **shift-left layer**: it fails at push time
425
+ > and prints the actual remedy, and it keeps holding if the server setting is ever relaxed. It is
426
+ > deliberately not the floor — a client-side hook is bypassable with `--no-verify`.
427
+ > *Origin*: before that change the server had `enforce_admins: false`, so an admin push *satisfied*
428
+ > the rule and merely printed `Bypassed rule violations` — a notice, not a block. A rule that
429
+ > announces its own bypass is not a floor.
430
+ > ✅ **Retraction — the server-side force-push surface is CLOSED, and the way it was misread is the
431
+ > durable part.** An earlier version of this block said `allow_force_pushes` on `main` was "still
432
+ > `true`", that two API writes "did not persist", and that the **server-side** history-rewrite
433
+ > surface therefore "remains open". The field reading was correct; the conclusion was not.
434
+ > **Branch protection is two independent layers — legacy protection and rulesets coexist, and the
435
+ > strictest wins** — so a field on the protection object is never the effective answer by itself.
436
+ > Measured on this repo 2026-08-09: `GET /repos/{owner}/{repo}/rules/branches/main` returns
437
+ > `non_fast_forward` from ruleset `main-no-force-push` — `enforcement: active`,
438
+ > `current_user_can_bypass: never`, `bypass_actors: []`, live since 2026-07-25 — while the legacy
439
+ > object still reports `allow_force_pushes: true`. The two API writes that "did not persist" were
440
+ > writing to the layer that does not govern *this* outcome while the stricter ruleset is active — not
441
+ > a layer that is inert in general: disable or retarget the ruleset and the legacy toggle governs
442
+ > again. **Read BOTH layers before declaring any branch surface open or closed** — `/rules/branches/
443
+ > {branch}` shows only what the *rulesets* impose, and `/branches/{branch}/protection` only what
444
+ > *legacy protection* imposes; neither is the effective view alone. A protection-object field read by
445
+ > itself misjudged this three times ([[reference_github_protection_two_layers]]).
446
+ > **Scope of the retraction, stated narrowly on purpose**: it covers *force-push / non-fast-forward*,
447
+ > which is what `non_fast_forward` blocks. Branch **deletion** is a separate rule and is closed on the
448
+ > other layer (`allow_deletions: false`, same GET). PR-routing is likewise a different field —
449
+ > `required_pull_request_reviews` present with `enforce_admins: true` — not something
450
+ > `required_status_checks` says anything about.
451
+ > ⚠️ A *different* residual on `main` is still real and must not be folded into the one just
452
+ > retracted — but the residual's own description was itself stale and needed correction on
453
+ > 2026-08-12 (live re-check, `[[reference_github_protection_two_layers]]`): legacy
454
+ > `required_status_checks.contexts` is **`["validate"]`**, not `[]` — a green `validate` check IS
455
+ > required before a PR can merge, and `GET /rules/branches/main` carries no competing
456
+ > `required_status_checks` rule, so the legacy field is the effective one here. `validate`
457
+ > (`.github/workflows/validate.yml`) is a **separate job from Axis 1** (`regression-guard.yml`) —
458
+ > Axis 1 is still not required, see the 4-axis section below. The gap on `validate` is
459
+ > `strict: false`: that check re-runs on every push to the PR branch, but nothing re-forces it
460
+ > against a **moving** main after it last ran — so a check that passed can still land behind
461
+ > concurrent merges it never saw.
462
+