@chrono-meta/fh-gate 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/.claude/regression/probes_live.yaml +108 -6
  2. package/.claude-plugin/marketplace.json +4 -4
  3. package/CLAUDE.md +1 -1
  4. package/knowledge/shared/harness-core/governance_engineering_definition.md +7 -3
  5. package/knowledge/shared/harness-core/self_evolution_routine.md +14 -0
  6. package/knowledge/shared/harness-core/sonnet_floor_doctrine.md +75 -0
  7. package/knowledge/shared/learnings/subagent_invocations_log.yaml +71 -0
  8. package/package.json +5 -2
  9. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  10. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  11. package/plugins/fh-meta/CHANGELOG.md +97 -0
  12. package/plugins/fh-meta/skills/asset-placement-gate/SKILL.md +30 -0
  13. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  14. package/plugins/fh-preprep/skills/preprep/SKILL.md +7 -1
  15. package/plugins/fh-preprep/skills/preprep/fixtures/font_revert_probe.py +6 -4
  16. package/plugins/fh-preprep/skills/preprep/lane_attr_consistency.py +77 -6
  17. package/plugins/fh-preprep/skills/preprep/lane_font.py +105 -16
  18. package/plugins/fh-preprep/skills/preprep/lane_screen_parity.py +14 -1
  19. package/plugins/fh-preprep/skills/preprep/test_lane_font.py +170 -21
  20. package/plugins/fh-preprep/skills/preprep/test_preprep_lanes_rp.py +73 -3
  21. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  22. package/scripts/adapters/peer_resolve.sh +4 -0
  23. package/scripts/cluster_capability_scan.sh +21 -2
  24. package/scripts/com.forge-harness.live-eval.plist +5 -2
  25. package/scripts/fh-run.sh +19 -2
  26. package/scripts/fh_track_resolve.sh +22 -0
  27. package/scripts/probe_live_eval.sh +117 -3
  28. package/scripts/probe_live_eval_lib.py +178 -5
  29. package/scripts/remote_marker_gate.sh +186 -0
  30. package/scripts/selfcheck.sh +25 -0
  31. package/scripts/test_adapter_lanes.sh +46 -1
  32. package/scripts/test_fh_run_resolver_lanes.sh +20 -3
  33. package/scripts/test_probe_live_eval_lanes.sh +271 -10
  34. package/scripts/test_remote_marker_gate_lanes.sh +190 -0
  35. package/scripts/test_temper_check_lanes.sh +307 -0
  36. package/scripts/test_track_resolve_lanes.sh +51 -7
@@ -26,10 +26,16 @@
26
26
  # hand-curated CLI-event filter) and scripts/probe_live_eval_lib.py for the implementation. Run
27
27
  # `--dry-run` to see the full 33-row breakdown: which probes are selected, which are excluded and
28
28
  # why, and which pass the mechanical rule but have no authored expect/control yet
29
- # (NOT-YET-AUTHORED — an honest gap, not a silent drop; G-LINT-01 is the current example, deferred
30
- # because scoring a full /harness-doctor Step 5 run needs more than a keyword regex).
29
+ # (NOT-YET-AUTHORED — an honest gap, not a silent drop). As of 2026-09-14 that bucket is EMPTY:
30
+ # G-LINT-01, its long-standing occupant, moved to ARM_CAPABILITY_EXCLUDE because the real blocker
31
+ # is that its route needs the Skill layer the arm does not have — an unauthored spec was never the
32
+ # reason. See probe_live_eval_lib.py for the three named exclude sets and what each one does and
33
+ # does not claim.
31
34
  #
32
- # COST. Each selected probe costs TWO live `claude -p` calls (primary + control). Do not run the
35
+ # COST. Each selected probe costs TWO live `claude -p` calls (primary + control) — THREE if it
36
+ # declares `control_input_b`, a second known-negative (only G-TRIG-07 does, as of 2026-09-14).
37
+ # At the current 13-probe selection that is 27 arm-calls per rep; the nightly plist passes
38
+ # `--reps 3`, so a full night is 81 live calls. Do not run the
33
39
  # full selected set casually — use --subset N or --ids P1,P2 for a spot-check, and read
34
40
  # sim_isolated_run.sh's own header before running unattended (isolation guarantees, what "observe"
35
41
  # mode does and does not prevent, the three-valued rc/bytes verdict for a timeout vs an empty
@@ -85,6 +91,30 @@ SIM_RUNNER="${FH_SIM_RUNNER_BIN:-$REPO_ROOT/scripts/sim_isolated_run.sh}"
85
91
  # ── file-header constant — the "문턱" the design brief calls for. Change here, not per-invocation. ──
86
92
  THRESHOLD="0.8"
87
93
 
94
+ # ── EVIDENCE PRESERVATION (2026-09-14) ────────────────────────────────────────────────────────
95
+ # 🟥 WHY. Until today every run's response bodies were written into a `mktemp -d` and destroyed
96
+ # with it, and the launchd log carries only the runner's console tail — no answer text. So when
97
+ # 09-12 came back at pass_rate 0.18 and 09-13 came back 0/3 on EVERY probe, there was no way to
98
+ # tell a model-availability blip from a rate limit from a clone failure from a real regression.
99
+ # Both nights are now PERMANENTLY UNATTRIBUTABLE. That is the cost this block exists to stop
100
+ # paying: a nightly instrument that throws away its own evidence can report a number but can
101
+ # never explain one.
102
+ #
103
+ # WHAT IS KEPT, AND WHAT IS NOT. Only the FLAT artifacts each arm dir holds — the response `.txt`,
104
+ # its `.stderr.txt`, the `.prompt.txt`, the `.meta.tsv` (corpus_head_date / model / cutoff) and the
105
+ # runner console log. 🟥 NOT the clones: sim_isolated_run.sh puts each rep's full
106
+ # `git clone --local --no-hardlinks` under `<out>/w_<arm>_r<n>/repo`, and this repo's tracked tree
107
+ # is ~260MB, so preserving `--out` wholesale would deposit tens of GB per night. `find -maxdepth 1
108
+ # -type f` is what draws that line: the clone trees live at depth 2+ and are never copied.
109
+ #
110
+ # WHERE. tracks/_meta/live_eval_runs/<date>/ — gitignored via `.gitignore:45 tracks/**` (verified
111
+ # with `git check-ignore -v`), same zone as the report the run already writes.
112
+ EVIDENCE_ROOT_DEFAULT="tracks/_meta/live_eval_runs"
113
+ # Retention: a nightly full set is ~66 small text files (a few hundred KB). 14 days is chosen to
114
+ # span the weekly cadence with a margin, so a Monday session can still read the previous week's
115
+ # incident. Override with FH_LIVE_EVAL_KEEP_DAYS; 0 disables pruning entirely (never auto-deletes).
116
+ KEEP_DAYS="${FH_LIVE_EVAL_KEEP_DAYS:-14}"
117
+
88
118
  MODEL="sonnet"
