@chrono-meta/fh-gate 3.44.0 → 3.46.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 (101) hide show
  1. package/.claude/rules/fh_4axis_gate.md +50 -608
  2. package/.claude-plugin/marketplace.json +4 -4
  3. package/CATALOG.md +21 -0
  4. package/CHEATSHEET.md +13 -3
  5. package/docs/codex-compat.md +1 -1
  6. package/knowledge/shared/harness-core/fh_4axis_gate_detail.md +679 -0
  7. package/knowledge/shared/harness-core/fh_detail_protocols.md +1 -0
  8. package/knowledge/shared/harness-core/fh_integration_contract.md +1 -1
  9. package/knowledge/shared/harness-core/fh_module_contract.md +106 -3
  10. package/knowledge/shared/harness-core/heavy_skill_to_cartridge.md +185 -0
  11. package/knowledge/shared/learnings/subagent_invocations_log.yaml +209 -0
  12. package/package.json +19 -1
  13. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  14. package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +9 -8
  15. package/plugins/fh-commons/skills/ko-tech-writer/SKILL_detail.md +20 -0
  16. package/plugins/fh-commons/skills/mcp-circuit-breaker/SKILL.md +12 -6
  17. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  18. package/plugins/fh-meta/CHANGELOG.md +122 -0
  19. package/plugins/fh-meta/skills/auto-decorrelation/SKILL.md +13 -0
  20. package/plugins/fh-meta/skills/context-doctor/SKILL.md +1 -0
  21. package/plugins/fh-meta/skills/deep-clarify/SKILL.md +76 -22
  22. package/plugins/fh-meta/skills/harvest-loop/SKILL.md +2 -2
  23. package/plugins/fh-meta/skills/install-wizard/SKILL_detail.md +4 -0
  24. package/plugins/fh-meta/skills/memory-hygiene/SKILL.md +6 -0
  25. package/plugins/fh-meta/skills/steel-quench/SKILL_detail.md +2 -1
  26. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  27. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  28. package/scripts/agy_launch_guard.sh +117 -1
  29. package/scripts/below_floor_scan.sh +30 -0
  30. package/scripts/codex_launch_guard.sh +38 -2
  31. package/scripts/correction_moments.py +23 -2
  32. package/scripts/fh-gate.sh +612 -14
  33. package/scripts/fh-goal.sh +56 -12
  34. package/scripts/fh-run.sh +1 -1
  35. package/scripts/fh_gate_exec.sh +272 -0
  36. package/scripts/fh_session_load.sh +17 -0
  37. package/scripts/finding_fleet.sh +2 -1
  38. package/scripts/finding_verifier.sh +2 -1
  39. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/README.md +16 -0
  40. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/check_refs.py +12 -0
  41. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/test_check_refs.py +24 -0
  42. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/SKILL.md +16 -0
  43. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/fh-module.yaml +20 -0
  44. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/SKILL.md +25 -0
  45. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/hooks/hooks.json +7 -0
  46. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/check_links.py +25 -0
  47. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish.sh +9 -0
  48. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish_guard.py +6 -0
  49. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/setup.sh +5 -0
  50. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/SKILL.md +25 -0
  51. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/hooks/hooks.json +10 -0
  52. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/check_refs.py +12 -0
  53. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/guard_push.py +9 -0
  54. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/install.sh +6 -0
  55. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/ship.sh +9 -0
  56. package/scripts/heavy_skill_smell.py +311 -0
  57. package/scripts/job_heartbeat.py +186 -0
  58. package/scripts/live_eval_matrix.py +128 -0
  59. package/scripts/live_eval_trace.py +197 -4
  60. package/scripts/package_coverage_check.sh +18 -0
  61. package/scripts/pr_merge_verified.sh +14 -4
  62. package/scripts/prepush_guard_check.sh +8 -0
  63. package/scripts/probe_live_eval.sh +32 -0
  64. package/scripts/probe_live_eval_lib.py +8 -2
  65. package/scripts/selfcheck.sh +113 -0
  66. package/scripts/selfcheck_shard_weights.txt +2 -0
  67. package/scripts/sidecar_calibrate.sh +7 -5
  68. package/scripts/sim_isolated_run.sh +20 -0
  69. package/scripts/test_agy_launch_guard_lanes.sh +120 -0
  70. package/scripts/test_below_floor_scan_lanes.sh +85 -0
  71. package/scripts/test_codex_launch_guard_lanes.sh +45 -0
  72. package/scripts/test_correction_moments_lanes.sh +37 -0
  73. package/scripts/test_deep_clarify_interview_lanes.sh +108 -0
  74. package/scripts/test_deep_clarify_spec_path_lanes.sh +91 -0
  75. package/scripts/test_fh_gate_absorb_lanes.sh +255 -0
  76. package/scripts/test_fh_gate_defaults_lanes.sh +188 -0
  77. package/scripts/test_fh_gate_exec_lanes.sh +244 -0
  78. package/scripts/test_fh_gate_fusion_lanes.sh +202 -0
  79. package/scripts/test_fh_gate_regressions.sh +92 -1
  80. package/scripts/test_fh_goal_change_detection_lanes.sh +103 -3
  81. package/scripts/test_finding_pipeline_lanes.sh +35 -1
  82. package/scripts/test_guard_anchor_override_env_lanes.sh +84 -0
  83. package/scripts/test_heavy_skill_smell_lanes.sh +160 -0
  84. package/scripts/test_job_heartbeat_lanes.sh +96 -0
  85. package/scripts/test_live_eval_construct_lanes.sh +29 -6
  86. package/scripts/test_live_eval_matrix_lanes.sh +53 -0
  87. package/scripts/test_live_eval_trace_lanes.sh +132 -5
  88. package/scripts/test_name_boundary_locale_lanes.sh +36 -5
  89. package/scripts/test_pr_merge_verified_lanes.sh +15 -2
  90. package/scripts/test_prepush_marker_lookup_lanes.sh +143 -0
  91. package/scripts/test_probe_live_eval_lanes.sh +44 -0
  92. package/scripts/test_regression_guard_sibling_lanes.sh +52 -1
  93. package/scripts/test_sidecar_calibrate_lanes.sh +1 -1
  94. package/scripts/test_sim_isolated_run_lanes.sh +43 -0
  95. package/scripts/universal_guard_check.sh +8 -0
  96. package/scripts/worktree_reclaim.sh +1 -1
  97. package/templates/.claude/rules/mcp_tool_gating.md +27 -0
  98. package/templates/.git-hooks/pre-push +60 -3
  99. package/templates/PRE-PUBLISH-CHECKLIST.md +22 -0
  100. package/templates/regression_guard.sh +8 -4
  101. package/templates/settings.LaneGap.snippet.json +27 -0
@@ -8,606 +8,83 @@ paths:
8
8
  - ".claude/agents/**/*.md"
9
9
  ---
10
10
 
11
- <!-- ⚠️ CLAUDE.md 를 glob 에서 **의도적으로 제외**했다 (2026-07-20, cross-family 지적).
12
- 루트 CLAUDE.md 는 세션 시작에 무조건 읽히므로, glob 에 넣으면 이 규칙이 매 세션
13
- 즉시 로드된다 = 절감 0 이고 총량은 오히려 늘어난다(67.6k + 12.5k > 76.7k).
14
- 즉 "상주 파일을 조건부 규칙의 트리거로 넣는 것"은 pointer-illusion 의 부활 경로다.
15
- CLAUDE.md 편집은 pre-commit 훅이 계속 커버한다. docs/** · plugins/**/*.md(전체) ·
16
- scripts/** 도 과매칭(읽기만 해도 로드)이라 좁혔다. -->
17
-
18
- <!--
19
- FH 4-Axis Auto-Gate — 경로 스코핑된 규칙 (2026-07-20 이전)
20
-
21
- 왜 여기 있나: CLAUDE.md **파일** 76,706자 중 이 섹션이 10,331자(13.5%)로 단일 최대였다.
22
- 요약으로 대체했다. 파일 전체는 같은 세션의 다른 정리(중복 3건·New-Skill 게이트 편입)까지 합쳐
23
- 76,706 → 67,611 (순감 9,095자, 11.9%) — **합산치이지 이 절 하나의 성과가 아니다**.
24
- 전부 **파일 char 실측**이지 `/context` 상주
25
- 실측이 아니다(상주는 톱레벨 새 세션 `/context` 로만 잰다 — 이번엔 미측정).
26
- 이 게이트는 **FH 자산 파일을 건드릴 때만** 필요하므로 `paths:` 로 조건부 로드한다.
27
- (`paths:` 없는 rules 파일은 세션 시작 시 항상 로드된다 — 반드시 유지할 것.)
28
- ⚠️ 공식 트리거는 **read** 다("Path-scoped rules trigger when Claude reads files matching
29
- the pattern" — code.claude.com/docs/en/memory.md). 즉 매칭 파일을 안 읽고 Write 로 신규
30
- 생성하는 경로엔 이 규칙이 안 실린다. 그 구멍의 floor 는 pre-commit 훅이다.
31
-
32
- 왜 이 섹션이 이동 후보 1순위였나 — 2축 판정:
33
- ① 트리거가 **파일**이다 (FH 자산 수정). 의도·발화 트리거가 아니다.
34
- ② **기계 백스톱이 있다** — `templates/.git-hooks/pre-commit` 이 커밋을 하드 차단한다.
35
- 즉 이 산문이 안 떠도 훅이 막는다. 산문은 훅 위의 살리언스 층이다.
36
-
37
- ⚠️ 같은 이유로 **옮기면 안 되는 것들**: Pre-Publish Gate · Destructive-Op Gate ·
38
- Irreversibility 공통 척추. 그것들은 **파일이 아니라 의도로 발동한다**
39
- (`gh repo create --public` 은 파일을 건드리지 않는다). 경로 스코핑하면
40
- 정확히 그 경로에서 안 뜬다 = fail-open.
41
-
42
- 과거 실패 참조: FH 가 detail 포인터 뒤로 ~50k 를 옮겼으나 대상이 여전히 auto-load 라
43
- 절감이 0 이었다(pointer-illusion). `paths:` 는 플랫폼 레벨 강제라 그 함정이 없다.
44
- -->
11
+ <!-- Thin resident layer (2026-11-19). Path-scoped rules attach when a matching file is READ, so this
12
+ file rides along whenever a session reads any knowledge/ doc — onboarding included. It keeps every
13
+ requirement the hook enforces; history, measurements and reasons live in
14
+ knowledge/shared/harness-core/fh_4axis_gate_detail.md under the same headings.
15
+ CLAUDE.md stays out of the glob on purpose: it loads every session, so listing it here would make
16
+ this rule permanent. Intent-fired gates (Pre-Publish · Destructive-Op · the Irreversibility common
17
+ spine) must NOT move into a path-scoped file — they fire on intent, not on files. -->
18
+
19
+ **Every split that relocates content** (salience-splitter, a thin/detail pair like this one) **must
20
+ re-ask whether the destination path is inside the gate** — coverage otherwise shrinks as the diet
21
+ succeeds (`scripts/gate_pathspec_check.sh` anchors the asset list; it does not check your destination).
45
22
 
46
23
  ## FH Improvement 4-Axis Auto-Gate (Self-Verification Orchestrator)
47
24
 
48
- **Whenever the AI modifies FH assets** (SKILL.md · **`SKILL_detail.md`** · `.claude/rules/*.md` · `knowledge/shared/rules/*.md` (relocated protocol rules — always full-gate, NOT under the knowledge carve-out) · `templates/` · `CLAUDE.md` · substantive `knowledge/` docs · substantive `docs/*.md` · `AGENTS.md` · `scripts/**/*.sh` · `scripts/**/*.py` (🟥 `.py` since 2026-09-07 — shipped python under scripts/ was unclassified; 7 shipped files sat outside the gate, `fh_signal_2026-09-07_gate-python-blindspot.md`) · agent definitions (`plugins/*/agents/**/*.md` · `.claude/agents/**/*.md`) — see Substantive carve-out below),
49
- the 4-axis verification chain runs **automatically before the first commit** of that session.
50
- No user request is needed — this is a mandatory autonomous step, not a proposal.
25
+ **Whenever the AI modifies FH assets** (SKILL.md · **`SKILL_detail.md`** · `.claude/rules/*.md` · `knowledge/shared/rules/*.md` (always full-gate, NOT under the knowledge carve-out) · `templates/` · `CLAUDE.md` · substantive `knowledge/` docs · substantive `docs/*.md` · `AGENTS.md` · `scripts/**/*.sh` · `scripts/**/*.py` · agent definitions (`plugins/*/agents/**/*.md` · `.claude/agents/**/*.md`) — see Substantive carve-out below), the 4-axis verification chain runs **automatically before the first commit** of that session. No user request is needed — this is a mandatory autonomous step, not a proposal.
51
26
 
52
- > **`SKILL_detail.md` added 2026-07-26.** It was absent from this list *and* from both gate
53
- > implementations because the matching term was the literal `SKILL\.md`, which the string
54
- > `SKILL_detail.md` does not contain (the underscore breaks it). Measured at the time: 17 files /
55
- > 208,710 B = **27.7% of the skill-spec surface**, 16 of 17 carrying fenced code blocks — i.e. real
56
- > executable content, precisely what the Substantive carve-out below says must be gated *wherever it
57
- > lives*. It leaked twice for real (`371c04f`, `e661931` — both single-file edits to
58
- > `phantom-quench/SKILL_detail.md`, a gate skill's own behavioral spec, with zero 4-axis coverage).
59
- > **The structural lesson outlives the fix**: `salience-splitter` *widens* a hole of this shape every
60
- > time it relocates content to lean the resident layer, so **every split must re-ask whether the
61
- > destination path is inside the gate** — coverage otherwise shrinks as the diet succeeds.
62
- > Mechanical anchor: `scripts/gate_pathspec_check.sh` (known-pair, wired into pre-commit).
63
-
64
- **Commit gate**: `git commit` on FH asset changes is hard-blocked by `templates/.git-hooks/pre-commit` until all required axes PASS. Hook installation (one-time): `git config core.hooksPath templates/.git-hooks && chmod +x templates/.git-hooks/pre-commit templates/.git-hooks/pre-push` (the same `core.hooksPath` also activates the **pre-push** Destructive-Op gate — see that section below).
27
+ **Commit gate**: `git commit` on FH asset changes is hard-blocked by `templates/.git-hooks/pre-commit` until all required axes PASS. Hook installation (one-time): `git config core.hooksPath templates/.git-hooks && chmod +x templates/.git-hooks/pre-commit templates/.git-hooks/pre-push` (the same path also arms the **pre-push** Destructive-Op gate).
65
28
 
66
29
  ```
