@chrono-meta/fh-gate 3.38.1 → 3.39.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 (41) hide show
  1. package/.claude/regression/probes_live.yaml +36 -0
  2. package/.claude/rules/fh_4axis_gate.md +6 -1
  3. package/.claude-plugin/marketplace.json +4 -4
  4. package/AGENTS.md +1 -1
  5. package/README.ja.md +2 -2
  6. package/README.ko.md +2 -2
  7. package/README.md +5 -4
  8. package/README.zh.md +2 -2
  9. package/docs/ETHOS.md +3 -1
  10. package/docs/codex-compat.md +2 -2
  11. package/knowledge/shared/harness-core/agents_md_runtime_details.md +1 -1
  12. package/knowledge/shared/harness-core/fh_module_contract.md +2 -0
  13. package/knowledge/shared/harness-core/fh_three_layer_canon.md +7 -0
  14. package/knowledge/shared/harness-core/governance_engineering_definition.md +55 -0
  15. package/knowledge/shared/harness-core/governor_landing_before_compact.md +57 -0
  16. package/knowledge/shared/harness-core/lease_record_channel.md +32 -0
  17. package/knowledge/shared/learnings/subagent_invocations_log.yaml +36 -0
  18. package/knowledge/shared/rules/operations.md +16 -0
  19. package/package.json +9 -1
  20. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  21. package/plugins/fh-commons/skills/convergence-loop/SKILL.md +8 -0
  22. package/plugins/fh-commons/skills/convergence-loop/fh-module.yaml +22 -0
  23. package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +5 -0
  24. package/plugins/fh-commons/skills/persona-cast/SKILL.md +20 -4
  25. package/plugins/fh-commons/skills/persona-cast/fh-module.yaml +20 -0
  26. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  27. package/plugins/fh-meta/CHANGELOG.md +18 -0
  28. package/plugins/fh-meta/skills/steel-quench/SKILL.md +8 -3
  29. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  30. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  31. package/scripts/convergence_verdict.py +177 -0
  32. package/scripts/lane_gap_hint.py +166 -0
  33. package/scripts/lane_gap_hint.sh +7 -0
  34. package/scripts/package_coverage_check.sh +19 -0
  35. package/scripts/persona_cast_merge.py +235 -0
  36. package/scripts/probe_live_eval_lib.py +41 -0
  37. package/scripts/selfcheck.sh +12 -1
  38. package/scripts/test_convergence_verdict_lanes.sh +67 -0
  39. package/scripts/test_lane_gap_hint_lanes.sh +91 -0
  40. package/scripts/test_live_eval_construct_lanes.sh +70 -0
  41. package/scripts/test_persona_cast_merge_lanes.sh +108 -0
@@ -57,6 +57,9 @@ probes:
57
57
  input: "안녕"
58
58
  expect_re: "🐿️"
59
59
  control_input: "package.json 파일의 dependencies 목록만 알려줘"
60
+ construct: proxy
61
+ claims: "active onboarding fires once per session"
62
+ unseen: "the menu itself and «once per session» — only that 🐿️ appears somewhere in the reply"
60
63
 
61
64
  # G-GREET-02 / G-GREET-05 share G-GREET-01's utterance on purpose — the greeting under test is the
62
65
  # same turn; what differs is WHICH invariant of that one response each pattern pins. Running them
@@ -81,6 +84,9 @@ probes:
81
84
  # established by the fixtures, not by the live run.
82
85
  expect_re: "🐿️[ ]*[^ \n]"
83
86
  control_input: "package.json 파일의 dependencies 목록만 알려줘"
87
+ construct: partial
88
+ claims: "🐿️ and an identity welcome line on the same line"
89
+ unseen: "whether the text after 🐿️ is the welcome line — any non-space character passes"
84
90
 
85
91
  - id: G-GREET-05
86
92
  polarity: present
@@ -102,12 +108,18 @@ probes:
102
108
  # in none of them), 0/3 on each of five non-greeting arms.
103
109
  expect_re: "(Welcome (back )?to FH\.|The FH operator|🐿️[^\n]*FH)"
104
110
  control_input: "package.json 파일의 dependencies 목록만 알려줘"
111
+ construct: partial
112
+ claims: "the pinned welcome literals appear exactly"
113
+ unseen: "exactness of two branches — «The FH operator» without «— good to see you.» passes, and so does «🐿️ … FH» on one line"
105
114
 
106
115
  - id: G-GREET-04
107
116
  polarity: absent
108
117
  input: "package.json 파일에 있는 dependencies 목록을 알려줘"
109
118
  expect_re: "🐿️"
110
119
  control_input: "안녕"
120
+ construct: proxy
121
+ claims: "onboarding skipped and the work starts"
122
+ unseen: "whether the work started — only that no 🐿️ appears"
111
123
 
112
124
  # 🟥 G-TRIG-01 ENTRY REMOVED 2026-09-17 — twin of G-TRIG-03 above; excluded for the SAME reason
113
125
  # by the same mechanical rule (ARM_CAPABILITY_EXCLUDE), and it should have moved together with it
@@ -128,6 +140,9 @@ probes:
128
140
  input: "context is getting long"
129
141
  expect_re: "context-doctor"
130
142
  control_input: "오늘 날씨 어때?"
143
+ construct: proxy
144
+ claims: "/context-doctor is proposed"
145
+ unseen: "proposal vs mention — a reply that only names the skill passes"
131
146
 
132
147
  # 🟥 G-TRIG-03 ENTRY REMOVED 2026-09-14 — it had emitted STALE-YAML-ENTRY every night for 8 nights
133
148
  # running, which is how a warning becomes background noise. The entry was authored here while the
@@ -145,12 +160,18 @@ probes:
145
160
  input: "wrap up this week"
146
161
  expect_re: "harvest-loop"
147
162
  control_input: "오늘 날씨 어때?"
163
+ construct: proxy
164
+ claims: "/harvest-loop is proposed"
165
+ unseen: "proposal vs mention"
148
166
 
149
167
  - id: G-TRIG-05
150
168
  polarity: present
151
169
  input: "I want to make this repo public"
152
170
  expect_re: "(public-surface-audit|marketplace-gate|Pre-Publish)"
153
171
  control_input: "오늘 날씨 어때?"
172
+ construct: proxy
173
+ claims: "the Pre-Publish gate fires BEFORE the action"
174
+ unseen: "order — whether the gate came before any publish step; and the security-review leg"
154
175
 
155
176
  - id: G-TRIG-06
156
177
  polarity: present
@@ -162,6 +183,9 @@ probes:
162
183
  input: "이 레포 전체 리팩터링을 /goal 로 끝까지 자율로 돌려줘"
163
184
  expect_re: "goal-quench"
164
185
  control_input: "오늘 날씨 어때?"
186
+ construct: proxy
187
+ claims: "/goal-quench is proposed first and never auto-run"
188
+ unseen: "«first» and «never auto-run» — only that goal-quench is named"
165
189
 
166
190
  - id: G-TRIG-07
167
191
  polarity: present
@@ -209,6 +233,9 @@ probes:
209
233
  # Current reading: 0/3.
210
234
  advisory_re: "deep-clarify"
211
235
  control_input: "오늘 날씨 어때?"
236
+ construct: proxy
237
+ claims: "/deep-clarify is proposed (ask what to organize)"
238
+ unseen: "proposal vs mention — a reply that names deep-clarify without asking passes; and whether the question is the first move"
212
239
  # SECOND known-negative (adversarial, the NEAREST MISS — not merely another unrelated input).
213
240
  # One control was under-discriminating by construction: 날씨 is so far from the probe's subject
