@chrono-meta/fh-gate 3.13.0 → 3.15.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.
- package/.claude-plugin/marketplace.json +6 -6
- package/knowledge/shared/harness-core/sonnet_floor_doctrine.md +71 -0
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +88 -0
- package/package.json +6 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +2 -2
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +114 -0
- package/plugins/fh-preprep/.claude-plugin/plugin.json +2 -2
- package/plugins/fh-preprep/skills/preprep/fixtures/fixture_R3_negative.pptx +0 -0
- package/plugins/fh-preprep/skills/preprep/fixtures/fixture_R3_positive.pptx +0 -0
- package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
- package/scripts/checklist_unblocked_hook.sh +57 -0
- package/scripts/count_check.sh +107 -1
- package/scripts/package_coverage_check.sh +17 -0
- package/scripts/prless_delta_scan.sh +192 -0
- package/scripts/psa_extract_text.py +152 -0
- package/scripts/psa_scan_lib.sh +93 -1
- package/scripts/public_surface_scan_files.sh +26 -1
- package/scripts/selfcheck.sh +23 -0
- package/scripts/session_checklist.py +130 -21
- package/scripts/sim_isolated_run.sh +143 -1
- package/scripts/test_prless_delta_scan_lanes.sh +154 -0
- package/scripts/test_psa_singlefile_lanes.sh +266 -1
- package/scripts/test_sim_isolated_run_lanes.sh +126 -0
- package/templates/settings.SubagentStop.snippet.json +45 -0
|
@@ -11,26 +11,26 @@
|
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "fh-meta",
|
|
14
|
-
"version": "3.
|
|
14
|
+
"version": "3.15.0",
|
|
15
15
|
"description": "New in 2.2.0: BREAKING (gate): chamber step 6 now reads ACTUAL.md, not BUDGET.md — an in-flight chamber run whose actual cost sits in BUDGET.md blocks until the ACTUAL: line moves to tracks/_chamber/<slug>/ACTUAL.md (the runner prints the path). Why: BUDGET.md's pre-verdict hash IS the ordering witness, and step 6 hard-blocked until that same file changed, so every run that reached COMPLETE necessarily mutated a witnessed artifact and verify returned TAMPERED — the chamber's promotion condition was unsatisfiable by construction, not by strictness. Two roles (immutable witness / post-verdict calibration sink) had collided in one file; each was correct alone, so neither side's code showed the conflict. Also: ko-tech-writer Step 2/4-b scans are now calibration-backed (known-pair fixtures + reproducible command, shipped) — discrimination is proven, 'zero residue' is explicitly NOT; chamber lane suite 12 -> 33 including the runner x witness seam no test covered; chamber_run.sh now teaches the two-commit discipline (gate hashes and verdict hash must land in separate commits/PRs — it previously advised the opposite). New in 2.1.0: BREAKING (gate): `crossfamily: declined` in an Axes 2-3 marker now requires grounds naming a record path that RESOLVES on disk — bare `declined`, and `declined` justified by author judgment, are blocked at commit. Remedy: cite where the operator decision lives (e.g. `.. — operator declined sidecars, per knowledge/shared/rules/operational_adaptation.md`), or use `DEGRADED_PANEL_UNUSED` if a panel was reachable and you chose not to recruit it — which is what author judgment actually is. `declined` was the only enum value with no grounds requirement; a cross-family review then broke the first (vocabulary-grep) fix three ways — self-validating on the value's own token, vacuous keyword passes, and over-blocking real declinations in natural prose — so the check asserts a resolvable record instead of words. Also: standpoint axis gains `tier1b` (a STATIC read of a target repo, executed nothing) plus a decide-in-order procedure, after blind floor-tier sims graded pure cold-reads as `tier2` three rounds running; steel-quench Wave 1's sixth angle (gate-locality) gains the output-template row it never had, so a mandatory angle stops being structurally unreportable; verify-bidirectional gains category 5 (prescriptive doctrine statement); Sister Asset Protocol gains an active-adoption trigger; new resident doctrine — Mechanization Boundary, Local Execution First, Skeleton-not-Muscle, Expedition track, and this package's versioning policy. Hub meta-operations toolkit — 35 skills + 7 agents. New in 2.0.1: harness-doctor cadence hook, portability lint wired into pre-commit, branch_claim.sh claim-count-vs-tree-count warning, louder confidentiality-scan fail-open notice, fh-gate.sh missing-package.json survival, identity ① reclassified 🟢 (cross-harness adapters + relay argument channel). New in 1.4.53: `fh-codex-doctor` (npm bin) — Codex adapter drift scanner; reads the documented M1/M2/M3 skill tier map + skill/agent source and reports codex-native/adapter-required/claude-native/unclassified per unit, wired into `npm test`/`prepublishOnly` (fail-closed on unclassified Claude-native primitives). New in 1.4.49: steel-quench gains Step 0.6 Verdict-Invariance Probe (groundedness axis — a load-bearing judged gate's verdict must track behavior, not rubric phrasing; measured flip-count over cross-family paraphrases; arXiv:2605.06161 Policy Invariance anchor); multi_model_sidecar_strategy §Vendor-native harness (a model is strongest in its own vendor CLI — Claude/CC, GPT/codex, Gemini/Antigravity; a universal router degrades all of them, so it stays an autocomplete/QA sidecar, never orchestration); predelete_check.sh fail-closed rewrite; memory-hygiene A-TMA anchor. New in 1.4.48: phantom-quench + steel-quench gain external frontier anchors (arXiv:2607.02052 package-hallucination; arXiv:2607.02057 prompt-coverage-adequacy); README model-flat claim reframed from a per-release point-curve to structural invariants (operation flattens across tiers; depth tier-order fixed within a generation). New in 1.4.47: onboarding step ① surfaces the Mode D companion-store session-start load in the auto-read salience anchor (previously only in the local binding + rules, so a greeting could skip the load). New in 1.4.46: context-doctor command-output axis (route to rtk/proxy for verbose CLI stdout, complementing .claudeignore; risk-gated to token-scarce envs). New in 1.4.41: context-doctor 2026 trigger vocab (context engineering/rot/collapse) + phantom-citation hardening; hub measurement-integrity-checklist (cross-model measurement pre-flight: display-name pin/reps≥3/discriminating probe). New in 1.4.40: install-wizard queryable-wiki scaffold (INDEX + session-start read + R/W/C ingest). New in 1.4.39: auto-decorrelation (cross-family verifier sidecar recruitment) + video-ingest (capability-routed video ingestion). New in 1.4.x: verify-axis check-class taxonomy (mandatory-pass/measured/judged), no-reinvention Tier-0 inventory, 7-class failure taxonomy, Destructive-Op Gate, Wave-T (Temper), tier-floor governance, Mode D Model Notice, FC consent lane, default-Sonnet guidance. New in 1.3.0: public-surface-audit, field-harvest Mode B auto-trigger, 4-axis gate scope ext. Validated cross-CLI: Claude Code, Codex, Gemini.",
|
|
16
16
|
"source": "./plugins/fh-meta"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "fh-commons",
|
|
20
|
-
"version": "3.
|
|
21
|
-
"description": "Project-agnostic utility skills —
|
|
20
|
+
"version": "3.15.0",
|
|
21
|
+
"description": "Project-agnostic utility skills — 6 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast) + 7 agents (quench-challenger + the web-review cast: designer · ux-writer · fe-dev · be-dev · qa · a11y). Domain-independent utilities transplantable into any project.",
|
|
22
22
|
"source": "./plugins/fh-commons"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "fh-qp",
|
|
26
|
-
"version": "3.
|
|
26
|
+
"version": "3.15.0",
|
|
27
27
|
"description": "QP (Quality Platform) — the generic edition of a field QA harness's Prepare→Automation→Regression loop as an FH plugin: 4 skills (qp router · qp-plan · qp-run · qp-regress) + qp_tools.sh (target-class · adapter-probe · mask · surface-reach · mtm-check · run-verbs, typed exit codes) + a zero-domain-constant profile slot + 29 known-pair lanes. Drives web targets through the session's Playwright MCP and desktop targets through computer-use MCP (mobile deferred); calls a registered qasp typed capability when one exists (strictest-wins) — none is registered today, so the MCP fallback is the first edition. Verdict contract: a MACHINE closure requires a recorded assertion; a failed first step is attributed BLOCKED, not FAIL; surface_reach counts every TC in the denominator. Born as chamber run #18 (EMIT, 2026-09-05).",
|
|
28
28
|
"source": "./plugins/fh-qp"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"name": "fh-preprep",
|
|
32
|
-
"version": "3.
|
|
33
|
-
"description": "preprep — a presentation-preparation harness. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
|
|
32
|
+
"version": "3.15.0",
|
|
33
|
+
"description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
|
|
34
34
|
"source": "./plugins/fh-preprep"
|
|
35
35
|
}
|
|
36
36
|
]
|
|
@@ -22,6 +22,77 @@ whatever the operator chose. A Sonnet-only environment is a **first-class mode**
|
|
|
22
22
|
Sonnet, extract the harness's maximum, and name residuals honestly (below-floor / sonnet-floor
|
|
23
23
|
markers) — never silently drop a capability.
|
|
24
24
|
|
|
25
|
+
## The minimum-spec formulation (operator, 2026-09-19)
|
|
26
|
+
|
|
27
|
+
> *"꼭 모두 기계화를 해야하는것은 아니지만 최소환경에서도 모두 돌아갈수있게 보장하는것이 중요하다.
|
|
28
|
+
> 게임의 최소사양에서도 게임자체의 화질이나 디테일은 떨어지더라도 모든 기능이 정상작동하는것처럼.
|
|
29
|
+
> 모델의 티어가 높아질수록 모든 기능에 가속도와 스스로 할수있는(안정적으로 돌아가면서도 자신의
|
|
30
|
+
> 천장까지 도달가능한) 영역이 확장되는거지."*
|
|
31
|
+
|
|
32
|
+
This sharpens the invariant above in two ways it did not previously state.
|
|
33
|
+
|
|
34
|
+
**① At minimum spec, EVERY feature runs — fidelity degrades, capability does not.** A game at its
|
|
35
|
+
minimum spec is not a smaller game with levels removed; it is the same game at lower resolution.
|
|
36
|
+
So the floor question is never *"which features does Sonnet get?"* — it is *"does every feature
|
|
37
|
+
run, more coarsely?"* A feature that is absent at the floor is a defect; a feature that is
|
|
38
|
+
**slower, shallower, or less polished** at the floor is the design working.
|
|
39
|
+
|
|
40
|
+
🟥 **This also bounds the mechanization reflex, and the operator bounded it first**: *"꼭 모두
|
|
41
|
+
기계화를 해야하는것은 아니지만."* The obligation is **guaranteed operation at minimum spec**, not
|
|
42
|
+
total mechanization. A hook, a script and a discipline are all acceptable answers — what is not
|
|
43
|
+
acceptable is an answer that only works because a strong model was carrying it. Mechanization is
|
|
44
|
+
one way to reach the floor and is preferred where the trigger is mechanical (§Mechanization
|
|
45
|
+
Boundary decides which), but it is a means here, not the target.
|
|
46
|
+
|
|
47
|
+
**② Above the floor, a tier buys acceleration AND a higher reachable ceiling.** The gain is not
|
|
48
|
+
"more features unlock" — it is (a) everything goes faster, and (b) the band the session can carry
|
|
49
|
+
**by itself** widens: *"안정적으로 돌아가면서도 자신의 천장까지 도달가능한"*. Two conditions, and the
|
|
50
|
+
first is load-bearing — a tier that reaches further but unreliably has not widened anything.
|
|
51
|
+
⇒ When a stronger tier is in use, the honest report is *"this ran faster and I carried more of it
|
|
52
|
+
alone"*, never *"this was only possible here"*. The second sentence, if true, names a floor defect.
|
|
53
|
+
|
|
54
|
+
**Worked example, same day.** The operator's prescription «체크리스트를 테스트 한 차례 끝날 때마다
|
|
55
|
+
들여다봐라» could have shipped as a resident prose rule. At the floor that is a rule a session must
|
|
56
|
+
remember mid-run — exactly the muscle-not-skeleton shape. It shipped instead as a `SubagentStop`
|
|
57
|
+
hook + `session_checklist.py unblocked`: **no model in the loop** (stdlib only, zero network, zero
|
|
58
|
+
model calls — verified by scan), so it fires identically at every tier. What a higher tier adds is
|
|
59
|
+
what it *does* with the surfaced rows, not whether they surface.
|
|
60
|
+
|
|
61
|
+
### The floor is the smallest runtime we actually run — and there, the limit is CONTEXT
|
|
62
|
+
|
|
63
|
+
Operator, same day: *"우리는 qwen3.8도 있으니까 그것이 클로드 라우터 환경에서 클로드 컴패티블로
|
|
64
|
+
돌아갈때도 보장할 수 있는 (우리하네스의 설계의도와 철학. 루프 등)을 물리적 한계치 안에서
|
|
65
|
+
돌아갈수있도록도 해야지(물론그로인해 컴팩션이 자주일어날수야있겠지만)."*
|
|
66
|
+
|
|
67
|
+
🟥 **This moves the floor.** "Sonnet-floor" names a *tier*; the operator names a *physical envelope* —
|
|
68
|
+
a smaller open model served through a Claude-compatible router. There the binding constraint is not
|
|
69
|
+
reasoning depth, it is **context size**, and its symptom is named in the same breath: compaction
|
|
70
|
+
happens often. So at the true floor the question changes shape:
|
|
71
|
+
|
|
72
|
+
> Not *"can it follow the rule?"* but **"does the rule survive the compaction that will certainly happen?"**
|
|
73
|
+
|
|
74
|
+
A rule that lives only in the running conversation is, at that envelope, a rule with a half-life. What
|
|
75
|
+
survives is what is **re-established from disk on the other side of a compaction**: resident CLAUDE.md,
|
|
76
|
+
hooks that fire on events rather than on memory, files a session re-reads, and loops whose state is on
|
|
77
|
+
disk rather than in the transcript.
|
|
78
|
+
|
|
79
|
+
**This is reachable, not aspirational — the machinery is already live.** `scripts/compaction_probe.sh`
|
|
80
|
+
(588 lines) seals a pointer ledger at compaction and re-injects it afterwards, wired through
|
|
81
|
+
`templates/settings.Compaction.snippet.json`. Measured 2026-09-19: **65 seals on disk**, two of them
|
|
82
|
+
written during that day's own session and re-read after both compactions. 🟥 A first count in that
|
|
83
|
+
same session read **0** — `ls | wc -l` on a live directory — and was corrected only by counting the
|
|
84
|
+
channel before asserting absence (§Instrument Calibration; `not found` is not `0`).
|
|
85
|
+
|
|
86
|
+
**What this asks of every new asset**, therefore, is one extra question beyond tier-independence:
|
|
87
|
+
*where does this live when the conversation is gone?* A prose rule answers "nowhere". A hook, a
|
|
88
|
+
script, a file the session re-reads on wake, or a ledger entry answers it concretely.
|
|
89
|
+
|
|
90
|
+
🟥 **Honest scope.** No harness asset has been run under a Qwen-class router in this project —
|
|
91
|
+
**zero measurements**. What is established is the design property (disk-resident survives compaction)
|
|
92
|
+
and that the compaction channel fires here. Whether a Claude-compatible router preserves hook
|
|
93
|
+
semantics, system-prompt budget, or tool-call fidelity is **UNMEASURED**, and the first honest step is
|
|
94
|
+
a known-pair on that runtime, not a claim about it.
|
|
95
|
+
|
|
25
96
|
## Why this is the optimization target (measured, not aspirational)
|
|
26
97
|
|
|
27
98
|
- **H1 (2026-07-05)**: the anchor-emit harness reduced borderline verdict flips **more on weaker
|
|
@@ -4125,3 +4125,91 @@
|
|
|
4125
4125
|
마감검사 ④-e 가 «797 dispatch / 2 로그» 로 셌다. 이 엔트리가 3번째다.
|
|
4126
4126
|
🟥 797 은 훅 tally 이고 Agent 툴 호출 수가 아니다 — 두 수는 같은 것을 세지 않는다.
|
|
4127
4127
|
그 차이를 해소하지 않고 이름으로 남긴다(엔트리 하나가 클래스 하나를 덮는 것은 프로토콜이 허용).
|
|
4128
|
+
|
|
4129
|
+
- date: 2026-09-19
|
|
4130
|
+
agent: "FoD 주행 — 에이전트 2 (통합 엔트리)"
|
|
4131
|
+
purpose: "FoD 권한 다이얼 gate_plus 구현 · 펫 가시성/idle 아이콘 버그 2건 원인 규명"
|
|
4132
|
+
dispatch_count: 2 # Agent 툴 2회 — 레포당 1개 원칙(둘은 시점이 겹치지 않는다)
|
|
4133
|
+
sidecar_count: 0
|
|
4134
|
+
outcome: accepted
|
|
4135
|
+
evidence: |
|
|
4136
|
+
ⓐ gate_plus (PR #40 머지): tier×matcher 표 구현 · --status 5리터럴 · OPT_IN_ONLY 기계 ·
|
|
4137
|
+
뮤턴트 10 · gate.sh 50→52 · 다이얼 레인 41→62.
|
|
4138
|
+
🟥 그쪽이 «측정하지 않았다» 를 이름으로 적었다(증폭기 실제 발화) — 그 정직성이 맞았고,
|
|
4139
|
+
나중에 내가 프로브로 FIRES 를 받아 그 칸을 채웠다.
|
|
4140
|
+
ⓑ 펫 가시성 / idle cod 아이콘: 두 건 다 원인 규명. 하중 주장 4개를 내가 직접 재검하고
|
|
4141
|
+
**전부 통과**(tray 템플릿이 업스트림 것 · build.sh 가 icon.png 만 덮음 ·
|
|
4142
|
+
FOREIGN_BACKOFF_MS=6000 · prefs 100키에 가시성 키 0). 오늘 인계 중 유일하게 반증 0건.
|
|
4143
|
+
residual: |
|
|
4144
|
+
🟥 내가 ⓐ 의 보고에서 **출처를 오귀속**했다 — art/reference/*.jpg 를 «남의 것» 으로 적었는데
|
|
4145
|
+
내가 저장한 것이었다. 에이전트 탓이 아니라 내 확인 부족이다.
|
|
4146
|
+
🟥 마감검사 ④-e 가 «385 dispatch / 0 로그» 로 셌다. 385 는 훅 tally 이고 Agent 툴 호출
|
|
4147
|
+
수가 아니다 — 두 수는 같은 것을 세지 않는다. 그 차이는 이번에도 해소하지 않고 이름으로 남긴다.
|
|
4148
|
+
⚠️ 이 세션은 에이전트보다 **거버너 직접 작업**이 압도적이었다(프루닝 도구·트레이 글리프·
|
|
4149
|
+
교리 갱신·측정 전부 내가 했다) — 그래서 원장 엔트리 2건이 세션 규모를 대표하지 않는다.
|
|
4150
|
+
- date: 2026-09-19
|
|
4151
|
+
agent: "거버너 주행 — 에이전트 6 (통합 엔트리)"
|
|
4152
|
+
purpose: "체크리스트 잔여 전수 · 논문 브랜드밀도 재측정 · qasp 요청↔빌드 대조 · FoD #49 부팅팔 원인 · FoD 모드 미저장 원인 · FoD×FH 프로브셋 설계"
|
|
4153
|
+
dispatch_count: 6 # Agent 툴 6회 (전부 읽기/조사형; 쓰기는 FoD #49 팔 하나만, 미커밋)
|
|
4154
|
+
sidecar_count: 1 # codex-cli 0.153.4 — 다중턴 diff cross-family 1라운드
|
|
4155
|
+
outcome: accepted
|
|
4156
|
+
evidence: |
|
|
4157
|
+
여섯 전부 산출을 냈고, 셋이 **내 가설을 반증**했다 — 그 셋이 이 원장의 하중선이다.
|
|
4158
|
+
ⓐ FoD 모드 미저장: 내 가설(«DEFAULT_MODE 가 매 실행에 적용») **반증**. 실제 원인은
|
|
4159
|
+
첫 실행 물음을 «닫은» 것이 `origin:"dismissed"` 로 **선택처럼 영속**됐고, 그 뒤 트레이·독·
|
|
4160
|
+
단축키로 바꾼 가시성은 **아무 데도 안 써진다**(업스트림이 영속을 안 한다). 실물 상태 파일
|
|
4161
|
+
85바이트를 읽어 확정. `origin` 은 기록·레인은 있는데 **어떤 판정에도 안 쓰인다**.
|
|
4162
|
+
ⓑ FoD #49 부팅 팔: 원인 = 설치본과 **single-instance lock 경합**(2×2 한 변수, 지문 동반).
|
|
4163
|
+
뿌리는 더 깊다 — 레인 머리말의 «HOME 을 갈아 격리한다» 가 macOS 에서 **거짓**이다
|
|
4164
|
+
(Electron `userData` 가 $HOME 을 무시). 옆 레인이 이틀 전에 이미 알고 적어 뒀는데
|
|
4165
|
+
안 물려받았다 = half-fix 전파 경계.
|
|
4166
|
+
ⓒ 논문: 09-18 정규식 12개에 **자기 논문 핵심 방법 4개 중 2개**가 빠져 있었다.
|
|
4167
|
+
조어 9개 추가 시 1.414 → **2.645/1k자(1.9배)**. 「1.4 는 하한」 경고가 수치를 구했다.
|
|
4168
|
+
ⓓ codex 사이드카: S급 2 + A급 2, **넷 다 실물 결함**(소스 직독으로 각각 확인 후 수리).
|
|
4169
|
+
전부 «실패가 통과로 접히는» 방향이었고 자력 적발 0.
|
|
4170
|
+
residual: |
|
|
4171
|
+
🟥 **에이전트 둘을 같은 레포 트리(FoD)에 동시에 붙였다** — 하나는 쓰기(#49), 하나는 읽기.
|
|
4172
|
+
충돌은 안 났으나 읽기 팔이 `git status` 의 `M` 둘을 보고 «내가 안 건드렸다, 귀속 못 한다»
|
|
4173
|
+
고 보고했다. 운이 좋았던 것이지 규율이 막은 게 아니다.
|
|
4174
|
+
🟥 qasp 팔이 **24분**(1,448초) 돌았다 — 이 세션 최장. 브리프가 넓었고(정본 39개 + 이슈 전수
|
|
4175
|
+
+ 전체 스위트 실행) 그 비용을 사전에 안 쟀다.
|
|
4176
|
+
⚠️ FoD 프로브셋 팔은 hand-back **직후 자기 1순위 발견을 스스로 정정**해 보충 메시지를 보냈다
|
|
4177
|
+
(표 1-① 「증폭기 발화 기록 충돌」이 실은 FoD 레포 쪽 stale 이었다). 정정이 도착한 것은
|
|
4178
|
+
다행이나, 첫 보고를 그대로 인용했으면 틀렸을 자리다.
|
|
4179
|
+
|
|
4180
|
+
- date: 2026-09-19
|
|
4181
|
+
agent: "야간 병렬 — 13 디스패치 (통합 엔트리)"
|
|
4182
|
+
purpose: "FH 자체개선 3갈래 · qasp 3갈래 · 논문 2갈래 · FoD 2갈래 · 렌즈 2갈래"
|
|
4183
|
+
dispatch_count: 13 # Agent 툴 13회. 🟥 훅 탤리는 1,219 인데 그건 SubagentStop «이벤트» 수다
|
|
4184
|
+
sidecar_count: 1 # codex-cli 는 앞 세션 건이고, 오늘 외부 계열은 0 — 동계열 challenger 1
|
|
4185
|
+
outcome: accepted
|
|
4186
|
+
evidence: |
|
|
4187
|
+
갈래: liveness-echo 수리 · measurement-reps 렌즈 · built-but-unwired 스캔 · 티키타카 채점기
|
|
4188
|
+
· qasp #327 검증 · qasp #327 수리착지 · qasp 6-c 거부→0 · qasp 성숙도 3문
|
|
4189
|
+
· EN 테크라이터 ×2(서막·PAPER2) · PAPER2 A·B·제목 수리 · FoD 4건 착지 · FoD 다중 시뮬
|
|
4190
|
+
|
|
4191
|
+
🟥 이 엔트리의 값은 «13건 돌렸다» 가 아니라 **무엇이 되돌아왔는가**다:
|
|
4192
|
+
|
|
4193
|
+
ⓐ **팔이 내 지시를 반증한 것이 셋** — 내가 준 전제를 그대로 안 믿고 1차 출처로 갔다.
|
|
4194
|
+
· qasp 성숙도: 내가 «모바일 2막 = hybrid_cdp_run» 으로 준 그림이 틀렸다(경로가 셋이고
|
|
4195
|
+
SimulatorAdapter 는 Act2Runner 를 지난다). 자기 보고를 정정 4건으로 스스로 뒤집었다.
|
|
4196
|
+
· PAPER2 테크라이터: 내가 준 경로가 **미러**였고 1행 배너를 읽고 정본으로 갔다. 그리고
|
|
4197
|
+
내가 준 제목·카테고리가 틀렸다고 API 직독으로 정정했다(cs.AI 아니라 cs.SE).
|
|
4198
|
+
· PAPER2 수리: 내가 승인한 제목이 **인과를 한 칸 옮겼다**고 지적하고, 승인안이라
|
|
4199
|
+
안 바꾸고 판단을 올렸다. 그게 옳았다.
|
|
4200
|
+
|
|
4201
|
+
ⓑ **적대검증이 «갈렸다» 를 뒤집은 것이 하나** — 티키타카. 픽스처 3개가 3등급으로 갈렸는데
|
|
4202
|
+
C1·C2 는 셋 다 PASS 라 «틀릴 기회를 못 받은» 상태였다. 🟥 **거버너인 나도 등급만 보고
|
|
4203
|
+
통과시켰다 — 자력 적발 0.** 동계열 한 다리에서도 그랬다는 게 요점이다.
|
|
4204
|
+
|
|
4205
|
+
ⓒ **사고 1건** — FoD 재빌드 팔이 레포 경계를 넘어 forge-harness 의 package.json 을 덮어썼다
|
|
4206
|
+
(files[] 310→0, prepublishOnly 1→0). 그 팔은 자기 보고에 «레포 워킹트리 깨끗» 이라 적었고
|
|
4207
|
+
그건 참이었다 — **자기 레포만 봤기 때문이다.** 임무문에 «커밋 금지» 는 있었고
|
|
4208
|
+
«이 레포 밖에 쓰지 마라» 가 없었다. 신호: fh_signal_2026-09-19_cross-repo-write-killed-publish-gate.md
|
|
4209
|
+
|
|
4210
|
+
ⓓ **보고 품질이 전반적으로 높았다** — 대부분이 «확신 못 하는 것» 을 스스로 이름으로 냈고,
|
|
4211
|
+
그중 여럿(증폭기 실발화 구조적 미측정 · 트레이 폴백 미관측 · F1/F5 미구현 · AX 로비 주행
|
|
4212
|
+
기록 부재)이 그대로 카드의 «안 닫힌 것» 이 됐다.
|
|
4213
|
+
|
|
4214
|
+
🟥 통합 엔트리인 이유: 13건을 낱개로 적으면 위 네 줄이 묻힌다. 그리고 총계 미기입이
|
|
4215
|
+
이 원장의 금지 사항이지 통합 자체는 아니다.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrono-meta/fh-gate",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.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": {
|
|
@@ -171,6 +171,8 @@
|
|
|
171
171
|
"scripts/frontier_digest_autopilot.sh",
|
|
172
172
|
"scripts/gate_anchor_check.sh",
|
|
173
173
|
"scripts/gate_pathspec_check.sh",
|
|
174
|
+
"scripts/prless_delta_scan.sh",
|
|
175
|
+
"scripts/test_prless_delta_scan_lanes.sh",
|
|
174
176
|
"scripts/gate_shape_scan.sh",
|
|
175
177
|
"scripts/halffix_propagation_scan.sh",
|
|
176
178
|
"scripts/hook_source_lib.sh",
|
|
@@ -201,6 +203,7 @@
|
|
|
201
203
|
"scripts/proposal_hook.sh",
|
|
202
204
|
"scripts/psa_probe_capability.sh",
|
|
203
205
|
"scripts/psa_scan_lib.sh",
|
|
206
|
+
"scripts/psa_extract_text.py",
|
|
204
207
|
"scripts/public_surface_scan_files.sh",
|
|
205
208
|
"scripts/publish_freshness_check.sh",
|
|
206
209
|
"scripts/push_zone_check.sh",
|
|
@@ -214,6 +217,7 @@
|
|
|
214
217
|
"scripts/section_ref_check.py",
|
|
215
218
|
"scripts/selfcheck.sh",
|
|
216
219
|
"scripts/session_checklist.py",
|
|
220
|
+
"scripts/checklist_unblocked_hook.sh",
|
|
217
221
|
"scripts/session_close_check.sh",
|
|
218
222
|
"scripts/shell_name_boundary_scan.sh",
|
|
219
223
|
"scripts/sidecar_calibrate.sh",
|
|
@@ -354,6 +358,7 @@
|
|
|
354
358
|
"templates/settings.PreToolUse.snippet.json",
|
|
355
359
|
"templates/settings.PriorArt.snippet.json",
|
|
356
360
|
"templates/settings.SessionStart.snippet.json",
|
|
361
|
+
"templates/settings.SubagentStop.snippet.json",
|
|
357
362
|
"templates/starter_profile.md",
|
|
358
363
|
"templates/subagent-tally-hook.json",
|
|
359
364
|
"templates/temper_check.sh",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fh-commons",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"claudeCode": ">=1.0.0"
|
|
6
6
|
},
|
|
7
|
-
"description": "Cross-project utility skill bundle — 6 skills +
|
|
7
|
+
"description": "Cross-project utility skill bundle — 6 skills + 7 agents. Domain-agnostic and portable: convergence-loop, deliberation, mcp-circuit-breaker, token-budget-gate, ko-tech-writer, persona-cast + quench-challenger and the 6-lens web-review cast (designer · ux-writer · fe-dev · be-dev · qa · a11y).",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "chrono-meta",
|
|
10
10
|
"email": "chrono-meta@users.noreply.github.com"
|
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# forge-harness (fh-meta) Changelog
|
|
2
2
|
|
|
3
|
+
### [3.15.0] — 2026-09-20 — 🟥 3.14.0 의 주장 하나를 철회하고, 그 주장을 참으로 만든다
|
|
4
|
+
|
|
5
|
+
**minor — 새 게이트 레인(플러그인 전수 순회) 하나. 그리고 이 릴리스의 절반은 정정이다.**
|
|
6
|
+
|
|
7
|
+
## 🟥 RETRACTED — 3.14.0 의 `BREAKING (gate)` ② 는 거짓이었다
|
|
8
|
+
|
|
9
|
+
3.14.0 이 이렇게 적고 npm 으로 나갔다:
|
|
10
|
+
|
|
11
|
+
> 🟥 **BREAKING (gate): `count_check.sh` 가 플러그인 전수를 본다** — 종전에는 이름 ENUM 을 돌아
|
|
12
|
+
> **4개 중 2개만** 검사했고, 안 보는 플러그인의 선언 드리프트는 COUNT-CHECK PASS 였다.
|
|
13
|
+
|
|
14
|
+
**앞 절반은 거짓이고 뒤 절반은 참이다.** #763 이 실제로 한 것은 `fh-commons` **단언을 조인 것**
|
|
15
|
+
(agents 수치 추가 · marketplace per-plugin 스코핑)이지 **전수 순회가 아니다.**
|
|
16
|
+
`fh-preprep` · `fh-qp` 는 그 뒤로도 **안 세고 있었다.**
|
|
17
|
+
|
|
18
|
+
🟥 **원인은 읽기다**: #763 커밋 본문의 «문제 서술»(*"count_check.sh 가 플러그인 이름을 ENUM 으로
|
|
19
|
+
돌아 4개 중 2개만 본다"*)을 «수리 서술»로 읽어 CHANGELOG 로 옮겼다. 확인 대신 인용한 것이고,
|
|
20
|
+
이 레포가 [[feedback_half_fix_propagation_boundary]] 로 이름 붙인 전파 경계다.
|
|
21
|
+
|
|
22
|
+
**어떻게 잡혔나**: «대상 목록을 손으로 적은 계기가 몇 개인가» 를 세려고 스캔을 돌렸는데 **0건**이
|
|
23
|
+
나왔다. known-positive 가 실재한다고 알고 있었으므로 0 을 안 믿고 계기를 교정했고, 교정된 계기가
|
|
24
|
+
`count_check.sh` 를 «4중 2, 전수 순회 없음»으로 지목했다 — **내 릴리스 문장과 정면으로 어긋났다.**
|
|
25
|
+
🟥 즉 이 정정은 성실함이 아니라 **두 신호가 어긋나서** 나왔다.
|
|
26
|
+
|
|
27
|
+
## 🟥 BREAKING (gate): 이제 진짜로 전수를 본다 — 그리고 «선언 없음»이 FAIL 이다
|
|
28
|
+
|
|
29
|
+
`plugins/*/` 를 **디스크에서 열거한다**(이름 손적기 0). 각 플러그인마다 `plugin.json` **과**
|
|
30
|
+
`marketplace.json` 양쪽의 선언 개수를 디스크와 대조한다.
|
|
31
|
+
|
|
32
|
+
**한 줄 처방** — 모든 플러그인의 `description` 에 `N skills` 를 적어라.
|
|
33
|
+
🟥 **선언이 없으면 PASS 가 아니라 FAIL 이다** — 대조할 것이 없는 상태는 통과가 아니라 **미측정**이다.
|
|
34
|
+
디스크에 agents 가 0 이면 agents 선언 부재는 정합으로 본다(적을 것이 없다).
|
|
35
|
+
|
|
36
|
+
**이 레인이 켜자마자 실물 둘을 잡았다**:
|
|
37
|
+
|
|
38
|
+
FAIL sweep: fh-preprep skills — description 에 개수 선언이 없다 (디스크 1). 부재≠통과
|
|
39
|
+
FAIL sweep: fh-preprep marketplace skills — 개수 선언이 없다 (디스크 1). 부재≠통과
|
|
40
|
+
|
|
41
|
+
둘 다 이번 릴리스에서 선언을 채워 닫았다(`fh-preprep` = **1 skill**).
|
|
42
|
+
|
|
43
|
+
🟥 **marketplace 까지 같은 순회에 태운 이유**: plugin.json 만 전수 보고 marketplace 를 4중 2로
|
|
44
|
+
두면 **이 절이 고치려는 바로 그 반쪽-픽스를 재현한다.** 첫 구현이 실제로 그 상태였고, 넓히자마자
|
|
45
|
+
위 두 번째 FAIL 이 나왔다.
|
|
46
|
+
|
|
47
|
+
**죽은 컨트롤 방어**: 열거가 2개 미만이면 «전부 통과»와 «아무것도 안 봤다»가 같은 침묵이므로
|
|
48
|
+
**계기 오류로 FAIL** 한다.
|
|
49
|
+
|
|
50
|
+
## 검증
|
|
51
|
+
|
|
52
|
+
- **fail-before** — 순회를 켠 첫 실행이 `fh-preprep` 미선언으로 **rc=1**. 나머지 셋은 통과 ⇒
|
|
53
|
+
전부 빨개지는 레인이 아니다
|
|
54
|
+
- 선언을 채운 뒤 **COUNT-CHECK PASS**, 12 단언 전부 초록
|
|
55
|
+
- 계기 교정 — 손적기 스캐너 1판이 **0건**을 냈고 그것이 **죽은 계기**였다. known-positive 로
|
|
56
|
+
교정한 2판이 7파일을 냈고 그중 유일한 커버리지 계기가 `count_check.sh` 였다
|
|
57
|
+
|
|
58
|
+
## 🟥 안 닫은 것
|
|
59
|
+
|
|
60
|
+
- **3.14.0 은 이미 나갔다.** 그 CHANGELOG 의 거짓 문장은 그 버전 tarball 안에 남는다 —
|
|
61
|
+
이 정정은 **다음 버전 기록면**에서만 유효하다
|
|
62
|
+
- 손적기 스캔의 나머지 6파일은 **커버리지 계기가 아니라 범위가 정당한 것들**로 손검증했다
|
|
63
|
+
(`frontier_digest_*` · `chamber_run` 등). 🟥 그 판정은 **내 눈**이고 기계가 아니다
|
|
64
|
+
- 순회는 `description` 의 **첫** `N skills` 패턴만 읽는다. 한 설명 안에 여러 수치가 있으면
|
|
65
|
+
첫 것을 취한다 — 과탐/미탐 방향 미측정
|
|
66
|
+
|
|
67
|
+
### [3.14.0] — 2026-09-19 — 계기가 «못 읽은 것»을 «깨끗함»으로 내던 자리 셋
|
|
68
|
+
|
|
69
|
+
**minor — 새 자산 넷(바이너리 추출기 · PR 없는 델타 스캐너 · 체크리스트 unblocked 훅 · 다중 턴 시뮬 경로)
|
|
70
|
+
과 게이트 수용을 깨는 변경 셋.**
|
|
71
|
+
|
|
72
|
+
🟥 **BREAKING (gate): 바이너리·비텍스트 파일이 더 이상 무음 통과하지 않는다** — `psa_scan_file` 이
|
|
73
|
+
NUL 바이트 + `file` mime 2축으로 판별해 스캔 불가 파일에 `UNSCANNABLE`(exit 3)을 내고, **exit 3 이
|
|
74
|
+
히트를 지배한다**. 종전에는 `grep -a` 가 zip 안을 못 읽고 **rc=0 CLEAN** 을 냈다.
|
|
75
|
+
한 줄 처방 — pptx/docx/pdf 가 출하 집합에 있으면 `scripts/psa_extract_text.py` 가 필요하다
|
|
76
|
+
(OOXML 은 zip 의 `.xml`/`.rels` 전 파트, PDF 는 PyMuPDF). 추출기가 없거나 0자를 내면 **exit 3** 이다.
|
|
77
|
+
목록은 **스캔가능 쪽**에 둔다 — 모르는 형식은 UNSCANNABLE 로 떨어지는 fail-closed 방향이다.
|
|
78
|
+
|
|
79
|
+
🟥 **BREAKING (gate): `count_check.sh` 가 플러그인 전수를 본다** — 종전에는 이름 ENUM 을 돌아
|
|
80
|
+
**4개 중 2개만** 검사했고, 안 보는 플러그인의 선언 드리프트는 COUNT-CHECK PASS 였다.
|
|
81
|
+
한 줄 처방 — 각 플러그인의 README/매니페스트 선언 수를 디스크 실물과 맞춰라. 안 맞으면 이제 FAIL 이다.
|
|
82
|
+
|
|
83
|
+
🟥 **BREAKING (gate): `session_checklist.py` 에 `unblocked` 와 rc=4 가 생겼다** — 형식은 멀쩡한데
|
|
84
|
+
**블로커가 DONE 으로 닫힌 뒤 아무도 다시 안 읽은 행**을 찾아 낸다(종전 check 는 같은 파일을
|
|
85
|
+
rows=14 ok=14 violations=0 rc=0 으로 통과시켰다). rc=4 는 **DEAD CONTROL** — 의존을 하나도 못 읽고
|
|
86
|
+
«0 건» 을 내는 계기는 아무것도 측정하지 않았다는 뜻이고, «다 해소됨» 과 구분된다.
|
|
87
|
+
한 줄 처방 — 체크리스트 행이 블로커를 명명하면 그 블로커가 닫힐 때 해당 행을 다시 읽어라.
|
|
88
|
+
🟥 훅은 현재 `rc=1` 만 보고하고 **`rc=4` 는 조용하다** — 안 닫힌 자리로 명시한다.
|
|
89
|
+
|
|
90
|
+
- **첫 실사용이 실물 유출을 잡았다 (#762)** — 수리 직후 진짜 발행 게이트를 출하 집합(npm pack 482파일)에
|
|
91
|
+
돌리자 출하되는 pptx 픽스처 **둘 다** 서체명에 회사 식별자를 품고 있었고, 옛 `grep -a` 가 여태
|
|
92
|
+
통과시켰다. 서체명 중립 치환·재압축 후 preprep 레인 **163 passed · 0 failed 로 전후 동일**,
|
|
93
|
+
게이트 rc=1 → **rc=0**.
|
|
94
|
+
- **PR 없는 델타 스캐너 (`scripts/prless_delta_scan.sh`, #763)** — 마감 ①-b 는 `--state open` 이라
|
|
95
|
+
PR 이 없는 브랜치를 **구조적으로** 못 본다. 판별자는 «브랜치 델타 합본의 patch-id»(squash 머지는
|
|
96
|
+
정확히 그 한 장을 main 에 심으므로 일치한다). 실물 40 브랜치 — naive 33 · `git cherry` 17 · 이 계기 10.
|
|
97
|
+
🟥 **advisory 다(rc=1)** — 삭제는 Destructive-Op 관할이고 이 계기는 «세는 것» 만 한다.
|
|
98
|
+
- **다중 턴(티키타카) 시뮬 경로 (`sim_isolated_run.sh --turns`, #759)** — 단발 `-p` 는 «발화하는가» 를
|
|
99
|
+
잰다. 턴을 넘어야만 존재하는 축이 따로 있다: 협상이 **수렴**하는가, 그 절충안이 다음 턴에 **묶이는가**.
|
|
100
|
+
known-pair 를 실물 `claude` 로 갈랐다(변수는 `--resume` 하나) — ARM 은 턴2 가 답하고 session_id 하나,
|
|
101
|
+
CTRL(`--no-resume`)은 «말씀하신 적이 없어요» 에 session_id 둘. 🟥 **단발 경로는 바이트 무변경**이고
|
|
102
|
+
L28j 가 argv 로그로 그것을 단언한다. 채점기 = `scripts/tikitaka_score.py`(+ known-pair 픽스처 11종).
|
|
103
|
+
- **liveness 증거 에코를 집계 판정 토큰에서 분리 (#764)** — selfcheck 는 스위트 출력의 `❌` 를 grep 해
|
|
104
|
+
실패를 판정하고, 되돌림 프로브는 «가드를 꺼서 레인이 빨개졌다» 를 증거로 그 빨간 줄을 되찍는다.
|
|
105
|
+
두 기계가 각각 옳고 **이음매는 아무도 안 본다.** 지금 뚫리진 않지만(프로브 rc=0) 사람은 뚫렸다 —
|
|
106
|
+
같은 CI 로그를 두 번 오귀속했다. 증거 에코만 `[expected-red]` 로 재토큰화했고, **집계기에 예외
|
|
107
|
+
목록을 만들지 않았다**(그러면 다음 프로브에서 또 샌다).
|
|
108
|
+
- **Sonnet-floor 교리 2절 추가 (#764)** — «최소사양» 정식화: 플로어는 우리가 실제로 돌리는 **가장 작은
|
|
109
|
+
런타임**이고, 거기서 한계는 티어가 아니라 **컨텍스트**다.
|
|
110
|
+
- **논문 기록면 정리 (#760·#761·#765)** — 발행본 v1.0.1 은 발행본대로 두고 편집본을 v1.0.2 로 분리,
|
|
111
|
+
arXiv 에 실제 제출된 판을 v1.0.3 으로 기록. 서막에서 «결과» 가 아닌 것을 빼고 모순 넷을 고쳤다.
|
|
112
|
+
|
|
113
|
+
**안 닫은 것**: 체크리스트 훅이 `rc=4` 를 조용히 삼킨다 · 티키타카 F1·F5(회차 «간» 비교) 집계기 0줄 ·
|
|
114
|
+
`prless_delta_scan` 의 stacked 브랜치 과탐지(advisory 방향이라 의도) · 마감 체인에 미배선 ·
|
|
115
|
+
`count_check` 일반화의 나머지 스크립트 약 40개 미확인 · psa 추출기는 OOXML/PDF 만 덮는다.
|
|
116
|
+
|
|
3
117
|
### [3.13.0] — 2026-09-19 — 규칙은 있었고 배선이 없었다, 두 자리
|
|
4
118
|
|
|
5
119
|
**minor — 새 자산 하나(발신 전 3프로브 훅)와 발행 확인 계기 하나가 늘었다.**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fh-preprep",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"claudeCode": ">=1.0.0"
|
|
6
6
|
},
|
|
7
|
-
"description": "preprep — a presentation-preparation harness. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical-term ledger, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Every lane ships a known-pair fixture.",
|
|
7
|
+
"description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical-term ledger, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Every lane ships a known-pair fixture.",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "chrono-meta",
|
|
10
10
|
"email": "chrono-meta@users.noreply.github.com"
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# checklist_unblocked_hook.sh — SubagentStop advisory: a blocked checklist row whose blocker just landed.
|
|
3
|
+
#
|
|
4
|
+
# WHY IT FIRES HERE. The operator's prescription was literal (2026-09-19):
|
|
5
|
+
# "체크리스트를 쓰고 그걸 네가 테스트 한차례 끝날때마다 들여다봐야할것같아"
|
|
6
|
+
# A subagent finishing IS "한 차례 끝났다" — it is the one moment a blocker plausibly just closed.
|
|
7
|
+
# Measured that day: rows A6/A8 declared «A13 선행», A13 landed DONE, and nothing re-read the file.
|
|
8
|
+
# Three operator requests degraded until the operator asked again. `check` passed the same file
|
|
9
|
+
# clean (rows=14 ok=14 violations=0) — form was never the problem.
|
|
10
|
+
#
|
|
11
|
+
# 🟥 EXIT 0 ALWAYS, REPORT ON STDOUT. A hook that exits non-zero has its stdout DISCARDED and its
|
|
12
|
+
# stderr NOT relayed — the warning would reach nobody. The finding therefore travels as JSON
|
|
13
|
+
# `hookSpecificOutput.additionalContext`, which the runtime injects into MODEL context.
|
|
14
|
+
#
|
|
15
|
+
# DEGRADE DIRECTION: silent. No checklist, no dependency edges, missing python, unreadable file →
|
|
16
|
+
# say nothing and exit 0. This is ADVISORY on a reversible surface; a noisy hook on every subagent
|
|
17
|
+
# stop trains people to ignore hooks, which disarms the ones guarding irreversible surfaces.
|
|
18
|
+
# 🟥 Named residual: that silence also swallows rc=4 (a checklist that STOPPED recording
|
|
19
|
+
# dependencies). Narrow on purpose; widen only if that is ever measured to happen.
|
|
20
|
+
set -uo pipefail
|
|
21
|
+
|
|
22
|
+
HUB="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || echo "$HOME/projects/forge-harness")}"
|
|
23
|
+
SUBJ="$HUB/scripts/session_checklist.py"
|
|
24
|
+
[ -f "$SUBJ" ] || exit 0
|
|
25
|
+
command -v python3 >/dev/null 2>&1 || exit 0
|
|
26
|
+
|
|
27
|
+
# Newest checklist. 🟥 `ls -t … | head -1` is not used: with zsh nullglob a no-match argument is
|
|
28
|
+
# DELETED from the command line and `ls` silently lists the CWD instead — this repo has that scar.
|
|
29
|
+
FILE="$(/usr/bin/find "$HUB/tracks/_meta" -maxdepth 1 -name 'session_checklist_*.md' -type f 2>/dev/null \
|
|
30
|
+
| /usr/bin/sort | /usr/bin/tail -1)"
|
|
31
|
+
[ -n "${FILE:-}" ] && [ -f "$FILE" ] || exit 0
|
|
32
|
+
|
|
33
|
+
OUT="$(python3 "$SUBJ" unblocked --file "$FILE" 2>/dev/null)"; RC=$?
|
|
34
|
+
[ "$RC" -eq 1 ] || exit 0 # 0 clean · 4 dead-control · 10 input error → all silent, see header
|
|
35
|
+
|
|
36
|
+
FINDINGS="$(printf '%s\n' "$OUT" | /usr/bin/grep 'is still open' | /usr/bin/sed 's/^[[:space:]]*//')"
|
|
37
|
+
[ -n "$FINDINGS" ] || exit 0
|
|
38
|
+
|
|
39
|
+
# 🟥 findings travel as ARGV, not stdin. A first draft used `python3 - <<'PY' <<<"$FINDINGS"` — two
|
|
40
|
+
# redirects on one command, and the LAST one wins, so bash fed the findings in as the *script*
|
|
41
|
+
# (`SyntaxError: invalid character '⚠'`). Named here because the failure was loud only by luck.
|
|
42
|
+
python3 - "$FILE" "$FINDINGS" <<'PY'
|
|
43
|
+
import json, sys
|
|
44
|
+
path, findings = sys.argv[1], sys.argv[2].strip()
|
|
45
|
+
msg = (
|
|
46
|
+
"\U0001f7e5 CHECKLIST: a blocker just cleared and the dependent row is still open.\n"
|
|
47
|
+
+ findings
|
|
48
|
+
+ "\n\nFile: " + path
|
|
49
|
+
+ "\nRe-read those rows before moving on — this is the exact shape in which three operator "
|
|
50
|
+
"requests degraded on 2026-09-19 (they were on the checklist, blocked, unblocked, never re-read). "
|
|
51
|
+
"This is a record property, not a judgment: it does not claim the row should be worked now, only "
|
|
52
|
+
"that nothing has been written since its blocker closed."
|
|
53
|
+
)
|
|
54
|
+
print(json.dumps({"hookSpecificOutput": {"hookEventName": "SubagentStop", "additionalContext": msg}},
|
|
55
|
+
ensure_ascii=False))
|
|
56
|
+
PY
|
|
57
|
+
exit 0
|
package/scripts/count_check.sh
CHANGED
|
@@ -89,8 +89,114 @@ count_check() { # count_check <label> <file> <expected-string>
|
|
|
89
89
|
fi
|
|
90
90
|
}
|
|
91
91
|
count_check "fh-meta plugin.json" plugins/fh-meta/.claude-plugin/plugin.json "${meta_sk} skills + ${meta_ag} agents"
|
|
92
|
-
|
|
92
|
+
# 🟥 fh-commons 는 skills 절반만 검사하고 있었다 — 그리고 그 사이 agents 가 드리프트했다.
|
|
93
|
+
# 2026-09-19 실측: 디스크 6 skills / **7** agents · plugin.json 선언 "6 skills + **1** agent"
|
|
94
|
+
# · marketplace.json 선언 "**5** skills … + 1 agent". 셋이 다 어긋났는데 COUNT-CHECK 는
|
|
95
|
+
# **PASS** 였다 — 단언 문자열이 `"6 skills"` 라 긴 문장 안에서 그대로 걸렸기 때문이다.
|
|
96
|
+
# 즉 «목록=커버리지» 의 (A) 방향: 단언 목록 밖의 수치는 **조용히 통과한다.**
|
|
97
|
+
# fh-meta 와 같은 «쌍» 으로 올려 두 수치를 한 번에 결박한다.
|
|
98
|
+
count_check "fh-commons plugin.json" plugins/fh-commons/.claude-plugin/plugin.json "${com_sk} skills + ${com_ag} agents"
|
|
93
99
|
count_check "marketplace.json fh-meta" .claude-plugin/marketplace.json "${meta_sk} skills + ${meta_ag} agents"
|
|
100
|
+
# 🟥 marketplace.json 은 fh-meta 만 검사하고 있었다 — fh-commons 항목은 어느 단언에도 없었다.
|
|
101
|
+
# 🟥 그리고 **파일 전체 grep 으로는 per-plugin 주장을 못 한다.** 첫 수리에서 실제로 났다:
|
|
102
|
+
# `"${com_ag} agent"`(=7) 가 같은 파일 안 fh-meta 의 "35 skills + 7 agents" 에 걸려 **PASS**
|
|
103
|
+
# 했다 — 대상 항목은 "1 agent" 인 채로. 장식 앵커였다. 그래서 그 항목만 «잘라내서» 본다.
|
|
104
|
+
mp_desc() { # mp_desc <plugin-name-substring> → 그 항목의 description 만
|
|
105
|
+
read_tree .claude-plugin/marketplace.json | python3 -c "
|
|
106
|
+
import json,sys
|
|
107
|
+
try: d=json.load(sys.stdin)
|
|
108
|
+
except Exception: sys.exit(3)
|
|
109
|
+
for p in d.get('plugins',[]):
|
|
110
|
+
if sys.argv[1] in p.get('name',''): print(p.get('description','')); break
|
|
111
|
+
" "$1"
|
|
112
|
+
}
|
|
113
|
+
mp_check() { # mp_check <label> <plugin-substring> <expected>
|
|
114
|
+
local body esc
|
|
115
|
+
body=$(mp_desc "$2") || { echo "FAIL count: $1 — marketplace.json 파싱 불가 (계기 오류, 0 아님)"; fail=1; return; }
|
|
116
|
+
[ -n "$body" ] || { echo "FAIL count: $1 — marketplace.json 에 '$2' 항목이 없다 (부재≠통과)"; fail=1; return; }
|
|
117
|
+
esc=$(printf '%s' "$3" | sed 's/[][\.*^$+?(){}|\\/]/\\&/g')
|
|
118
|
+
if printf '%s' "$body" | grep -qE "(^|[^0-9])${esc}([^0-9]|\$)"; then echo "PASS count: $1"
|
|
119
|
+
else echo "FAIL count: $1 — expected \"$3\" in the fh-commons marketplace entry"; fail=1; fi
|
|
120
|
+
}
|
|
121
|
+
mp_check "marketplace.json fh-commons skills" fh-commons "${com_sk} skills"
|
|
122
|
+
|
|
123
|
+
# ══════════════════════════════════════════════════════════════════════════════
|
|
124
|
+
# 🟥 **전수 커버리지 — 2026-09-20 신설. 그리고 이 절은 «정정»이다.**
|
|
125
|
+
#
|
|
126
|
+
# 3.14.0 CHANGELOG 가 «count_check.sh 가 플러그인 전수를 본다» 고 적고 npm 에 나갔는데
|
|
127
|
+
# **거짓이었다.** #763 이 한 것은 `fh-commons` 단언을 조인 것(agents 추가 · marketplace
|
|
128
|
+
# per-plugin 스코핑)이지 전수 순회가 아니다 — `fh-preprep` · `fh-qp` 는 **안 세고 있었다.**
|
|
129
|
+
# 커밋 본문의 «문제 서술»을 «수리»로 읽어서 옮긴 형태다.
|
|
130
|
+
#
|
|
131
|
+
# 🟥 그리고 그 사각에서 실물이 나왔다: `fh-preprep` 은 plugin.json description 에
|
|
132
|
+
# **개수 선언이 아예 없다.** 선언이 없으면 대조할 것이 없고, 그건 통과가 아니라 **미측정**이다.
|
|
133
|
+
#
|
|
134
|
+
# ⇒ 이름을 손으로 적지 않는다. `plugins/*/` 를 **디스크에서 열거**한다.
|
|
135
|
+
# ══════════════════════════════════════════════════════════════════════════════
|
|
136
|
+
sweep_plugin() { # sweep_plugin <dir-name>
|
|
137
|
+
local pn="$1" pj="plugins/$1/.claude-plugin/plugin.json" d_sk d_ag dec
|
|
138
|
+
d_sk=$(count_active "$pn"); d_ag=$(count_agents "$pn")
|
|
139
|
+
[ -f "$pj" ] && dec=$(read_tree "$pj" | python3 -c '
|
|
140
|
+
import json,re,sys
|
|
141
|
+
try: d=json.load(sys.stdin)
|
|
142
|
+
except Exception: print("PARSE-ERROR"); raise SystemExit
|
|
143
|
+
t=d.get("description","") or ""
|
|
144
|
+
sk=re.search(r"(\d+)\s+skills?", t); ag=re.search(r"(\d+)\s+agents?", t)
|
|
145
|
+
print("%s %s" % (sk.group(1) if sk else "NONE", ag.group(1) if ag else "NONE"))
|
|
146
|
+
') || dec="READ-ERROR"
|
|
147
|
+
case "$dec" in
|
|
148
|
+
PARSE-ERROR|READ-ERROR|"")
|
|
149
|
+
echo "FAIL sweep: $pn — plugin.json 을 못 읽었다 ($dec) — 계기 오류지 통과가 아니다"; fail=1; return;;
|
|
150
|
+
esac
|
|
151
|
+
local dsk dag; dsk=${dec%% *}; dag=${dec##* }
|
|
152
|
+
# skills — 🟥 선언 부재는 통과가 아니다
|
|
153
|
+
if [ "$dsk" = "NONE" ]; then
|
|
154
|
+
echo "FAIL sweep: $pn skills — description 에 개수 선언이 없다 (디스크 ${d_sk}). 부재≠통과"; fail=1
|
|
155
|
+
elif [ "$dsk" = "$d_sk" ]; then echo "PASS sweep: $pn skills (${d_sk})"
|
|
156
|
+
else echo "FAIL sweep: $pn skills — 선언 ${dsk} ≠ 디스크 ${d_sk}"; fail=1; fi
|
|
157
|
+
# agents — 디스크에 0 이면 선언 부재가 정상이다(적을 것이 없다). 0 이 아닌데 없으면 결함
|
|
158
|
+
if [ "$d_ag" -eq 0 ]; then
|
|
159
|
+
if [ "$dag" = "NONE" ] || [ "$dag" = "0" ]; then echo "PASS sweep: $pn agents (0, 선언 없음이 정합)"
|
|
160
|
+
else echo "FAIL sweep: $pn agents — 선언 ${dag} 인데 디스크 0"; fail=1; fi
|
|
161
|
+
elif [ "$dag" = "NONE" ]; then
|
|
162
|
+
echo "FAIL sweep: $pn agents — 디스크 ${d_ag} 인데 선언이 없다. 부재≠통과"; fail=1
|
|
163
|
+
elif [ "$dag" = "$d_ag" ]; then echo "PASS sweep: $pn agents (${d_ag})"
|
|
164
|
+
else echo "FAIL sweep: $pn agents — 선언 ${dag} ≠ 디스크 ${d_ag}"; fail=1; fi
|
|
165
|
+
# 🟥 **marketplace.json 도 같은 순회에 태운다.** 여기서 멈추면 plugin.json 만 전수 보고
|
|
166
|
+
# marketplace 는 4중 2로 남아, 이 절이 고치려는 바로 그 반쪽-픽스를 재현한다.
|
|
167
|
+
local mb msk mag
|
|
168
|
+
mb=$(mp_desc "$pn")
|
|
169
|
+
if [ -z "$mb" ]; then
|
|
170
|
+
echo "FAIL sweep: $pn marketplace — 항목이 없다 (부재≠통과)"; fail=1; return
|
|
171
|
+
fi
|
|
172
|
+
msk=$(printf '%s' "$mb" | python3 -c '
|
|
173
|
+
import re,sys
|
|
174
|
+
t=sys.stdin.read()
|
|
175
|
+
m=re.search(r"(\d+)\s+skills?", t); print(m.group(1) if m else "NONE")')
|
|
176
|
+
if [ "$msk" = "NONE" ]; then
|
|
177
|
+
echo "FAIL sweep: $pn marketplace skills — 개수 선언이 없다 (디스크 ${d_sk}). 부재≠통과"; fail=1
|
|
178
|
+
elif [ "$msk" = "$d_sk" ]; then echo "PASS sweep: $pn marketplace skills (${d_sk})"
|
|
179
|
+
else echo "FAIL sweep: $pn marketplace skills — 선언 ${msk} ≠ 디스크 ${d_sk}"; fail=1; fi
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
sweep_n=0
|
|
183
|
+
for _d in plugins/*/; do
|
|
184
|
+
# 🟥 글롭이 하나도 안 맞으면 **리터럴 `plugins/*/` 자체**가 루프에 들어온다.
|
|
185
|
+
# 아래 plugin.json 검사가 결국 걸러내고 sweep_n 하한 가드가 FAIL 을 내지만, 그건
|
|
186
|
+
# **간접 방어**다 — 실패 원인이 「글롭이 죽었다」가 아니라 「플러그인이 없다」로 읽힌다.
|
|
187
|
+
[ -d "$_d" ] || continue
|
|
188
|
+
_n=$(basename "$_d")
|
|
189
|
+
[ -f "plugins/$_n/.claude-plugin/plugin.json" ] || continue
|
|
190
|
+
sweep_plugin "$_n"; sweep_n=$((sweep_n + 1))
|
|
191
|
+
done
|
|
192
|
+
# 🟥 **죽은 컨트롤 방어** — 열거가 0 이면 「전부 통과」와 「아무것도 안 봤다」가 같은 침묵이다
|
|
193
|
+
if [ "$sweep_n" -lt 2 ]; then
|
|
194
|
+
echo "FAIL sweep: 플러그인을 ${sweep_n}개만 열거했다 — 글롭이 죽었다(계기 오류, 0 아님)"; fail=1
|
|
195
|
+
else
|
|
196
|
+
echo "PASS sweep: 플러그인 ${sweep_n}개를 디스크에서 열거했다 (이름 손적기 0)"
|
|
197
|
+
fi
|
|
198
|
+
|
|
199
|
+
mp_check "marketplace.json fh-commons agents" fh-commons "${com_ag} agent"
|
|
94
200
|
# ── README 렌더링만 per-repo override 를 받는다 ──────────────────────────────────────────────
|
|
95
201
|
# 왜 이 한 줄만 다른가: plugin.json·marketplace.json 의 문자열은 **기계 결합**(영문 고정,
|
|
96
202
|
# 소비처가 파싱한다)이지만 README 헤더는 **사람이 읽는 산문**이라 하류 하네스가 자기 언어로 쓴다.
|