67
30
  FH asset modified → Axis 1 (templates/regression_guard.sh --pr {BRANCH})
68
31
  → Axis 2 (/steel-quench) → Axis 3 (/phantom-quench)
69
- → marker: tracks/_meta/.axes_23_passed_{branch}_{date}.marker
70
- (required fields: axis2-engine / axis2-model / floor-status / axis2-evidence /
71
- **`axes-run:`** + **`controls:`** (see §Marker axis fields below — these were enforced by the
72
- hook since 2026-08-10 and listed in NO rule file until 2026-08-17; the spec lived only in the
73
- hook and in two CLAUDE.md/AGENTS.md one-liners, so an author reading the rules could not learn
74
- the format that blocks their commit);
75
- + **`crossfamily:`** — required on LOAD-BEARING changes only, and TYPED since 2026-08-08:
76
- `panel(<families>)` | `declined` | `DEGRADED_SINGLE_FAMILY` | `DEGRADED_PANEL_UNUSED` |
77
- `UNKNOWN`, the three degrade values requiring substantive grounds on the same line.
78
- Presence has been required since c1fa459; what was free prose is now a closed enum,
79
- because a presence check catches silence but not a confident wrong answer — a sibling
80
- harness shipped `crossfamily: none — 도달 불가` that was later found false and then cited
81
- as grounds. Fixtures: `scripts/test_marker_crossfamily_lanes.sh`;
82
- 🟥 **since 2026-09-05 (`RESIDENCY_TOKEN_GRACE_DATE`, no retroactivity), a `panel(<families>)`
83
- value additionally REQUIRES a `residency=CLEAN(...)` token inside its own grounds** — e.g.
84
- `crossfamily: panel(codex) — residency=CLEAN(files=7) · R1..R2, 4 findings`. The token is
85
- produced by `scripts/residency_closure_scan.py --files <payload>` (`auto-decorrelation`
86
- SKILL.md §Step 4.5), is OPTIONAL and format-only-checked on `DEGRADED_*`/`UNKNOWN`/`declined`
87
- (`residency=(CLEAN|TAINTED|NOT_SCANNED)(...)`), and BLOCKS a `panel(...)` line that co-carries
88
- `residency=TAINTED(` or `residency=NOT_SCANNED(` — a sent payload and an unscreened/tainted
89
- one cannot both be true on the same line. Same fixtures file, cases `r1`–`r13`;
90
- 🟥 **since 2026-09-12 (`EVIDENCE_TOKEN_GRACE_DATE`, no retroactivity), a `panel(<families>)`
91
- value ALSO requires an `evidence=` token in the same grounds** — a closed set of three:
92
- `evidence=SHARED(<what every family read>)` · `evidence=INDEPENDENT(<what each got separately>)` ·
93
- `evidence=MIXED(<which member got which>)`. e.g.
94
- `crossfamily: panel(codex) — residency=CLEAN(files=3) · evidence=SHARED(same staged diff to both) · R1, 3 findings`.
95
- **Why**: `arXiv:2609.10969` separated the two decorrelation axes at a fixed call budget
96
- (48 templates, 2,880 scenarios) and a cross-model vote over SHARED evidence approved **62.9 %**
97
- of unsafe proposals against **22.9 %** with an independent source — source effect **40.9 pp**
98
- vs **11.3 pp** for model diversity. A `panel(codex, gemini)` that read the *same diff* is that
99
- 62.9 % arm while recording as this enum's strongest value; the token makes the distinction
100
- sayable. 🟥 **`SHARED` is legal and common — it is not a failure.** What is blocked is a
101
- `panel(...)` that does not say which it was, a value outside the three, a malformed/duplicated
102
- token, and a vacuous body on `SHARED`/`MIXED` (those two are the values whose whole content is
103
- *which* evidence was shared; `INDEPENDENT` is self-describing and is not body-checked, because
104
- over-blocking the honest answer trains the override). Same fixtures file, cases `e1`–`e10`;
105
- 🟥 **`standpoint:`'s `tier2`+ grounds check BLOCKS since 2026-09-12**
106
- (`STANDPOINT_GROUNDS_GRACE_DATE`, no retroactivity) — it printed `⚠️` and returned 0 before.
107
- `tier2`/`tier2b`/`tier3` assert code RAN in the target, so the grounds must **name the command
108
- and the output** (`ran \`bash scripts/x.sh\` there, output: 30/30 PASS`); if you only read
109
- files the honest rung is `tier1b`, which is not grounds-checked. Same external number is the
110
- reason: leaving the STRONGER axis advisory while hard-blocking the weaker one was not a
111
- balance. Fixtures `scripts/test_marker_standpoint_lanes.sh` `N8`(blocks) / `N8b`(named command
112
- passes) / `N8c`(tier1b exempt) / `N8d`(pre-grace still advisory). 🟥 Both changes gate the
113
- **shape of the record**, never whether the run was real — §Mechanization Boundary's deliberate
114
- residual is untouched;
115
- **recorded-by-convention, validated by nothing**: `axis2-rounds` (per-round yield vector) —
116
- steel-quench §Convergence Criteria consumes it, and a hook check for it was built and then
117
- REMOVED the same day for firing on 100% of markers. The convergence claim it supports is
118
- self-attested; that residual is named in §Convergence Criteria, not hidden. Mechanize on the
119
- first recurrence of a false convergence claim, not before — **that recurrence was measured
120
- 2026-11-06** (5 markers wrote «R1 [new=0, fixed=0] → converged», one round), so the vector now has
121
- a canonical shape `R1 [new=, fixed=] → R2 …` (steel-quench §Convergence Criteria step 2) and an
122
- **advisory** audit, `python3 scripts/convergence_verdict.py --scan-markers tracks/_meta`. The hook
123
- still does not check it (a hook check fired on 100% of markers once — form first, enforcement only
124
- if false claims keep appearing in the readable shape);
125
- hook validates mechanically: below-floor blocks without below-floor-ack, and axis2-evidence
126
- must be non-vacuous — a recorded verdict/count, not "it ran". Marker scope is form +
127
- non-vacuity + auditability, NOT provenance — a fabricated marker is the weekly-audit + operator
128
- residual by design, do NOT fake-close it.
129
- → **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §Marker-Irreducibility`
130
- — why the below-floor-ack is structurally irreducible for an autonomous runner + the
131
- operator-present GPG hard-close option — read when auditing or attempting to harden the marker.)
132
- → Axis 4 (/edit-manifest RECORD, today's entry in edit_manifest.yaml)
32
+ → marker: tracks/_meta/.axes_23_passed_{branch}_{date}.marker (fields: §Marker axis fields below)
33
+ → Axis 4 (/edit-manifest RECORD, today's entry in tracks/_meta/edit_manifest.yaml)
133
34
  → All 4 PASS → git commit allowed | Any FAIL → fix inline, re-run
134
35
  ```
135
36
 
136
- **Why automatic**: Each axis catches a different defect class; asking separately means slip-through. **Why hook**: CLAUDE.md rules are advisory — the hook physically blocks commit until marker + manifest exist. External anchor: the HANDBOOK.md benchmark (arXiv:2607.25398) measures prose-only SOP compliance failing at frontier scale — canonical harvest with figures: `knowledge/shared/harness-core/gate_locality_principle.md` §external anchors (numbers live there only; a pinned figure in two files rots independently). **Scope**: active from the moment any FH file is modified in the session.
137
-
138
- **Lightweight exception** (Axis 1 + 4 only, skip Axes 2–3): Sessions where **zero SKILL.md / rules / templates files changed** (e.g., CATALOG.md entry, tracks/ update). The hook detects this automatically — no Axes 2+3 marker required for light-only commits. Judgment is file-based, not subjective.
139
-
140
- **Substantive carve-out — `knowledge/` · `docs/*.md` · `AGENTS.md`** (Axes 2–3 DO run, despite these not being SKILL/rules/templates): a change to any of these is **not** light if its diff adds a fenced code block (```` ``` ````) or a citation/version claim (`arXiv:` / `DOI` / `http` / a versioned dependency like `x.y.z`). Executable patterns and factual claims need phantom-detection + adversarial review *wherever they live* — `knowledge/` Implementation-Patterns sections carry runnable commands, `docs/` holds published guides, and `AGENTS.md` is the Codex-user entry point, so a phantom skill name or wrong version there is an external-facing error the gate must catch. Prose-only edits (typos, rewording, link fixes) stay light. Detection is mechanical: `git diff` adds a ```` ``` ```` fence or a citation token → run Axes 2–3.
37
+ The hook checks the marker's **form, non-vacuity and auditability — never provenance**. A fabricated marker passes by design; catching it is the weekly audit, the operator and cross-family review reading the marker — do NOT fake-close that residual. Before auditing or attempting to harden the marker, read `claude_md_gate_details.md §Marker-Irreducibility` (why the below-floor-ack is irreducible for an autonomous runner; the operator-present GPG hard-close option).
141
38
 
142
- **Unavailable axis**: If steel-quench or phantom-quench are not installed, note `Axis N: skipped (skill unavailable)` and proceed. Axis 1 PASS alone is sufficient to unblock a PR when Axes 2–3 are unavailable. Axis 4 (edit-manifest): if the skill is not installed, substitute a manual one-line prediction appended to `tracks/_meta/edit_manifest.yaml` — the record is what matters, not the skill.
39
+ **Lightweight exception** (Axis 1 + 4 only, skip Axes 2–3): sessions where **zero SKILL.md / rules / templates files changed** (CATALOG entry, tracks/ update). The hook decides this from the file list, not from judgment.
143
40
 
144
- **Axis 4 lane substitution (2026-10-11 — a *reversible commit-gate* relaxation, nothing irreversible touched)**: a today-dated manifest entry may carry `lane: <repo-relative path>` + `not_seen: <one line: what that lane does NOT check>` instead of a prediction. The hook (`pre-commit` Axis 4 checker, exit 4) refuses the substitution when ⓐ the lane file does not exist (dead pointer; absolute / `..` paths rejected) ⓑ `not_seen:` is empty/placeholder ⓒ the entry's `predicted_impact`/`prediction` is an **absence claim** («…가 남아 있지 않다 / 없다 / never») — a green lane does not prove an absence. A lane entry counts as today's entry only when valid; any other valid today entry (classic or lane) still satisfies the gate, so a stale dead lane from an earlier commit never blocks a later classic one. Entries without `lane:` (or `lane: null`) behave exactly as before, and a change with no lane (salience-dependent: resident wording, triggers, onboarding) keeps the classic prediction. Why: P29 sample, **n=20** (13 HOLDS / **1 REFUTED** / 2 UNFALSIFIABLE / 4 UNVERIFIABLE-NOW) — every lane-backed HOLDS was already re-run by selfcheck, so the manifest added no information there; the one refutation (`psa_scan_lib.sh` «…경로가 남아 있지 않다», refuted by #762/4fd6613 while its lane stayed green) was exactly an absence claim. Report: `tracks/_meta/p29_manifest_sample_verify_2026-10-11.md`. Lanes: `scripts/test_axis4_lane_substitute_lanes.sh`. **Named residual**: form only — the hook cannot tell whether the lane truly covers the change, nor whether an absence claim was reworded to dodge the regex (gameable by design, §Mechanization Boundary); with PyYAML unavailable the checker degrades to the date grep and does not validate `lane:`.
41
+ **Substantive carve-out — `knowledge/` · `docs/*.md` · `AGENTS.md`**: a change there is **not** light when its diff adds a fenced code block or a citation/version token (`arXiv:` / `DOI` / `http` / a versioned dependency like `x.y.z`) — Axes 2–3 run. Prose-only edits (typos, rewording, link fixes) stay light. Detection is mechanical (`git diff`).
145
42
 
146
- **Target-tier sim gate (Mode D supplement — all change classes: fix, improvement, new asset)**: the
147
- discriminator is not the change class but the **enforcement column**: does the asset's effect depend on
148
- a session *following prose instructions* (salience-dependent — rules, onboarding scaffolds, SKILL.md
149
- trigger behavior), or is it mechanically enforced (hooks, scripts — tier-independent, normal 4-axis
150
- path, exempt)? For salience-dependent changes, verify with a **blind simulation in an isolated Agent**
151
- (no main-session reasoning inherited — isolation is the FH mechanism that keeps the sim honest) with
152
- `model:` pinned to the tier the change must survive on — **default sim tier = Sonnet** (the base
153
- floor every FH behavior must survive on, `sonnet_floor_doctrine.md`). Application strength scales
154
- with context:
155
- - **Mode D (FH self-dev) — near-mandatory**: any salience-dependent FH asset change runs the sim
156
- before Done, at Sonnet by default. Mandatory without exception when the change fixes a behavioral
157
- miss *observed* on a specific tier — sim at that same tier, even below Sonnet (the verification
158
- tier must match the failure tier; fixing on a stronger model and verifying by review alone leaves
159
- "does it fire on the weaker tier?" unanswered).
160
- - **Field harness assets (templates/ propagated via Full-Harness Mode) — conditional**: sim at the
161
- default field tier (Sonnet) when the behavior is load-bearing (gates, onboarding, destructive/publish
162
- paths); skip with a one-line note for low-stakes prose.
163
- - **Light mapping (tracks/ registration, CATALOG entries) — exempt**, alongside mechanical changes
164
- (hook logic, scripts, file moves — tier-independent by construction).
43
+ **Unavailable axis**: if steel-quench or phantom-quench is not installed, write `Axis N: skipped (skill unavailable)` and proceed; Axis 1 PASS alone unblocks a PR then. Axis 4 without the skill: append a one-line prediction to `tracks/_meta/edit_manifest.yaml` yourself — the record is what matters.
165
44
 
166
- **Autonomy floor**: the skip/run *judgment* on conditional cases is itself depth-sensitive — trust it
167
- only at opus-tier or above. A below-floor orchestrator does not silently skip — and does not stall:
168
- its default is to RUN the sim (the conservative branch needs no trust); it asks the operator only when
169
- no runnable path exists (run-first, ask-last — sonnet_floor_doctrine.md §Autonomy at Sonnet).
45
+ **Axis 4 lane substitution**: a today-dated manifest entry may carry `lane: <repo-relative path>` + `not_seen: <what that lane does NOT check>` instead of a prediction. The hook refuses it when the lane file does not exist (absolute and `..` paths rejected), `not_seen:` is empty or a placeholder, or the prediction is an **absence claim** («…가 남아 있지 않다 / 없다 / never») — a green lane does not prove an absence. A refused entry is not counted; any other valid today entry (classic or lane) still satisfies Axis 4, so a stale dead lane never blocks a later classic one. `lane:` absent or `lane: null` = classic behaviour. Without PyYAML the checker falls back to a date grep and does not validate `lane:`. A change with no lane (resident wording, triggers, onboarding) keeps the classic prediction. Lanes: `scripts/test_axis4_lane_substitute_lanes.sh`.
170
46
 
171
- Record sim results in the Axes 2–3 marker + sub-agent invocation log.
47
+ **Target-tier sim gate**: if the change works only when a session *follows prose* (rules, onboarding text, SKILL.md trigger behaviour) — salience-dependent, as opposed to hooks and scripts — verify it with a **blind simulation in an isolated agent** (no main-session reasoning inherited), `model:` pinned, **default Sonnet**. Mode D (FH self-dev): near-mandatory — run the sim **before Done**; **mandatory without exception** when the change fixes a miss *observed* on a specific tier, and then sim at that same tier, even below Sonnet. Field templates: sim when the behaviour is load-bearing (gates, onboarding, destructive/publish paths), else a one-line skip note. Light mapping and mechanical changes are exempt. Below opus-tier the default is to RUN the sim, not to skip it; ask the operator only when nothing can run. Record results in the marker and in `knowledge/shared/learnings/subagent_invocations_log.yaml`.
172
48
 
173
49
  ### Marker axis fields — `axes-run:` · `controls:` · `standpoint:` · `soul:` · `soul-check:` · `defeater:` · `tenets:` · `affected:` · `oracle:` · `diff-sha:`
174
50
 
175
- 🟥 **기호 규칙 (2026-09-04, six_axis_review 판정안 8) — ⓐ~ⓕ 는 축 전용 기호다, 열거로 재사용하지
176
- 마라.** 산문에서 목록을 셀 때는 `①②③` 또는 `(a)(b)(c)` 를 쓴다. 오늘(2026-09-04) 같은 이틀치
177
- 로그에서 ⓐ~ⓓ 가 축이 아닌 **열거 기호**로 재사용된 사례가 실측됐다(작성자 자신의 기록 포함) —
178
- 그 문서를 grep 감사하는 쪽이 «⑤ⓑ⓶» 식 문자를 축 참조로 오독한다. 이 줄은 새 검사를 요구하지
179
- 않는다 — 재발 시 로그 린트로 기계화한다(`§FH Improvement Signal Recording Protocol`).
180
-
181
- > 🟥 **이 제목의 뒤 넷은 2026-08-30 에 추가됐고, 그 이유가 이 절이 이미 적어둔 결함이다.**
182
- > `soul:` 은 **2026-08-21 부터 커밋을 하드 차단**해왔는데 **어느 규칙 파일에도 적혀 있지 않았다**
183
- > 🟥 **정정 (같은 날, cross-family codex #1 지목 — 자력 적발 0)**: 이 줄의 초판은
184
- > «`soul:`·`soul-check:` 이 하드 차단» 이라고 적었는데 **`soul-check:` 은 부재 시 차단하지
185
- > 않는다**(`validate_soul_check_leg` 은 필드가 없으면 `return 0`). 실측 rc=0.
186
- > 즉 **오늘 gate-locality 를 고치면서 같은 절에 새 오설명을 심었다** —
187
- > `[[feedback_rule_misdescribes_its_own_machine]]` 의 당일 재발이다.
188
- > **`soul-check:` 은 «있으면 enum 이 강제되고, 없으면 통과»** 다(채택은 점진적이다). — 즉 아래 문단이 스스로 명명한 «spec 쪽 gate-locality 결함»이 같은 절 안에서
189
- > 9일간 살아 있었다. 블라인드 플로어 티어 sim(2026-08-30, reps=3)이 그것을 실측으로 잡았다:
190
- > 세 팔 전부 나머지 11개 필드를 정확히 썼고 **`soul:` 을 하나도 안 썼다.** 훅이 차단하는 필드인데도.
191
- > 원인은 모델이 아니라 배선이다 — 행위자가 읽는 자리에 그 요구가 없었다(`FH-T07`).
192
-
193
- **`soul:` (또는 `①영혼:`) — 설계 *전에* 쓴 «성공 정의 / 절대 안 함». 없으면 `없음`.**
194
- 공허한 한 단어(placeholder)는 차단된다. 훅은 **존재와 비공허성**만 본다 — 내용의 옳음은 안 본다.
195
- 🟥 provenance(«정말 설계 전에 썼나»)는 **파일에서 확인 불가**다. 훅 주석이 그렇게 명시한다.
196
-
197
- **설계 전에 한 번, 맥락 없는 독자가 `soul:` 줄만 읽고 재진술한다 (2026-11-15, AQ-20261114-9).** 절차는
198
- `meta-prompt-builder` Step 3 의 4번(재진술 읽기)을 그대로 쓰고, 칸만 둘로 바꾼다: **성공 정의**와 **절대 안 함**을
199
- 각각 `RESTATABLE` / `GUESS` 로 표시하고, 필요한 질문을 적게 한다. 독자에게는 `soul:` 줄 한 줄만 준다(대화 ·
200
- 레포 · 설계 메모 없음). 무엇이 의심되는지는 말하지 않는다. `GUESS` 가 나온 칸은 설계 전에 고쳐 쓴다.
201
- 저자가 스스로 재진술한 것은 치지 않는다 — 저자는 맥락으로 빈칸을 채운다. 독자를 못 띄우면 `NOT RUN` 이다.
202
- 결과는 `soul-check:` 근거 안에 적는다(예: `reflected(… · soul read: Sonnet, both RESTATABLE)`). 새 필드도 훅 검사도
203
- 없다 — 판단 단계다(§Mechanization Boundary).
204
-
205
- **`soul-check:` — 있으면 닫힌 enum, 없으면 통과(부재는 차단 아님).** `reflected(<무엇이 되돌아왔나 — 어긋남 여부>)` ·
206
- `violated(<어느 절반이 깨졌나 + 무엇을 했나>)` · `DEGRADED_NOT_RUN(<왜>)` ·
207
- `DEGRADED_NO_SOUL(<왜>)` · `UNKNOWN` · `not-applicable(<왜>)`.
208
- 🟥 `violated` 는 **일부러 합법이다.** 기록된 위반이 숨겨진 위반보다 낫고, 성공만 받는 레인은
209
- 지우는 법을 훈련시킨다.
210
-
211
- **`defeater:` — 「이 성공 정의가 틀렸다면 무엇이 *관측*될 것인가」 한 줄.** 2026-09-01 이후
212
- 날짜의 마커에만 강제된다(그 전 마커는 소급 없음 — `SOUL_PRESENT_GRACE_DATE` 와 같은 패턴).
213
- 훅은 **비공허성만** 본다(관측 가능한 사건을 명명했는가). 외부 근거: Assurance 2.0 의
214
- *defeaters and counterevidence*. 🟥 저자가 자기 반증조건을 적는 것은 **게임 가능하고, 안 닫힌다** —
215
- 닫는 방향은 cross-family 가 그 마커를 읽는 것이다.
216
-
217
- **`tenets:` — 선택. 인용하면 참조 무결성이 강제된다.** `.claude/soul_tenets.txt` 에 실재하는
218
- `FH-T\d\d` ID 만 허용되고, 미등록 ID 는 차단된다(오타를 조용히 버리지 않기 위해서다).
219
- 🟥 인용은 **이 줄에서만** 읽는다 — 다른 줄에서 ID 를 «설명»하는 것은 인용이 아니다.
220
- 인용이 하나도 없으면 통과한다(채택은 점진적이다).
221
-
222
- **`affected:` — 선택. 「이 변경이 건드리는 것(사람·하네스·표면) + 열린 질문」 한 줄.**
223
- (2026-09-04, frontier absorption — Anthropic AI-Native SDLC playbook `intent.md` 의 «Affected
224
- users and systems» · «Open questions» 두 칸을 흡수한다. 두 필드로 쪼개지 않는다 — 별도 필드마다
225
- 빈 칸이 하나씩 늘어나는 것은 이 절이 이미 피하는 모양이다. 한 줄 산문 안에 «열린 질문 = …»
226
- 관례로 같이 담는다.) **없으면 통과**(soul-check:/tenets: 와 같은 패턴, 채택은 점진적이다). 있으면
227
- 비공허성만 본다 — `defeater:` 와 달리 **「없음/TBD/-」류 자리표시자만 있는 값은 차단된다**: 모든
228
- 변경은 반드시 무언가를 건드리므로(제로 영향은 명제상 없다) 자리표시자만 있는 값은 정직한 부재가
229
- 아니라 안 채운 것이다. 중복 줄도 차단된다(읽는 쪽은 첫 줄만 취한다).
230
- ```
231
- affected: 소비자 install 의 pre-commit 사용자(마커 형식) · 열린 질문 = 필드 강제 시점
232
- ```
233
-
234
- **`oracle:` — 선택. 「기대값을 무엇으로 정했나」 — 오라클 유형, 닫힌 enum 6 (2026-09-05,
235
- ISO/IEC TR 29119-11 정렬 — `iso_ai_standards_crosswalk.md §4 M1`, 운영자 승인).** 형식
236
- `oracle: <kind> — <근거>`. kind ∈ `known-pair`(양성·음성 컨트롤이 같은 실행에) · `metamorphic`(입력
237
- 변환→기대 출력 변화 «관계»로 판정) · `back-to-back`(다른 구현/계열이 같은 입력에 낸 출력 대조 —
238
- cross-family 가 같은 diff 를 읽는 것) · `a-b`(한 변수 ARM/CTRL, reps≥3; `A/B` 허용) · `human`(사람이
239
- 기대값 판정) · `none`(오라클 없음 — **사유 필수**). **없으면 통과**(채택은 점진적이다). 있으면
240
- 훅(`validate_oracle_leg`)은 **형식만** 본다 — enum 밖 · kind 뒤에 구분자 없이 붙은 문자(`known-pair2` ·
241
- `human_review` 는 멤버가 아니다) · 근거 공허(2 낱말 미만·자리표시자) · 사유 없는 `none` · 중복 줄 ·
242
- 근사키 차단. 근사키 규칙은 한 문장이다: **키가 `oracle` 로 시작하는데 정확히 `oracle:` 이 아닌 줄
243
- 전부**(예 — 열거가 아니다: `Oracle:` `oracles:` `oracle :` `oracle :` `oracle_type:` `oracle-type:`
244
- `oracle.evidence:` 키만 있는 `oracle`) **+ 오타 `orcale:` `oralce:` `오라클:`** — 정상 `oracle:` 줄이 같이
245
- 있어도 차단한다(정정이 조용히 가려지는 형태). 🟥 **따라서 `oracle*` 키 이름 공간은 이 필드가 예약한다** —
246
- 앞으로 `oracle-evidence:` 같은 별도 필드는 만들 수 없다(cross-family codex R3 가 이 대가를 지목했고, 의도로
247
- 받아들인다: 변형 목록을 손으로 늘리는 것이 v1 손목록의 구조적 desync 이기 때문이다).
248
- 명명된 잔여(둘 다 마커 전 레그 공통, 이 필드 고유가 아니다): ⓐ 근거에 힌트 자리표시자 리터럴 `<...>` 이 있으면
249
- 차단된다(affected/defeater 와 같은 경계) ⓑ 전각 공백(U+3000)으로 **시작하는** 줄과 줄 안의 CR(`\r`)은 `[[:space:]]`·
250
- 줄 단위 grep 밖이라 못 본다 — 마커 파일 단위의 제어문자 거부는 별건 후보. 🟥 그 오라클이 정말 그 종류였는지는
251
- 안 본다 — 닫힌 것은 형식이지 진위가 아니다(§자기 대조와 같은 경계). `controls:` 가 «컨트롤이 살아
252
- 있다» 를 적는 자리라면 이 필드는 «무엇이 컨트롤이었나 — 어떤 종류의 오라클» 을 적는 자리다: 외부
253
- 독자(29119-11)가 첫 번째로 묻는 칸이었는데 비어 있었다. **소비처(정직하게)**: 오늘은 마커 grep 감사와
254
- 표준 정렬 증거뿐, 기계가 읽는 곳은 없다 — 반쪽 외부화를 이름으로 남긴다. 힌트 템플릿에는 넣지
255
- 않는다(옵셔널 필드마다 빈 칸이 느는 모양). 레인 `scripts/test_marker_oracle_lanes.sh`(o1~o36 + 실물
256
- R1 — o21~o31 은 cross-family codex 가 연 구멍) · 배선 `scripts/test_hook_leg_wiring_lanes.sh` W6(호출부
257
- 되돌림 known-pair).
258
- ```
259
- oracle: known-pair — 레인 o1~o36 PASS/BLOCK 픽스처 양쪽 + W6 되돌림(호출부 제거 → 판정 문구 소멸)
260
- oracle: none — 문서만 변경, 측정 없음
261
- ```
262
-
263
- **`diff-sha:` — 선택. 「이 마커가 어떤 staged 바이트에 대해 쓰였나」 (2026-10-03,
264
- `fh_signal_2026-10-03_marker-branch-date-key`).** 형식 `diff-sha: <소문자 16진수 64자리>`, 값은
265
- `bash scripts/marker_diff_sha.sh` 출력(HEAD 대비 index diff 의 정규화 sha256 — 훅의 `_staged_diff_sha()` 를
266
- 그대로 추출해 부른다). 마커 주소가 «브랜치 + 날짜» 뿐이라 같은 날 같은 브랜치에서 축을 돈 뒤 바뀐 diff 가
267
- 옛 마커로 통과하던 구멍(실례 2db9a42 → 1fdd7cc)을 닫는 칸이다. 규칙: 줄이 없으면 통과(유예 —
268
- `DIFF_SHA_REQUIRED_DATE` 가 비어 있는 동안; 🟥 그 날짜는 운영자 결정이라 비워 둔다) · 줄이 있으면 형식 검사 ·
269
- 여러 줄 허용(축을 돈 diff 사슬) — **하나라도** 현재 staged 지문과 같으면 통과, 전부 다르면 차단 · 근사키
270
- (`diff_sha:` `Diff-sha:` `diff-sha :` `diffsha:` `diff-fp:`)는 정확한 줄이 있어도 차단 · 지문 계산 실패는
271
- HARNESS-ERROR(«일치» 아님). 🟥 막는 것은 «잊음»이지 «위조»가 아니다 — 값도 자기신고로 쓸 수 있다. 과차단 잔여:
272
- 값을 적은 마커는 작은 후속 수정(오탈자 한 줄)에도 새 값 한 줄을 요구한다 — 그래서 유예 동안은 적은 사람만
273
- 묶이고, 필수화 전에 불일치 빈도를 재는 것이 순서다. 레인 `scripts/test_marker_diff_sha_lanes.sh`(d1~d12 +
274
- 되돌림 r1·r2) · 배선 `scripts/test_hook_leg_wiring_lanes.sh` W7.
275
-
276
-
277
- These are enforced (the first two) or expected (the third) on the Axes 2–3 marker. Until 2026-08-17
278
- **none of the three appeared in any rule file** — the format that hard-blocks the commit was legible
279
- only from `templates/.git-hooks/pre-commit` itself. That is a gate-locality defect on the *spec*
280
- side: the rule the author reads did not describe the check the author must pass.
281
-
282
- **`axes-run:` — one line, all keys present, `none` for axes not run.** Silence is not zero: an axis
283
- you skipped is written `none`, never omitted. Omitting it makes the reader parse an absence as a
284
- decision.
285
-
286
- ```
287
- # markers dated BEFORE 2026-08-17 — old 4-axis array, ASCII keys
288
- axes-run: a=<다른 계열> b=<첫 실사용> c=<기록 그라운딩> d=<되돌림 실측>
289
-
290
- # markers dated 2026-08-17 OR LATER — 6-axis array, circled keys
291
- axes-run: ⓐ=<다른 계열> ⓑ=→standpoint ⓒ=<격리 그라운딩> ⓓ=<3자 대면> ⓔ=<첫 실사용> ⓕ=<되돌림 실측>
292
- ```
293
-
294
- 🟥 **The two arrays are not the same letters shifted — `b` and `d` mean different axes in each.**
295
- Old `b`=첫 실사용 is now **ⓔ**; old `d`=되돌림 is now **ⓕ**. Copying an old line forward silently
296
- swaps two axes, and no error fires.
297
-
298
- **Which array a marker used is decided by the date in its filename** (`< 2026-08-17` = old 4-axis).
299
- ⚠️ **The notation is NOT the discriminator** — the first version of this section said it was
300
- ("circled keys = 6-axis, so an auditor can grep"), and a hand-count of the corpus refuted it: of 53
301
- markers carrying `axes-run`, 4 use circled keys and 1 mixes, and **2 of those 4 are dated 2026-08-10
302
- while meaning the OLD axes** (`ⓑ 첫실사용` · `ⓓ 되돌림` — ⓔ and ⓕ in the current array). The hook
303
- never reads those markers so no commit is affected; the party that gets a wrong answer is the
304
- **auditor**. Aligning the notation is still worth it going forward — it stops the next author from
305
- copying an old line — but it does not work backwards.
306
-
307
- ⚠️ **The grace-date comparison is an unreachable branch in production, and saying so is the point.**
308
- The call site builds the marker path from `${TODAY}`, so `mdate` is always today; no real commit
309
- after 2026-08-17 takes the `six=0` path, and the only live consumer is the fixture suite. **What
310
- protected the existing markers was the path construction, not the constant** — the same reason
311
- `crossfamily:` could go from free prose to a closed enum eight days earlier with no cutoff at all.
312
-
313
- - **ⓑ입장 carries a pointer, not a value** — `standpoint:` is its canonical field, so writing the
314
- value in both places would be a double record. `ⓑ=→standpoint` requires a non-empty `standpoint:`
315
- line to exist (a pointer at nothing is not a record). Enforced on any ⓑ value *referencing*
316
- standpoint, arrow or not — requiring the arrow was fail-open and was measured as such.
317
- - **ⓔ첫실사용 accepts a `shadow(N=<세션수>, F=<발화수>)` value (2026-09-04, exposure-ladder
318
- extension — canon: `fh_three_layer_canon.md §1-a-2` ⓔ subsection).** For salience-dependent
319
- assets (rules · onboarding prose · a hook's own trigger phrasing), ⓔ may read as a **ladder**
320
- — wire → N-session shadow observation (count only, no verdict) → promote — instead of a single
321
- live-fire event. `shadow(N=3, F=2)` records "observed across 3 sessions, fired in 2" and is a
322
- legitimate ⓔ value, not a degrade. 🟥 **The hook is UNCHANGED by this** —
323
- `validate_first_use_leg` (above) blocks on exactly one condition: a **new instrument file**
324
- added this commit with `ⓔ=` empty/`none`/no grounds on the same line. It does not parse or
325
- validate the *shape* of a non-empty ⓔ value — `shadow(...)`, a free-prose sentence, and the
326
- older "실물 대상 한 건" form all satisfy it identically. So this bullet is documentation only;
327
- no lane changed.
328
- - **Multiple `axes-run:` lines block.** Only the first is read, so a second line is not *rejected*,
329
- it is **invisible** — anything written there bypasses the check entirely.
330
- - **Grace dates are deliberate**: `AXES_RUN_GRACE_DATE=2026-08-10`, `SIX_AXES_GRACE_DATE=2026-08-17`,
331
- compared against the date in the marker's **filename**, boundary `<` (the grace day itself is
332
- required). Retroactive enforcement would block every in-flight branch, and that over-block trains
333
- `--no-verify`, which disarms the Destructive-Op gate living in the same hook.
334
-
335
- **`controls:` — the liveness of the controls, not their existence.** An axis is «run» only with an
336
- execution output in which a control was alive; "붙였다" without a life/death token is vacuous and
337
- blocks. Note the asymmetry this field exists for: *having* a control is not *having discrimination*
338
- — a known-negative only tells you whether false positives exist at all.
339
-
340
- ```
341
- controls: alive — known-positive 'X' 3 hits · known-negative 0
342
- controls: n/a — no measurement in this delta (<reason>)
343
- ```
344
-
345
- **`standpoint:`** — closed enum, canonical spec in
346
- `knowledge/shared/harness-core/field_verdict_crossfamily_gate.md §7`. 🟥 **CORRECTED 2026-08-20, then CORRECTED AGAIN the same hour.** This used to read "Still validated
347
- by nothing — zero hook lines, no fixture suite", which is FALSE: `validate_standpoint_leg()` lives in
348
- `templates/.git-hooks/pre-commit` (grep the function name — **line numbers are deliberately not cited
349
- here; the first version of this fix cited `:798`/`:1575` and a commit landed the same hour that moved
350
- them to `:878`/`:1665`**), and `scripts/test_marker_standpoint_lanes.sh` is wired through
351
- `scripts/selfcheck.sh`.
352
- 🟥 **But the first correction over-shot, and cross-family caught that too.** It said "the value enum
353
- IS closed and the grounds ARE required". Only the first half holds. Measured by varying ONE variable
354
- at a time — the original known-pair varied two and mis-attributed the result:
355
-
356
- ```
357
- standpoint: tier2(qasp) — ran <cmd>, saw <out> rc=0 ✅
358
- standpoint: tier2(qasp) (no grounds) rc=0 ⚠️ warns, does NOT block
359
- standpoint: tier2 (no parens) rc=1 ❌ not an enum member
360
- standpoint: banana(qasp) rc=1 ❌ not an enum member
361
- ```
362
-
363
- So: **the enum is closed and enforced; the execution grounds for `tier2`+ are ADVISORY.** A marker can
364
- still record `tier2` without naming a command and pass with a warning — that is the real remaining
365
- gap, and it is narrower than "validated by nothing" and wider than "grounds are required". Neither
366
- earlier sentence was accurate, and the accurate one required varying one variable at a time.
367
-
368
- 🟥 **`tier3` is UNREACHED, not disproven (2026-09-04, six_axis_review corpus scan — n=169 markers
369
- carrying a six-axis `axes-run`, 184 total `standpoint:`-bearing markers scanned).** Zero markers
370
- in that corpus record `tier3`. This is expected by the enum's own definition, not a defect: `tier3`
371
- requires *a different human operator of the target harness* to have run the change — this repo has
372
- one operator, so `tier3` cannot be reached from inside it, structurally, until a genuinely separate
373
- operator of a target harness runs something and reports back. Keep the enum member — deleting it
374
- would foreclose the day that operator exists, which is exactly the "unreachable Done-When trains
375
- evasion" failure this repo already names elsewhere (`[[feedback_unreachable_done_when_trains_evasion]]`)
376
- run in reverse (the harm there is deleting the *counted thing*; here it would be deleting the *value*).
377
- Read `tier3` on any marker written today as **unreached**, not zero-evidence-against.
378
- 🟥 **This same false claim stood in ~~three~~ ~~FIVE~~ → EIGHT passages across SIX files, and the
379
- count itself has now been wrong three times — corrected 2026-08-23.** The line first said three, was
380
- corrected to FIVE (`CLAUDE.md` twice, here, `AGENTS.md`, `field_verdict_crossfamily_gate.md`), and
381
- **that enumeration was also incomplete and partly unexecuted** — while a *different* file
382
- (`harness_incubator_doctrine.md`) was independently counting the same propagation as **six documents**
383
- on the same day. Two counts of one propagation, in one repo, neither matching. A widened-vocabulary re-scan (the earlier sweeps grepped
384
- only `0줄|zero lines`, i.e. **the repair's own vocabulary** — `[[feedback_lane_vocabulary_blind_to_its_own_fix]]`)
385
- found:
386
-
387
- | # | Passage | State when re-scanned 2026-08-23 |
388
- |---|---|---|
389
- | 1 | `CLAUDE.md` §자기 대조 (the axes-run paragraph) | 🟥 **still false** — listed as fixed, never was. Fixed 2026-08-23 |
390
- | 2 | `CLAUDE.md` §Standpoint-Execution-Evidence pointer | ✅ correct since 2026-08-20 |
391
- | 3 | here (§`standpoint:`) | ✅ correct since 2026-08-20 |
392
- | 4 | `AGENTS.md` §markers | ✅ correct since 2026-08-20 |
393
- | 5 | `field_verdict_crossfamily_gate.md` | 🟥 **still false in different words** — its own correction re-introduced the claim as *"the **value** is unvalidated"*. Fixed 2026-08-23 |
394
- | 6 | `fh_three_layer_canon.md` §95 | 🟥 **never on the list at all.** Fixed 2026-08-23 |
395
- | 7 | `fh_three_layer_canon.md` §354 (the field table) | 🟥 **never on the list at all.** Fixed 2026-08-23 |
396
- | 8 | `harness_incubator_doctrine.md` (cites the claim as its day-one-walk example) | ✅ corrected 2026-08-20 — **and it is the file whose own tally said «six documents»**, counting itself. This list did not count it. Reconciled here |
397
-
398
- **Excluded on purpose, not missed**: `plugins/fh-meta/CHANGELOG.md` carries the claim inside a dated
399
- release entry. A changelog records what was believed at ship time; rewriting it would destroy the
400
- history this repo's correction discipline depends on. It is listed here instead.
401
-
402
- **Three lessons, and the third is new.** ⑴ Fixing one and stopping is the half-fix propagation
403
- failure; fixing three and stopping was the same failure one round later; **enumerating five and
404
- executing three is that failure wearing a checklist.** ⑵ The question is never "is this sentence
405
- wrong" but **"where else does this sentence live"** — and both times the answer came from a
406
- different-family reviewer, not from me. ⑶ 🟥 **A propagation sweep must not be run in the vocabulary
407
- of the thing it is fixing.** Sites 5–7 survived three rounds because they said *"unvalidated"*,
408
- *"검증하는 코드가 아직 0줄"* inside a fenced table, and *"the value is unvalidated"* — none of which a
409
- grep for the first site's phrasing reaches. **Widen the axis before declaring a sweep complete, and
410
- say which terms you searched.**
411
-
412
- **`thirdparty:` — ⓓ3자 대면의 자기 필드 (2026-08-17 신설).** ⓑ가 `standpoint:` 를 갖는 것과
413
- 같은 형태다: `axes-run` 에는 포인터(`ⓓ=→thirdparty`)만 두고 값은 이 필드가 나른다.
414
-
415
- 🟥 **이 축은 반쪽이 아니라 둘이다 — 규격이 한쪽만 인코딩하고 있었다(2026-08-17 정정).**
416
- 6축 정본(`knowledge/shared/harness-core/fh_three_layer_canon.md:243`)은 ⓓ가 받는 것을
417
- **«문제 + 남의 코드베이스»**로 정의하고 **두 질문**을 묶는다:
418
-
419
- | 반쪽 | 질문 | 값 |
420
- |---|---|---|
421
- | ① 선행자산 | **이미 풀린 문제 아닌가** | `checked` · `none-found` |
422
- | ② **하네스 단위 적대검증** | **내 변경이 남의 레포/입장에서 어떻게 보이나** | `peer-review` ← **신설** |
423
-
424
- ②의 정본 형태(운영자, 2026-08-17): *"qasp 개선건에 대해서 **지스택에 소넷을 넣고 지스택 하네스
425
- 페르소나로** qasp 개선건을 리뷰하고 검증하는 것 — **계열을 넘어선 하네스 단위의 적대검증 스코프**."*
426
- **FH 는 governor 로서 그 상황을 만들고·관측하고·판정한다.** 4축 게이트가 검증하는 대상은 그
427
- 제3 하네스가 내놓은 **의견**이고, 그 판정은 **FH 로컬**에서 이뤄진다 — 남의 레포에 게이트를
428
- 거는 것이 아니다.
429
-
430
- ⚠️ **②가 왜 빠져 있었는지가 실측으로 드러났다**: 규격에 ①만 있으니 코퍼스 6건 중 peer 가 쓴
431
- 4건은 전부 ① 형태였고, ②에 가까운 것을 적으려던 2건은 **enum 밖 자유 산문으로 샜다.** 이 필드가
432
- 신설된 사유(*「적을 자리가 없다」를 벗는다*)가 **한 칸 안쪽에서 재발한 것**이다.
433
-
434
- 🟥 **그리고 ②는 정의상 «남의 레포 스코프»다.** 게이트 스코프가 자기 자신으로 묶여 있으면 이 축은
435
- **구조적으로 기록될 수 없다** — 정본 §170 의 «ⓓ 자기 스코프가 가장 나빴다» 실측과 같은 자리다.
436
-
437
- 🟥 **정정(2026-09-04, six_axis_review 판정안 6 — append-only, ①②표·값·아래 예시는 안 지운다).**
438
- 전수 실측(마커 169개)이 ②(`peer-review`)를 코퍼스 **6/102** 로 세었다. 이 정정은 그 6건을
439
- 지우지 않고 **②의 정의상 소속을 옮긴다**: 피어 하네스 세션이 리뷰를 낸다는 것은 «패널에 다른
440
- 계열의 멤버가 하나 더 붙는다»와 같은 모양이라, **②는 ⓐ 계열 축의 패널 분류(`crossfamily:
441
- panel(<families>)`) 안으로 접힌다** — `fh_three_layer_canon.md §1-a-2` 의 ⓓ 정의 절 참조.
442
- **ⓓ 는 이제 ①선행자산 확인만 자기 것으로 남긴다.** `peer-review` 값과 위 표는 삭제하지 않는다
443
- (기록·enum 멤버 보존) — 좁아지는 것은 «이 값이 어느 축 소속인가»라는 정의 문장뿐이다.
444
- **하류 훅 무변경**: `validate_thirdparty_leg` 은 `thirdparty:` 필드의 존재만 보고 ①/②를 구분해
445
- 검사하지 않으므로, 이 정정은 아무 레인도 건드리지 않는다.
446
-
447
- ```
448
- thirdparty: peer-review(<하네스>/<페르소나> → <대상>, <무엇이 돌아왔나>)
449
- ← ② 하네스 단위 적대검증. 계열을 넘는다
450
- 예: gstack/harness-persona → qasp, 경계 가정 2건 반증
451
- thirdparty: checked(<무엇을 검색했고 무엇을 찾았나>)
452
- thirdparty: none-found(<무엇을 검색했나>) ← 찾았는데 선행 없음. «안 봤다»와 다른 명제다
453
- thirdparty: DEGRADED_NO_ACCESS(<사유>) ← 못 봤다 (검색 수단 부재)
454
- thirdparty: DEGRADED_NOT_RUN(<사유>) ← 안 돌렸다
455
- thirdparty: UNKNOWN ← 안 봤다
456
- thirdparty: not-applicable(<사유>)
457
- ```
458
-
459
- 🟥 **왜 `axes-run` 한 칸으로 부족한가.** 그 칸은 **토큰**을 담는데, 이 축이 실제로 내는 것은
460
- «무엇을 검색해서 무엇을 찾았나» 라 한 토큰에 안 들어간다. **자리가 없으면 안 적히고, 안 적히면
461
- 다음 세션이 «이 축을 돌렸나»를 물을 수도 확인할 수도 없다.**
462
- 실측 근거(2026-08-17): 이 축을 처음 제대로 돌린 세션에서 **발표 주장 6건이 선행자산에 걸렸다**
463
- (mutation testing · Anthropic skill-creator 블라인드 · Claude Code auto mode · Self-Harness ·
464
- 공식 cross-family 플러그인 · constrained decoding). 그 전까지 이 레포 전체 마크다운에서
465
- `promptfoo|DeepEval|Inspect|garak|PyRIT|mutation testing` grep 히트는 **1줄**이었다 —
466
- 축은 정본화돼 있었는데 **기록면이 없어서 습관이 안 생겼다.**
467
-
468
- **degrade 3값 분리는 `crossfamily:` 를 그대로 상속한다** — 못 봤다 / 안 돌렸다 / 안 봤다는
469
- 서로 다른 명제이고, 자유 산문은 그 셋을 접는다. 접히면 «안 돌린 축»이 «선행 없음»으로 읽힌다.
51
+ Each bullet says what the hook checks for that field; the hook checks form and non-vacuity only. Write each from this list, not from memory. A marker dated today meets every grace date (they exist so older markers are not judged retroactively; dates and boundaries are in the detail file). A hint-placeholder literal `<...>` left in grounds blocks (`affected:` · `defeater:` · `oracle:`). ⓐ~ⓕ are axis symbols only — enumerate prose with `①②③` or `(a)(b)(c)`.
470
52
 
471
- **검증 범위(오늘 기준)**: 훅은 ⓑ와 동일하게 **포인터가 가리키는 필드의 존재**만 본다.
472
- enum 값 검증은 안 한다 — `standpoint:` 와 같은 유보이고, 같은 이유다(첫 거짓 값이 기록되면
473
- 그때 기계화한다). ⚠️ ⓑ가 겪은 **화살표 fail-open 도 같이 상속해 미리 막았다**: 화살표를
474
- 필수로 보지 않고 «ⓓ 값이 thirdparty 를 참조하는가»로 본다. 같은 명시 잔여(참조어가 다른
475
- 토큰에 있으면 미검출)도 그대로 남는다.
53
+ - **`axis2-engine:` · `axis2-model:` · `floor-status:` · `axis2-evidence:`** — required. `axis2-evidence` is a recorded verdict or count, not «it ran». Below-floor without `below-floor-ack:` blocks. `axis2-rounds:` is convention only — canonical shape `R1 [new=, fixed=] → R2 …` (steel-quench §Convergence Criteria); advisory audit `python3 scripts/convergence_verdict.py --scan-markers tracks/_meta`.
54
+ - **`soul:`** (or `①영혼:`) — required, written **before design**: the success definition and the «never do». Write `없음` if there is none; a one-word placeholder blocks. Before designing, give a context-free reader (e.g. a Sonnet agent — the `soul:` line only, no conversation, repo or notes, and do not say what is suspected; procedure = `meta-prompt-builder` Step 3 item 4) the line to restate as two cells, success / never-do, each `RESTATABLE` or `GUESS` plus the questions it needs; rewrite any `GUESS` cell before design. Your own restatement does not count. Record it inside `soul-check:` grounds (e.g. `soul read: Sonnet, both RESTATABLE`); could not run → `NOT RUN`.
55
+ - **`soul-check:`** — optional; if present a closed enum: `reflected(<what came back — diverged or not>)` · `violated(<which half + what you did>)` · `DEGRADED_NOT_RUN(<why>)` · `DEGRADED_NO_SOUL(<why>)` · `UNKNOWN` · `not-applicable(<why>)`. `violated` is legal.
56
+ - **`defeater:`** — required: «if this success definition were wrong, what would be *observed*» — one line naming an observable event.
57
+ - **`axes-run:`** — exactly one line, every key present, `none` for an axis not run (silence is not zero): `axes-run: ⓐ=<다른 계열> ⓑ=→standpoint ⓒ=<격리 그라운딩> ⓓ=<3자 대면> ⓔ=<첫 실사용> ⓕ=<되돌림 실측>`. A second `axes-run:` line blocks. 🟥 Markers dated before 2026-08-17 used an old 4-key array whose `b`/`d` mean different axes — never copy an old line forward. ⓑ that references standpoint needs a non-empty `standpoint:` line; ⓓ that references thirdparty needs a `thirdparty:` line. A **new instrument file** added in the commit blocks when ⓔ is empty, `none`, or has no grounds on the same line (`shadow(N=<sessions>, F=<fired>)` is a valid ⓔ). The pointer checks look for a reference to the field anywhere in the ⓑ/ⓓ value, not for the arrow; a reference spelled in another token is not detected (named residual).
58
+ - **`controls:`** — the liveness of the controls, not their existence: an axis counts as run only with an execution output in which a control was alive — cite that output. `controls: alive — known-positive 'X' 3 hits · known-negative 0` or `controls: n/a — no measurement in this delta (<reason>)`. A value without a life/death token blocks.
59
+ - **`crossfamily:`** — required on **load-bearing** changes (gates · irreversible-surface code · doctrine). Closed enum: `panel(<families>)` · `declined` · `DEGRADED_SINGLE_FAMILY` · `DEGRADED_PANEL_UNUSED` · `UNKNOWN`; the three degrade values need substantive grounds on the same line. `panel(...)` also requires, in its grounds, `residency=CLEAN(...)` (from `scripts/residency_closure_scan.py --files <payload>`, `auto-decorrelation` §Step 4.5) and exactly one of `evidence=SHARED(<what every family read>)` · `evidence=INDEPENDENT(<what each got>)` · `evidence=MIXED(<who got which>)`. `SHARED` is legal and common. Blocks: `panel(...)` with `residency=TAINTED(` or `residency=NOT_SCANNED(`; a missing, malformed or duplicated `evidence=` token; a vacuous body on `SHARED`/`MIXED` (`INDEPENDENT` is not body-checked). On `declined`/`DEGRADED_*`/`UNKNOWN` a `residency=(CLEAN|TAINTED|NOT_SCANNED)(...)` token is optional and only format-checked. Example: `crossfamily: panel(codex) — residency=CLEAN(files=3) · evidence=SHARED(same staged diff) · R1, 3 findings`. Fixtures: `scripts/test_marker_crossfamily_lanes.sh`. Before merging load-bearing field code, read `knowledge/shared/harness-core/field_verdict_crossfamily_gate.md` (that obligation is CLAUDE.md's, restated here).
60
+ - **`standpoint:`** — closed enum, canonical in `field_verdict_crossfamily_gate.md §7`. `tier2`/`tier2b`/`tier3` assert code ran in the target, so the grounds must **name the command and its output** (`ran \`bash scripts/x.sh\` there, output: 30/30 PASS`) or the commit blocks; if you only read files, the honest rung is `tier1b`. `tier3` (a different human operator ran it) is unreached in this repo, not disproven.
61
+ - **`thirdparty:`** — ⓓ's own field: `checked(<searched what, found what>)` · `none-found(<searched what>)` · `DEGRADED_NO_ACCESS(<why>)` · `DEGRADED_NOT_RUN(<why>)` · `UNKNOWN` · `not-applicable(<why>)` · `peer-review(<harness>/<persona> → <target>, <what came back>)` (a peer-harness review is folded into ⓐ's panel classification; the value stays legal). The hook checks that the field exists when ⓓ points at it; it does not validate the value against this list.
62
+ - **`tenets:`** — optional; only IDs that exist in `.claude/soul_tenets.txt` (`FH-T\d\d`), read from this line only. An unknown ID blocks.
63
+ - **`affected:`** — optional; one line: what the change touches (people, harnesses, surfaces) + `열린 질문 = …`. Placeholder-only values (`없음`/`TBD`/`-`) and duplicate lines block.
64
+ - **`oracle:`** — optional; `oracle: <kind> — <grounds>`, kind ∈ `known-pair` (positive and negative controls in the same run) · `metamorphic` (judged by an input-change → expected-output-change relation) · `back-to-back` (another implementation or family's output on the same input) · `a-b` (one variable, ARM/CTRL, reps≥3; `A/B` allowed) · `human` (a person judged the expected value) · `none` (reason required). The hook checks form only, not whether the oracle really was that kind. Blocks: a kind outside the enum or with characters glued on (`known-pair2`), grounds under two words or a `<...>` placeholder, duplicates, and any near-key — every line whose key starts with `oracle` but is not exactly `oracle:`, plus `orcale:` `oralce:` `오라클:` — even next to a valid line. Lanes: `scripts/test_marker_oracle_lanes.sh`.
65
+ - **`diff-sha:`** — optional while `DIFF_SHA_REQUIRED_DATE` in the hook is empty (setting it is the operator's decision); `diff-sha: <64 lowercase hex>` from `bash scripts/marker_diff_sha.sh`. Several lines allowed; at least one must equal the current staged fingerprint, else block. Near-keys (`diff_sha:` `Diff-sha:` `diff-sha :` `diffsha:` `diff-fp:`) block. Fingerprint failure is HARNESS-ERROR, not a match. Lanes: `scripts/test_marker_diff_sha_lanes.sh`.
476
66
 
477
- **Scope, unchanged**: form + non-vacuity + auditability, **never provenance**. A marker claiming
478
- `ⓐ=codex` when codex never ran passes — deliberately. Catching that is cross-family review *reading*
479
- the marker, which is not this hook's job.
480
-
481
- > Fixtures: `scripts/test_marker_axes_run_lanes.sh` (25 lanes, incl. wiring anchor + over-block
482
- > controls). Extending the format means adding lanes there, and running the **revert probe** — a
483
- > lane that stays green when you disable the branch it claims to anchor is decoration.
67
+ Fixtures for the field set: `scripts/test_marker_axes_run_lanes.sh` · `scripts/test_marker_standpoint_lanes.sh` · `scripts/test_marker_soul_check_lanes.sh`. Extending the format means adding lanes there and running the **revert probe** (disable the branch a lane claims to anchor; the lane must go red).
484
68
 
485
69
  ### Reviewer-visible evidence — the marker is not readable from the other side
486
70
 
487
- **Rule**: a PR touching FH assets carries a **sanitized evidence capsule** in its body — what was
488
- run, what it returned, what was found and closed — plus, for any verdict reported as a **grade, tier
489
- or code**, both the **inline expansion** and the **canonical definition's location**
490
- (`sim grade F = Functional/PASS — scale: sim-conductor SKILL.md §Area-D`). A bare letter is not a
491
- verdict to anyone outside the author's vocabulary, and a decoded letter is still only *semantics* —
492
- it says what the grade means, never that the run produced it. Keep those two separate.
493
-
494
- **Never paste the raw marker.** Write the capsule; do not copy the file. The marker is a local
495
- artifact that may quote paths, hostnames, internal asset names, or unredacted findings, and
496
- **§Company residency forbids those reaching a log, comment, or paste** (`CLAUDE.md` — "not into a
497
- log, comment, or paste"). A PR body is a paste on a public surface. This matters mechanically, not
498
- just in principle: the pre-commit confidentiality guard scans **staged tracked content** and has no
499
- view of PR-body text, so a body is *outside* the repo's mechanical privacy floor. Run the
500
- public-surface scan over the capsule text before creating or editing the body. (Cross-family review
501
- 2026-07-30 caught this: the first draft of this rule said "inline the evidence itself", which pointed
502
- authors straight through that gap — the residency floor and the reviewer-visibility goal were pulling
503
- in opposite directions and only one of them had a hook.)
504
-
505
- **Why this is structural, not politeness**: the marker file itself is **gitignored by design**
506
- (`.gitignore` `tracks/**` — verify per file with `git check-ignore -v <marker>`; a couple of
507
- force-added files elsewhere under `tracks/_meta/` do not change it for markers). So the
508
- machine-checkable evidence for a change exists only on the author's machine — a reviewer on another
509
- session, another worktree, or another runtime **cannot reach it**.
510
- The gate is satisfied and the reviewer still has nothing but prose. This is the same shape as the
511
- gate-locality defect (a gate placed where the actor that needs it cannot read it), one layer over:
512
- **evidence placed where the reviewer cannot read it**.
513
-
514
- **Measured 2026-07-30 (PR #205, a Codex-authored change reviewed by Claude)**: the PR body reported
515
- `salience cold-start simulation: grade F`. The reviewer could not resolve it — the marker was in a
516
- gitignored path inside the author's worktree — and recorded it as UNVERIFIED. `F` in fact meant
517
- **Functional**, the PASS grade of sim-conductor's Area-D consumer scale
518
- (`plugins/fh-meta/skills/sim-conductor/SKILL.md` §Area-D — `F` functional / `P` partial / `B` broken),
519
- i.e. the sim had *passed*. Two failures, one on each side, and the rule addresses both: the author
520
- reported a coded verdict without its scale, and the reviewer's own grep surfaced the defining file
521
- and the reviewer did not open it. **A pointer your instrument hands you is not optional reading.**
522
-
523
- **Degrade direction — and it does NOT satisfy the rule.** Evidence that cannot be sanitized into a
524
- capsule is declared, never dropped, and never silently counted as met:
71
+ The marker is gitignored (`tracks/**`), so a reviewer elsewhere cannot read it. A PR touching FH assets carries a **sanitized evidence capsule** in its body: what ran, what it returned, what was found and closed. A verdict given as a grade, tier or code gets its inline expansion and the location of its definition (`sim grade F = Functional/PASS — scale: sim-conductor SKILL.md §Area-D`). **Never paste the raw marker** — it may quote paths, hostnames, internal names or unredacted findings, and a PR body is outside the pre-commit privacy scan; run the public-surface scan over the capsule text before creating or editing the body. Evidence you cannot sanitize is declared, never dropped:
525
72
 
526
73
  ```
527
74
  LOCAL-ONLY ATTESTATION — UNVERIFIED: <one-line result> (record: local marker <name>)
528
75
  ```
529
76
 
530
- That line is **an author's claim, not reviewer-visible evidence**. It leaves the requirement
531
- *unmet*, and the PR proceeds only by one of: a sanitized reproducible capsule · an authorized
532
- independent review on a machine that can read the record · explicit operator acceptance of the
533
- unverified state. Silence reads as verified, which is why the label is mandatory — but the label is
534
- an honest gap, not a way to close one. **Never restate a local-only result as though the reviewer
535
- confirmed it**, and note that inlining a marker field proves nothing about provenance either: the
536
- marker's own scope is form + non-vacuity + auditability, **not** that the run happened (see the
537
- marker-scope note above).
538
-
539
- **Enforcement boundary — say which half is mechanical.** An earlier draft of this rule claimed no
540
- hook could enforce any of it. That was overbroad: **presence and syntax are mechanizable** — a
541
- `pull_request` CI status can check that an applicable PR carries a capsule, that graded verdicts are
542
- expanded, and that a local-only attestation is labelled; a local `gh pr create/edit` wrapper can run
543
- the private-pattern scan that public CI cannot (public CI must never hold the private patterns).
544
- What stays un-mechanizable is **truth and provenance** — whether the capsule describes a run that
545
- actually happened. Neither anchor is built today; that is a named residual, and a rule that
546
- over-claims its own floor is the defect this file exists to prevent.
547
-
548
- > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §Sim-Dispatch-Fallback` — the
549
- > headless `claude -p --model` fallback when in-session model-pin is unavailable, the saturation-disguise
550
- > retry (compact-then-retry once), and the credit-pool caveat — read when a model-pinned dispatch fails.
551
-
552
- **Measurement-integrity pre-flight**: when the sim/dispatch is a *cross-model measurement* (pinned to a
553
- tier, comparing model behaviors, or feeding a published claim), **the instrument must be verified before
554
- the measurement is trusted**.
555
-
556
- > **Detail**: See `knowledge/shared/harness-core/measurement-integrity-checklist.md` — pin the display
557
- > name not a slug (silent fallback to a weaker model is a measured failure) · reps ≥ 3 on any
558
- > borderline/contested verdict (single draw = noise) · use a discriminating identity probe (a generic
559
- > "OK" proves nothing about which model answered) — read **before** running any cross-model measurement.
560
-
561
- **Floor-tier canary (optional pre-screen — token-free, *below* the Sonnet sim)**: a local model ≤ Sonnet
562
- can blind-pre-screen a salience-dependent edit before the Sonnet dispatch is spent. **Canary, NOT gate**:
563
- a PASS adds cheap floor confidence and you still run the Sonnet sim; a FAIL never blocks alone. The
564
- terminal verdict stays with the **Sonnet-or-higher governor bound to a mechanical anchor** — **no
565
- judge-only path**, no weak-local-judge regression of the judge-robustness principle.
566
-
567
- > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §Floor-Tier-Canary` — the local
568
- > model/panel options, the blind-probe procedure, dogfood evidence, and the FAIL-triage (real salience gap
569
- > vs floor-model quirk) — read when running a floor canary.
77
+ That line leaves the requirement unmet; the PR proceeds only with a sanitized reproducible capsule, an authorized independent review on a machine that can read the record, or explicit operator acceptance. Never restate a local-only result as though the reviewer confirmed it. On the reviewer side: **a pointer your instrument hands you is not optional reading** — open the definition a grep surfaces before calling a verdict unverifiable.
78
+
79
+ **Correcting a claim that lives in several files**: the question is «where else does this sentence live», not «is this sentence wrong». **A propagation sweep must not be run in the vocabulary of the thing it is fixing** — widen the search terms, and say which terms you searched, before declaring the sweep complete.
80
+
81
+ When a model-pinned dispatch fails, read `claude_md_gate_details.md §Sim-Dispatch-Fallback` (headless `claude -p --model` fallback, the saturation-disguise retry, the credit-pool caveat). **Measurement-integrity pre-flight** — for a cross-model measurement (pinned tier, comparing models, feeding a published claim), read `knowledge/shared/harness-core/measurement-integrity-checklist.md` **before** running it: pin the display name, not a slug · reps ≥ 3 on any borderline or contested verdict · a discriminating identity probe (a generic «OK» proves nothing about which model answered). Optional token-free pre-screen below the Sonnet sim — when running one, read `claude_md_gate_details.md §Floor-Tier-Canary` (model/panel options, blind-probe procedure, FAIL triage). A canary, never a gate: after a PASS you still run the Sonnet sim, a FAIL never blocks alone, and the terminal verdict stays with a Sonnet-or-higher governor bound to a mechanical anchor (no judge-only path).
570
82
 
571
83
  ### Added-Scope Gate — before you attach anything to a fix
572
84
 
573
- A fix arrives with a stated job. Everything you attach beyond that job is **new surface that the
574
- adversarial rounds must then verify**, and it is charged to the fix's schedule and to whatever the fix
575
- was blocking. Before adding, answer two questions in writing:
576
-
577
- 1. **"What can I not do without this?"** — no immediate concrete answer means it is not needed *here*.
578
- 2. **"Is this the same change?"** — a real answer to (1) that names a *different* job means it is a
579
- separate change, not an addition. Ship the fix; open the other thing.
580
-
581
- Both must pass. (1) alone is the trap: a genuinely useful addition passes (1) and still belongs
582
- elsewhere.
583
-
584
- **A construct and the wiring that makes it reachable are ONE change.** Question (2) answers *same
585
- job* for a caller, a hook line, a package-manifest entry, or a propagated copy of the fix — none of
586
- those is separable scope. Splitting them is not scope discipline, it is
587
- [[feedback_built_but_not_wired]] and [[feedback_half_fix_propagation_boundary]], which this repo has
588
- already self-reproduced. If you build a checker and defer its caller, you shipped prose. The gate
589
- below trims what you *attached*; it never licenses shipping something unreachable.
590
-
591
- **Measured 2026-08-02 (PR #231).** The stated job was one flaky test lane — a blocker holding two
592
- other PRs. Attached to it: a production advisory probe, its hook surfacing, a new caller wiring, and a
593
- measurement probe. Each passed (1) on its own. Round-by-round attribution of the 12 adversarial
594
- findings: round 1's 4 were in the original fix; **rounds 2, 3 and 5 found defects exclusively in code
595
- the previous round had added**, and 2 of the cross-family round's 3 traced to the attached scope. The
596
- original fix needed roughly one round. The other four rounds were the bill for scope that would have
597
- passed (2) as its own change. The additions were not wrong — bundling them was.
598
-
599
- Read that example precisely: the splittable items were the **advisory probe and its measurement** —
600
- a new capability with its own job. The *hook line that surfaced the probe* and the *caller that
601
- invoked the new anchor* were not splittable and were correctly shipped **with the probe, into
602
- whichever change carries the probe** — not left behind in the fix, which would ship a hook line that
603
- surfaces nothing.
604
-
605
- **Relationship to Wave-T (`steel-quench`)**: Wave-T measures complexity the *quench* added, after
606
- convergence. This fires earlier and on a different axis — scope the *author* added, at authoring time.
607
- Do not collapse them; a change can pass Wave-T (every construct traces to a finding) and still have
608
- been the wrong change to bundle.
609
-
610
- **Axis ownership** (each skill is already complete — orchestrator only coordinates):
85
+ Before adding anything beyond the fix's stated job, answer in writing: (1) **«What can I not do without this?»** — no concrete answer means not needed here. (2) **«Is this the same change?»** — an answer that names a different job means a separate change. Both must pass. **A construct and the wiring that makes it reachable are ONE change** (a caller, a hook line, a package-manifest entry, a propagated copy) — splitting those ships something unreachable. Distinct from steel-quench Wave-T, which measures what the *quench* added.
86
+
87
+ **Axis ownership** (the orchestrator only coordinates):
611
88
 
612
89
  | Axis | Skill | What it catches |
613
90
  |---|---|---|
@@ -616,40 +93,14 @@ been the wrong change to bundle.
616
93
  | Forward | `phantom-quench` | Phantom references, paths that don't exist, stale external links |
617
94
  | Record | `edit-manifest` RECORD | Logs predicted impact — closes the predict-verify loop for future harvest-loop |
618
95
 
619
- **Cross-family complement (Axis 2, autonomous when consented)**: `steel-quench` dispatches in-session at the
620
- session tier — **same family** as the governor, so it shares the governor's blind spots. For a **load-bearing**
621
- change (gates · irreversible-surface code · doctrine), `auto-decorrelation` is the standing cross-family
622
- verifier: it recruits ≥1 **different-family** auditor when the sidecar panel is discoverable, and degrades
623
- honestly to single-session when none is. **Autonomous once the operator has consented** (one-time, in the
624
- UAP — `[[user_adaptation_profile]]`); the governor keeps the terminal verdict and **source-grounds** every
625
- sidecar finding before acting on it (`[[feedback_judge_robustness_mechanical_anchor]]`).
626
-
627
- > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §Cross-Family-Complement` — the
628
- > UAP sidecar mapping (which family for which task class) and the 2026-06-27 dogfood evidence — read when
629
- > recruiting or configuring a cross-family auditor.
96
+ **Cross-family complement (Axis 2)**: steel-quench runs in the governor's family and shares its blind spots. For a load-bearing change, `auto-decorrelation` recruits ≥1 different-family auditor when the panel is discoverable — autonomous once the operator consented (UAP), degrading honestly to single-session otherwise. The governor keeps the terminal verdict and source-grounds every sidecar finding. When recruiting or configuring a cross-family auditor, read `claude_md_gate_details.md §Cross-Family-Complement` (which family for which task class).
630
97
 
631
98
  ### Mode D Model Notice (fires once, at the same trigger as this gate)
632
99
 
633
- When FH self-dev begins (an FH asset is about to change), check the **session model** and surface **one
634
- line**, then proceed — never block, **never switch the model** (human override inviolable): opus-tier+ →
635
- no notice · below-opus → **dispatch-first recommend** (keep Sonnet + route depth turns to sidecar/opus
636
- dispatch; `/model opus` pin = secondary — `sonnet_floor_doctrine.md`) · unknown → static fallback recommend. Once per session;
637
- field-project (non-FH-asset) sessions never see it. Whether a session actually *escalates* (not just this
638
- advisory) is governed separately by `capability_escalation_consent.md`.
639
-
640
- > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §Mode-D-Model-Notice` — the
641
- > exact 3-branch wording (한글), the full guards, and the capability-escalation-consent cross-ref — read
642
- > when surfacing the notice.
100
+ When FH self-dev begins, check the session model and surface **one line**, then proceed — never block, **never switch the model**: opus-tier+ → no notice · below opus → recommend dispatch-first (keep Sonnet, route depth turns to an opus sidecar; `/model opus` pin second) · unknown → static fallback recommend. Once per session; field-project sessions never see it. When surfacing it, read `claude_md_gate_details.md §Mode-D-Model-Notice` (the exact wording and guards); actual escalation is governed by `capability_escalation_consent.md`.
643
101
 
644
102
  ---
645
103
 
646
- <!-- Relocated from always-loaded CLAUDE.md 2026-07-20 (Fable residency judgment, rank 2).
647
- ①파일 트리거(신규/편집 SKILL.md) ②기계 백스톱 검증됨 — pre-commit:105 가 어떤 SKILL.md
648
- 경로에도 4축 전체를 발동하고, :552-558 에 신규스킬 count-consistency 슬라이스가 따로 있다.
649
- glob 은 신설이 아니라 이 파일 frontmatter 의 기존 plugins/**/SKILL.md 를 재사용한다.
650
- 잔여: paths: 는 read 트리거라 '스킬을 맨바닥에서 Write 로 만드는' 경로엔 안 실린다 —
651
- 오늘 아침 4축 분리가 수용한 것과 동일한 잔여이고 floor 도 동일(pre-commit). -->
652
-
653
104
  ## New Skill Creation Pre-Commit Gate
654
105
 
655
106
  All 6 items below must pass before committing a new SKILL.md. If any fails, fix and re-commit.
@@ -660,18 +111,9 @@ All 6 items below must pass before committing a new SKILL.md. If any fails, fix
660
111
  | **Description diet** | Plain text / 0 self-marketing expressions / 0 emphasis words (⭐, "critical", "groundbreaking") |
661
112
  | **Done When defined** | At least 1 explicit completion condition |
662
113
  | **Check-class declared** | Each Done When condition states its check class — mandatory-pass / measured / judged (`harness_6axis_framework.md` §Axis 5). Any judged condition names its adversarial pairing — no judge-only path |
663
- | **Natural language triggers** | At least 3 examples that work without internal vocabulary. This is a **form** check (judged — do the examples avoid internal jargon). For a load-bearing gate/router skill it can be upgraded **judged → measured** with steel-quench's `Step 0.5 — Trigger-Accuracy Probe` (a dispatched should-fire / near-miss-should-not-fire fire-count), turning "do these triggers collide?" from a guess into a number. Optional for ordinary skills; recommended when the skill is a routing/gate surface |
114
+ | **Natural language triggers** | At least 3 examples that work without internal vocabulary (judged form check). Can be upgraded judged → measured with steel-quench `Step 0.5 — Trigger-Accuracy Probe` — optional for ordinary skills, recommended when the skill is a routing/gate surface |
664
115
  | **Independently executable** | Confirmed to work without other FH skills (or dependencies are explicitly documented) |
665
116
 
666
- Skills without a Done When definition automatically qualify as harness-doctor L2 M-tier.
667
- Check-class declaration applies to **new** skills; existing skills backfill opportunistically
668
- (when next edited), not retroactively. **Obligation (always-loaded):** a **routing/gate skill** (primary
669
- output = a dispatch decision or pass/block verdict) owes a **one-time `Step 0.5` baseline trigger-probe**
670
- at the next `harness-doctor` run **and a re-probe whenever its trigger phrases change** — not optional for
671
- that skill class, and not a retroactive sweep of all routers.
117
+ Skills without a Done When definition qualify as harness-doctor L2 M-tier. Check-class declaration applies to **new** skills; existing ones backfill when next edited. **Obligation:** a **routing/gate skill** (primary output = a dispatch decision or pass/block verdict) owes a one-time `Step 0.5` baseline trigger-probe at the next `harness-doctor` run and a re-probe whenever its trigger phrases change. When editing a routing/gate skill, read `claude_md_gate_details.md §New-Skill-Backfill` (probe mechanics, baseline rationale, the routing/gate test).
672
118
 
673
- > **Detail**: See `knowledge/shared/harness-core/claude_md_gate_details.md §New-Skill-Backfill` — the
674
- > probe mechanics (fire-count procedure), the baseline-floor rationale, and the mechanical "routing/gate
675
- > skill" test — read when editing a router/gate skill.
676
-
677
- ---
119
+ > **Full text, history and measurements for every section above**: `knowledge/shared/harness-core/fh_4axis_gate_detail.md` (same headings). Read the matching section when a field is new to you, when the hook blocks, or when you change the gate itself.