89
119
  # ── reps — 프로브당 반복 횟수. 기본 1(종전 행동 그대로), 무인 런은 plist 에서 3 을 준다. ──
90
120
  # 🟥 왜 1 이 기본이면서 야간은 3 인가 (2026-09-06 실측): 유효 런 3 개를 재채점하니 12 프로브 중
@@ -99,6 +129,7 @@ SUBSET=""
99
129
  IDS=""
100
130
  OUTDIR=""
101
131
  REPORT_OUT="" # --report-out: where the markdown report lands (default: tracks/_meta/live_eval_<date>.md)
132
+ NO_EVIDENCE=0 # --no-evidence: skip the preserved-artifact copy (lanes / throwaway spot-checks)
102
133
  while [ $# -gt 0 ]; do
103
134
  case "$1" in
104
135
  --subset) SUBSET="${2:-}"; shift 2 ;;
@@ -108,6 +139,7 @@ while [ $# -gt 0 ]; do
108
139
  --dry-run) DRYRUN=1; shift ;;
109
140
  --out) OUTDIR="${2:-}"; shift 2 ;;
110
141
  --report-out) REPORT_OUT="${2:-}"; shift 2 ;; # lanes/spot-checks MUST pass this — never the live path
142
+ --no-evidence) NO_EVIDENCE=1; shift ;;
111
143
  *) echo "unknown flag: $1" >&2; exit 2 ;;
112
144
  esac
113
145
  done
@@ -168,6 +200,54 @@ RUN_DATE="$(date +%Y-%m-%d)"
168
200
  OUTDIR="${OUTDIR:-$WORKDIR/run}"
169
201
  mkdir -p "$OUTDIR"
170
202
 
203
+ # ── evidence dir + retention prune ────────────────────────────────────────────────────────────
204
+ EVIDENCE_DIR=""
205
+ if [ "$NO_EVIDENCE" -eq 0 ]; then
206
+ # Overridable for the lanes ONLY — a lane that wrote into the live evidence path would be the
207
+ # same class of defect as the 2026-09-05 incident where a lane overwrote that night's report
208
+ # ([[feedback_sim_with_write_tools_is_a_fleet]]). Note the prune guard below deliberately
209
+ # REFUSES to prune an overridden root, so this flag can never be used to point the delete at
210
+ # something else.
211
+ EVIDENCE_ROOT="${FH_LIVE_EVAL_EVIDENCE_ROOT:-$REPO_ROOT/$EVIDENCE_ROOT_DEFAULT}"
212
+ mkdir -p "$EVIDENCE_ROOT"
213
+ EVIDENCE_DIR="$EVIDENCE_ROOT/$RUN_DATE"
214
+ # A second run on the same day gets its own dir rather than overwriting the first. The report
215
+ # path already learned this lesson the hard way (2026-09-05 10:18, a lane overwrote the 02:30
216
+ # record); evidence is the artifact you go back to *because* the record looked wrong, so losing
217
+ # the earlier one is worse here, not better.
218
+ [ -d "$EVIDENCE_DIR" ] && EVIDENCE_DIR="$EVIDENCE_ROOT/${RUN_DATE}_$(date +%H%M%S)"
219
+ mkdir -p "$EVIDENCE_DIR"
220
+
221
+ # Prune. Guarded three ways, because this is the one line in this script that deletes anything:
222
+ # (a) the root must be the literal path built above, under $REPO_ROOT/tracks/_meta
223
+ # (b) only DIRECTORIES exactly one level down whose name is date-shaped
224
+ # (c) only older than KEEP_DAYS; KEEP_DAYS=0 disables pruning outright
225
+ # `-mtime +N` is portable across BSD (macOS) and GNU find; `-mindepth/-maxdepth 1` pins depth so
226
+ # a nested path can never be reached.
227
+ case "$EVIDENCE_ROOT" in
228
+ "$REPO_ROOT/tracks/_meta/"*)
229
+ if [ "$KEEP_DAYS" -gt 0 ] 2>/dev/null; then
230
+ while IFS= read -r _old; do
231
+ [ -n "$_old" ] || continue
232
+ echo " 🧹 pruning evidence older than ${KEEP_DAYS}d: $_old"
233
+ rm -rf "$_old"
234
+ done < <(find "$EVIDENCE_ROOT" -mindepth 1 -maxdepth 1 -type d \
235
+ -name '20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]*' -mtime "+$KEEP_DAYS" 2>/dev/null)
236
+ fi
237
+ ;;
238
+ *) echo " ⚠️ evidence root outside tracks/_meta — refusing to prune: $EVIDENCE_ROOT" >&2 ;;
239
+ esac
240
+ fi
241
+
242
+ # Copy ONLY the flat per-arm artifacts out of a probe dir. The full clone trees live at
243
+ # <probe_out>/w_<arm>_r<n>/repo/** — `-maxdepth 1 -type f` is what keeps them out (see the header
244
+ # block: preserving them wholesale would be tens of GB a night).
245
+ preserve_probe_evidence() { # $1 = probe_out dir, $2 = probe id
246
+ [ -n "$EVIDENCE_DIR" ] || return 0
247
+ mkdir -p "$EVIDENCE_DIR/$2" || return 0
248
+ find "$1" -maxdepth 1 -type f -exec cp {} "$EVIDENCE_DIR/$2/" \; 2>/dev/null || true
249
+ }
250
+
171
251
  echo ""
172
252
  echo "── live run: $SELECTED_COUNT probe(s), model=$MODEL, out=$OUTDIR ──────────────────────"
173
253
 
@@ -214,6 +294,30 @@ while IFS= read -r id; do
214
294
  echo " Partial run artifacts kept at: $OUTDIR" >&2
215
295
  exit 2
216
296
  fi