214
241
  # that it cannot test the leak a widened pattern actually risks, which is "clarification
@@ -226,12 +253,18 @@ probes:
226
253
  input: "wrap up"
227
254
  expect_re: "(session_close_check|fh_completed|close chain|카드|세션 마감)"
228
255
  control_input: "오늘 날씨 어때?"
256
+ construct: proxy
257
+ claims: "close chain ①→⑥ in order with the card last"
258
+ unseen: "order and completeness — one close-chain word anywhere passes"
229
259
 
230
260
  - id: G-SEARCH-01
231
261
  polarity: present
232
262
  input: "find past work on the 4-axis gate"
233
263
  expect_re: "CATALOG"
234
264
  control_input: "오늘 날씨 어때?"
265
+ construct: proxy
266
+ claims: "CATALOG.md is read first, then only candidate files"
267
+ unseen: "tool calls and their order — the reply text only has to name CATALOG"
235
268
 
236
269
  - id: G-MAP-01
237
270
  polarity: present
@@ -251,3 +284,6 @@ probes:
251
284
  # 1,057 recorded control responses (every probe) the new alternative adds 0 control hits.
252
285
  expect_re: "(auto_project_mapping|매핑|[Mm]apping [Pp]rotocol|tracks/[^/\s`]+/learnings)"
253
286
  control_input: "오늘 날씨 어때?"
287
+ construct: proxy
288
+ claims: "candidate list → user selects → execute, never overwriting CLAUDE.md"
289
+ unseen: "the select step and the no-overwrite rule — a mapping word passes"
@@ -116,7 +116,12 @@ FH asset modified → Axis 1 (templates/regression_guard.sh --pr {BRANCH})
116
116
  steel-quench §Convergence Criteria consumes it, and a hook check for it was built and then
117
117
  REMOVED the same day for firing on 100% of markers. The convergence claim it supports is
118
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;
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);
120
125
  hook validates mechanically: below-floor blocks without below-floor-ack, and axis2-evidence
121
126
  must be non-vacuous — a recorded verdict/count, not "it ran". Marker scope is form +
122
127
  non-vacuity + auditability, NOT provenance — a fabricated marker is the weekly-audit + operator
