@chrono-meta/fh-gate 3.41.0 → 3.43.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 (108) hide show
  1. package/.claude/regression/probes_live.yaml +16 -8
  2. package/.claude/rules/fh_4axis_gate.md +8 -0
  3. package/.claude-plugin/marketplace.json +4 -4
  4. package/AGENTS.md +5 -0
  5. package/README.ja.md +2 -0
  6. package/README.ko.md +2 -0
  7. package/README.md +2 -0
  8. package/README.zh.md +2 -0
  9. package/docs/HOW_FH_DIFFERS.en.md +37 -0
  10. package/docs/HOW_FH_DIFFERS.md +39 -0
  11. package/docs/USER_GUIDE.md +113 -2
  12. package/docs/model_tier_expectations.md +8 -4
  13. package/knowledge/shared/harness-core/claude_md_full_reference.md +10 -0
  14. package/knowledge/shared/harness-core/dispatch_conditional_prohibition.md +18 -0
  15. package/knowledge/shared/harness-core/fh_module_contract.md +19 -0
  16. package/knowledge/shared/harness-core/measurement-integrity-checklist.md +24 -0
  17. package/knowledge/shared/learnings/subagent_invocations_log.yaml +30 -0
  18. package/package.json +7 -1
  19. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  20. package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +12 -5
  21. package/plugins/fh-commons/skills/ko-tech-writer/SKILL_detail.md +17 -0
  22. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  23. package/plugins/fh-meta/CHANGELOG.md +49 -3
  24. package/plugins/fh-meta/skills/edit-manifest/SKILL.md +14 -1
  25. package/plugins/fh-meta/skills/harvest-loop/SKILL.md +1 -1
  26. package/plugins/fh-meta/skills/meta-prompt-builder/SKILL.md +19 -0
  27. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  28. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  29. package/scripts/capability_registry_check.sh +15 -2
  30. package/scripts/fh_session_load.sh +3 -1
  31. package/scripts/live_eval_trace.py +122 -0
  32. package/scripts/package_coverage_check.sh +7 -0
  33. package/scripts/pr_merge_verified.sh +7 -0
  34. package/scripts/probe_live_eval.sh +6 -3
  35. package/scripts/probe_live_eval_lib.py +89 -1
  36. package/scripts/remote_marker_gate.sh +56 -0
  37. package/scripts/selfcheck.sh +9 -1
  38. package/scripts/session_close_check.sh +16 -0
  39. package/scripts/sim_isolated_run.sh +17 -2
  40. package/scripts/test_abstract_consult_check_lanes.sh +1 -0
  41. package/scripts/test_adapter_lanes.sh +1 -0
  42. package/scripts/test_axis23_skip_reason_lanes.sh +1 -0
  43. package/scripts/test_backtick_guard_lanes.sh +1 -0
  44. package/scripts/test_claim_propagation_lanes.sh +1 -0
  45. package/scripts/test_claude_md_size_lanes.sh +1 -0
  46. package/scripts/test_consent_registry.sh +1 -0
  47. package/scripts/test_count_check_all_plugins_lanes.sh +1 -0
  48. package/scripts/test_count_check_decl_lanes.sh +1 -0
  49. package/scripts/test_count_check_readme_format_lanes.sh +1 -0
  50. package/scripts/test_degrade_scan_shell_probes.sh +1 -0
  51. package/scripts/test_destructive_pre_gate_lanes.sh +1 -0
  52. package/scripts/test_dispatch_receipt_lanes.sh +1 -0
  53. package/scripts/test_doc_claim_triad_lanes.sh +1 -0
  54. package/scripts/test_env_delta_worktree_lanes.sh +1 -0
  55. package/scripts/test_env_layer_fingerprint_lanes.sh +1 -0
  56. package/scripts/test_evidence_root_psa_lanes.sh +1 -0
  57. package/scripts/test_fh_detach_lanes.sh +1 -0
  58. package/scripts/test_fh_goal_change_detection_lanes.sh +1 -0
  59. package/scripts/test_fh_module_check_lanes.sh +1 -0
  60. package/scripts/test_fh_qp_lanes.sh +1 -0
  61. package/scripts/test_files_manifest_shipping_lanes.sh +1 -0
  62. package/scripts/test_fixture_git_env_lanes.sh +15 -0
  63. package/scripts/test_fixture_guard_coverage_lanes.sh +141 -0
  64. package/scripts/test_gate_bootstrap_ephemeral_lanes.sh +1 -0
  65. package/scripts/test_halffix_lanes.sh +1 -0
  66. package/scripts/test_hook_drift_lanes.sh +1 -0
  67. package/scripts/test_hook_templates_copilot_compat_lanes.sh +1 -0
  68. package/scripts/test_lane_gap_hint_lanes.sh +1 -0
  69. package/scripts/test_lane_runner_lanes.sh +1 -0
  70. package/scripts/test_live_eval_trace_lanes.sh +145 -0
  71. package/scripts/test_main_commit_guard_lanes.sh +1 -0
  72. package/scripts/test_marker_axes_run_lanes.sh +1 -0
  73. package/scripts/test_marker_crossfamily_lanes.sh +1 -0
  74. package/scripts/test_marker_defense_lanes.sh +1 -0
  75. package/scripts/test_marker_diff_sha_lanes.sh +1 -0
  76. package/scripts/test_marker_floor_lanes.sh +1 -0
  77. package/scripts/test_meta_prompt_restate_lanes.sh +36 -0
  78. package/scripts/test_mutation_probe_lanes.sh +26 -6
  79. package/scripts/test_name_boundary_locale_lanes.sh +1 -0
  80. package/scripts/test_outbound_pr_gate_lanes.sh +1 -0
  81. package/scripts/test_package_coverage_lanes.sh +1 -0
  82. package/scripts/test_peer_worktree_detect_lanes.sh +1 -0
  83. package/scripts/test_pipe_verdict_guard_lanes.sh +1 -0
  84. package/scripts/test_post_squash_verify_lanes.sh +1 -0
  85. package/scripts/test_pr_merge_verified_lanes.sh +24 -0
  86. package/scripts/test_precommit_gitlink_lanes.sh +1 -0
  87. package/scripts/test_precommit_pointer_index_lanes.sh +1 -0
  88. package/scripts/test_precommit_staged_drift_lanes.sh +1 -0
  89. package/scripts/test_prepush_stdin_integrity.sh +1 -0
  90. package/scripts/test_prior_art_prompt_lanes.sh +1 -0
  91. package/scripts/test_prless_delta_scan_lanes.sh +1 -0
  92. package/scripts/test_probe_live_eval_lanes.sh +1 -0
  93. package/scripts/test_psa_singlefile_lanes.sh +1 -0
  94. package/scripts/test_remote_marker_gate_lanes.sh +97 -0
  95. package/scripts/test_residency_admission_lanes.sh +1 -0
  96. package/scripts/test_revert_probe_lanes.sh +1 -0
  97. package/scripts/test_reviewer_capability_conformance.sh +1 -0
  98. package/scripts/test_selfcheck_state_lanes.sh +1 -0
  99. package/scripts/test_session_close_chain_lanes.sh +1 -0
  100. package/scripts/test_session_close_lanes.sh +8 -0
  101. package/scripts/test_session_load_mirror_fp_lanes.sh +1 -0
  102. package/scripts/test_sim_isolated_run_lanes.sh +1 -0
  103. package/scripts/test_stale_clone_guard_lanes.sh +1 -0
  104. package/scripts/test_stale_ref_close_lanes.sh +1 -0
  105. package/scripts/test_tag_version_lanes.sh +1 -0
  106. package/scripts/test_version_lockstep_lanes.sh +1 -0
  107. package/scripts/test_wizard_snippet_merge_lanes.sh +1 -0
  108. package/scripts/test_worktree_reclaim_lanes.sh +1 -0
@@ -5471,3 +5471,33 @@
5471
5471
  outcome: "0 H · zh «更少» vs en «smaller» → fixed · incubator «formal flow» flagged unverified → governor grounded it (claude_md_full_reference.md:618) → rejected · caveats dropped by #885 en/ko choice → named in PR as operator question · ja/zh:107 extra caveat → named, other section"
5472
5472
  evidence: "PR body for auto/selfdev-2026-11-10-1"
5473
5473
  tokens: "59958"