297
+
298
+ # OPTIONAL second known-negative — a THIRD live call per rep, spent only where one control has
299
+ # been measured to under-discriminate. Keyed off the spec file's existence, which the selector
300
+ # writes only when `control_input_b` is declared (so "file absent" can only mean "not declared",
301
+ # never "declared but empty").
302
+ if [ -f "$SPEC_DIR/$id.control_b.txt" ]; then
303
+ control_b_text="$(cat "$SPEC_DIR/$id.control_b.txt")"
304
+ echo "▶ $id — control_b"
305
+ bash "$SIM_RUNNER" --arm control_b --reps "$REPS" --prompt "$control_b_text" \
306
+ --mode observe --model "$MODEL" --out "$probe_out" \
307
+ > "$probe_out/_runner_control_b.log" 2>&1
308
+ runner_rc=$?
309
+ tail -n 6 "$probe_out/_runner_control_b.log"
310
+ if [ "$runner_rc" -eq 2 ]; then
311
+ echo "" >&2
312
+ echo "❌ $id control_b runner call exited 2 (preflight failure, before \`claude\` ran)." >&2
313
+ echo " Aborting the whole run rather than burning the remaining clones." >&2
314
+ echo " Runner log: $probe_out/_runner_control_b.log" >&2
315
+ echo " Partial run artifacts kept at: $OUTDIR" >&2
316
+ exit 2
317
+ fi
318
+ fi
319
+
320
+ preserve_probe_evidence "$probe_out" "$id"
217
321
  done < "$SPEC_DIR/selected_ids.txt"
218
322
 
219
323
  echo ""
@@ -233,6 +337,16 @@ python3 "$LIB" score \
233
337
  --reps "$REPS"
234
338
  score_rc=$?
235
339
 
340
+ if [ -n "$EVIDENCE_DIR" ]; then
341
+ # The report is part of the evidence: a preserved body set with no verdict beside it forces the
342
+ # next reader to re-derive what the run concluded.
343
+ cp "$REPORT_PATH" "$EVIDENCE_DIR/_report.md" 2>/dev/null || true
344
+ _kept=$(find "$EVIDENCE_DIR" -type f 2>/dev/null | wc -l | tr -d ' ')
345
+ _size=$(du -sh "$EVIDENCE_DIR" 2>/dev/null | cut -f1)
346
+ echo ""
347
+ echo "📦 response bodies preserved: $EVIDENCE_DIR ($_kept files, ${_size:-?}; retention ${KEEP_DAYS}d)"
348
+ fi
349
+
236
350
  echo ""
237
351
  echo "run artifacts kept at: $OUTDIR"
238
352
  echo "(temp selection workspace $WORKDIR is NOT auto-deleted when --out was passed explicitly; ok to remove by hand)"
@@ -45,7 +45,34 @@ CLI_EVENT_EXCLUDE = {"G-CODE-01", "G-CODE-02", "G-CODE-03"}
45
45
  # arm that can see the skill layer), and building one re-calibrates all 12 probes, so it is not a
46
46
  # calibration-week change. Named here so the gap stays greppable instead of dissolving into a
47
47
  # permanently-red lane nobody reads.
48
- ARM_CAPABILITY_EXCLUDE = {"G-TRIG-03"}
48
+ #
49
+ # G-LINT-01 joined this set 2026-09-14, same root cause, different symptom. It had emitted
50
+ # NOT-YET-AUTHORED every night for eight nights — "the rule selects it but nobody wrote a spec" —
51
+ # which reads like a to-do and is not one: its Input Pattern is `/harness-doctor` run in FH cwd, so
52
+ # scoring it requires an arm that can INVOKE a skill, and this arm cannot. Eight identical warnings
53
+ # is how a warning stops being read; the honest close is to name the real blocker, not to author a
54
+ # regex against a route the arm cannot take. Same UNMEASURED note applies: whether harness-doctor's
55
+ # L4 knowledge cross-ref lint fires is not answered by excluding it here.
56
+ ARM_CAPABILITY_EXCLUDE = {"G-TRIG-03", "G-LINT-01"}
57
+
58
+ # The THIRD judgment call, and deliberately a SEPARATE set from the one above — "the arm lacks the
59
+ # TOOL" and "the arm cannot reach the STATE that decides the right answer" are different facts, and
60
+ # collapsing them would render an unreachable fixture as a missing capability (the same
61
+ # separate-values-on-purpose discipline CLAUDE.md applies to the `crossfamily:` degrade triad).
62
+ #
63
+ # G-GREET-03 checks the FIXED 4-DOOR MENU, which renders only on the RETURNING branch. The branch
64
+ # test is mechanical and is `bash scripts/mapped_tracks.sh` — but an observe-mode arm runs with
65
+ # `--tools "Read,Grep,Glob"` and has no Bash, and `tracks/**` is gitignored so the disposable clone
66
+ # carries no session files or mapped-project dirs either. The arm therefore cannot reach the state
67
+ # that decides WHICH door set is correct, and a regex asserting ①②③④ would score a NEW-user 2-door
68
+ # menu — the correct answer for that clone — as a failure.
69
+ #
70
+ # 🟥 THIS IS AN OPEN GAP, NOT AN ANSWER. "Does the fixed 4-door menu render at the floor tier?" is
71
+ # UNMEASURED. Closing it needs an arm with a fixture (a real FILE under tracks/{name}/ — an empty
72
+ # dir is invisible to Glob, measured 2026-08-29 in sim_isolated_run.sh's own header) plus a branch
73
+ # the arm can observe without Bash. Named here so the gap stays greppable instead of dissolving
74
+ # into a decorative always-red probe.
75
+ ARM_STATE_EXCLUDE = {"G-GREET-03"}
49
76
 
50
77
 
51
78
  def parse_probes_md(path):
@@ -135,7 +162,14 @@ def classify(id_, input_pat, class_tok):
135
162
  if id_ in CLI_EVENT_EXCLUDE:
136
163
  return 'EXCLUDED', 'NOT-CHAT-UTTERANCE (shell command, not a chat turn)'
137
164
  if id_ in ARM_CAPABILITY_EXCLUDE:
138
- return 'EXCLUDED', 'NOT-LIVE-MEASURABLE (skill-description route; the arm has no Skill tool)'
165
+ return 'EXCLUDED', 'NOT-LIVE-MEASURABLE (needs the Skill layer; the arm has no Skill tool)'
166
+ # Checked BEFORE the utterance-shape rule on purpose: G-GREET-03's cell carries no quoted
167
+ # literal either, so NO-UTTERANCE would win the race and report a true-but-irrelevant reason
168
+ # ("nobody typed it") for a row whose real blocker is that the arm cannot reach the branch
169
+ # state. An honest reason column is the whole point of naming these sets.
170
+ if id_ in ARM_STATE_EXCLUDE:
171
+ return 'EXCLUDED', ('NOT-LIVE-MEASURABLE (branch-state route; the arm has no Bash to run '
172
+ 'the branch test and the clone carries no tracks/** fixture)')
139
173
  if not UTTERANCE_RE.search(input_pat):