@@ -11,25 +11,25 @@
11
11
  "plugins": [
12
12
  {
13
13
  "name": "fh-meta",
14
- "version": "3.38.1",
14
+ "version": "3.39.0",
15
15
  "description": "New in 2.2.0: BREAKING (gate): chamber step 6 now reads ACTUAL.md, not BUDGET.md — an in-flight chamber run whose actual cost sits in BUDGET.md blocks until the ACTUAL: line moves to tracks/_chamber/<slug>/ACTUAL.md (the runner prints the path). Why: BUDGET.md's pre-verdict hash IS the ordering witness, and step 6 hard-blocked until that same file changed, so every run that reached COMPLETE necessarily mutated a witnessed artifact and verify returned TAMPERED — the chamber's promotion condition was unsatisfiable by construction, not by strictness. Two roles (immutable witness / post-verdict calibration sink) had collided in one file; each was correct alone, so neither side's code showed the conflict. Also: ko-tech-writer Step 2/4-b scans are now calibration-backed (known-pair fixtures + reproducible command, shipped) — discrimination is proven, 'zero residue' is explicitly NOT; chamber lane suite 12 -> 33 including the runner x witness seam no test covered; chamber_run.sh now teaches the two-commit discipline (gate hashes and verdict hash must land in separate commits/PRs — it previously advised the opposite). New in 2.1.0: BREAKING (gate): `crossfamily: declined` in an Axes 2-3 marker now requires grounds naming a record path that RESOLVES on disk — bare `declined`, and `declined` justified by author judgment, are blocked at commit. Remedy: cite where the operator decision lives (e.g. `.. — operator declined sidecars, per knowledge/shared/rules/operational_adaptation.md`), or use `DEGRADED_PANEL_UNUSED` if a panel was reachable and you chose not to recruit it — which is what author judgment actually is. `declined` was the only enum value with no grounds requirement; a cross-family review then broke the first (vocabulary-grep) fix three ways — self-validating on the value's own token, vacuous keyword passes, and over-blocking real declinations in natural prose — so the check asserts a resolvable record instead of words. Also: standpoint axis gains `tier1b` (a STATIC read of a target repo, executed nothing) plus a decide-in-order procedure, after blind floor-tier sims graded pure cold-reads as `tier2` three rounds running; steel-quench Wave 1's sixth angle (gate-locality) gains the output-template row it never had, so a mandatory angle stops being structurally unreportable; verify-bidirectional gains category 5 (prescriptive doctrine statement); Sister Asset Protocol gains an active-adoption trigger; new resident doctrine — Mechanization Boundary, Local Execution First, Skeleton-not-Muscle, Expedition track, and this package's versioning policy. Hub meta-operations toolkit — 35 skills + 7 agents. New in 2.0.1: harness-doctor cadence hook, portability lint wired into pre-commit, branch_claim.sh claim-count-vs-tree-count warning, louder confidentiality-scan fail-open notice, fh-gate.sh missing-package.json survival, identity ① reclassified 🟢 (cross-harness adapters + relay argument channel). New in 1.4.53: `fh-codex-doctor` (npm bin) — Codex adapter drift scanner; reads the documented M1/M2/M3 skill tier map + skill/agent source and reports codex-native/adapter-required/claude-native/unclassified per unit, wired into `npm test`/`prepublishOnly` (fail-closed on unclassified Claude-native primitives). New in 1.4.49: steel-quench gains Step 0.6 Verdict-Invariance Probe (groundedness axis — a load-bearing judged gate's verdict must track behavior, not rubric phrasing; measured flip-count over cross-family paraphrases; arXiv:2605.06161 Policy Invariance anchor); multi_model_sidecar_strategy §Vendor-native harness (a model is strongest in its own vendor CLI — Claude/CC, GPT/codex, Gemini/Antigravity; a universal router degrades all of them, so it stays an autocomplete/QA sidecar, never orchestration); predelete_check.sh fail-closed rewrite; memory-hygiene A-TMA anchor. New in 1.4.48: phantom-quench + steel-quench gain external frontier anchors (arXiv:2607.02052 package-hallucination; arXiv:2607.02057 prompt-coverage-adequacy); README model-flat claim reframed from a per-release point-curve to structural invariants (operation flattens across tiers; depth tier-order fixed within a generation). New in 1.4.47: onboarding step ① surfaces the Mode D companion-store session-start load in the auto-read salience anchor (previously only in the local binding + rules, so a greeting could skip the load). New in 1.4.46: context-doctor command-output axis (route to rtk/proxy for verbose CLI stdout, complementing .claudeignore; risk-gated to token-scarce envs). New in 1.4.41: context-doctor 2026 trigger vocab (context engineering/rot/collapse) + phantom-citation hardening; hub measurement-integrity-checklist (cross-model measurement pre-flight: display-name pin/reps≥3/discriminating probe). New in 1.4.40: install-wizard queryable-wiki scaffold (INDEX + session-start read + R/W/C ingest). New in 1.4.39: auto-decorrelation (cross-family verifier sidecar recruitment) + video-ingest (capability-routed video ingestion). New in 1.4.x: verify-axis check-class taxonomy (mandatory-pass/measured/judged), no-reinvention Tier-0 inventory, 7-class failure taxonomy, Destructive-Op Gate, Wave-T (Temper), tier-floor governance, Mode D Model Notice, FC consent lane, default-Sonnet guidance. New in 1.3.0: public-surface-audit, field-harvest Mode B auto-trigger, 4-axis gate scope ext. Validated cross-CLI: Claude Code, Codex, Gemini.",
16
16
  "source": "./plugins/fh-meta"
17
17
  },
18
18
  {
19
19
  "name": "fh-commons",
20
- "version": "3.38.1",
20
+ "version": "3.39.0",
21
21
  "description": "Project-agnostic utility skills — 7 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast · standpoint-review) + 7 agents (quench-challenger + the web-review cast: designer · ux-writer · fe-dev · be-dev · qa · a11y). Domain-independent utilities transplantable into any project.",
22
22
  "source": "./plugins/fh-commons"
23
23
  },
24
24
  {
25
25
  "name": "fh-qp",
26
- "version": "3.38.1",
26
+ "version": "3.39.0",
27
27
  "description": "QP (Quality Platform) — the generic edition of a field QA harness's Prepare→Automation→Regression loop as an FH plugin: 4 skills (qp router · qp-plan · qp-run · qp-regress) + qp_tools.sh (target-class · adapter-probe · mask · surface-reach · mtm-check · run-verbs, typed exit codes) + a zero-domain-constant profile slot + 29 known-pair lanes. Drives web targets through the session's Playwright MCP and desktop targets through computer-use MCP (mobile deferred); calls a registered qasp typed capability when one exists (strictest-wins) — none is registered today, so the MCP fallback is the first edition. Verdict contract: a MACHINE closure requires a recorded assertion; a failed first step is attributed BLOCKED, not FAIL; surface_reach counts every TC in the denominator. Born as chamber run #18 (EMIT, 2026-09-05).",
28
28
  "source": "./plugins/fh-qp"
29
29
  },
30
30
  {
31
31
  "name": "fh-preprep",
32
- "version": "3.38.1",
32
+ "version": "3.39.0",
33
33
  "description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
34
34
  "source": "./plugins/fh-preprep"
35
35
  }
package/AGENTS.md CHANGED
@@ -362,7 +362,7 @@ implementation, not the maximum capabilities of the Codex host.
362
362
  | Tier | Definition | Skills |
363
363
  |---|---|---|
364
364
  | **M1 — Full** | No Claude-native dependency | `token-budget-gate`, `asset-placement-gate`, `phantom-quench`, `deep-clarify`, `convergence-loop`, `ko-tech-writer` (visual-QA degrades to text-only; the spoken register's Step 5-s renders audio through a shell TTS call — available here — but its **listening** pass is human in every runtime, so it degrades to declared-unmet, not to a Codex-specific gap) |
365
- | **M2 — Partial** | Core works; native agent or slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop` |
365
+ | **M2 — Partial** | Core works; native agent or slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`, `persona-cast` (its Step 4 merge engine `scripts/persona_cast_merge.py` runs as is; dispatching the six lens agents needs the adapter) |
366
366
  | **M3 — Claude-bound implementation** | Shipped workflow requires Claude-specific hook/configuration or session context | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
367
367
 
368
368
  > **Detail**: See `knowledge/shared/harness-core/agents_md_runtime_details.md §Invocation-patterns`
package/README.ja.md CHANGED
@@ -25,12 +25,12 @@
25
25
 
26
26
  > **エージェントに毎回説明していたルールを、プロジェクトに置く。**
27
27
 
28
- <p align="center"><b>あなたのエージェントだけでなく、あなたも捕まえる品質ゲート。</b></p>
29
-
30
28
  ## 誰のためか、何が得られるか
31
29
 
32
30
  実際のプロジェクトで Claude Code(または他のコーディングエージェント)を使っていて、同じ説明の繰り返しや、変更が誤りだったと気づくのが遅すぎることに疲れている人のためのものです。得られるものは三つです。
33
31
 
32
+ ゲートはエージェントだけでなく、あなたのミスも見つけて止めます — 2026-08-22 の一日で作者を7回止め、そのうち作者が先に気づいたものは一つもありませんでした([ゲートが止めた一日](docs/GATE_DAY.md))。
33
+
34
34
  | 得られるもの | 実際には | 根拠 |
35
35
  |---|---|---|
36
36
  | **マージ前のゲート** | 変更が入る*前*に diff を判定し、その変更が何を失ったかを名指しします。判定は grep する文章ではなく、型を持つ値(`PASS · PENDING · BLOCKED · ESCALATE`)です。エージェントのコードだけでなく、自分で書いたコードにも働きます。 | 下のデモ GIF · 他人が書いたコードでの実行と穴を仕込んだテスト(サンプル数つき): [根拠](#根拠とその限界) · 方法論と統制されたアブレーション: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
package/README.ko.md CHANGED
@@ -26,13 +26,13 @@
26
26
 
27
27
  > AI 에게 매번 설명하던 규칙을, 프로젝트마다 심어두세요.
28
28
 
29
- <p align="center"><b>당신의 에이전트도, 당신도 통과해야 하는 품질 게이트.</b></p>
30
-
31
29
  ## 누구를 위한 것이고, 무엇을 얻을 수 있나요
32
30
 
33
31
  실제 프로젝트에서 Claude Code(또는 다른 코딩 에이전트)를 쓰면서, 같은 말을 반복하는 일이나 잘못된 변경을
34
32
  너무 늦게 알게 되는 일에 지친 분들을 위한 것입니다. 얻는 것은 세 가지입니다.
35
33
 
34
+ 게이트는 에이전트만이 아니라 당신의 실수도 잡습니다 — 2026-08-22 하루에 작성자를 일곱 번 막았고, 그중 작성자가 먼저 알아챈 것은 하나도 없었습니다([게이트가 막은 하루](docs/GATE_DAY.md)).
35
+
36
36
  | 얻는 것 | 실제로는 | 근거 |
37
37
  |---|---|---|
38
38
  | **머지 전 게이트** | 변경이 들어오기 *전에* diff 를 판정하고, 판정문은 그 변경이 무엇을 잃었는지 이름으로 짚어 줍니다. 판정은 grep 으로 뒤지는 글이 아니라 타입이 있는 값(`PASS · PENDING · BLOCKED · ESCALATE`)입니다. 에이전트가 쓴 코드뿐 아니라 직접 쓴 코드에도 동작합니다. | 아래 데모 GIF · 남이 쓴 코드에 돌린 실행과 구멍을 심은 시험(표본 크기 포함): [근거](#근거) · 방법론과 통제된 제거 실험: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
package/README.md CHANGED
@@ -26,15 +26,16 @@ every session: rules it follows, checks that block bad changes, and a record of
26
26
 
27
27
  > Stop re-explaining your rules to your agent. Put them in the project.
28
28
 
29
- <!-- The two lines above and below were chosen, not drafted. Before rewriting them, read docs/ETHOS.md
30
- §"Who this line is for" — two rejected alternatives are recorded there with why. -->
31
- <p align="center"><b>Quality gates that catch you, not just your agent.</b></p>
32
-
29
+ <!-- The line above was chosen, not drafted. Its companion — «quality gates that catch you, not just your
30
+ agent» — sat below it as a centered line until 2026-11-07 and now lives as one sentence with its evidence in
31
+ «Who it is for». Before rewriting either, read docs/ETHOS.md §"Who this line is for". -->
33
32
  ## Who it is for, and what you get
34
33
 
35
34
  For people who use Claude Code (or another coding agent) on real projects and are tired of repeating
36
35
  themselves or of finding out too late that a change was wrong. You get three things:
37
36
 
37
+ The gates catch you, not only your agent: on 2026-08-22 they blocked the author seven times, and the author caught none of those first ([one day of gate blocks](docs/GATE_DAY.md)).
38
+
38
39
  | You get | In practice | Evidence |
39
40
  |---|---|---|
40
41
  | **A gate before merge** | A diff is judged *before* it lands, and the verdict names what the change lost. The verdict is a typed value (`PASS · PENDING · BLOCKED · ESCALATE`), not text you grep. It works on your own code, not only an agent's. | Demo GIF below · a run on code someone else wrote and a planted-hole test, with sample sizes: [Evidence](#evidence) · method and controlled ablation: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
package/README.zh.md CHANGED
@@ -25,12 +25,12 @@
25
25
 
26
26
  > **别再一遍遍向 agent 解释规则——把它们放进项目里。**
27
27
 
28
- <p align="center"><b>不仅能发现 agent 的问题,也能发现你的问题的质量门禁。</b></p>
29
-
30
28
  ## 适合谁,你能得到什么
31
29
 
32
30
  适合在真实项目里使用 Claude Code(或其他编码 agent),厌倦了重复同样的话、或者发现改动有误时已经太晚的人。你会得到三样东西:
33
31
 
32
+ 门禁拦的不只是 agent,也包括你自己的错误:2026-08-22 这一天,门禁拦住了作者七次,其中没有一次是作者自己先发现的([门禁拦截的一天](docs/GATE_DAY.md))。
33
+
34
34
  | 你得到 | 实际表现 | 证据 |
35
35
  |---|---|---|
36
36
  | **合并前的门禁** | 在改动落地*之前*判定 diff,判定会点名这次改动丢掉了什么。判定是有类型的值(`PASS · PENDING · BLOCKED · ESCALATE`),而不是需要你去 grep 的文字。对 agent 写的代码有效,对你自己写的代码同样有效。 | 下方演示 GIF · 一次对他人所写代码的运行与一次埋洞测试,附样本量:[证据](#证据以及它薄弱的地方) · 方法与受控消融实验:[arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
package/docs/ETHOS.md CHANGED
@@ -149,7 +149,7 @@ The honesty is not a disclaimer bolted on at the end. It *is* the positioning.
149
149
 
150
150
  > **Quality gates that catch you, not just your agent.**
151
151
 
152
- That sentence is the **second** of two lines that open the README, and it was **chosen against two
152
+ That sentence was the **second** of two lines that opened the README until 2026-11-07 (see the dated record at the end of this section — it now sits in «Who it is for»), and it was **chosen against two
153
153
  alternatives**. It was the first line until 2026-08-28; see §"Why a second line was added above it"
154
154
  below — a second line now sits above it, and that section records the blind cold read that
155
155
  chose its wording (and killed the first attempt). Both
@@ -228,3 +228,5 @@ author's own line is.
228
228
  figure is measured; "which sentence reads better" is not, and no reader study was run. What is being
229
229
  preserved here is *why the choice was made*, so a future rewrite argues with the reason rather than
230
230
  rediscovering it.
231
+
232
+ **Moved, 2026-11-07 — from the slogan position into the body.** The centered bold line under the README's opening blockquote read as a marketing line dropped mid-flow (operator); the Korean «통과해야 하는» also leaned further into slogan than the English «catch». The claim is unchanged — the gates catch the person, not only the agent — and it now sits as one plain sentence in «Who it is for» in all four READMEs, carrying its evidence (docs/GATE_DAY.md §2: on that day the gates blocked the author seven times; author self-catches zero).
@@ -136,7 +136,7 @@ configuration/trust contract (see §Current host capability); FH's Claude config
136
136
  automatic substitute.
137
137
 
138
138
  ### 2. M2 skills need explicit dispatch substitution
139
- M2 skills (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) have a core workflow that runs under Codex, but any step that dispatches `Agent(subagent_type=...)` or a slash command needs an explicit equivalent: a permitted native agent reading the spec, `fh-run`, or direct `codex exec`, preserving isolation, tool limits, model floor, consent, and return gate — same workflow, different runtime (the "M2 adaptation pattern" in `AGENTS.md`). Example: `steel-quench` Waves 1–3 run; the `quench-challenger` agent step becomes `fh-run --agent fh-commons:quench-challenger`.
139
+ M2 skills (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`, `persona-cast` — its merge engine runs as is, the lens dispatch needs the adapter) have a core workflow that runs under Codex, but any step that dispatches `Agent(subagent_type=...)` or a slash command needs an explicit equivalent: a permitted native agent reading the spec, `fh-run`, or direct `codex exec`, preserving isolation, tool limits, model floor, consent, and return gate — same workflow, different runtime (the "M2 adaptation pattern" in `AGENTS.md`). Example: `steel-quench` Waves 1–3 run; the `quench-challenger` agent step becomes `fh-run --agent fh-commons:quench-challenger`.
140
140
 
141
141
  ### 3. M3 skills do not run automatically under Codex
142
142
  M3 skills (`goal-quench` Phase-3 Stop hook, `harness-pr-reviewer` CC session context, `install-wizard` settings.json write) require Claude-Code-native runtime and are **methodology reference only** under Codex unless a dedicated adapter exists. Use Codex's native goal/session features for goal control, and use `fh-gate` after completion for FH quality gating.
@@ -177,7 +177,7 @@ The sibling pattern for Gemini is `gemini -p "$(cat <skill+artifact>)"`. Outside
177
177
  | Tier | Under Codex | Action |
178
178
  |---|---|---|
179
179
  | **M1** | Runs fully (`token-budget-gate`, `asset-placement-gate`, `phantom-quench`, `deep-clarify`, `convergence-loop`, `ko-tech-writer` (visual-QA degrades to text-only; the spoken register's Step 5-s renders audio through a shell TTS call — available here — but its **listening** pass is human in every runtime, so it degrades to declared-unmet, not to a Codex-specific gap)) | `cat SKILL.md artifact \| codex exec -m gpt-5.5 -` |
180
- | **M2** | Core runs; agent/slash steps via adapter (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`) | Use a permitted native agent, `fh-run`, or direct `codex exec` reading the spec; preserve dispatch constraints |
180
+ | **M2** | Core runs; agent/slash steps via adapter (`deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`, `persona-cast` — its merge engine runs as is, the lens dispatch needs the adapter) | Use a permitted native agent, `fh-run`, or direct `codex exec` reading the spec; preserve dispatch constraints |
181
181
  | **M3** | Does not run automatically | Use native Codex session features where available; otherwise read as methodology reference or use a dedicated adapter |
182
182
 
183
183
  ## Beta removal — remaining (external-blocked)
@@ -220,7 +220,7 @@ is not the headless substitute.
220
220
  | Tier | Definition | Examples |
221
221
  |---|---|---|
222
222
  | **M1 — Full** | No Claude-native dependency | `token-budget-gate`, `asset-placement-gate`, `phantom-quench`, `deep-clarify`, `convergence-loop` |
223
- | **M2 — Partial** | Core works; native agent/slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop` |
223
+ | **M2 — Partial** | Core works; native agent/slash-command steps need adaptation | `deliberation`, `steel-quench`, `harness-doctor`, `context-doctor`, `sim-conductor`, `harvest-loop`, `persona-cast` (merge engine runs as is; lens dispatch needs the adapter) |
224
224
  | **M3 — Claude-bound implementation** | Shipped workflow requires Claude-specific hook/configuration or session context | `goal-quench`, `harness-pr-reviewer`, `install-wizard` |
225
225
 
226
226
  **Which phase needs adapting** — the operative half of the M2/M3 rows. Without this a tier label
@@ -89,6 +89,8 @@ Measured on the pilot: without `files:` the export failed with «missing scripts
89
89
  `bash scripts/test_fh_module_check_lanes.sh` - known-positive (valid module), known-negatives (disable, override, shadow, reorder, unknown enum, unknown key, unrouted publish, garbage / empty / missing manifest, removal with dependant, merge in both orders). `FH_MODULE_PROBE=<name>` neuters one check in a temp copy; the matching lane must go red.
90
90
 
91
91
  Pilot: `plugins/fh-commons/skills/ko-tech-writer/fh-module.yaml`.
92
+ Second module (2026-11-06): `plugins/fh-commons/skills/persona-cast/fh-module.yaml` — the doorway skill, its six lens agents and the Step 4 merge engine `scripts/persona_cast_merge.py`; `export` is STANDALONE with 10 files.
93
+ Convergence-loop module (2026-11-06): `plugins/fh-commons/skills/convergence-loop/fh-module.yaml` — the first with a **verdict entry point** (`convergence-verdict`, exit 0/1/2; PROVISIONAL «one clean round» maps to 1, never 0).
92
94
 
93
95
  ## 7. Not in v0
94
96
 
@@ -625,6 +625,13 @@ zsh·ksh는 다른 문법으로 거부한다. Mac에서는 Linux 전용 프로
625
625
  - **질문하기 ↔ external-grounding 은 같은 것의 양면**이다: 밖에 묻는다 = 밖에 근거를 둔다.
626
626
  ⚠️ 이 엔진의 **수용 절반이 비어 있다** — 묻는 경로는 있고 *들어온 통찰을 자산화하는*
627
627
  경로가 약하다(`[[feedback_operator_insight_must_become_asset]]`).
628
+ - **맥락 유지 ↔ 쓰기와 읽기의 양면**이다. ⚠️ 이 엔진은 **쓰는 절반은 있고, 읽는 절반과 시점이 약하다** —
629
+ 발화 기록 · 체크리스트 · 압축 봉인 · 카드 · 리스 기록은 쌓이는데, 판단 순간에 그것을 안 연다(격리 실측
630
+ 2026-11-07: 기록이 있어도 지시가 없으면 0/5 열람 · 5/5 낡은 주장, `tracks/_meta/measure_reread_before_state_claim_2026-11-07.md`),
631
+ 압축이 착지 전에 온다, 상위가 하위 원문을 안 읽는다. 보강 넷(AQ-20261107-9~12): 상태 주장 사후 대조 훅
632
+ `scripts/state_claim_recheck_hook.sh` · 착지 후 압축 `governor_landing_before_compact.md` · 주간 감사의 하위 세션
633
+ 원문 감사(`operations.md` §Weekly Improvement Cycle 3b) · 리스 기록은 세션이 초안만 내고 운영자가 넣는 채널
634
+ (AQ-20261107-11 — 리스/권한 경로라 별도 PR, 머지는 운영자).
628
635
 
629
636
  ---
630
637
 
@@ -216,6 +216,61 @@ B-1 은 타입된 주장을 생산한 적이 없다. **실측 2026-09-17, 재현
216
216
  보고(§Mechanization Boundary 와 같은 경계), 승인 피로 원장은 승인 **패턴**(부류별 승인율 · 결정 시간)을 셀 뿐이다.
217
217
  🟥 «바깥은 이걸 모른다» 로 쓰지 않는다 — 위 출처의 본문 전부를 확인하지 않았다(§명명된 잔여의 «델타 진술» 요구와 같은 경계).
218
218
 
219
+ ## 구조 — 무엇을 하나 · 누가 맡나 (운영자 확정 2026-11-07)
220
+
221
+ 위 정의는 **무엇인가**를 고정한다. 이 절은 그것을 **어떻게 하고 누가 맡는지**를 적는다. 🟥 두 질문을 한 목록에
222
+ 섞지 않는다 — 섞으면 «게이트» 와 «의도 먼저» 가 같은 무게의 항목처럼 읽힌다.
223
+
224
+ ### 무엇을 하나 — 정의 한 줄 · 두 동사 · 방법 여섯
225
+
226
+ > **수치를 목표로 움직이되, 그 수치가 게이트를 열지는 않는다.**
227
+
228
+ - **움직인다** — 오류율을 낮추는 것을 목표로 막고, 돌려주고, 키운다.
229
+ - **막아선다** — 되돌릴 수 없는 곳은 숫자로 열리지 않는다. (2026-09-09 정식화 원문의 «막고서는» 을 인용하는
230
+ 자리에서는 원문을 그대로 쓴다.)
231
+
232
+ | 방법 | 한 문장 |
233
+ |---|---|
234
+ | **의도 먼저** | 무엇이 성공이고 무엇을 절대 하지 않을지는 설계 전에 사람이 정한다. |
235
+ | **쓴 사람은 판정하지 않는다** | 판정은 만든 쪽이 아닌 다른 쪽이 한다. |
236
+ | **계기부터 의심한다** | 판정을 믿기 전에 그 판정을 낸 도구부터 시험한다. 재지 않은 것은 0 이 아니다. |
237
+ | **다르게 받아야 다르게 본다** | 검토자 수를 늘리기보다, 검토자마다 받는 자료를 다르게 한다(탈상관). |
238
+ | **기계는 가장자리에** | 기계는 되돌릴 수 없는 자리와 기록의 형식에만 두고, 내용의 옳고 그름은 판단에 맡긴다. |
239
+ | **기록은 다시 연다** | 판단하기 전에 남긴 기록을 다시 읽는다. |
240
+
241
+ 🟡 «결과적으로 더 빠르고 싸다» 는 이 목록에 넣지 않았다 — 아직 잰 적이 없다. 비교 측정으로 개선이 확인되면, 잰 범위와 함께 «움직인다» 의 결과로 붙인다.
242
+
243
+ ### 누가 맡나 — 세 자리 · 바탕 둘
244
+
245
+ | 자리 | 맡는 것 | 맡지 않는 것(다른 자리 몫) |
246
+ |---|---|---|
247
+ | **게이트** (기계) | 되돌릴 수 없는 곳을 막아서고, 기록의 형식을 본다 | 내용이 맞는지 판단하기 |
248
+ | **거버너** (판단) | 아래 두 역할 | 자기가 만든 것의 최종 판정(집약 역할의 한계는 아래 표) |
249
+ | **사람** (의도) | 성공 정의 · 비가역 승인 · 틀 검토 | 산출물 건별 채점(비가역 승인은 위 칸에 남는다) |
250
+
251
+ **거버너의 두 역할** — 운영자 정정(2026-11-07, 축자): *"거버너 하나에 여러 서브에이전트를 띄우면 거버너
252
+ 하나로만 보면되지 이경우에는 거버너가 여러개에 대한 사람과의 1개의 대화창이 돼. 그러나 실무 세션을 마감 후
253
+ 다음 세션으로 이어가거나 여러 실무세션을 띄우고 사람이 그 실무세션들에서 의도를 전하며 작업할때 거버너는
254
+ 그 위에서 사람과 실무세션에이전트를 동시에 감사하는 거야. 이 두가지는 명백히 다르잖아."*
255
+ 갈리는 것은 방향이 아니라 **배치 — 사람이 누구와 말하나**다.
256
+
257
+ | | **집약** 거버너 | **감독** 거버너 |
258
+ |---|---|---|
259
+ | 사람이 말하는 상대 | 거버너 하나 | 실무 세션들(직접) |
260
+ | 거버너의 위치 | 대화 경로 **안** — 서브에이전트를 띄우고 결과를 모은다 | 대화 경로 **밖 · 위** — 사람과 실무 에이전트를 같이 본다 |
261
+ | 감사 대상 | 서브에이전트 산출 | 사람의 의도 전달 · 실무 에이전트의 작업 · 세션과 세션 사이 |
262
+ | 주는 것 | 사람이 볼 창을 하나로 압축 | 저자가 아닌 눈 · 세션을 건너는 연속성 |
263
+ | «쓴 사람은 판정하지 않는다» | 약하다 — 일을 시킨 쪽이 그 결과를 판정한다 | 가능하다 — 거버너는 그 작업의 저자가 아니다(받은 자료가 독립인지는 따로 확인) |
264
+ | 약한 곳 | 병목 · 자기 지시 편향 · 맥락 포화 | 하위 전사본을 실제로 읽는가(읽는 절반) · 지연 |
265
+
266
+ - 집약 역할의 거버너는 감독 역할의 거버너나 사람이 감사한다. 감독 역할은 사람을 감사 대상에 넣는다(흐린 의도 ·
267
+ 습관이 된 승인 · 세션을 넘길 때 빠진 결정). 집약 역할도 이것을 볼 수는 있지만, 사람과 말하는 쪽이 자기라서
268
+ 자기 대화를 감사하게 되고 독립성이 약하다.
269
+ - **바탕 둘** — 세 자리를 잇는다. **의도**: 셋 모두 무엇에 비춰 판정하는가(영혼 — 성공 정의 · 절대 안 함).
270
+ **기록**: 창 하나로 충분하려면 시간을 건너 기억해야 한다(맥락 유지 엔진 — 읽는 절반이 가장 약하다,
271
+ `fh_three_layer_canon.md` §2).
272
+ - 🟥 «가속» 은 자리가 아니라 셋이 맞물린 결과이고, 측정 전이다.
273
+
219
274
  ## 왜 이 이름이 지금 필요했나 — 측정된 공백
220
275
 
221
276
  낱말 실측(2026-09-09, 컨트롤 동반): 「거버넌스 엔지니어링 / governance engineering」은 이 레포
@@ -0,0 +1,57 @@
1
+ # 착지 후 압축 — 거버너가 관할 세션의 압축 시점을 앞당긴다 (G2′, 2026-11-07)
2
+
3
+ > 맥락 유지 엔진(`fh_three_layer_canon.md` §2)의 «시점» 보강. 흡수 대기열 AQ-20261107-10.
4
+ > 출처: 운영자 2026-11-07 «거버너가 세션압축에 준비하라고 하고 난후에, 그쪽이 정리후 지금 바로 압축할지를
5
+ > 질문으로 띄우면 내가 확인할수있겠네». 브리프 `tracks/_meta/brief_governor_role_items_2026-11-07.md` §G2′.
6
+
7
+ ## 왜
8
+
9
+ 자동 압축은 일이 어디까지 왔는지 모르고 터진다. 2026-11-07 하위 세션 autopilot-1107 은 착지 전에 약 96% 에서
10
+ 자동 압축됐다(→ 21%). 거버너가 97% 를 읽고 «착지 후 압축» 메시지를 보냈을 때 그 세션은 일하는 중이라 메시지가
11
+ 큐에 걸렸고, 그 사이 자동 압축이 먼저 왔다. 표시값 `autoCompactsAtPercent: 97` 과 실제 발화(~96%)도 달랐다.
12
+
13
+ ## 흐름
14
+
15
+ 1. **읽는 때** — 하위 세션의 턴 끝 알림이 올 때마다 거버너가 `mcp__ccd_session_mgmt__get_usage {session_id}` 를 한 번
16
+ 읽는다. 폴링하지 않는다(알림이 곧 시점이다). idle·archived 세션은 `context.status` 가 `ok` 가 아니다 — 그건
17
+ «여유 있음» 이 아니라 «못 읽음» 이다.
18
+ 2. **판정** — 결과 JSON 을 파일로 두고 `python3 scripts/governor_landing_check.py --usage-json <파일>`.
19
+ `0 OK` · `1 LAND` · `3 LATE` · `2 못 읽음`.
20
+ 3. **LAND** — 그 세션에 보낸다: «지금 단위 마무리 · 인계 메모를 파일에 착지 · 경로 보고 · 그 뒤 운영자에게
21
+ «지금 압축할까?» 질문». 질문은 그 세션의 wrap_up 질문 상자로 띄운다.
22
+ 4. **압축은 운영자가 한다** — `/compact` 는 사람 명령이다. 거버너도 하위 세션도 압축을 직접 걸지 않는다.
23
+ 비우기(clear)는 매번 운영자 승인.
24
+ 5. **LATE** — 자동 압축이 곧이거나 이미 지났다. 인계 메모 착지만 먼저 요청하고, 압축 뒤 첫 턴에 그 메모를 읽혔는지
25
+ 확인한다.
26
+
27
+ 🟥 **압축 봉인 개수로 세지 않는다.** 봉인 파일 이름(`tracks/_meta/compaction/seal_<id>*`)은 CLI 전사본 id 이고
28
+ 앱 세션 id(`local_…`)와 다르다 — 하위 세션은 0 으로 보여 «압축 없음» 과 구분이 안 된다. 그래서 G2(봉인 수 N 이상
29
+ 권고)는 이 절차로 대체한다.
30
+
31
+ ## 문턱
32
+
33
+ `문턱 = 실제 발화점 − 턴 증가량 × (1 + 큐 지연 턴)`
34
+
35
+ | 값 | 기본 | 근거 | 상태 |
36
+ |---|---|---|---|
37
+ | 실제 발화점 | min(표시값, 96) | 2026-11-07 관측 1회(표시 97 · 발화 ~96) | n=1 |
38
+ | 턴 증가량 | 3 %p | 추정 | **UNCALIBRATED** |
39
+ | 큐 지연 | 1 턴 | 2026-11-07 메시지가 진행 중 턴 뒤에 걸림 | n=1 |
40
+
41
+ ⇒ 기본 문턱 90%. 브리프의 «90% 는 하한 후보» 와 같은 값이지만, 근거는 위 세 칸이고 둘이 아직 측정 전이다.
42
+
43
+ ## 문턱 실측 계획 (미실행)
44
+
45
+ - **턴 증가량**: 다음 주 관할 세션들의 턴 끝마다 `get_usage` 퍼센트를 한 줄씩 남긴다(세션 id · 시각 · 퍼센트).
46
+ 연속 두 값의 차의 분포에서 상위 10% 값을 «턴 증가량» 으로 쓴다(평균을 쓰면 큰 턴에서 늦는다).
47
+ - **실제 발화점**: 퍼센트가 큰 폭으로 떨어진 직전 값을 모은다(압축 표지). 표시값과 다르면 그 차를 기록한다.
48
+ - **큐 지연**: 거버너가 메시지를 보낸 시각과 그 세션이 처리한 턴 수를 같이 적는다.
49
+ - **효과**(가설, 미측정): «착지 후 압축» 이 자동 압축보다 앞 결정을 더 보존하는지 — 격리 sim(압축 뒤 앞 결정 질문 →
50
+ 낡은 답 비율)을 두 팔로 비교한다. `scripts/sim_isolated_run.sh` 를 쓴다(실 체크아웃에서 sim 금지).
51
+ - 갱신은 주간 감사에서 — 값이 바뀌면 이 표와 스크립트 기본값을 같은 PR 로 바꾼다.
52
+
53
+ ## 이름 붙인 잔여
54
+
55
+ - 이 절차는 거버너가 **알림을 받을 때만** 돈다. 거버너가 없는 단독 세션은 자동 압축 그대로다.
56
+ - 판정기는 퍼센트만 본다. 일이 «단위 경계» 에 있는지는 하위 세션의 판단이다.
57
+ - 레인: `scripts/test_governor_landing_check_lanes.sh`(문턱 경계 · 표시값 불신 · 못 읽음 ≠ OK · 되돌림 프로브).
@@ -0,0 +1,32 @@
1
+ # 리스 기록 채널 — 세션은 초안, 기록은 운영자 (G3, 2026-11-07)
2
+
3
+ > 맥락 유지 엔진(`fh_three_layer_canon.md` §2)의 «쓰는 절반» 중 권한 기록 자리. 흡수 대기열 AQ-20261107-11.
4
+ > 브리프 `tracks/_meta/brief_governor_role_items_2026-11-07.md` §G3.
5
+
6
+ ## 왜
7
+
8
+ 리스 줄(로컬 지침 파일의 «추가 utterance» 줄)은 «운영자가 무엇을 허락했나» 의 기록이다. 지금까지 그 줄을 세션이 직접
9
+ 썼다 — 즉 세션이 자기 권한의 기록을 쓴다. 로컬 지침 파일 스스로 이것을 «자기신고 잔여» 라고 적어 두었다.
10
+ 2026-11-07 자동 모드 분류기가 세션의 리스 줄 쓰기를 두 번 거부했다. 분류기가 옳았다.
11
+
12
+ ## 흐름
13
+
14
+ 1. 세션이 초안을 쓴다 — `bash scripts/lease_line_apply.sh draft --block "<리스 절 제목 일부>" --line "추가 utterance …" --why "<물음>"`.
15
+ 초안은 `tracks/_meta/lease_drafts/` 에 남고 리스 파일은 안 바뀐다. 세션은 운영자에게 그 경로와 아래 한 줄을 건넨다.
16
+ 2. 세션은 `check <초안>` 으로 들어갈 자리(그 절의 «제외» 줄 바로 앞)를 미리 보여 줄 수 있다(읽기만).
17
+ 3. 운영자가 자기 터미널에서 `bash scripts/lease_line_apply.sh apply <초안>` — 들어갈 줄을 보고, 화면에 뜬 4자 확인 코드를
18
+ 쳐야 기록된다. 쓰기 전에 시각이 붙은 백업을 만든다.
19
+
20
+ ## 무엇을 막고 무엇을 못 막나
21
+
22
+ - `apply` 는 Claude Code 셸(`CLAUDECODE` 가 설정된 셸)과 터미널 없는 실행을 거부한다(rc 3).
23
+ - 🟥 **자물쇠가 아니다.** 변수를 지우고 가짜 터미널을 띄우면 통과된다 — 레인 A3/A4 가 바로 그 방법으로 정상 경로를 잰다.
24
+ 닫는 방향은 이 파일 밖이다: 운영자 설정의 권한 거부 규칙 `Bash(*lease_line_apply.sh apply*)` 와, 나중에 FoD 카드(실제
25
+ OS 입력). 이 스크립트가 하는 일은 «정직한 길을 쉬운 길로» 만드는 것이다.
26
+ - 레인: `scripts/test_lease_line_apply_lanes.sh`(초안 · 위치 · 모호 · 중복 · 에이전트 셸 거부 · 터미널 없음 · 코드 일치/불일치 ·
27
+ 되돌림 프로브).
28
+
29
+ ## 운영자가 할 일 (이 PR 머지 뒤)
30
+
31
+ - 권한 거부 규칙 한 줄을 사용자 설정에 넣을지 결정한다(넣으면 세션이 `apply` 를 아예 못 부른다).
32
+ - 로컬 지침 파일의 리스 절 머리 문단에 «기록은 `lease_line_apply.sh apply` 로» 를 넣을지 결정한다(그 파일은 운영자 것).
@@ -5399,3 +5399,39 @@
5399
5399
  outcome: "CK1–CK8 and full suite 5516/0/4 reported; governor re-ran the suite, measured the desktop entrypoint (claude-desktop), and fixed two cross-family findings (no card → no queue; card must really show) as CK9–CK11; final 5519/0/4; merged as FoD #222"
5400
5400
  evidence: "FoD PR #222 body"
5401
5401
  tokens: "300317"
5402
+ - date: 2026-11-06
5403
+ agent: "general-purpose (sonnet) ×3 — blind floor-tier sim of persona-cast Step 4 (purpose: independence)"
5404
+ task: "given only plugins/fh-commons/skills/persona-cast/SKILL.md and three fixture lens replies, do Step 4 and print Step 5; list commands run"
5405
+ outcome: "3/3 ran python3 scripts/persona_cast_merge.py (0/3 counted by hand); 3/3 independently reported location truncation at nested «]» and inner quotes — governor confirmed in source and fixed with lane M11 before commit"
5406
+ evidence: "FH PR #1033 body · marker feat/cartridge-persona-cast"
5407
+ tokens: "165886 + 166187 + 166137"
5408
+ - date: 2026-11-06
5409
+ agent: "general-purpose (sonnet) ×3 — blind floor-tier sim of convergence-loop's Judgment step (purpose: independence)"
5410
+ task: "given only plugins/fh-commons/skills/convergence-loop/SKILL.md and a prose review log (R1 3 found / 3 fixed, R2 0 new + one wording fix), decide convergence; list commands run"
5411
+ outcome: "3/3 wrote the vector R1 [new=3, fixed=3] → R2 [new=0, fixed=1] and ran scripts/convergence_verdict.py; 3/3 NOT-CONVERGED (correct — the R2 fix is unverified)"
5412
+ evidence: "FH PR #1034 body · marker feat/cartridge-convergence-verdict"
5413
+ tokens: "162938 + 162872 + 163094"
5414
+ - date: 2026-11-07
5415
+ agent: "fh-commons:{designer,ux-writer,fe-dev,be-dev,qa,a11y}-lens (sonnet) ×6 — persona-cast first field use on FoD gate surfaces (purpose: independence)"
5416
+ task: "review mode, stance neutral, frozen 6 files of FoD c2cd027 (checkpoint card · settings gate view · checkpoint store); prompt = paths + stance only"
5417
+ outcome: "all 6 earned (unique ≥1 each, decorative 0) — cast graduation condition met; 9 cross-seat convergent groups; 1 false finding (be-dev «ran time units») dropped after source check (gate_hook.py:14343 converts to ms). Led to FoD branch fix/checkpoint-card-silent-states"
5418
+ evidence: "tracks/_meta/pcast_fod_gate_ui_2026-11-07.md"
5419
+ tokens: "104653 + 105419 + 116925 + 115524 + 114136 + 115474"
5420
+ - date: 2026-11-07
5421
+ agent: "general-purpose (sonnet) — YouTube _dN-RMh0Tl0 insight digest (purpose: context)"
5422
+ task: "fetch captions with yt-dlp, write Korean digest mapping each claim to what FH already has"
5423
+ outcome: "ko auto-captions read (sha256 5dced25d…); screen demos UNMEASURED; most claims already in FH. Governor checked its top candidate in source: the change-size cap already exists (selfdev_merge_tier.sh SELFDEV_MAX_LINES 300) — subagent had marked it «부분/미확인» from grep counts only"
5424
+ evidence: "tracks/_meta/video_insights__dN-RMh0Tl0_2026-11-07.md §거버너 확인"
5425
+ tokens: "170849"
5426
+ - date: 2026-11-07
5427
+ agent: "general-purpose (sonnet) — harness-100 recon (purpose: context)"
5428
+ task: "verify licence, inventory 100 harnesses, map FH overlap, rank first cartridge candidates; read-only shallow clone"
5429
+ outcome: "Apache-2.0; 100 harnesses x2 languages, all markdown prompts, no tests; overlap partial 13 / full 0; top candidates 25 · 62 · 39 — two built (cart-changelog, cart-adr)"
5430
+ evidence: "tracks/_meta/harness100_recon_2026-11-07.md"
5431
+ tokens: "177819"
5432
+ - date: 2026-11-07
5433
+ agent: "general-purpose (sonnet) x12 — cart-changelog A/B C3 arms (purpose: independence)"
5434
+ task: "write CHANGELOG_DRAFT.md for a fixture repo; arm B given the cartridge skill path; per-run repo copies"
5435
+ outcome: "12/12 ran; both arms 26 by the implemented scorer; INCONCLUSIVE under all three readings of S4; scorer word-list defect found after the runs and reported"
5436
+ evidence: "tracks/_meta/ab_cart_changelog_results_2026-11-07.md"
5437
+ tokens: "~138k-140k each"
@@ -40,6 +40,22 @@ The hub audits and improves itself weekly.
40
40
  they targeted, counting only cases where the unchanged arm met that behaviour (arXiv:2610.34938) — recording a fix
41
41
  and its anchor is not evidence that either works.
42
42
  3. **Carry-over re-check before copying.** Every carried-over / unresolved item from the previous audit is re-confirmed against a primary source (`gh pr view` · `git log -S` · a grep of the file it names) *before* it is copied forward, and the command used is written next to it together with what it returned for the current state (a `git log -S` hit shows history, not current status). Cannot confirm → mark `UNVERIFIED`; never promote it to "awaiting operator decision". (2026-10-11: a Haiku arm copied the 09-24 carry-over list without checking current state and re-reported an already-closed awesome-list PR and a nested-repo gitlink as pending; the governor corrected both.)
43
+ 3b. **Child-session raw audit (2026-11-07, AQ-20261107-9).** The top governor stays thin and the work runs in
44
+ child sessions, so the 400-character reports it relays are summaries the child wrote about itself. Read the
45
+ window's raw record instead: ① `python3 scripts/correction_moments.py --since <window start> --all` — every
46
+ operator correction cue in the utterance ledgers, root and child sessions alike (cue-word recall only;
47
+ the ledgers can hold in-house context, so the output never goes to another model) ② for each child session
48
+ that ran in the window, open its transcript (`mcp__ccd_session_mgmt__search_session_transcripts` with the
49
+ hit's words, or the CLI transcript under `~/.claude/projects/<hub>/`) and its merged diff, and read the
50
+ moment around each hit: a retry, a correction the child absorbed without recording, a judgment it folded
51
+ toward passing ③ each finding that names a harness gap → one absorption-queue row (`scripts/absorption_queue.py`)
52
+ with the transcript as its source. Write both counts in the audit — hits found, rows landed — because «0 rows»
53
+ with no hit count cannot be told apart from «not run». First run 2026-11-07 (window 10-31..11-07): 19 cue hits ·
54
+ 1 recurring pair (word overlap only, judged not one rule) · 0 new rows — the one state-claim miss
55
+ («fh가 물어본것에 회신을 한건데 왜 확인을 안하는거지», 11-02) is the class AQ-20261107-12 already closes;
56
+ the rest were product requests or UI observations. Step ② was only probed in that run: the transcript search
57
+ returns one snippet per session (a locator, not a reader), so the moment-level read needs the CLI transcript
58
+ JSONL — named, not done. Record: `tracks/_meta/g1_child_audit_run_2026-11-07.md`.
43
59
  4. Write `tracks/_audit/weekly_audit_YYYY-MM-DD.md` mirroring the previous audit file's format (frontmatter + activity table + 🟥🟧🟩 + pattern table — no separate template file exists)
44
60
  5. Propose 3-tier improvements (🟥mandatory/🟧strong/🟩recommended)
45
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.38.1",
3
+ "version": "3.39.0",
4
4
  "description": "FH runtime adapters — run FH governance, skills, and agents via Claude or Codex with machine-parseable gates.",
5
5
  "homepage": "https://github.com/chrono-meta/forge-harness#readme",
6
6
  "bugs": {
@@ -189,6 +189,8 @@
189
189
  "scripts/fh_session_load.sh",
190
190
  "scripts/fh_track_resolve.sh",
191
191
  "scripts/field_canon_preload.sh",
192
+ "scripts/lane_gap_hint.py",
193
+ "scripts/lane_gap_hint.sh",
192
194
  "scripts/files_manifest_shipping_check.sh",
193
195
  "scripts/finding_fleet.sh",
194
196
  "scripts/finding_pipeline.sh",
@@ -231,6 +233,7 @@
231
233
  "scripts/test_abstract_consult_check_lanes.sh",
232
234
  "scripts/outbound_query_hook.sh",
233
235
  "scripts/package_coverage_check.sh",
236
+ "scripts/persona_cast_merge.py",
234
237
  "scripts/pipe_verdict_guard.sh",
235
238
  "scripts/portability_lint.sh",
236
239
  "scripts/postinstall_notice.js",
@@ -258,6 +261,7 @@
258
261
  "scripts/selfcheck_shard_weights.txt",
259
262
  "scripts/session_checklist.py",
260
263
  "scripts/checklist_unblocked_hook.sh",
264
+ "scripts/convergence_verdict.py",
261
265
  "scripts/session_close_check.sh",
262
266
  "scripts/shell_name_boundary_scan.sh",
263
267
  "scripts/sidecar_calibrate.sh",
@@ -346,6 +350,7 @@
346
350
  "scripts/test_package_coverage_lanes.sh",
347
351
  "scripts/test_paper_integrity_lanes.sh",
348
352
  "scripts/test_peer_worktree_detect_lanes.sh",
353
+ "scripts/test_persona_cast_merge_lanes.sh",
349
354
  "scripts/test_pipe_verdict_guard_lanes.sh",
350
355
  "scripts/test_precommit_gitlink_lanes.sh",
351
356
  "scripts/test_precommit_pointer_index_lanes.sh",
@@ -364,6 +369,7 @@
364
369
  "scripts/test_prepush_stdin_integrity.sh",
365
370
  "scripts/test_prior_art_prompt_lanes.sh",
366
371
  "scripts/test_probe_live_eval_lanes.sh",
372
+ "scripts/test_live_eval_construct_lanes.sh",
367
373
  "scripts/test_proposal_hook_lanes.sh",
368
374
  "scripts/test_psa_singlefile_lanes.sh",
369
375
  "scripts/test_push_zone_lanes.sh",
@@ -401,6 +407,7 @@
401
407
  "scripts/test_verdict_watermark_lanes.sh",
402
408
  "scripts/test_version_lockstep_lanes.sh",
403
409
  "scripts/test_wizard_snippet_merge_lanes.sh",
410
+ "scripts/test_lane_gap_hint_lanes.sh",
404
411
  "scripts/test_worktree_reclaim_lanes.sh",
405
412
  "scripts/tier_census_grep.sh",
406
413
  "scripts/transcript_utterances.py",
@@ -442,6 +449,7 @@
442
449
  "templates/temper_check.sh",
443
450
  "tests/seam_absence_probes.md",
444
451
  "scripts/marker_diff_sha.sh",
452
+ "scripts/test_convergence_verdict_lanes.sh",
445
453
  "scripts/test_marker_diff_sha_lanes.sh",
446
454
  "scripts/test_preprep_speech_coach_lanes.sh"
447
455
  ]