5474
+ - date: 2026-11-14
5475
+ agent: "web-fetch (sonnet) — read one public news article for the root session fcdf9c61 (purpose: context)"
5476
+ task: "fetch a Korean AI-news article on Google's elephant-goldfish-model plugin; report title, date, mechanism, cited sources; say what the article does not contain"
5477
+ outcome: "read at HTTP 200; flagged that the article states no benchmark and gives only a repo link; the repo itself was read later by a work session"
5478
+ evidence: "tracks/_audit/session_2026_11_14_egm.md · PR #1103"
5479
+ tokens: "25050"
5480
+ - date: 2026-11-14
5481
+ agent: "fh-meta:challenger (sonnet) — harvest-loop Step 3a, close of root fcdf9c61 (purpose: independence)"
5482
+ task: "attack 8 harvested patterns against existing FH assets; cite path:line for every already-covered verdict"
5483
+ outcome: "P1 WRONG-FIX (a control-first default in the merge script would gate a judgment) · P4 REAL-GAP A (push-event marker gate has no PR body) · P3 P8 REAL-GAP B · P2 P5 already covered · P6 P7 one-off"
5484
+ evidence: "tracks/_meta/fh_signal_2026-11-14_fcdf9c61-close.md §Harvest"
5485
+ tokens: "115757"
5486
+ - date: 2026-11-14
5487
+ agent: "fh-meta:persona-innovator (sonnet) — harvest-loop Step 3b (purpose: context)"
5488
+ task: "smallest change to an existing asset for each of 8 patterns, with Done-When and cost"
5489
+ outcome: "ranked P4 · P1 · P3; named P2 P5 P6 P7 as do-nothing; pointed out carry_forward already exists for P5 (root then confirmed in code it covers table rows only)"
5490
+ evidence: "tracks/_meta/fh_signal_2026-11-14_fcdf9c61-close.md §Harvest"
5491
+ tokens: "89002"
5492
+ - date: 2026-11-14
5493
+ agent: "general-purpose (sonnet) — harvest-loop Step 3.75 isolated Critic (purpose: independence)"
5494
+ task: "judge four candidates H1-H4 on Done-When, two edge cases each, claim vs code, scope; derivation withheld"
5495
+ outcome: "all four CONDITIONAL PASS — H1 premise half wrong (commit message is the stated surface, PR body optional) · H2 print before the merge, not after · H3 preserve rather than refuse, idempotent · H4 define ceiling and live path"
5496
+ evidence: "tracks/_meta/fh_signal_2026-11-14_fcdf9c61-close.md §FH Registration Candidate"
5497
+ tokens: "139606"
5498
+ - date: 2026-11-15
5499
+ agent: "fh-meta:challenger (sonnet) — axis 2 for docs/USER_GUIDE.md §4 governor placement guide (purpose: independence)"
5500
+ task: "check the new section against the governance canon table, every cited script/path/flag, the CLAUDE.local.md three-field rule, a CLI-only cold start, privacy"
5501
+ outcome: "no canon distortion, script claims all correct; 2 A (CLI /context route and transcript path stated without source · work session never told the clone script path) · 2 B (duration heuristic read as rule · LATE/OK/2 outcomes missing) · 4 C — all fixed before commit"
5502
+ evidence: "PR body capsule (claude/docs-governor-placement-guide)"
5503
+ tokens: "132744"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.41.0",
3
+ "version": "3.43.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": {
@@ -79,6 +79,8 @@
79
79
  "docs/CONTRIBUTING.md",
80
80
  "docs/ETHOS.md",
81
81
  "docs/GATE_DAY.md",
82
+ "docs/HOW_FH_DIFFERS.en.md",
83
+ "docs/HOW_FH_DIFFERS.md",
82
84
  "docs/IDENTITIES.md",
83
85
  "docs/MODEL_SETUP.md",
84
86
  "docs/OUTPUT_EVIDENCE.md",
@@ -127,6 +129,7 @@
127
129
  "scripts/lane_onoff_compare.py",
128
130
  "scripts/test_lane_stub_env_lanes.sh",
129
131
  "scripts/test_fixture_git_env_lanes.sh",
132
+ "scripts/test_fixture_guard_coverage_lanes.sh",
130
133
  "scripts/test_post_squash_verify_lanes.sh",
131
134
  "scripts/test_frontier_digest_recall.sh",
132
135
  "scripts/fh_module_check.py",
@@ -177,6 +180,7 @@
177
180
  "scripts/digest_landing_check.sh",
178
181
  "scripts/absorption_queue.py",
179
182
  "scripts/test_absorption_queue_lanes.sh",
183
+ "scripts/test_meta_prompt_restate_lanes.sh",
180
184
  "scripts/catch_tally.py",
181
185
  "scripts/test_catch_tally_lanes.sh",
182
186
  "scripts/test_name_boundary_locale_lanes.sh",
@@ -250,6 +254,7 @@
250
254
  "scripts/prior_art_prompt.sh",
251
255
  "scripts/probe_live_eval.sh",
252
256
  "scripts/probe_live_eval_lib.py",
257
+ "scripts/live_eval_trace.py",
253
258
  "scripts/proposal_hook.sh",
254
259
  "scripts/psa_probe_capability.sh",
255
260
  "scripts/psa_scan_lib.sh",
@@ -382,6 +387,7 @@
382
387
  "scripts/test_prior_art_prompt_lanes.sh",
383
388
  "scripts/test_probe_live_eval_lanes.sh",
384
389
  "scripts/test_live_eval_construct_lanes.sh",
390
+ "scripts/test_live_eval_trace_lanes.sh",
385
391
  "scripts/test_proposal_hook_lanes.sh",
386
392
  "scripts/test_psa_singlefile_lanes.sh",
387
393
  "scripts/test_push_zone_lanes.sh",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-commons",
3
- "version": "3.41.0",
3
+ "version": "3.43.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -107,11 +107,11 @@ model: sonnet
107
107
  | **S14** | 인칭 직역 당신 / ~을 필요로 하다 (수확 N5) | `S14` (🟥 «그것» 은 패턴에 없다 — 운영자 손편집이 넣은 낱말이라 정상 용법을 따로 판정한다) | 「당신에게서」 → 「손을」·「사람의」, 「PyYAML을 필요로 합니다」 → 「PyYAML이 필요합니다」. 🟥 **히트는 건별 판정이다**. | judged, candidate (origin A) — 출처 같은 파일 §1-b N5, 삭제 토큰 당신 22·필요로 2, 보정 T3 T4. 「그것」은 이 클래스의 패턴에서 뺐다(운영자 손편집이 넣은 낱말 — 수확 §3) |
108
108
  | **S15** | 라틴 문자 뒤 조사 띄어쓰기 (수확 N9) | `S15` — 그림·차트 블록과 코드 펜스 안은 제외 | 「Claude Code 는」 → 「Claude Code는」, 「Slack 은」 → 「Slack은」. 코드 스팬·표기 예시 인용은 제외 | judged, candidate (origin A) — 출처 같은 파일 §1-b N9, 6건 이상, 보정 T6 (정규식은 가장 깨끗하나 쌍은 AI 스윕) |
109
109
  | **S16** | 같은 대상의 이명·어휘 계열 불일치 (수확 N6) | 정규식 없음. **용어표 대조**: 후보 낱말쌍을 목록화하고 문서 전체에서 각 변형의 빈도를 센다(`rg -oi '자가 채점|자기 채점' "$F" | sort | uniq -c` 처럼(🟥 눈 판정 보조일 뿐 레인이 없다) 변형을 `|` 로 묶어 개수가 아닌 «몇 가지가 섞였나»를 본다). 화면과 대본, 또는 같은 장 안에서 갈리면 우선 후보 | 한 변형으로 단일화하고 용어표에 정본을 적는다 (「자가 채점」 → 「자기 채점」, 「컨텍스트」 → 「맥락」, 「이슈/버그」 → 「버그」). 🟥 **매체가 자유롭게 쓰는 음차(컨텍스트·프롬프트)는 이명이 아니다** — 한 문서 안에서 갈릴 때만 본다. 「검사 11 vs 테스트 30」 같은 계열 분포는 판정 재료일 뿐이다 | judged (origin R + 커밋) — 출처 같은 파일 §1-b N6, 10건, 리뷰어 지적이 3장에 복제돼 있던 사례. 레인 없음 |
110
- | **S17** | 어순: 목적어가 앞에서 주어를 밀어냄 (수확 N1) | **UNCALIBRATED — 기계 패턴 없음, 눈.** 수확이 시도한 정규식은 양성이 1건뿐이라 그 한 문장에 맞춘 것이다(일반화 안 됨) | 주어를 앞으로, 쉼표로 목적어절을 떼어 놓는다 (「통과를 막고 서는 게이트를 방법론들이 만듭니다」 → 「방법론들이, 통과를 막고 서는 게이트를 만듭니다」) | judged (origin O, 단일 지시) — 🟥 **희귀하지만 운영자가 직접 지시한 클래스**: 출처는 단일 운영자 지시 1건(120장 전수 스캔에서 같은 패턴 1건뿐, 리뷰어의 단독 지적 0건). 이 사실보다 강하게 적지 않는다. 출처 같은 파일 §1-b N1 · §4 N1 |
110
+ | **S17** | 어순: 목적어가 앞에서 주어를 밀어냄 (수확 N1) | **UNCALIBRATED — 기계 패턴 없음, 눈.** 수확이 시도한 정규식은 양성이 1건뿐이라 그 한 문장에 맞춘 것이다(일반화 안 됨) | 주어를 앞으로, 쉼표로 목적어절을 떼어 놓는다 (「통과를 막고 서는 게이트를 방법론들이 만듭니다」 → 「방법론들이, 통과를 막고 서는 게이트를 만듭니다」 · 「가치가 커지는 것이 네 가지 있다고 저희는 봅니다」 → 「저희는 가치가 커지는 것이 네 가지 있다고 보고 있습니다」 — 주어가 문장 끝으로 밀린 꼴이다. 🟥 «목적어가 주어를 밀어냄»과 같은 부류인지는 쌍 하나로 확정하지 않았다 — 같은 어순 축에 함께 두고 쌍이 쌓이면 가른다) | judged (origin O, 운영자 지시 2건 — 꼴이 둘) — 🟥 **희귀하지만 운영자가 직접 지시한 클래스**: 첫 출처는 단일 운영자 지시 1건(120장 전수 스캔에서 같은 패턴 1건뿐, 리뷰어의 단독 지적 0건), 둘째는 2026-11-13 기술문서 개고에서 운영자가 «주어가 맨 뒤에 있다»고 직접 짚은 쌍이다. 이 사실보다 강하게 적지 않는다. 출처 같은 파일 §1-b N1 · §4 N1 · `SKILL_detail.md §Step-2-provenance` |
111
111
  | **S18** | 문장 이음매 끊김: 짧게 끊다 연결어·주어 연결을 잃음 (수확 N11) | **기계 패턴 없음 — 판단 전용.** 「연결어가 없는 문장」은 정규식으로 안 갈린다(증거 없는 패턴을 짓지 않는다). 눈: 소리 내어 읽다 문장 사이에서 멈추는 자리, 앞 문장의 주어·화제가 다음 문장에서 갑자기 바뀌는 자리 | 연결어(그런데·그래서·이어서)와 주어 연결을 복원한다 (「QA는 오랫동안 "…"를 물어 왔습니다. 검증 대상이 … 넘어오면서 질문이 뒤집혔습니다.」 → 「…라는 질문을 다뤄 왔습니다. 그런데 검증할 대상이 … 바뀌면서, 질문도 "…"로 바뀌었습니다.」). 🟥 **S1 과의 조정**: S1 이 줄표 이어붙임을 문장으로 나누라는 것은 **연결어를 버려도 된다는 허가가 아니다.** 나눈 뒤 두 문장이 «그런데/그래서»로 이어지는지 다시 읽는다. S1 의 문장 길이 압력은 이음매 복원보다 약한 제약이다 — Step 4-b 의 길이 게이트와 부딪히면 이 클래스가 이긴다(길이 게이트를 닫기 전에 이 클래스로 한 번 되읽는다) | judged (origin O) — 수확 «추가 운영자 교정» N11. S1 규율의 부작용 축(과교정). **«덜 고치기» 방향의 규칙** |
112
112
  | **S19** | 과순화: 번역투를 피하려 만든 비유·순우리말이 뜻을 흐림 (수확 N12) | **기계 패턴 없음 — 판단 전용.** 비유어 목록을 닫을 수 없다 | 업계에서 통하는 평범한 말로 되돌린다 (「이 글은 네 걸음으로 갑니다」 → 「이 글은 네 장으로 구성했습니다」, 「다음 걸음으로」 → 「다음 글에서는」). 판정: 처음 읽는 독자가 한 번에 뜻을 잡는가. 못 잡으면 순화를 취소한다 | judged (origin O) — 수확 N12. 번역투 제거 방향이 만든 과교정이므로 S1~S17 을 적용한 직후 **이 클래스로 한 번 되읽는다** |
113
113
  | **S20** | TMI 자기 단서: 독자 문서에 약점·내부 감사 문구를 앞세움 (수확 N13) | **기계 패턴 없음 — 판단 전용** (Step 3 의 문장 단위 기준을 적용). 후보 눈표지: 「밝혀 둡니다」·「싣지 않습니다」·수치 바로 뒤에 붙는 단서 문장 연속 | 독자의 다음 행동·판단을 바꾸지 않는 단서는 지운다. 강점·실측을 앞에, 한계는 짧게 뒤에. (「동료 심사를 거친 논문이 아니라는 점은 먼저 밝혀 둡니다」 같은 문장, 수치 뒤 단서 세 문장) | judged (origin O) — 수확 N13. Step 3 와 같은 축을 더 세게 적용. 🟥 논지를 받치는 정직(한계 절·소표본)은 지우지 않는다 — 지우는 것은 **자기감사 말투** |
114
- | **S21** | 내부 용어가 독자 본문에 샘 (수확 N14) | `S21` | 외부 독자 말로 바꾼다. 수확 목록: 팔(arm) · 계기 · 초록(=통과) · 공격 배터리 · 라운드 · 결박 · 정규화 · 이긴 기록 · 열화 방향 렌즈 (「시험 하네스」는 S22 에서 한 번만 센다). 🟥 **레인(C13)은 문맥 없이 뜻이 하나뿐인 합성어(공격 배터리·이긴 기록·열화 방향 렌즈)만 잡는다.** 결박(물리적 구속·보안 문서의 해시 결박)·팔·계기·초록·라운드·정규화는 일상어와 겹쳐 레인에 넣지 않았다 — S7(내부 조어)처럼 눈으로 본다. 히트는 후보다 | judged (origin O) — 수확 N14 는 낱말 목록이지 before→after 쌍이 아니다. C13 레인은 «만든 예문으로 판별되는지»만 보증한다(분포 밖 오탐률 미측정) |
114
+ | **S21** | 내부 용어가 독자 본문에 샘 (수확 N14) | `S21` | 외부 독자 말로 바꾼다. 수확 목록: 팔(arm) · 계기 · 초록(=통과) · 공격 배터리 · 라운드 · 결박 · 정규화 · 이긴 기록 · 열화 방향 렌즈 (「시험 하네스」는 S22 에서 한 번만 센다). 2026-11-12 운영자 교정으로 **계열**(모델 family)을 더한다 — 「다른 계열 모델」 → 「다른 회사의 모델」(그 글에서는 계열과 만든 회사가 일치했다. 한 회사가 여러 계열을 내는 맥락이면 «만든 곳이 다른 모델»처럼 뜻에 맞게 푼다). 인용한 논문이 그 단위로 잰 자리(«같은 계열 쌍»)만 첫 등장에 풀이를 붙여 남긴다. 바꾸면 수치의 뜻이 달라진다. 🟥 **레인(C13)은 문맥 없이 뜻이 하나뿐인 합성어(공격 배터리·이긴 기록·열화 방향 렌즈)만 잡는다.** 결박(물리적 구속·보안 문서의 해시 결박)·팔·계기·초록·라운드·정규화·계열은 일상어와 겹쳐 레인에 넣지 않았다 — S7(내부 조어)처럼 눈으로 본다. 히트는 후보다 | judged (origin O) — 수확 N14 는 낱말 목록이지 before→after 쌍이 아니다(«계열»만 2026-11-12 운영자 쌍 1건). C13 레인은 «만든 예문으로 판별되는지»만 보증한다(분포 밖 오탐률 미측정) |
115
115
  | **S22** | 「시험」 → 「테스트」 (수확 N15) | `S22` | 소프트웨어 맥락의 「시험 하네스」(수확)와 같은 꼴의 「시험 환경·결과·케이스·코드·자동화·통과」(추론 — 수확에 없음)는 「테스트」로. 🟥 붙여 쓴 합성어(임상시험·자격시험·모의시험)는 레인이 안 잡는다. 띄어 쓴 「수능 시험 결과」 같은 정당한 용법은 **잡힌다 — 알려진 과차단**(C9 와 같은 처리). 히트는 후보다 | judged (origin O) — 수확 N15 는 «시험 → 테스트» 한 줄뿐이고 쌍이 없다. C14 레인은 만든 예문으로 판별만 보증한다. 「시험해」·「시험했」은 «시도하다» 뜻이 흔해 레인에서 뺐다 |
116
116
  | **S23** | 외국식 표현 (수확 N16) | **기계 패턴 없음 — 판단 전용.** (경동사 «내다» 변종 「'통과'를 냈다」·「판정을 내는」만 레인 `C15` 가 후보로 표시 — 🟥 UNCALIBRATED, 예상 과차단은 «내다» 가 제출 뜻인 정상 용법(「'신청서'를 냈습니다」) — 「판정을 내리다」는 이 패턴에 안 걸린다) 수확의 세 사례는 서로 다른 이유라 하나의 패턴으로 안 묶인다 | 한국어 관용으로 바꾼다 (「잽니다」 → 「측정합니다」). 같은 부류로 기록된 것: 「실험의 결과는 이렇습니다」(영어 구조 직역) · 「문제의식은 짧습니다」(«생각이 짧다»로 읽힘 — 수확에 after 없음). 자기 점검: 그 문장이 영어로 먼저 떠올랐나 | judged (origin O) — 수확 N16. after 쌍이 1건뿐이다. 그 이상으로 일반화하지 않는다 |
117
117
  | **S24** | 제목: 한국어판 + 원제 병기 (수확 N17) | 체크리스트 항목 — 패턴 없음 | 영문 원제가 있는 글은 제목에 한국어판을 쓰고 원제를 병기한다. 발행 전 제목 줄에서 확인 | judged (origin O) — 수확 N17. 문체 클래스가 아니라 발행 체크 |
@@ -120,8 +120,13 @@ model: sonnet
120
120
  | **S27** | 분열문 「~할 점은 ~입니다」 (AI티 후보) | `C19` | 주어를 앞으로 세워 직접 말한다 | judged, candidate — 같음 |
121
121
  | **S28** | 소제목 과밀 (AI티 후보) | `C20` — 단락 2개 이하인 절이 3개 이상 연달아. 함수 레인(줄 패턴 아님) | 절을 합치거나 소제목을 뺀다 | judged, candidate — 같음 |
122
122
  | **S29** | 뻔한 추상 표현 (AI티 후보) | `C21` — 닫힌 어휘(발표에서 든 몇 개)라 recall 이 낮다. 늘리려면 사례를 먼저 쌓는다 | 구체적인 대상·동작으로 바꾼다 | judged, candidate — 같음 |
123
+ | **S30** | 행위 주체 누락: 주어 없는 피동, 또는 주체가 사람인지 에이전트인지 모호 (2026-11-12 운영자 교정) | **기계 패턴 없음 — 판단 전용.** 눈: 「~되는가」·「~처리된」·「~된 적」·「~된 채」처럼 누가 했는지 없는 서술(질문 문장만이 아니라 사례·경위를 말하는 평서문도 — 「머지된 적이 있었다」가 같은 결함이다), 같은 낱말(검토자·검증자)이 사람과 에이전트를 둘 다 가리킬 수 있는 자리 | 무엇이 무엇을 하는지를 능동으로 적는다 (「고장 나도 통과되는가」 → 「검사가 고장 나면 그대로 통과시키는가」 — 운영자: «무엇이 고장 나는지, 능동태로» · 「검토자」 → 「검토 에이전트」 · 「결과가 통과 쪽으로 무너지는지」 → 「게이트가 막지 않고 열려 버리는지」 — 운영자: «게이트가 열린다는 뜻이면 그렇게 말하라»). 🟥 **주체를 원고에서 알 수 없으면 지어내지 않는다** — 그 자리에 「[확인 필요: 누가 …했는지]」를 단다(사람이 했는지 도구가 했는지도 같이 묻는다). 피동을 말없이 그대로 두는 것도, 원고에 없는 주체(「리뷰어가」)를 넣는 것도 둘 다 결함이다. S8(지시 불명확)·S16(이명)과 겹치는 자리는 그쪽 규칙도 같이 본다. 외부 근거: 국내 기업 테크니컬 라이팅팀이 낸 «개발자를 위한 테크니컬 라이팅 10계명»의 4번 «피동형/사동형, 피해야»(디지털 인사이트 2021-06-25 요약 기사 «바쁜 개발자를 위한 테크니컬 라이팅 10계명»으로 확인 — 원문 페이지의 표제는 열어 보지 않았다). 🟥 「~이 되다」(무엇이 무엇으로 바뀜)는 피동이 아니다 — 후보로 세지 않는다 | judged (origin O) — 레인 없음. 쌍 출처 `SKILL_detail.md §Step-2-provenance` |
124
+ | **S31** | 처음 정의하는 개념어: 따옴표 없이 본문에 섞임 (2026-11-12 운영자 교정) | **기계 패턴 없음 — 판단 전용.** 눈: 글이 이름을 붙여 쓰는 개념이 처음 나오는 자리 | 첫 등장에 작은따옴표를 달고 바로 뒤에 괄호 풀이를 붙인다 (「사실 오류와 판단 오류」 → 「'사실 오류'(수치나 출처처럼 원본과 대조해 맞고 틀림을 가릴 수 있는 오류) … '판단 오류'(설명의 방향이나 해석처럼 대조할 원본이 없는 오류)」 · 「자동화된 파이프라인이 놓치는 것」 → 「'자동화된 파이프라인'이 놓치는 것」). 🟥 **풀이는 그 개념이 무엇을 가리키는지 말하는 우리말 한 구절이다 — 영문 원어 괄호(「'흔들리는 테스트'(flaky test)」)는 풀이가 아니다.** 원어를 남기고 싶으면 풀이 뒤에 덧붙인다. 개념이 둘 이상 나란히 처음 나오면 하나하나에 따옴표와 풀이를 붙인다. 원고가 뜻을 주지 않아 풀이를 쓸 수 없으면 지어내지 말고 「[확인 필요: '…'의 정의]」를 단다. 풀이를 붙이는 규칙 자체는 S7 이다 — S31 이 더하는 것은 «이 글이 이름 붙여 쓰는 개념»임을 작은따옴표로 표시하는 일이다. S10 과 방향이 같다(겹낫표·꺾쇠 대신 작은따옴표) | judged (origin O) — 레인 없음 |
125
+ | **S32** | 인용 도입: 누구의 어떤 연구인지 밝히기 전에 수치부터 나옴 (2026-11-12 운영자 교정) | **기계 패턴 없음 — 판단 전용.** 눈: 외부 연구의 수치가 나오는 문단의 첫 문장에 저자·제목·무엇을 잰 연구인지가 있는가. 영문 제목만 있고 뜻풀이가 없는가 | 수치 앞에 «저자의 논문 "제목"(연도)은 무엇을 잰 연구입니다»를 한 문장으로 세운다 (「Kohli의 결과에서 아홉 개 판정은 …」 → 「Guneet Kohli의 논문 "Nine Judges, Two Effective Votes"(2026)는 LLM 심사 패널의 오류가 얼마나 겹치는지 측정한 연구입니다. 이 논문은 …」). 영문 제목에는 짧은 우리말 풀이를 붙인다(S24 와 같은 결 — 그쪽은 글 자체의 제목, 이쪽은 인용한 제목). 인용 서술이 원문과 맞는지는 이 클래스의 축이 아니다 — Step 4 로 간다 | judged (origin O) — 레인 없음 |
126
+ | **S33** | 게재 시점에 낡는 상태 진술 (2026-11-12 운영자 교정) | 후보 눈표지(🟥 레인 아님 — 정상 용법이 대부분): 「다음 과제」·「다음 단계로는」·「아직 … 전입니다」·「… 하고 있습니다」·「넓혀 가고 있습니다」 | 원고와 게재 사이가 길면 그사이에 사실이 바뀐다(운영자: «게재 시점에는 이미 운영 중일 수 있다»). 🟥 Step 3 이 싣는 한계·«측정 중» 표기는 대상이 아니다 — 그것은 게재 뒤에도 참인 정직이다. 견해를 말하는 「… 보고 있습니다」도 진행 보고가 아니다. 진행 보고·예정은 지운다 (「다음 과제」 블록 전체 삭제 · 「이 앱은 아직 공개 전입니다」 삭제 · 「다른 앱과 반복 보정으로 넓혀 가고 있습니다」 삭제). 남기는 «하고 있다» 문장은 **발행 직전 최종본에서 하나씩 사실인지 다시 확인한다**(판단 — 수치가 아니라 Step 4 의 재측정 라벨 분모에는 들지 않는다) — 문서가 «하고 있다»고 말하는데 진행되지 않으면 문서가 거짓이 된다 | judged (origin O) — 레인 없음 |
127
+ | **S34** | 구어 어휘·말버릇의 격 (2026-11-12 운영자 교정) | **기계 패턴 없음 — 판단 전용.** 눈: 말할 때는 자연스럽지만 기술문서의 습니다체 안에서 가볍게 읽히는 낱말, 글을 설명하는 군말 | 문서 격에 맞는 말로 바꾸거나 지운다 (「변이 빌드도 씁니다」 → 「변이 빌드도 활용합니다」 · 「실행과 생성이 싸지는 시대」 → 「실행과 생성의 비용이 낮아지는 시대」 · 「한 문장으로 줄이면, …」 → 군말 삭제). 🟥 S13(구어 어미)과 축이 다르다 — 이쪽은 어휘다. 낭독 대본에서는 대상이 아니다 | judged (origin O) — 레인 없음 |
123
128
 
124
- > **Detail**: See `SKILL_detail.md §Step-2-provenance` — origin, status and measurement history of the S8 and S10~S29 classes — read when judging whether a class is measured or candidate, or before adding a class.
129
+ > **Detail**: See `SKILL_detail.md §Step-2-provenance` — origin, status and measurement history of the S8 and S10~S34 classes — read when judging whether a class is measured or candidate, or before adding a class.
125
130
 
126
131
  > 🟥 **히트는 후보이지 자동 수리 대상이 아니다.** 수확 §3 이 보인다: 운영자 본인의 손편집이 「그것을」을 넣었고,
127
132
  > 「릴리스」→「릴리즈」·「두 번째」→「두번째」·「반복 사용을」→「반복사용을」처럼 표준 표기와 **반대 방향**으로도 갔다.
@@ -239,7 +244,7 @@ bash scripts/test_ko_tech_writer_lanes.sh # ← 이 한 줄이 보정이
239
244
  🟥 **C6 · C6b 를 지우지 마라** — 챔버 carry-forward 는 Step 2 **와 Step 4** 둘 다를 대상으로
240
245
  지정했고, 그 둘이 Step 4-b 쪽 절반이다. 레인을 손볼 때 같이 날아가기 쉬운 자리다.
241
246
 
242
- **미보정으로 남은 것 — 이름으로 남긴다**: `S7`(내부 조어 — 라틴 약어만 C16 후보 레인, 한글 조어는 눈) · `S8`(지시 불명확) · `S9`(레지스터 드리프트) · `S16`(이명, 용어표 대조뿐) · `S17`(어순, UNCALIBRATED) · `S18`·`S19`·`S20`·`S23`(판단 전용) · `S24`(체크리스트) ·
247
+ **미보정으로 남은 것 — 이름으로 남긴다**: `S7`(내부 조어 — 라틴 약어만 C16 후보 레인, 한글 조어는 눈) · `S8`(지시 불명확) · `S9`(레지스터 드리프트) · `S16`(이명, 용어표 대조뿐) · `S17`(어순, UNCALIBRATED) · `S18`·`S19`·`S20`·`S23`·`S30`~`S34`(판단 전용) · `S24`(체크리스트) ·
243
248
  `P1`~`P3`(Step 5-s) 는 아직 레인이 없다. 「레인이 없다」는 **「결함이 없다」가 아니다.**
244
249
 
245
250
  ### Step 2-b — 부분 개고 전용: 기존 본문과의 리듬 대조
@@ -319,7 +324,7 @@ bash scripts/test_ko_tech_writer_lanes.sh # ← 이 한 줄이 보정이
319
324
  필수로 남긴다. 미발견은 "미확인"이지 "없음"이 아니다.
320
325
 
321
326
  기록에 없는 실적·사례는 1차 출처(저장소·PR·로그)를 직접 조회해 확인하고 나서 싣는다.
322
- - **출처 역추적이 필요하면** `/phantom-quench` 로 라우팅한다. 🟥 **차트 검증 스킬은 «있다»고
327
+ - **출처 역추적이 필요하면** `/phantom-quench` 로 라우팅한다. **인용 서술(누가 몇 명으로 무엇을 쟀다)도 링크된 원문 초록과 대조한다** — 문체 콜드리드는 이 축을 보지 않는다(실례: `SKILL_detail.md §Step-2-provenance` 의 2026-11-13 인용 정정). 🟥 **차트 검증 스킬은 «있다»고
323
328
  전제하지 마라 — 그러나 «없다»고도 적지 마라.** 이 줄의 이전 판은 「`dataviz` 스킬은 이 레포에
324
329
  없다」고 적었는데 **그 명제는 거짓이다** — `dataviz` 는 런타임이 공급하는 **번들 스킬로 실재**한다
325
330
  (2026-09-17 확인 — 근거는 세션의 스킬 목록이고, 🟥 **레포 grep 으로는 구조적으로 안 나온다**).
@@ -342,6 +347,7 @@ bash scripts/test_ko_tech_writer_lanes.sh # ← 이 한 줄이 보정이
342
347
  - **확인할 곳** — 원문에 없는 숫자(`NUMBER-NEW`)는 **즉시 FAIL**. 수치는 부호·숫자와 바로 뒤 최대 4자(단위·자릿수어)를 **그대로** 한 토큰으로 비교한다 — 정규화는 NFKC·공백 한 칸뿐이라 «1.0 vs 1.00», «30 ms vs 30ms» 처럼 **표기만 달라도 NEW/LOST 로 떠서 사람이 본다**(닫힌 방향의 비용). 소실도 FAIL, 코드 블록 안 수치도 센다. 모호 수량이 본문에서 사라지면 `VAGUE-LOST` FAIL — 표지·자리표시자로는 면죄되지 않고, 면죄는 `--listed 크게` 처럼 이름을 적는 작성자 결정뿐이다.
343
348
  - **고칠 곳** — 원문에서 발화한 클래스(Step 2 레인)가 개고에서 0 이 됐나. 남았거나 새로 생긴 것은 `--listed` 로 사유와 함께 적는다.
344
349
  4. 이 점검은 한글 수사(세 배)·표 안의 수치·비유의 **의미 보존**은 못 본다 — Step 4 눈 판정 잔여와 Step 5 콜드리드로 간다.
350
+ 5. **형제 정본 대조** (판단 단계 — 위 세 칸 밖이다) — 같은 내용을 담은 다른 산출물(발표 장표·대본·요약본)이 **더 늦게 확정된** 문구를 갖고 있으면, 개고 전에 그쪽과 대응 문단을 대조한다. 이 문서가 옛 문구로 남아 있거나 개고가 옛 문구로 되돌렸으면 그것이 결함이다. 🟥 `--check-rewrite` 는 «이 원고의 앞 판»하고만 비교하므로 **형제 정본에서 확정된 수정은 구조적으로 못 본다** — keep 목록에 그 문구를 올려 두면 그때부터는 기계가 지킨다. 실측(2026-11-12): 운영자가 장표에서 고친 문구 여섯 군데(도입의 믿음 문장 · 관점 라벨 · 「초록색」 · 마무리 세 방법 · 규율 2·3)가 원고에 옛 판으로 남아 있었고, 운영자가 직접 읽기 전까지 어느 점검도 잡지 못했다. 장표가 여러 벌이면 최종 저장본부터 정한다(로컬 사본과 동기화 폴더 사본이 달랐다).
345
351
 
346
352
  **점검 출력 규약** (글 점검 결과를 남길 때): 결함 **위치마다 한 건**(묶지 않는다) · 입력 형태 때문에 못 본 항목은 통과로 세지 않고 **`➖ 확인 불가`**와 사유를 적는다 ·
347
353
  이전 점검 결과는 덮지 않고 `_v2`로 새 파일에 쓴다 · **점검하지 않는 것**을 한 줄로 적는다(예: 문체 취향·사실 정오·링크 유효성) — 판정기가 월권하지 않게 한다.
@@ -490,6 +496,7 @@ say -o /tmp/script.aiff -v Yuna -f /tmp/script.txt # macOS 내장 TTS ·
490
496
  | Step 2 표에서 check-class 가 **`measured` 인 전 행**의 스캔 잔여 0 — **Step 2-a 보정을 먼저 실행**(`bash scripts/test_ko_tech_writer_lanes.sh` — 전 레인 `discriminates`)한 뒤 스캔. 🟥 레인이 없는 클래스는 **「보정 안 됨」으로 적고 measured 로 세지 않는다**(레인 부재는 결함 부재가 아니다). 분모 opener(S1a·P2)는 `neg=0` 이 원리적으로 불가능하므로 「양성이 출력에 나오는가」로 본다. 제외는 **명명 사유와 함께 목록화**하되, 전수가 큰 분모(S1a)는 **집계 1줄로 제외**하고 위험 부분집합만 건별로 적는다 | measured |
491
497
  | Step 2 표에서 check-class 가 **`judged` 인 전 행**의 통과 | judged — 짝: 콜드리드 통독(통독 후 제외 목록 대조) |
492
498
  | **부분 개고인 경우**(기존 문서에 삽입·수정): Step 2-b 리듬 대조 — 삽입분 각 문장이 본문 길이 상위 10% 이내 ∧ 어간 3회 연속 반복 0. 전문 신규 집필이면 N/A 명기 | measured |
499
+ | **부분 개고·재작성이고 형제 정본(장표·대본 등)이 있는 경우**: Step 4-c 5번 대조 결과(되돌아간 문구 n건과 처리)가 이력에 있음 — 형제 정본이 없으면 N/A 명기 | judged — 짝: 형제 정본을 가진 사람(작성자·발표자) |
493
500
  | **부분 개고·재작성인 경우**: Step 4-c `--check-rewrite` 를 실행해 세 칸 결과를 이력에 첨부 — `FAIL` 0 이고 남길 곳 목록이 있음(없으면 `UNMEASURED` 로 명시). 모호 수량 표현은 본문에 그대로 두고 «확인할 곳» 목록으로 보고한다(숫자·자리표시자로 대체 금지). 못 본 항목(입력 형태상)은 통과가 아니라 **`➖ 확인 불가`+사유**로 적는다. 전문 신규 집필이면 N/A 명기 | measured |
494
501
  | 본문 수치 전건(기계 추출 분모 기준, `\b` 미사용 경계없는 추출, **발행 직전 최종본 기준**)이 라벨(창 병기/재측정 대상/미확인) 동반 + **한글 수사(세 배·두 배 등) 눈 판정 잔여 목록이 이력에 명기됨(0건이면 「0」으로 기록)** | measured |
495
502
  | 전칭 단정(부정형 포함) 후보 grep 스캔을 **발행 직전 최종본**에서 실행 — 후보 n건 수치 기록 | measured |
@@ -4,6 +4,23 @@
4
4
 
5
5
  ## §Step-2-provenance
6
6
 
7
+ > **S30~S34 의 출처 (2026-11-12~13, 발표 기술문서 개고)**: 운영자가 원고 전체를 직접 읽고 낸 피드백 한 번(2026-11-12)과, 그 뒤 독립 독자 라운드(처음 읽는 독자 1 · 한국어 교열 1 · 수리 부분 재독 2)에서 나온 쌍이다. 근거 원장은 그 개고의 판별 이력(문서 frontmatter 의 판 기록과 개고 커밋 — 내부 기록이라 배포본 독자에게는 도달하지 않는다).
8
+ > origin 은 **O(운영자 직접)** 만 이 표에 올렸다. 독립 독자가 낸 지적은 쌍마다 원문과 대조해 반영했지만, 그 자체로 새 클래스를 세우는 근거로 쓰지 않았다(독자 에이전트는 같은 계열 모델이라 R 로 세지 않는다).
9
+ >
10
+ > | 클래스 | 운영자 쌍 수 | 대표 쌍 |
11
+ > |---|---|---|
12
+ > | S30 행위 주체 | 3 | 「고장 나도 통과되는가」→「검사가 고장 나면 그대로 통과시키는가」 · 「검토자」→「검토 에이전트」 · 「결과가 통과 쪽으로 무너지는지」→「게이트가 막지 않고 열려 버리는지」 |
13
+ > | S31 개념어 첫 정의 | 2 | 「사실 오류 · 판단 오류」에 작은따옴표 + 풀이 · 「자동화된 파이프라인」에 작은따옴표 |
14
+ > | S32 인용 도입 | 2 | Kohli 를 «누구의 어떤 논문이 무엇을 잰 연구인지» 먼저 소개 · 영문 논문 제목에 우리말 풀이 |
15
+ > | S33 낡는 상태 진술 | 3 | 「다음 과제」 블록 삭제 · 「이 앱은 아직 공개 전입니다」 삭제 · 「넓혀 가고 있습니다」 삭제 |
16
+ > | S34 구어 어휘의 격 | 3 | 「씁니다」→「활용합니다」 · 「싸지는」→「비용이 낮아지는」 · 「한 문장으로 줄이면」 삭제 |
17
+ > 🟥 **다섯 클래스 모두 운영자 피드백 한 번(1회 통독)에서 나왔다 — 건수 2~3 은 독립 확인 다섯 번이 아니다.**
18
+ > 기존 클래스에 붙인 근거(운영자 쌍만): S17 둘째 쌍(2026-11-13 별도 발화 — 주어가 문장 끝: 「…있다고 저희는 봅니다」→「저희는 … 있다고 보고 있습니다」) · S21 «계열».
19
+ > 독자 라운드 유래 관찰(O 아님 — 표에 근거로 올리지 않았다, 원문 대조 후 원고에만 반영): S16 꼴 «3단 게이트 / 세 단계»가 다른 것을 가리켜 «세 번째 단계»가 뒷단으로 읽힘 → 한쪽을 «세 절차»로 · S18 꼴 «그래서» 단락 연속 → «먼저 …, 이어서 …».
20
+ > 🟥 **전부 `judged` 다 — 레인이 없다.** 쌍이 2~3건이라 정규식을 짓지 않았다(«실측 근거 없는 패턴을 짓지 않는다»가 이 파일의 유지 규칙이다). 재발이 쌓이면 S30 의 «~되는가/~처리된» 같은 후보 표지부터 레인으로 올린다.
21
+ > **Step 4-c 5번(형제 정본 대조)의 출처**: 같은 피드백에서 운영자가 «장표에서 이미 고친 문구가 원고에서 되돌아갔다»고 지적했고, 대조해 보니 여섯 군데였다. 원고의 앞 판끼리만 비교하는 `--check-rewrite` 로는 구조적으로 안 잡히는 축이라 절차에 넣었다.
22
+ > **Step 4 의 «인용 서술 원문 대조» 문장의 출처 (2026-11-13 — 독자 라운드 유래, O 아님)**: 부록의 한 인용 서술(«48명 · 노출량»)이 링크된 초록(«개발자 17명 인터뷰»)과 달랐다. 원고 여러 판에 그대로 복사돼 있었고, 문체 독자 세 라운드가 지나갈 때까지 아무도 몰랐다 — «노출량이 무엇의 노출인가»를 묻는 교열 지적이 초록을 열게 만들었고, 초록을 연 순간 잡혔다. 문체 축의 독자는 서지를 열지 않는다는 실례라서 S32 가 아니라 Step 4 라우팅에 붙였다.
23
+
7
24
  > **S25~S29 의 출처**: 우아콘26 세션 «AI야, 네 글 너무 AI티 나» 에서 든 AI티 패턴 목록(가운뎃점·대조형·분열문·소제목 과밀·추상 명사). 한국 사례 코퍼스에서 나온 쌍이 아니라 발표 서술을 정규식으로 옮긴 후보다 — 운영자 교정 근거가 없으므로 `measured` 로 올리지 않는다.
8
25
  >
9
26
  > **S10~S24 의 위상 (2026-10-17 수확; S18~S24 는 같은 날 오후·저녁 운영자 교정 N11~N17)**: 근거 원장은 `tracks/_meta/ko_style_harvest_2026-10-17.md`(내부 근거 원장 — 배포본에 미포함. 운영자 손편집·외부 리뷰어 지적·운영자 발화에서 뽑은 before→after).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-meta",
3
- "version": "3.41.0",
3
+ "version": "3.43.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -2,14 +2,59 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### [3.43.0] — 2026-11-15
6
+
7
+ Minor by the version policy: a new shipped tool and lane for live-eval (#1099), a new shipped lane for `meta-prompt-builder` (#1103), and new judged procedures in shipped skills and rules. Nothing here makes an existing commit or publish gate refuse more by default, so no `BREAKING (gate)` line applies. Two checks are stricter, and neither is a consumer gate: the live-eval report can now exit 2 with `INVALID-COMPARISON` (#1099), and the checkout-only fixture-guard ratchet counts more git calls (#1097). The one new refusal path in a shipped gate script is opt-in: `remote_marker_gate.sh` reads PR bodies over the API only when `RMG_PR_LOOKUP=1` is set, and a failed lookup then exits 10 (#1105). If you run the 3.42.0 package's `test_fixture_guard_coverage_lanes.sh` directly, it no longer fails on the checkout floor (#1097). Items marked «not in the npm package» are in the repository checkout only.
8
+
9
+ ### Added
10
+ - `scripts/live_eval_trace.py` and `scripts/test_live_eval_trace_lanes.sh` (shipped). `probe_live_eval.sh` now records each arm's event stream by default (`sim_isolated_run.sh --trace`; `FH_LIVE_TRACE=0` restores text-only runs). A probe may carry `behave:` (`read=<re>` / `first_read=<re>`), scored from successful top-level tool calls rather than the reply text. A PASS with no trace is marked `MENTION-ONLY` in its row, and the report header counts those rows. Arms that saw different init tool/MCP lists, or an arm with no init, make the run `INVALID-COMPARISON`: no pass rate, and the run exits 2 (as `UNCALIBRATED` already did). This is a report verdict, not a commit gate, but a nightly run can now exit 2 where it used to print a pass rate. Four of the 12 live probes now check a file read; the other eight stay text-scored, by name. `ablation_calibrate.sh` (not in the npm package) passes `--strict-mcp-config` in all three arms (#1099).
11
+ - `meta-prompt-builder` Step 3 item 4, a restate check: before dispatch, a separate context-free reader restates each draft's GOAL / DONE / CONSTRAINTS and marks each RESTATABLE or GUESS. A GUESS becomes `[WARN: brief not restatable — <field>]`; restating your own draft does not count, and no reader means `NOT RUN`, not a pass. New lane `scripts/test_meta_prompt_restate_lanes.sh` (shipped) checks the record shape (#1103).
12
+ - `pr_merge_verified.sh` prints one line before the merge asking which path the defect travels and whether the `--rerun` lane's control was red on the unfixed target via that path. It checks nothing, blocks nothing and does not change the exit code. It stays quiet when every changed file is a doc or a lane (#1106).
13
+ - `session_close_check.sh` prints a record-only `ⓘ ⑤-done-anchor` line listing today's «완료» lines in `fh_completed_<date>.md` that name no commit, PR, run id, path or URL. The close check's exit code does not change. `claude_md_full_reference.md §Session Wrap-up` gains a paragraph: a «완료» line names its world state and what is still unresolved (#1100).
14
+ - `scripts/remote_marker_gate.sh`: with `RMG_PR_LOOKUP=1` and `RMG_REPO=<owner/name>`, a run with no PR body file asks GitHub for the PRs that contain the commit and appends the bodies of those whose head is this repo and branch. A failed or unreadable lookup exits 10, never «no PR». Without `RMG_PR_LOOKUP` the script behaves as before. This repo's `validate.yml` sets it on push runs, so a `claude/*` PR whose marker is only in its PR body no longer goes red on push while green on pull_request at the same HEAD (#1105).
15
+ - `scripts/ablation_verdict.py` (not in the npm package): renders an ablation null result as `NOT-DETECTED@N=<n>` with the minimum detectable drop at that N, plus `DETECTED`, `INSTRUMENT-UNCONFIRMED` and `INPUT-ERROR`. The self-dev loop's ablation steps now use it instead of a builder-written «no loss». What the loop may merge does not change (#1096).
16
+ - `scripts/builder_card_files_check.py` (not in the npm package): checks a builder Context Card's `files:` block (`editable` · `required` · `inspect-only` · `protected`) against the builder tree's changes. Exit 0 `CLEAN`, 1 `VIOLATION`, 2 `HARNESS-ERROR`. Nothing calls it yet except its lanes. `dispatch_conditional_prohibition.md` gains a bullet on what goes in the block and who runs the check (#1111).
17
+
18
+ ### Changed
19
+ - `measurement-integrity-checklist.md §Measured-Loop`: the runs that chose a candidate do not count toward promoting it, as a three-sample table (choosing · promoting · reporting). `edit-manifest` gains a fresh-sample guard (only events dated after the entry count, the selection evidence never counts, a `redefine` is a new version), and `harvest-loop` 6-b keeps an approved addition provisional until later events decide. `probe_scope_check.sh` and the ablation log (not in the npm package) carry the same rule (#1112).
20
+ - `dispatch_conditional_prohibition.md` and `.claude/rules/fh_4axis_gate.md`: a Context Card or root brief is restated by a fresh reader before it is sent, and a `soul:` line before design; the result goes inside the `soul-check:` grounds. No new marker field and no hook check (#1113).
21
+ - `fh_module_contract.md §2d`: before building a module whose purpose is accuracy, measure the bare model on the real path; at the ceiling, record `NOT-DETECTED@N` and do not build. Modules whose value is not accuracy are out of scope (#1109).
22
+ - `ko-tech-writer` S30 now lists declarative passives (`~된 적`, `~된 채`) and asks for `[확인 필요: …]` instead of inventing an actor; S31 says an English parenthetical is not a gloss (#1095).
23
+
24
+ ### Fixed
25
+ - `test_fixture_guard_coverage_lanes.sh` run inside an installed package (no `.git`) skips its live case by name and prints `1 skipped (not a pass)`; before, it failed on the checkout floor (3.42.0 package: 9 passed, 1 failed). Git captured into a variable now counts as a git reference, and a guard line inside a heredoc body no longer counts as a guard. That makes the ratchet stricter: a lane it passed before can now fail it, and the script names one known over-block that fails closed. At release the live scan is green in the checkout (#1097).
26
+ - `capability_registry_check.sh --self-test` no longer flakes under parallel load: two substring checks used `printf | grep -q` under `pipefail`, which returned 141 on SIGPIPE. No assertion was loosened (#1097).
27
+ - `test_mutation_probe_lanes.sh` exits 0 on macOS: lane N6 counts processes with `ps` when `/proc` is absent, and S7-5 (Linux subreaper) prints `NOT-APPLICABLE on Darwin` and is not counted as passed. On Linux a missing `/proc` or `setsid` is still red (#1101).
28
+
29
+ ### Docs
30
+ - `docs/HOW_FH_DIFFERS.md` (Korean) and `docs/HOW_FH_DIFFERS.en.md`: how FH differs from the common idea of a harness; a pointer line in each README (#1102).
31
+ - `docs/USER_GUIDE.md §4`: choosing and starting an intensive or a supervising governor. The session-ledger scripts and `governor_landing_check.py` it names are clone-only (not in the npm package). `AGENTS.md §Governor Operation` points to it (#1107).
32
+ - `docs/model_tier_expectations.md`: Opus 5.5 rows with the vendor's effort guidance and its source, the role verdict `UNMEASURED`, and a refresh rule for new models (#1114).
33
+ - 3.42.0 notes reworded from the release review (#1098); the subagent invocation log gains the 2026-11-14 dispatches (#1104).
34
+
35
+ ### [3.42.0] — 2026-11-14
36
+
37
+ Minor by the version policy: a new shipped ratchet lane (#1091) and new judged checks in the `ko-tech-writer` skill (#1092). Nothing here makes an existing gate refuse more, so no `BREAKING (gate)` line applies. If you run 3.41.0 from an npm install and have a companion store configured as a git repo, you have been seeing a `LANE-TRIPWIRE HARNESS-ERROR … is not a readable git repo` line at every session start; 3.42.0 removes it (#1093). The new ratchet lane is checkout-only: `selfcheck.sh` skips it in an installed package, and running it directly there fails by design.
38
+
39
+ ### Added
40
+ - `scripts/test_fixture_guard_coverage_lanes.sh` (shipped): a ratchet lane: it fails as soon as any git-calling lane lacks the guard, so coverage cannot slip back. A `scripts/test_*.sh` or `scripts/*_lanes.sh` that calls git must source `fixture_guard_lib.sh` before its first git call. It is a checkout-only suite: `selfcheck.sh` skips it in an installed package, which ships fewer lanes: the live case counts the git-calling lanes it scans (86 in the checkout at release, 70 in the 3.42.0 package) against a floor of 80. Run directly inside the package, its live case fails on that floor while its nine planted calibration cases pass (#1091).
41
+ - `ko-tech-writer` skill: five new judged checks S30–S34 (agentless passive, first-defined concept in quotes with a gloss, introduce a cited study before its numbers, progress statements that go stale before publication, colloquial register), a second example pair for S17, and a Step 4 check of citation descriptions against the linked abstract and a later-finalized sibling (#1092).
42
+
43
+ ### Fixed
44
+ - 78 test lanes now source `fixture_guard_lib.sh` before their first git call; at release the live scan found all 86 git-calling lanes in the checkout guarded. So running one directly from a shell with an exported `GIT_DIR` or `GIT_INDEX_FILE` no longer writes into, or reads from, the exported repo. This holds for the git calls the line scan sees; git reached through a variable and a guard line inside a heredoc were not seen by the 3.42.0 scan. This closes the «not yet covered» gap noted under 3.41.0 (#1091).
45
+ - Session start no longer runs the lane-identity tripwire when the FH folder is not a git repository. Before, an npm-installed copy (not a git repo) with a configured git companion store printed `LANE-TRIPWIRE HARNESS-ERROR: … is not a readable git repo` at every session start (measured on the published 3.41.0 package). Called directly, `lane_identity_tripwire.sh` still exits 2 on a non-repo, and `--strict` is unchanged (#1093).
46
+
47
+ ### Docs
48
+ - 3.41.0 notes corrected below: what the session-start tripwire line prints, the close-check ✅ line, and the two docs entries that were joined on one line.
49
+
5
50
  ### [3.41.0] — 2026-11-13
6
51
 
7
52
  Minor by the version policy: a new shipped tool and three new shipped lanes, a new session-start tripwire line, and a selfcheck that now scrubs inherited git env before lanes run. Nothing here makes an existing gate refuse more, so no `BREAKING (gate)` line applies.
8
53
 
9
54
  ### Added
10
- - `scripts/lane_identity_tripwire.sh`: a record-only report of reachable commits made by the lane fixture identity — fixture commits that leaked into a real repo. `--strict` exits 1. It runs at the end of `selfcheck.sh` and at session start; the session-start banner prints its line only when it finds something (#1088).
55
+ - `scripts/lane_identity_tripwire.sh`: a record-only report of reachable commits made by the lane fixture identity — fixture commits that leaked into a real repo. `--strict` exits 1. It runs at the end of `selfcheck.sh` and at session start. The session-start loader runs it only when a companion store is configured as a git repo; it then prints nothing when there are no hits, a WARN line when it finds lane commits, and, in 3.41.0 only, a HARNESS-ERROR line when the FH folder itself is not a git repo (fixed in 3.42.0). On a WARN, check the branch and the index of that repo before anything else (#1088).
11
56
  - New lanes: `test_fixture_git_env_lanes.sh` (#1088), `test_name_boundary_locale_lanes.sh` (#1089), `test_doc_claims_1113_lanes.sh` (#1086).
12
- - `scripts/session_close_check.sh` prints a record-only line when the day's completed-work file has no `## 잡은 것` section. The close check's exit code does not change (#1087).
57
+ - `scripts/session_close_check.sh` prints a record-only line about the day's completed-work file: `✅` when it has a `## 잡은 것` (or `## Catches`) section, `ⓘ` when it does not. The close check's exit code does not change (#1087).
13
58
 
14
59
  ### Fixed
15
60
  - Shell scripts no longer die with rc 127 (`unbound variable`) on macOS under a UTF-8 locale when a variable sits right before a non-ASCII character. 37 code lines in 19 files are braced, including `pr_merge_verified.sh --lease`. `shell_name_boundary_scan.sh` gains `--nonascii-only` (#1089).
@@ -17,7 +62,8 @@ Minor by the version policy: a new shipped tool and three new shipped lanes, a n
17
62
  - `package-coverage`: two stale ACCEPTED_ABSENT entries removed (#1084).
18
63
 
19
64
  ### Changed
20
- - Docs: `pr_merge_verified.sh` header no longer says the lease is recorded but not enforced (#1085). - Docs: in 3.40.0, with a `--lease` label other than `NONE` or `operator…`, `pr_merge_verified.sh` fetches `origin main` and diffs the PR head against its merge-base for the tier; if that fetch, merge-base, diff or tier run fails (for example a repository with no `main` branch on `origin`), it exits 7 like a `HOLD` and merges nothing. Drop `--lease` there, or pass a per-PR `operator: …` label. `catch_tally.py` accepts `## Catches` as well as `## 잡은 것` as the section heading. The module contract's two fh-cartridges PR references now say merged. (#1086)
65
+ - Docs: `pr_merge_verified.sh` header no longer says the lease is recorded but not enforced (#1085).
66
+ - Docs now state the 3.40.0 behaviour, which did not change in 3.41.0: with a `--lease` label other than `NONE` or `operator…`, `pr_merge_verified.sh` fetches `origin main` and diffs the PR head against its merge-base for the tier; if that fetch, merge-base, diff or tier run fails (for example a repository with no `main` branch on `origin`), it exits 7 like a `HOLD` and merges nothing. Drop `--lease` there, or pass a per-PR `operator: …` label. `catch_tally.py` accepts `## Catches` as well as `## 잡은 것` as the section heading. The module contract's two fh-cartridges PR references now say merged (#1086).
21
67
 
22
68
  ### [3.40.0] — 2026-11-13
23
69
 
@@ -171,6 +171,16 @@ Then score `match_score`: **1.0** = evidence clearly confirms the prediction ·
171
171
  > (proposal lists, curator decisions) as verification evidence. Evidence sources are limited
172
172
  > to primary signals — raw utterance logs, invocation counts, git history, friction signals —
173
173
  > that exist independently of any harvest-loop run.
174
+ >
175
+ > **Fresh-sample guard (2026-11-15, FH-2)**: evidence counts only if the **underlying events** are
176
+ > dated after the entry's `date` — a grep or a cumulative count run today still counts only events
177
+ > after that date — and are **not part of the selection evidence**: every observation used to choose
178
+ > or shape the edit (the prompting signal, utterance or session, trial fixes, candidate comparisons).
179
+ > That evidence chose the edit; scoring the edit on it again is selecting and promoting on one sample,
180
+ > and it confirms by construction. Name what was excluded in `verification_note`. If only selection
181
+ > or pre-edit evidence exists, the entry stays `pending` — not `verified`. A `redefine` (Step V3) is a
182
+ > new version: give it a new `date`, and the evidence that prompted the redefinition becomes selection
183
+ > evidence for it.
174
184
 
175
185
  **Step V3 — Apply Validation Gate**
176
186
 
@@ -205,7 +215,10 @@ Apply `verified_at`, `verification_note`, `gate_decision` to each resolved entry
205
215
 
206
216
  ## Validation Gate Logic
207
217
 
208
- Mirrors SkillOpt's validation gate (the held-out gate over its selection-split score):
218
+ Mirrors SkillOpt's validation gate (the held-out gate over its selection-split score). What FH
219
+ holds out is time: the prompting observation and everything dated before the edit are the selection
220
+ side; only later primary signals decide (Fresh-sample guard, Step V2). Without that guard the gate
221
+ would be held out in name only:
209
222
 
210
223
  ```
211
224
  IF verified evidence shows improvement:
@@ -187,7 +187,7 @@ FAIL routing: First FAIL → 1 re-synthesis allowed. FAIL after re-synthesis →
187
187
 
188
188
  **6-a Skill Usage Leaderboard**: Record skills called this session in `tracks/_meta/skill_usage.md`. Flag 4+ weeks no-call → deprecation candidate.
189
189
 
190
- **6-b Harness Evolution Cadence** (4-week cycle): Scan skills with `complexity_routing`. Aggregate escalation records from `fh_signal_*.md`. Valid conditions = keep; never activated in 4 weeks = removal candidate; pattern in fh_signal = addition candidate. No auto-modification — output candidates then require user approval.
190
+ **6-b Harness Evolution Cadence** (4-week cycle): Scan skills with `complexity_routing`. Aggregate escalation records from `fh_signal_*.md`. Valid conditions = keep; never activated in 4 weeks = removal candidate; pattern in fh_signal = addition candidate. No auto-modification — output candidates then require user approval. An approved addition is **provisional**: the `fh_signal` pattern that nominated it is selection evidence, so its edit-manifest entry is decided only by later events (edit-manifest §Fresh-sample guard).
191
191
 
192
192
  > **Detail**: See `SKILL_detail.md §Step6-Detail` — bash scripts for STALE detection, memory scan, skill usage leaderboard, evolution cadence aggregation — read when executing Step 6.
193
193
 
@@ -106,6 +106,22 @@ Before outputting the generated prompt draft, check against 3 criteria.
106
106
  2. **Done When measurability**: Is Done When a measurable event in the M/S/R framework?
107
107
  3. **Context alignment**: Does the Context match the "target" scope defined in the agent's SKILL.md?
108
108
 
109
+ 4. **Restate check (cold reader)** — the procedure for the judged Done-When row below («read one
110
+ draft cold»). Hand **each** draft — its text only, no conversation, no repo — to a separate reader
111
+ (a fresh subagent, Sonnet or Haiku, or a different model family) and ask it to restate **GOAL**
112
+ (what is true when finished) · **DONE** (the observable check) · **CONSTRAINTS** (what not to
113
+ touch), marking each `RESTATABLE` or `GUESS`, and to list the questions it would need answered.
114
+ Any `GUESS` field is `[WARN: brief not restatable — <field>]`; its questions are the fix list.
115
+ Do not tell the reader which draft you suspect. Restating your own draft yourself does not count —
116
+ the failure this answers is the author filling gaps from context the receiver never gets. Record
117
+ the reader's model and keep its raw reply next to the draft. Dispatching the reader follows the
118
+ usual dispatch consent; if no reader can be dispatched, mark the row `NOT RUN`, never `RESTATABLE`.
119
+ Measured once (2026-11-14, one reader per brief, briefs written by the same author — `UNCALIBRATED`):
120
+ 4 briefs made vague on purpose → 4/4 not restatable on all three fields; 4 briefs meant to be clear →
121
+ 3/4 restatable, the fourth flagged an undefined term the author then judged real. This shows the
122
+ check flags briefs made vague, not a false-alarm rate. Idea from the comprehension stage of
123
+ https://github.com/google/elephant-goldfish-model ; the procedure here is FH's own.
124
+
109
125
  Items that fail the check are marked `[WARN]` and the decision is delegated to the user.
110
126
 
111
127
  **Step 3 bias prevention**: When checking Goal achievability, Read the agent's SKILL.md to directly verify (directly compare allowed-tools list). Since generator and validator are the same LLM, self-validation without external reference repeats bias.
@@ -183,6 +199,9 @@ Version / baseline: the Step 3 checklist and the WARN-trigger table in
183
199
  ☐ [WARN] items are surfaced to the user with the reason, and
184
200
  the decision is the user's (mandatory-pass)
185
201
  ☐ Drafts are handed over for review, not dispatched (mandatory-pass)
202
+ ☐ Step 3 item 4 ran on every draft with a separate reader;
203
+ each GUESS field is a recorded [WARN] or was fixed and re-read (mandatory-pass — NOT RUN is
204
+ recorded, never counted as pass)
186
205
  ☐ The drafts are usable by the target agent as written (judged — adversarial pairing:
187
206
  generator and validator are the
188
207
  same model, so self-validation
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-preprep",
3
- "version": "3.41.0",
3
+ "version": "3.43.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-qp",
3
- "version": "3.41.0",
3
+ "version": "3.43.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -64,6 +64,11 @@ FILE_FAILED=0 # 현재 capfile 한정 — 파일마다 초기화한다. 이게
64
64
  # 뒤 파일의 M4 를 SKIPPED 로 만들어, 뒤 파일의 실제 결함이 안 보인다(보고 결함).
65
65
  _fail() { printf ' ❌ %s — %s\n' "$1" "$2"; FAILED=1; FILE_FAILED=1; }
66
66
  _ok() { printf ' ✅ %s — %s\n' "$1" "$2"; }
67
+ # _has <haystack> <fixed-needle> — substring test with NO pipe. Under `set -o pipefail` (line 49)
68
+ # `printf "$big" | grep -q x` returns 141 whenever grep exits on the first match before printf has
69
+ # written everything (SIGPIPE on the writer) — a timing race that made --self-test go red ~5% of
70
+ # runs under parallel load (2026-11-14: 7/144 at 24-way). A here-string has no writer to kill.
71
+ _has() { grep -qF -- "$2" <<<"$1"; }
67
72
  _die() { printf '❌ HARNESS_ERROR: %s\n' "$*" >&2; exit "$RC_HARNESS"; }
68
73
 
69
74
  _parse() {
@@ -495,6 +500,14 @@ _self_test() {
495
500
  else fail=$((fail+1)); printf ' ❌ %-34s rc=%s (기대 %s)\n%s\n' "$1" "$r" "$2" "$o"; fi
496
501
  }
497
502
  printf 'capability_registry_check --self-test\n'
503
+ # P0: the matcher itself. Needle first, then >1 MiB after it — a piped `grep -q` exits on line 1
504
+ # and the writer dies of SIGPIPE, which pipefail turns into «not found». Known-positive (needle
505
+ # present → hit) and known-negative (absent → miss), so a matcher that always says yes is red too.
506
+ local _big; _big="NEEDLE-P0"$'\n'"$(head -c 1200000 /dev/zero | tr '\0' x)"
507
+ if _has "$_big" "NEEDLE-P0"; then pass=$((pass+1)); printf ' ✅ %-34s\n' "P0: 큰 출력 앞머리 매치(파이프 경합 없음)"
508
+ else fail=$((fail+1)); printf ' ❌ %-34s — 있는 문자열을 못 찾았다(파이프+pipefail SIGPIPE 형태)\n' "P0: 큰 출력 앞머리 매치"; fi
509
+ if _has "$_big" "ABSENT-P0"; then fail=$((fail+1)); printf ' ❌ %-34s — 없는 문자열을 찾았다고 했다\n' "P0: 컨트롤(없는 문자열)"
510
+ else pass=$((pass+1)); printf ' ✅ %-34s\n' "P0: 컨트롤(없는 문자열은 미스)"; fi
498
511
  cat > "$T/good.cap" <<EOF
499
512
  id: selftest:true-false
500
513
  entry: bash $T/probe.sh
@@ -585,7 +598,7 @@ LIAR
585
598
  # ★rc 만 보면 **어느 축이 막았는지** 모른다 — M6 를 재려면 M6 가 실패했다고 말해야 한다.
586
599
  CRC_DEBUG_OUT=$(bash "$0" "$T/liar.cap" 2>&1)
587
600
  [ -n "${CRC_DEBUG:-}" ] && printf '%s\n' "$CRC_DEBUG_OUT" >&2
588
- if printf '%s' "$CRC_DEBUG_OUT" | grep -q '❌ M6'; then
601
+ if _has "$CRC_DEBUG_OUT" '❌ M6'; then
589
602
  pass=$((pass+1)); printf ' ✅ %-34s (M6 가 차단자임을 확인)\n' "M6: 차단 귀속"
590
603
  else
591
604
  fail=$((fail+1)); printf ' ❌ %-34s — rc 는 1 인데 M6 가 막은 게 아니다(다른 축이 먼저 걸렸다)\n' "M6: 차단 귀속"
@@ -595,7 +608,7 @@ LIAR
595
608
  # «채널이 켜져 있나 · 계산이 맞나 · 조건부로 꺼지지 않나» 셋이다.
596
609
  _tg() { # $1=이름 $2=기대 rc $3=capfile $4=반드시 포함할 문자열
597
610
  local o r hit; o="$(bash "$0" "$3" 2>&1)"; r=$?
598
- if printf '%s' "$o" | grep -qF "$4"; then hit=1; else hit=0; fi
611
+ if _has "$o" "$4"; then hit=1; else hit=0; fi
599
612
  if [ "$r" = "$2" ] && [ "$hit" = "1" ]; then
600
613
  pass=$((pass+1)); printf ' ✅ %-34s rc=%s\n' "$1" "$r"
601
614
  else
@@ -589,7 +589,9 @@ fi
589
589
  # prints every single session. `hostname -s`, the same source fh_node_check.sh uses.
590
590
  echo "🔄 [FH SessionStart] companion-store freshness — $PULL_NOTE. · node: $(hostname -s 2>/dev/null || echo unknown)"
591
591
  # lane-identity tripwire (record-only): fixture commits that leaked into the hub repo
592
- [ -f "$FH/scripts/lane_identity_tripwire.sh" ] && bash "$FH/scripts/lane_identity_tripwire.sh" "$FH" 2>/dev/null | grep -v '^LANE-TRIPWIRE ok' || true
592
+ # only when $FH is a git repo: an npm-installed copy is not one, and the tool's rc-2 HARNESS-ERROR
593
+ # line would then print at every session start (measured on the published 3.41.0 tarball)
594
+ [ -f "$FH/scripts/lane_identity_tripwire.sh" ] && env -u GIT_DIR -u GIT_COMMON_DIR -u GIT_WORK_TREE -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY git -C "$FH" rev-parse --git-dir >/dev/null 2>&1 && bash "$FH/scripts/lane_identity_tripwire.sh" "$FH" 2>/dev/null | grep -v '^LANE-TRIPWIRE ok' || true
593
595
  # §Diverged banner. Loud, counted, and it names the ONE command — see the §Diverged comment at the
594
596
  # fetch site for the 2026-08-28 measurement that made this necessary. The magnitude line and the
595
597
  # "everything below is stale" line are separate on purpose: the first says the tree is behind, the
@@ -0,0 +1,122 @@
1
+ #!/usr/bin/env python3
2
+ """Read a `claude -p --output-format stream-json --verbose` trace — stdlib only.
3
+
4
+ Why (2026-11-14, FH-3): every live-eval scorer grepped the reply TEXT. A reply that says «I will read
5
+ CATALOG.md first» and a session that actually read it scored the same, so the 12/12 PASS measured
6
+ mentions. The runner now keeps the event stream (`<arm>_r<n>.stream.jsonl`, opt-in `--trace` in
7
+ sim_isolated_run.sh), and a probe may declare `behave:` — an observable tool call — next to its
8
+ `expect_re`.
9
+
10
+ Two uses:
11
+ extract <stream.jsonl> <out.txt> <tools.txt> (runner) write the final result text and the init
12
+ tool/MCP inventory. Exit 3 on a stream that has no parseable result event — never an empty
13
+ «the session said nothing» (same rule as sim_isolated_run.sh's turns path).
14
+ library: parse_stream(path) · behave_hit(trace, spec) · inventory(trace)
15
+
16
+ `behave:` grammar (one per probe, value is an ERE, no colon by probes_live.yaml convention):
17
+ read=<re> some SUCCESSFUL Read (file_path) or Grep (path) call matches — Python `re`, not POSIX
18
+ first_read=<re> the FIRST Read/Grep/Glob call of the top-level session is that successful call
19
+ Credited calls: top-level only (a subagent's call, parent_tool_use_id set, is not the arm's action),
20
+ with a matching tool_result that is not is_error (a denied or failed Read did not read anything).
21
+ Glob and a Grep `pattern` never count as reading a file. Residual: «first» is emission order; two
22
+ calls issued in one parallel batch are not ordered by completion.
23
+ """
24
+ import json, re, sys
25
+
26
+ FILE_TOOLS = ('Read', 'Grep', 'Glob')
27
+ READ_KEYS = {'Read': ('file_path',), 'Grep': ('path',)}
28
+
29
+
30
+ def parse_stream(path):
31
+ """{'result': str|None, 'tools': [..]|None, 'mcp': [..]|None, 'calls': [(name, input)]}.
32
+ None when the file is absent/unreadable. A missing init event leaves tools=None (UNKNOWN,
33
+ never «no tools»)."""
34
+ try:
35
+ lines = open(path, encoding='utf-8').read().splitlines()
36
+ except (OSError, UnicodeDecodeError):
37
+ return None
38
+ out = {'result': None, 'tools': None, 'mcp': None, 'calls': [], 'damaged': 0, 'ok_ids': set()}
39
+ for ln in lines:
40
+ ln = ln.strip()
41
+ if not ln:
42
+ continue
43
+ try:
44
+ ev = json.loads(ln)
45
+ except ValueError:
46
+ out['damaged'] += 1 # a skipped line could hide the real first call
47
+ continue
48
+ if not isinstance(ev, dict):
49
+ continue
50
+ t = ev.get('type')
51
+ if t == 'system' and ev.get('subtype') == 'init':
52
+ if isinstance(ev.get('tools'), list):
53
+ out['tools'] = sorted(str(x) for x in ev['tools'])
54
+ if isinstance(ev.get('mcp_servers'), list):
55
+ out['mcp'] = sorted(('%s:%s' % (s.get('name'), s.get('status'))) if isinstance(s, dict) else str(s)
56
+ for s in ev['mcp_servers'])
57
+ elif t == 'assistant':
58
+ if ev.get('parent_tool_use_id'):
59
+ continue
60
+ for c in (ev.get('message') or {}).get('content') or []:
61
+ if isinstance(c, dict) and c.get('type') == 'tool_use':
62
+ out['calls'].append((str(c.get('name', '')), c.get('input') or {}, c.get('id')))
63
+ elif t == 'user':
64
+ for c in (ev.get('message') or {}).get('content') or []:
65
+ if isinstance(c, dict) and c.get('type') == 'tool_result' and not c.get('is_error'):
66
+ out['ok_ids'].add(c.get('tool_use_id'))
67
+ elif t == 'result':
68
+ if ev.get('subtype') not in (None, 'success') or ev.get('is_error'):
69
+ out['damaged'] += 1 # an error result is not a finished session
70
+ r = ev.get('result')
71
+ out['result'] = r if isinstance(r, str) else ('' if r is None else json.dumps(r, ensure_ascii=False))
72
+ return out
73
+
74
+
75
+ def inventory(trace):
76
+ """One comparable string for the arm's tool surface, or None when the init event was absent."""
77
+ if trace is None or trace['tools'] is None:
78
+ return None
79
+ return 'tools=' + ','.join(trace['tools']) + ' | mcp=' + ','.join(trace['mcp'] or [])
80
+
81
+
82
+ def _read_hit(call, trace, pat):
83
+ name, inp, cid = call
84
+ if cid not in trace['ok_ids'] or not isinstance(inp, dict):
85
+ return False
86
+ return any(pat.search(str(inp[k])) for k in READ_KEYS.get(name, ()) if k in inp)
87
+
88
+
89
+ def parse_behave(spec):
90
+ """'first_read=CATALOG' -> ('first_read', compiled). ValueError on anything else (a typo must
91
+ not silently become «no behaviour declared»)."""
92
+ m = re.match(r'^(read|first_read)=(.+)$', (spec or '').strip())
93
+ if not m:
94
+ raise ValueError('behave %r is not read=<re> or first_read=<re>' % spec)
95
+ return m.group(1), re.compile(m.group(2))
96
+
97
+
98
+ def behave_hit(trace, spec):
99
+ """True/False whether the trace shows the declared action. Caller handles trace None."""
100
+ kind, pat = parse_behave(spec)
101
+ file_calls = [c for c in trace['calls'] if c[0] in FILE_TOOLS]
102
+ if kind == 'first_read':
103
+ return bool(file_calls) and _read_hit(file_calls[0], trace, pat)
104
+ return any(_read_hit(c, trace, pat) for c in file_calls)
105
+
106
+
107
+ def _extract(src, dst_txt, dst_tools):
108
+ tr = parse_stream(src)
109
+ if tr is None or tr['result'] is None or tr['damaged']:
110
+ open(dst_txt, 'w', encoding='utf-8').write('')
111
+ open(dst_tools, 'w', encoding='utf-8').write('UNKNOWN (no result event, error result or damaged stream)\n')
112
+ return 3
113
+ open(dst_txt, 'w', encoding='utf-8').write(tr['result'])
114
+ open(dst_tools, 'w', encoding='utf-8').write((inventory(tr) or 'UNKNOWN (no init event)') + '\n')
115
+ return 0
116
+
117
+
118
+ if __name__ == '__main__':
119
+ if len(sys.argv) == 5 and sys.argv[1] == 'extract':
120
+ sys.exit(_extract(*sys.argv[2:5]))
121
+ print(__doc__, file=sys.stderr)
122
+ sys.exit(2)
@@ -55,6 +55,13 @@ ACCEPTED_ABSENT=(
55
55
  # public cycle (docs/ABLATION_CYCLE.md, not shipped either) goes to npm is an open operator decision.
56
56
  "scripts/ablation_nominate.py"
57
57
  "scripts/test_ablation_nominate_lanes.sh"
58
+ # 2026-11-14 — the verdict renderer the loop's ABLATION_STEPS points at. Same loop, same scope.
59
+ "scripts/ablation_verdict.py"
60
+ "scripts/test_ablation_verdict_lanes.sh"
61
+ # 2026-11-15 — builder Context Card file-role check (FH-6). Hub pilot: whether consumers get it is a §7 ship
62
+ # decision for the operator, and the dispatch doc that names it is hub-local practice today.
63
+ "scripts/builder_card_files_check.py"
64
+ "scripts/test_builder_card_files_lanes.sh"
58
65
  "docs/ABLATION_CYCLE.md"
59
66
  # 2026-11-07 — lease-record channel (AQ-20261107-11). It writes this hub's operator-local lease file; a consumer
60
67
  # has no such file and no such convention, so shipping it would ship a tool with nothing to act on.