140
174
  return 'EXCLUDED', 'NO-UTTERANCE (no quoted/backticked literal a user would type)'
141
175
  return 'SELECTABLE', None
@@ -185,13 +219,25 @@ def build_selection(probes_md_rows, live_rows):
185
219
  warnings.append("BAD-POLARITY: %s declares polarity=%r (must be present|absent)"
186
220
  % (row['id'], spec['polarity']))
187
221
  continue
188
- selected.append({
222
+ entry = {
189
223
  'id': row['id'],
190
224
  'input': spec['input'],
191
225
  'control_input': spec['control_input'],
192
226
  'polarity': spec['polarity'],
193
227
  'expect_re': spec['expect_re'],
194
- })
228
+ }
229
+ # Optional, and optional on purpose — a second known-negative costs a THIRD live call per
230
+ # rep, so it is spent only where one control has been shown to under-discriminate. Key name
231
+ # has no digit: parse_probes_live's key regex is `[a-z_]+`, so `control_input_2` would be
232
+ # silently dropped (the leniency class [[feedback_declaration_silently_dropped_by_parse]]).
233
+ if spec.get('control_input_b'):
234
+ entry['control_input_b'] = spec['control_input_b']
235
+ # ADVISORY channel — recorded, never scored. See score_run(): a probe can be widened to
236
+ # measure a BEHAVIOR while a narrower pattern keeps measuring the ROUTE, so that turning the
237
+ # row green does not also erase the residual the widening stopped seeing.
238
+ if spec.get('advisory_re'):
239
+ entry['advisory_re'] = spec['advisory_re']
240
+ selected.append(entry)
195
241
 
196
242
  # Dead-pointer guard: an id in probes_live.yaml that does not exist in probes.md AT ALL.
197
243
  for p in live_rows:
@@ -335,11 +381,42 @@ def score_run(live_rows, run_root, ids_in_order, threshold, model, reps=1):
335
381
  rows.append({'id': pid, 'verdict': 'UNKNOWN-ID', 'primary_hit': None, 'control_hit': None})
336
382
  continue
337
383
  base = os.path.join(run_root, pid)
384
+ has_ctrl_b = bool(spec.get('control_input_b'))
385
+ adv_re = spec.get('advisory_re')
386
+ adv_pat = re.compile(adv_re) if adv_re else None
387
+ adv_hits = 0
388
+ ctrl_b_absent = False # rep-1 only, diagnostic: which arm actually produced nothing
338
389
  per_rep = [] # [(verdict, phit, chit, primary_text, control_text)]
339
390
  for i in range(1, reps + 1):
340
391
  pt = _read_text(os.path.join(base, 'primary_r%d.txt' % i))
341
392
  ct = _read_text(os.path.join(base, 'control_r%d.txt' % i))
393
+ ct_first_arm_ran = bool(ct)
394
+ if has_ctrl_b:
395
+ # A declared second control that produced nothing did NOT run — and a probe whose
396
+ # calibration arm did not run has not been calibrated. Collapsing that into "the
397
+ # control stayed silent, so the pattern discriminates" is the not-found-is-not-zero
398
+ # defect pointed at the calibration channel instead of the measurement channel.
399
+ ctb = _read_text(os.path.join(base, 'control_b_r%d.txt' % i))
400
+ if not ctb:
401
+ ct = None
402
+ if i == 1 and ct_first_arm_ran:
403
+ # Keep WHICH arm died attributable. Without this the reason column blames
404
+ # `control:` — the arm that ran fine — for the absence of `control_b:`,
405
+ # which is a diagnostic pointing at the wrong file. Caught by lane CB2.
406
+ ctrl_b_absent = True
407
+ elif ct:
408
+ # Concatenated, so a hit in EITHER known-negative sets control_hit. For
409
+ # polarity=present that is the strict direction (more controls can only push a
410
+ # probe toward UNCALIBRATED, never toward PASS).
411
+ # 🟥 For polarity=absent it is the LENIENT direction — the control is a
412
+ # known-POSITIVE there, and concatenation makes "the pattern can fire at all"
413
+ # easier to satisfy. Do not declare control_input_b on an absent-polarity probe
414
+ # without re-deriving this; none currently does.
415
+ ct = ct + '\n----- control_b -----\n' + ctb
342
416
  v, ph, ch = score_probe(pt, ct, spec['polarity'], spec['expect_re'])
417
+ if adv_pat is not None and pt:
418
+ if adv_pat.search(pt):
419
+ adv_hits += 1
343
420
  per_rep.append((v, ph, ch, pt, ct))
344
421
 
345
422
  ran_reps = [r for r in per_rep if r[0] != FAILED_TO_RUN]
@@ -356,13 +433,23 @@ def score_run(live_rows, run_root, ids_in_order, threshold, model, reps=1):
356
433
  # primary_hit/control_hit stay single-valued for backward compatibility with the existing
357
434
  # report columns and lanes: they report rep 1, and `reps` carries the spread.
358
435
  phit, chit = per_rep[0][1], per_rep[0][2]
436
+ # INSTRUMENT-SILENT: the pattern matched in NEITHER arm, in NO rep that ran. Per probe this
437
+ # is ordinary (a rule that did not fire looks exactly like this). Across a WHOLE run it is
438
+ # the signature of a blind instrument — see the run-level branch below.
439
+ silent = bool(ran_reps) and not any(r[1] or r[2] for r in ran_reps)
359
440
  row = {'id': pid, 'verdict': verdict, 'primary_hit': phit, 'control_hit': chit,
360
441
  'polarity': spec['polarity'], 'reason': '',
361
442
  'reps': '%d/%d' % (len(pass_reps), len(ran_reps)) if ran_reps else '0/0',
362
443
  'reps_requested': reps,
444
+ 'silent': silent,
363
445
  'rep_verdicts': [r[0] for r in per_rep]}
364
446
  if len(ran_reps) > 1 and 0 < len(pass_reps) < len(ran_reps):
365
447
  row['reason'] = 'FLAKY across reps (%s)' % ','.join(r[0] for r in per_rep)
448
+ if adv_pat is not None:
449
+ row['advisory'] = '%d/%d' % (adv_hits, len(ran_reps) if ran_reps else 0)
450
+ row['advisory_re'] = adv_re
451
+ note = 'advisory[%s] %s' % (adv_re, row['advisory'])
452
+ row['reason'] = (row['reason'] + '; ' + note) if row['reason'] else note
366
453
  if verdict == FAILED_TO_RUN:
367
454
  # Diagnostic only — score_probe already decided the verdict above from exactly the
368
455
  # same texts; this never changes it, only explains it. Reported from rep 1.
@@ -370,11 +457,57 @@ def score_run(live_rows, run_root, ids_in_order, threshold, model, reps=1):
370
457
  primary_text, control_text = per_rep[0][3], per_rep[0][4]
371
458
  if primary_text is None or primary_text == '':
372
459
  reasons.append('primary: %s' % _failure_reason(base, 'primary'))
373
- if control_text is None or control_text == '':
460
+ if ctrl_b_absent:
461
+ reasons.append('control_b: %s' % _failure_reason(base, 'control_b'))
462
+ elif control_text is None or control_text == '':
374
463
  reasons.append('control: %s' % _failure_reason(base, 'control'))
375
464
  row['reason'] = '; '.join(reasons)
376
465
  rows.append(row)
377
466
 
467
+ # ── RUN-BLACKOUT / BLACKOUT-SUSPECT (2026-09-14) ──────────────────────────────────────────
468
+ # WHY. On 2026-09-13 every one of 11 probes scored 0/3 — including G-GREET-01, which is 3/3 on
469
+ # every other night in the record, and G-GREET-04, whose polarity=absent control is a
470
+ # known-POSITIVE and also never fired. The report rendered that as ten FAIL rows: "the harness
471
+ # did not fire", when what actually happened is "nothing was measured". That is the
472
+ # not-found-is-not-zero defect (CLAUDE.md §Instrument-Calibration), and the existing
473
+ # UNCALIBRATED value already means exactly the right thing — it was simply never reachable from
474
+ # this shape, because the per-probe rule only fires when a pattern hits a known-negative.
475
+ # This is a CONDITION EXTENSION onto the existing value, not a new verdict.
476
+ #
477
+ # WHERE THE BOUNDARY IS, AND WHY THERE.
478
+ # silent_fraction = (scored probes whose pattern matched in NEITHER arm in ANY rep) / (scored)
479
+ # Measured over the 10 nights on record: 09-05..09-11 and 09-14 sit at 0.00–0.18.
480
+ # 09-12 = 0.73. 09-13 = 1.00.
481
+ # * silent_fraction == 1.00 AND >= 3 scored probes -> RUN-BLACKOUT (verdict UNCALIBRATED)
482
+ # At 1.00 there is literally no evidence any channel worked: N independent patterns, each
483
+ # authored against a different rule, matched nothing anywhere across 2N..6N responses.
484
+ # * 0.50 <= silent_fraction < 1.00 -> BLACKOUT-SUSPECT, ADVISORY ONLY.
485
+ # The verdict is left exactly as computed. This is the deliberate narrow edge: 09-12 lands
486
+ # here (0.73) and stays FAIL, because its greeting anchors were ALIVE — G-GREET-01 3/3 and
487
+ # G-GREET-04 3/3 — so at least two channels demonstrably worked and a genuine broad
488
+ # regression is a live hypothesis that must not be laundered into "nothing was measured".
489
+ # 🟥 This is the failure mode the extension itself must not cause: widen the hard condition
490
+ # below 1.00 and a REAL full regression starts rendering as UNCALIBRATED. The 0.50 line is
491
+ # a majority, chosen for that meaning and not fitted to 0.73; any cut in (0.18, 0.73] would
492
+ # separate the observed classes, which is exactly why it may NOT carry the hard branch.
493
+ # * >= 3 scored probes is required so the guard cannot fire on a one-probe spot-check, where
494
+ # "the single probe did not fire" is the ordinary, informative answer.
495
+ #
496
+ # HONEST SCOPE: n = 10 nights, one instrument, one repo. The 0.50 line is provisional and the
497
+ # distribution that would refine it is exactly what the newly-preserved run artifacts build.
498
+ scored = [r for r in rows if r['verdict'] in (PASS, FAIL, UNCALIBRATED)]
499
+ silent_rows = [r for r in scored if r.get('silent')]
500
+ silent_fraction = (len(silent_rows) / float(len(scored))) if scored else None
501
+ blackout = bool(scored) and len(scored) >= 3 and len(silent_rows) == len(scored)
502
+ blackout_suspect = (not blackout) and silent_fraction is not None and silent_fraction >= 0.5
503
+
504
+ if blackout:
505
+ for r in scored:
506
+ r['verdict'] = UNCALIBRATED
507
+ note = ('RUN-BLACKOUT: no pattern matched in either arm in any rep, across every '
508
+ 'probe in this run — the instrument, not the rule, is what failed')
509
+ r['reason'] = (r['reason'] + '; ' + note) if r.get('reason') else note
510
+
378
511
  failed_to_run = [r for r in rows if r['verdict'] == FAILED_TO_RUN]
379
512
  uncalibrated = [r for r in rows if r['verdict'] == UNCALIBRATED]
380
513
  ran = [r for r in rows if r['verdict'] in (PASS, FAIL)]
@@ -409,6 +542,11 @@ def score_run(live_rows, run_root, ids_in_order, threshold, model, reps=1):
409
542
  'overall': overall,
410
543
  'rc': rc,
411
544
  'model': model,
545
+ 'silent': len(silent_rows),
546
+ 'scored': len(scored),
547
+ 'silent_fraction': silent_fraction,
548
+ 'blackout': blackout,
549
+ 'blackout_suspect': blackout_suspect,
412
550
  }
413
551
 
414
552
 
@@ -443,6 +581,25 @@ def render_report_md(select_result, score_result, run_date):
443
581
  % (score_result['overall'], score_result['ran'], score_result['failed_to_run'],
444
582
  score_result['uncalibrated'], score_result['passed'], pr_s))
445
583
  lines.append("")
584
+ sf = score_result.get('silent_fraction')
585
+ if sf is not None:
586
+ lines.append("- instrument-silent probes: %d/%d (%.2f) — a probe is *silent* when its "
587
+ "pattern matched in NEITHER arm in ANY rep."
588
+ % (score_result.get('silent', 0), score_result.get('scored', 0), sf))
589
+ if score_result.get('blackout'):
590
+ lines.append("")
591
+ lines.append("🟥 **RUN-BLACKOUT** — every scored probe was instrument-silent. This run "
592
+ "measured NOTHING; it is not evidence that any rule stopped firing. Read "
593
+ "the preserved response bodies under `tracks/_meta/live_eval_runs/` before "
594
+ "attributing this to the harness.")
595
+ elif score_result.get('blackout_suspect'):
596
+ lines.append("")
597
+ lines.append("⚠️ **BLACKOUT-SUSPECT (advisory — the verdict above is unchanged)** — a "
598
+ "majority of probes were instrument-silent while at least one channel "
599
+ "demonstrably worked. Both a broad real regression and a partial "
600
+ "instrument failure produce this shape, and this file cannot tell them "
601
+ "apart; the preserved response bodies can.")
602
+ lines.append("")
446
603
  lines.append("## Excluded (from probes.md, 33-row snapshot)")
447
604
  lines.append("")
448
605
  lines.append("| Probe | Reason |")
@@ -500,6 +657,11 @@ def _cmd_select(args):
500
657
  f.write(p['input'])
501
658
  with open(os.path.join(args.spec_dir, p['id'] + '.control.txt'), 'w', encoding='utf-8') as f:
502
659
  f.write(p['control_input'])
660
+ # Written ONLY when declared — probe_live_eval.sh keys the third live call off this
661
+ # file's existence, so an absent file must mean "no second control", never "empty one".
662
+ if p.get('control_input_b'):
663
+ with open(os.path.join(args.spec_dir, p['id'] + '.control_b.txt'), 'w', encoding='utf-8') as f:
664
+ f.write(p['control_input_b'])
503
665
  with open(os.path.join(args.spec_dir, 'selected_ids.txt'), 'w', encoding='utf-8') as f:
504
666
  for p in filtered:
505
667
  f.write(p['id'] + '\n')
@@ -532,6 +694,17 @@ def _cmd_score(args):
532
694
  print("total=%d ran=%d failed_to_run=%d uncalibrated=%d passed=%d pass_rate=%s threshold=%.2f"
533
695
  % (score_result['total'], score_result['ran'], score_result['failed_to_run'],
534
696
  score_result['uncalibrated'], score_result['passed'], pr_s, score_result['threshold']))
697
+ sf = score_result.get('silent_fraction')
698
+ if sf is not None:
699
+ print("instrument-silent: %d/%d (%.2f)"
700
+ % (score_result.get('silent', 0), score_result.get('scored', 0), sf))
701
+ if score_result.get('blackout'):
702
+ print("🟥 RUN-BLACKOUT — every scored probe was silent in BOTH arms. Nothing was measured;")
703
+ print(" this is not evidence any rule stopped firing. Read the preserved response bodies.")
704
+ elif score_result.get('blackout_suspect'):
705
+ print("⚠️ BLACKOUT-SUSPECT (advisory, verdict unchanged) — majority of probes silent while")
706
+ print(" at least one channel worked. Real broad regression and partial instrument failure")
707
+ print(" look identical here; the preserved response bodies tell them apart.")
535
708
  print("OVERALL: %s (rc=%d)" % (score_result['overall'], score_result['rc']))
536
709
 
537
710
  if args.report_out:
@@ -0,0 +1,186 @@
1
+ #!/usr/bin/env bash
2
+ # remote_marker_gate.sh — «플로어 없는 채널» 에서 온 FH 자산 변경이 4축 마커를 **들고 왔나**.
3
+ #
4
+ # ## 왜 있나 (2026-09-14 실측, 2/2)
5
+ #
6
+ # 4축 게이트의 기계 플로어는 `templates/.git-hooks/pre-commit` 이고, 그 증거(마커)는
7
+ # `tracks/**` 에 산다 — **gitignored 다.** 저작 노드가 이 레포의 작업 트리면 그게 맞다:
8
+ # 마커는 로컬에 남고 사람이 읽는다.
9
+ #
10
+ # 🟥 **그런데 원격 자율 노드는 작업 트리가 휘발한다.** 클라우드 세션이 `claude/*` 브랜치를
11
+ # 열고 FH 자산을 커밋하면, 훅이 그쪽에서 돌았든 안 돌았든 **마커는 그 체크아웃과 함께
12
+ # 사라진다.** 그리고 CI 필수 체크(`validate`)는 gitignored 파일을 **구조적으로 못 본다.**
13
+ # ⇒ 마커 없는 FH 자산 커밋이 **초록으로** main 에 들어온다.
14
+ #
15
+ # 실측 (2026-09-14, `claude/` 접두사 머지 PR 전수):
16
+ # #675 (09-07) → knowledge/shared/harness-core/field_verdict_crossfamily_gate.md · 마커 없음
17
+ # #716 (09-14) → plugins/fh-meta/skills/asset-placement-gate/SKILL.md · 마커 없음
18
+ # 2/2. 그리고 이 채널은 **주간 캐이던스로 매주 돈다**(self_evolution_routine.md §5) —
19
+ # 「한 번 났다」가 아니라 설계상 매주 나는 구멍이다.
20
+ #
21
+ # ## 이 검사가 «안» 하는 것 — 경계를 먼저 적는다
22
+ #
23
+ # 🟥 **형식만 본다. 값의 진위도, enum 멤버십도 안 본다.**
24
+ # enum 정본은 `templates/.git-hooks/pre-commit` 의 `validate_{crossfamily,standpoint,…}_leg`
25
+ # 이고 그건 **저작 노드에서** 돈다. 여기서 그 로직을 다시 쓰면 관대함이 갈린 정규화 두 벌이
26
+ # 되고, 한쪽만 통과하는 입력이 무음으로 샌다. 그래서 **안 옮긴다.**
27
+ # 여기서 주장하는 것은 오직 «기록이 채널을 타고 왔나» — 존재·타입·비공허다.
28
+ # (CLAUDE.md §Mechanization Boundary: 채널은 짓고, 판정은 안 굳힌다.)
29
+ #
30
+ # 🟥 **그리고 이건 «훅이 돌았다»의 증거가 아니다.** 옮긴 마커와 지어낸 마커는 바이트가 같다.
31
+ # 닫는 것은 «조용한 부재» 뿐이고, 그건 지금 0층이라 그것만으로도 값이 있다.
32
+ #
33
+ # ## 과차단 안 한다 — 채널로 스코핑한다
34
+ #
35
+ # 이 검사는 **로컬 플로어가 닿지 않는 채널에만** 건다. 보통 브랜치(사람이 이 레포 작업
36
+ # 트리에서 커밋)는 pre-commit 이 이미 마커를 하드 차단하므로 여기서 또 물으면
37
+ # **만족 불가능한 이중 요구**가 되고(마커는 gitignored 라 PR 본문에 없다) 그건 override 를
38
+ # 훈련시킨다. ⇒ 보통 브랜치는 `SKIP (로컬 플로어 관할)`.
39
+ #
40
+ # 종료코드: 0 = PASS 또는 SKIP · 1 = 마커가 안 왔다 · 10 = HARNESS-ERROR(계기 고장)
41
+ #
42
+ # 환경변수:
43
+ # RMG_HEAD_REF git 범위의 끝점 ref (기본: 현재 브랜치)
44
+ # RMG_CHANNEL_NAME 채널 판정에 쓸 «브랜치 이름» (기본: RMG_HEAD_REF)
45
+ # 🟥 둘을 갈라 둔 이유는 실사용에서 나왔다: `pull_request` 이벤트의 체크아웃은
46
+ # 머지 ref 라 브랜치 이름이 로컬에 없고, 채널 이름은 `github.head_ref` 로만 온다.
47
+ # 하나로 묶어 뒀더니 실물 PR 재현이 **전부 SKIP** 으로 떨어졌다(조용한 통과).
48
+ # RMG_BASE_REF 비교 기준 (기본: origin/main)
49
+ # RMG_BODY_FILE PR 본문이 담긴 파일 (선택 — 없으면 커밋 메시지만 본다)
50
+ # RMG_CHANNEL_RE 플로어 없는 채널 패턴 (기본: '^claude/')
51
+ # RMG_GUARD_FILE GUARD_PATHSPEC 정본 (기본: templates/regression_guard.sh)
52
+ set -u
53
+
54
+ REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
55
+ cd "$REPO_ROOT" || exit 10
56
+
57
+ HEAD_REF="${RMG_HEAD_REF:-$(git rev-parse --abbrev-ref HEAD 2>/dev/null)}"
58
+ BASE_REF="${RMG_BASE_REF:-origin/main}"
59
+ CHANNEL_NAME="${RMG_CHANNEL_NAME:-$HEAD_REF}"
60
+ CHANNEL_RE="${RMG_CHANNEL_RE:-^claude/}"
61
+ GUARD_FILE="${RMG_GUARD_FILE:-templates/regression_guard.sh}"
62
+ BODY_FILE="${RMG_BODY_FILE:-}"
63
+
64
+ say(){ printf '%s\n' "$*"; }
65
+
66
+ # ── 1. 채널 판정 ──────────────────────────────────────────────────────────────
67
+ if [ -z "$CHANNEL_NAME" ]; then
68
+ say "❌ HARNESS-ERROR — 채널 이름이 비었다(detached HEAD 에서 RMG_CHANNEL_NAME 미지정)."
69
+ say " 🟥 이름을 못 읽은 것을 «채널 아님» 으로 렌더하지 않는다."
70
+ exit 10
71
+ fi
72
+ if ! printf '%s' "$CHANNEL_NAME" | /usr/bin/grep -qE "$CHANNEL_RE"; then
73
+ say "⏭️ SKIP — '$CHANNEL_NAME' 는 플로어 없는 채널이 아니다(패턴 $CHANNEL_RE)."
74
+ say " 로컬 pre-commit 4축 게이트가 관할한다. 여기서 또 묻지 않는다(이중 요구 금지)."
75
+ exit 0
76
+ fi
77
+ say "📡 플로어 없는 채널: $CHANNEL_NAME (git 범위: $BASE_REF..$HEAD_REF)"
78
+
79
+ # ── 2. FH 자산을 건드렸나 — 경로 목록은 «정본에서 뽑는다», 다시 안 적는다 ──────
80
+ # GUARD_PATHSPEC 은 templates/regression_guard.sh 가 정본이고 4축 자산 목록에 맞춰
81
+ # 이미 두 번 보정된 배열이다. 여기 복사본을 두면 갈린다.
82
+ if [ ! -r "$GUARD_FILE" ]; then
83
+ say "❌ HARNESS-ERROR — 경로 정본을 못 읽는다: $GUARD_FILE"
84
+ say " 🟥 이건 «자산 0개» 가 아니다. 미측정을 통과로 렌더하지 않는다."
85
+ exit 10
86
+ fi
87
+ PATHSPEC=$(awk '/^GUARD_PATHSPEC=\(/{f=1;next} f&&/^\)/{exit} f' "$GUARD_FILE" \
88
+ | sed -E "s/#.*$//" | sed -E "s/^[[:space:]]*'//; s/'[[:space:]]*$//" \
89
+ | /usr/bin/grep -vE '^[[:space:]]*$')
90
+ NPAT=$(printf '%s\n' "$PATHSPEC" | /usr/bin/grep -c . 2>/dev/null)
91
+ NPAT=${NPAT:-0}
92
+ if [ "$NPAT" -lt 5 ]; then
93
+ say "❌ HARNESS-ERROR — GUARD_PATHSPEC 추출이 $NPAT 개다(5 미만)."
94
+ say " 정본의 배열 표기가 바뀌었거나 파서가 깨졌다. 조용히 «자산 없음» 으로 넘기지 않는다."
95
+ exit 10
96
+ fi
97
+
98
+ git rev-parse --verify -q "$BASE_REF" >/dev/null 2>&1 || {
99
+ say "❌ HARNESS-ERROR — 기준 ref 를 못 찾는다: $BASE_REF (얕은 클론이면 fetch 먼저)"
100
+ exit 10
101
+ }
102
+
103
+ # 🟥 «변경 0» 의 두 얼굴을 가른다 — 2026-09-14 실물 재현에서 실제로 걸렸다.
104
+ # 이미 머지된 head 를 그 base 와 비교하면 merge-base 가 head 자신이라 diff 가 **비고**,
105
+ # 검사기는 그걸 «FH 자산 미접촉» 으로 렌더한다. 「자산이 없다」와 「비교가 성립 안 한다」가
106
+ # 같은 0 으로 보이는 자리다([[feedback_not_found_is_not_zero_family]]).
107
+ _h=$(git rev-parse --verify -q "$HEAD_REF^{commit}" 2>/dev/null)
108
+ _b=$(git rev-parse --verify -q "$BASE_REF^{commit}" 2>/dev/null)
109
+ # 동일 커밋이면 «변경 없음» 이 정직한 답이다(막 자른 브랜치). 과차단 금지 — 아래 퇴화 판정은
110
+ # **진부분집합**(head 가 base 보다 «뒤처진» 경우)에만 건다.
111
+ if [ -n "$_h" ] && [ "$_h" != "$_b" ] && git merge-base --is-ancestor "$HEAD_REF" "$BASE_REF" 2>/dev/null; then
112
+ say "❌ HARNESS-ERROR — head($HEAD_REF) 가 이미 base($BASE_REF) 의 조상이다. 비교가 성립 안 한다."
113
+ say " 🟥 이 상태의 «변경 0» 은 «자산 미접촉» 이 아니다. 통과로 렌더하지 않는다."
114
+ say " (머지된 PR 을 사후 재현하려면 base 를 그 시점으로: RMG_BASE_REF=<head>^ )"
115
+ exit 10
116
+ fi
117
+
118
+ # bash 3.2 + set -u 에서 빈 배열 전개는 치명적이라 관용구로 받는다
119
+ SPEC_ARGS=()
120
+ while IFS= read -r p; do [ -n "$p" ] && SPEC_ARGS+=("$p"); done <<EOF
121
+ $PATHSPEC
122
+ EOF
123
+ # 🟥 `...HEAD` 가 아니라 `..."$HEAD_REF"` 다. 초판이 리터럴 HEAD 를 썼고 **레인 10개가 다
124
+ # 통과했다** — 레인은 체크아웃한 브랜치를 그대로 HEAD_REF 로 줘서 둘이 늘 같았기 때문이다.
125
+ # 실물 PR 을 사후 재현할 때(체크아웃은 내 브랜치, 과녁은 fetch 한 ref) 처음 갈라졌고,
126
+ # 5개짜리 diff 가 93개로 나왔다. 첫 실사용이 레인이 못 본 것을 잡은 자리다.
127
+ CHANGED=$(git diff --name-only "$BASE_REF"..."$HEAD_REF" -- ${SPEC_ARGS[@]+"${SPEC_ARGS[@]}"} 2>/dev/null)
128
+ NCH=$(printf '%s\n' "$CHANGED" | /usr/bin/grep -c . 2>/dev/null); NCH=${NCH:-0}
129
+
130
+ if [ "$NCH" -eq 0 ]; then
131
+ say "✅ PASS — FH 자산을 건드리지 않았다 (패턴 $NPAT 개 대조, 일치 0)."
132
+ exit 0
133
+ fi
134
+ say "📄 FH 자산 $NCH 개를 건드렸다:"
135
+ printf '%s\n' "$CHANGED" | sed 's/^/ /'
136
+
137
+ # ── 3. 기록면 = 커밋 메시지 (+ 선택적 PR 본문) ────────────────────────────────
138
+ RECORD=$(git log --format='%B' "$BASE_REF".."$HEAD_REF" 2>/dev/null)
139
+ if [ -n "$BODY_FILE" ] && [ -r "$BODY_FILE" ]; then
140
+ RECORD="$RECORD
141
+ $(cat "$BODY_FILE")"
142
+ say "📝 기록면: 커밋 메시지 + PR 본문($BODY_FILE)"
143
+ else
144
+ say "📝 기록면: 커밋 메시지만 (PR 본문 미제공)"
145
+ fi
146
+
147
+ # ── 4. 필수 필드 — 존재 + 비공허 ──────────────────────────────────────────────
148
+ # 고르는 기준: pre-commit 이 **하드 차단**하는 축(crossfamily · standpoint)과,
149
+ # «어느 축을 돌렸나» 를 적는 자리(axes-run). oracle 은 훅에서 형식만 보므로 여기서도
150
+ # 형식만 — 없으면 실패가 아니라 경고다(훅과 강도를 맞춘다).
151
+ MISSING=""
152
+ VACUOUS=""
153
+ for field in "axes-run" "crossfamily" "standpoint"; do
154
+ line=$(printf '%s\n' "$RECORD" | /usr/bin/grep -m1 -E "^[[:space:]]*${field}:" 2>/dev/null)
155
+ if [ -z "$line" ]; then
156
+ MISSING="$MISSING $field"
157
+ continue
158
+ fi
159
+ val=$(printf '%s' "$line" | sed -E "s/^[[:space:]]*${field}:[[:space:]]*//")
160
+ # 비공허 = 값이 있고, 자리표시자가 아니다
161
+ case "$val" in
162
+ ""|"<"*|"TODO"*|"todo"*|"n/a"|"N/A"|"-") VACUOUS="$VACUOUS $field" ;;
163
+ esac
164
+ done
165
+
166
+ if [ -n "$MISSING" ] || [ -n "$VACUOUS" ]; then
167
+ say ""
168
+ say "❌ FAIL — 플로어 없는 채널이 FH 자산을 바꾸면서 4축 마커를 안 들고 왔다."
169
+ [ -n "$MISSING" ] && say " 없는 필드 :$MISSING"
170
+ [ -n "$VACUOUS" ] && say " 공허한 필드:$VACUOUS (자리표시자는 기록이 아니다)"
171
+ say ""
172
+ say " 처방 — 마커 본문을 **커밋 메시지에** 싣는다(tracks/ 는 gitignored 라 안 따라온다):"
173
+ say " axes-run: ⓐ=… ⓑ=→standpoint ⓒ=… ⓓ=… ⓔ=… ⓕ=…"
174
+ say " crossfamily: DEGRADED_PANEL_UNUSED — <무엇을 탐침했고 왜 안 썼나>"
175
+ say " standpoint: not-applicable — <무엇을 확인해서 대상이 없다고 봤나>"
176
+ say ""
177
+ say " 🟥 이 검사는 **형식만** 본다 — 값이 참인지는 안 본다(그건 사람 몫으로 남은 자리다)."
178
+ say " 정본: CLAUDE.md §FH Improvement 4-Axis Auto-Gate · .claude/rules/fh_4axis_gate.md"
179
+ exit 1
180
+ fi
181
+
182
+ say ""
183
+ say "✅ PASS — 마커 3필드가 커밋 기록에 실려 왔다 (axes-run · crossfamily · standpoint)."
184
+ say " 🟥 형식만 확인했다. 값의 진위와 «훅이 실제로 돌았나» 는 **안 닫혔다** —"
185
+ say " 옮긴 마커와 지어낸 마커는 바이트가 같다. 닫은 것은 «조용한 부재» 하나다."
186
+ exit 0