@chrono-meta/fh-gate 3.18.0 → 3.19.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.
@@ -11,25 +11,25 @@
11
11
  "plugins": [
12
12
  {
13
13
  "name": "fh-meta",
14
- "version": "3.18.0",
14
+ "version": "3.19.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.18.0",
20
+ "version": "3.19.0",
21
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.18.0",
26
+ "version": "3.19.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.18.0",
32
+ "version": "3.19.0",
33
33
  "description": "preprep — a presentation-preparation harness. 1 skill. One CLI over 17 lanes (7 built-in + 10 module) that reads a declared surface manifest and checks a talk's assets against each other: canonical terms, jargon glosses, retired vocabulary, inter-slide dependencies, pacing, get/put round-trips, adjacent duplication, slide relations, geometry, attribute consistency, fonts, diagrams, slide refs, and screen-parity between manuscript and deck. Verdict contract: exit 0 pass / 1 findings / 2 cannot-judge — a surface that could not be read is UNMEASURED, never 0. Promoted out of fh-commons 2026-09-13 after the skill grew past one role (routing / lane modules / fixtures).",
34
34
  "source": "./plugins/fh-preprep"
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.18.0",
3
+ "version": "3.19.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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-commons",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-meta",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,5 +1,37 @@
1
1
  # forge-harness (fh-meta) Changelog
2
2
 
3
+ ### [3.19.0] — 2026-09-24 — 「못 쟀다」와 「못 믿는다」를 다른 값으로 가른다
4
+
5
+ **minor — 판정 어휘가 넷으로 늘어난 행동 변경.** 소비자의 게이트 수용은 안 깬다
6
+ (`sidecar_calibrate.sh` 는 detector 라 **항상 exit 0** 이고, 패널 편입 규칙도 불변이다).
7
+ ⚠️ 다만 **`sidecar_panel_*.txt` 를 grep 하는 쪽은 갱신이 필요하다** — `UNTRUSTED-PIN` 만
8
+ 세면 새 두 값을 놓친다.
9
+
10
+ 사이드카 핀 판정이 **두 값**이라 «답이 아예 안 왔다» 와 «답은 왔는데 다른 모델이었다» 가
11
+ 같은 `UNTRUSTED-PIN` 으로 접혔다. 그래서 `sidecar_panel_2026-09-18.txt` 가 agy 를 09-14
12
+ UNTRUSTED · 09-17 PIN-OK 로 적고 «어느 쪽이 참인지 미해결» 로 남겼다 — 09-14 쪽은 **2m50s
13
+ 타임아웃**이었으니 그건 판정이 아니라 **측정 실패**였는데 판정으로 렌더됐다.
14
+
15
+ PIN-OK 신원이 핀과 맞다
16
+ UNTRUSTED-PIN **답은 왔는데** 신원이 다르다 — 바꿔치기. 이 도구의 표적
17
+ PIN-BLOCKED 한도/쿼터/인증 — **채널이 막힌 것**이지 모델 문제가 아니다
18
+ PIN-UNMEASURED 답이 아예 안 왔다 — 측정 실패. 0 이 아니다
19
+
20
+ 🟥 **패널 편입 규칙은 한 글자도 안 바꿨다** — `PIN-OK` 만 든다. 미측정이 패널에 끼면 그게
21
+ fail-open 이고 이 변경의 의미가 정반대로 뒤집힌다. 레인 2d 가 그것을 직접 단언한다.
22
+
23
+ 구현 곁가지: `_run … | _answer` 가 런타임 rc 를 버려서 두 사건이 같은 빈 문자열이 됐다.
24
+ `out=$(cmd); rc=$?` 로 먼저 잡는다(`${PIPESTATUS[0]}` 은 bash 전용이라 안 쓴다).
25
+
26
+ 레인 21(+4): 스텁 `silent-timeout`(출력 0 · exit 124) · `quota-exhausted`(429 · exit 1) 신설.
27
+ 양성만이 아니라 **«틀린 값이 안 붙나»** 까지 잰다. 되돌림(4값 → 2값, 검출기 불변) 21/0 → **17/4**,
28
+ 적색 넷이 전부 신설 다리이고 편입 불변 다리는 초록으로 남는다.
29
+
30
+ 🟥 **잔여**: agy 09-14↔09-17 갈림은 아직 안 닫혔다 — 이 변경은 그걸 **닫을 수 있게** 만든 것이다.
31
+ `PIN-BLOCKED` 의 grep 어휘는 스텁으로만 쟀다(과탐 방향이 열려 있다). `ollama` 경로는 안 건드려
32
+ 두 경로의 어휘가 갈린다(`PIN-OK` vs `PIN-OK(envelope)`) — 통일은 별건.
33
+
34
+
3
35
  ### [3.18.0] — 2026-09-23 — 리콜 트리거가 문자열 일치에 걸려 3중 1만 뜨던 자리
4
36
 
5
37
  **minor — 행동을 바꾸는 교리 한 줄.** 소비자의 게이트 수용은 안 깬다(`BREAKING (gate):` 없음).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-preprep",
3
- "version": "3.18.0",
3
+ "version": "3.19.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.18.0",
3
+ "version": "3.19.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -118,9 +118,13 @@ probe_runtime() {
118
118
  return 0
119
119
  fi
120
120
 
121
- local id_out pin_state ctl_out ctl_state v_out v_state
121
+ local id_out id_raw id_rc pin_state ctl_out ctl_state v_out v_state
122
122
  build_cmd "$rt" "$model" "$IDENTITY_PROMPT"
123
- id_out="$(_run 200 "${CMD[@]}" 2>&1 | _answer)"
123
+ # 🟥 파이프로 넘기지 않고 먼저 **원문과 종료코드**를 잡는다. `_run … | _answer` 는 런타임의
124
+ # rc 를 버리므로 «타임아웃» 과 «답했는데 다른 모델» 이 같은 빈 문자열로 접힌다.
125
+ # (`${PIPESTATUS[0]}` 는 bash 전용이고, 정본은 «파이프를 쓰지 않는 것» 이다.)
126
+ id_raw="$(_run 200 "${CMD[@]}" 2>&1)"; id_rc=$?
127
+ id_out="$(printf '%s\n' "$id_raw" | _answer)"
124
128
 
125
129
  # Discriminating check — the answer must be the MODEL's self-report naming the model that was
126
130
  # pinned. What counts as "naming it" is the VERSION token, not every token of the pin slug:
@@ -141,7 +145,32 @@ probe_runtime() {
141
145
  printf '%s' "$id_out" | tr 'A-Z' 'a-z' | grep -qF "$name_words" && hit=1
142
146
  fi
143
147
  fi
144
- if [ "$hit" -eq 1 ]; then pin_state="PIN-OK"; else pin_state="UNTRUSTED-PIN"; fi
148
+ # ── 🟥 네 값으로 가른다 — «못 쟀다» 와 «못 믿는다» 는 다른 사건이다 ────────────────
149
+ #
150
+ # 종전에는 둘 다 UNTRUSTED-PIN 이었다. 그래서 agy 가 **2m50s 타임아웃**으로 못 잰
151
+ # 2026-09-14 기록과, 실제로 답을 받아 핀이 맞았던 2026-09-17 기록이 서로 모순처럼
152
+ # 보였고 «어느 쪽이 참인지» 를 판별할 수 없었다(sidecar_panel_2026-09-18.txt 가
153
+ # 그 갈림을 미해결로 남겼다). 같은 축의 다른 얼굴: 쿼터 소진이 «핀 불신» 으로 렌더돼
154
+ # 런타임 전체를 못 쓰는 것처럼 보였다(Gemini 그룹만 0 % 였는데).
155
+ #
156
+ # PIN-OK 신원이 핀과 맞다
157
+ # UNTRUSTED-PIN **답은 왔는데** 신원이 핀과 다르다 — 바꿔치기. 이게 이 도구의 표적이다
158
+ # PIN-BLOCKED 런타임이 한도/쿼터/인증을 말했다 — **채널이 막힌 것**이지 모델 문제가 아니다
159
+ # PIN-UNMEASURED 답이 아예 안 왔다(타임아웃·빈 응답) — 측정 실패. 0 이 아니다
160
+ #
161
+ # 🟥 패널 편입 규칙은 **안 바꾼다**: PIN-OK 만 든다. 미측정이 패널에 끼면 그게 fail-open 이다.
162
+ # 바뀌는 것은 «왜 빠졌나» 를 읽을 수 있게 되는 것뿐이다.
163
+ local blocked=0
164
+ printf '%s' "$id_raw" | grep -qiE 'quota|rate.?limit|too many requests|429|exceeded|insufficient|unauthor|forbidden|401|403' && blocked=1
165
+ if [ "$hit" -eq 1 ]; then
166
+ pin_state="PIN-OK"
167
+ elif [ "$blocked" -eq 1 ]; then
168
+ pin_state="PIN-BLOCKED"
169
+ elif [ -z "$id_out" ] || [ "$id_rc" -ne 0 ]; then
170
+ pin_state="PIN-UNMEASURED"
171
+ else
172
+ pin_state="UNTRUSTED-PIN"
173
+ fi
145
174
 
146
175
  build_cmd "$rt" "$BOGUS_MODEL" "$IDENTITY_PROMPT"
147
176
  ctl_out="$(_run 120 "${CMD[@]}" 2>&1)"
@@ -172,6 +201,14 @@ probe_runtime() {
172
201
  elif [ "$pin_state" = "UNTRUSTED-PIN" ]; then
173
202
  printf ' ⚠️ it rejects UNKNOWN names, which says nothing about serving KNOWN ones faithfully.\n'
174
203
  printf ' The identity probe disagreed with the pin — treat this runtime as substituting.\n'
204
+ elif [ "$pin_state" = "PIN-BLOCKED" ]; then
205
+ printf ' ⚠️ the runtime reported a QUOTA / AUTH problem (rc=%s). This is the CHANNEL being\n' "$id_rc"
206
+ printf ' shut, NOT evidence that a different model answered. Do not read it as substitution;\n'
207
+ printf ' re-run when the window reopens. It stays out of the panel because nothing was measured.\n'
208
+ elif [ "$pin_state" = "PIN-UNMEASURED" ]; then
209
+ printf ' ⚠️ NO ANSWER came back (rc=%s, answer empty) — the pin was **not measured**.\n' "$id_rc"
210
+ printf ' «unmeasured» is not «untrusted» and it is not zero. Re-run before concluding anything;\n'
211
+ printf ' a single timeout is the cheapest way to manufacture a false substitution report.\n'
175
212
  fi
176
213
  # Only a runtime whose pin is trustworthy counts toward the panel. A reachable runtime answering as
177
214
  # some other model contributes no family diversity, which is the entire point of the panel.
@@ -66,6 +66,12 @@ case "\$mode" in
66
66
  if [ "\$is_verdict" -eq 1 ]; then echo "PASS"; else echo "I am \$pin, by StubCorp."; fi ;;
67
67
  silent-fallback)
68
68
  if [ "\$is_verdict" -eq 1 ]; then echo "PASS"; else echo "I am stub-flash-3.6, by StubCorp."; fi ;;
69
+ quota-exhausted)
70
+ # 한도 소진 — 채널이 막힌 것이지 «다른 모델이 답한» 것이 아니다.
71
+ echo "Error: 429 RESOURCE_EXHAUSTED: quota exceeded for this model" >&2; exit 1 ;;
72
+ silent-timeout)
73
+ # 아무것도 안 뱉고 죽는다 — 타임아웃/행 을 흉내낸다. 답이 없으므로 «측정 실패» 다.
74
+ exit 124 ;;
69
75
  alias-name)
70
76
  if [ "\$is_verdict" -eq 1 ]; then echo "PASS"; else echo "StubGPT-3.1 Coder"; fi ;;
71
77
  listed-substitute)
@@ -113,6 +119,42 @@ case "$out" in
113
119
  *) bad "lane2 silent fallback passed as a healthy sidecar" "$out" ;;
114
120
  esac
115
121
 
122
+ # LANE 2b (2026-09-23) — 🟥 «못 쟀다» 는 «못 믿는다» 가 아니다. 종전에는 둘 다 UNTRUSTED-PIN
123
+ # 이라, agy 가 2m50s 타임아웃으로 못 잰 09-14 기록과 핀이 실제로 맞았던 09-17 기록이 서로
124
+ # 모순처럼 보였고 어느 쪽이 참인지 판별할 수 없었다(sidecar_panel_2026-09-18.txt 가 미해결로
125
+ # 남긴 바로 그 갈림). 답이 아예 안 오면 PIN-UNMEASURED 여야 한다.
126
+ mkstub agy silent-timeout
127
+ out="$(run_cal --only agy)"
128
+ case "$out" in
129
+ *PIN-UNMEASURED*) ok "lane2b 무응답은 «측정 실패» 로 읽힌다(«바꿔치기» 가 아니다)" ;;
130
+ *) bad "lane2b 무응답이 PIN-UNMEASURED 로 안 읽혔다" "$out" ;;
131
+ esac
132
+ # 🟥 그리고 **UNTRUSTED 로 읽히면 안 된다** — 위 단언만으로는 두 문자열이 동시에 떠도 통과한다.
133
+ case "$out" in
134
+ *UNTRUSTED-PIN*) bad "lane2b 무응답이 «바꿔치기» 로도 찍혔다 — 두 사건이 여전히 섞인다" "$out" ;;
135
+ *) ok "lane2b 무응답에 UNTRUSTED-PIN 이 안 붙는다" ;;
136
+ esac
137
+
138
+ # LANE 2c — 쿼터 소진도 마찬가지다. 채널이 막힌 것이지 모델이 바뀐 것이 아니다.
139
+ # 실측 근거: agy 가 Gemini 그룹만 0 % 였는데 런타임 전체를 못 쓰는 것으로 렌더됐다.
140
+ mkstub agy quota-exhausted
141
+ out="$(run_cal --only agy)"
142
+ case "$out" in
143
+ *PIN-BLOCKED*) ok "lane2c 쿼터 소진은 «채널이 막힘» 으로 읽힌다" ;;
144
+ *) bad "lane2c 쿼터 소진이 PIN-BLOCKED 로 안 읽혔다" "$out" ;;
145
+ esac
146
+ case "$out" in
147
+ *UNTRUSTED-PIN*) bad "lane2c 쿼터 소진이 «바꿔치기» 로도 찍혔다" "$out" ;;
148
+ *) ok "lane2c 쿼터 소진에 UNTRUSTED-PIN 이 안 붙는다" ;;
149
+ esac
150
+
151
+ # LANE 2d — 🟥 **패널 편입은 여전히 PIN-OK 만이다.** 값을 넷으로 가른 것이 «미측정도 끼워 준다»
152
+ # 로 새면 그게 fail-open 이고, 이 분리의 의미가 반대로 뒤집힌다.
153
+ case "$out" in
154
+ *"PANEL: "*agy*) bad "lane2d 측정 못 한 런타임이 패널에 들었다 — fail-open" "$out" ;;
155
+ *) ok "lane2d 측정 못 한 런타임은 패널에서 빠진다(편입 규칙 불변)" ;;
156
+ esac
157
+
116
158
  # LANE 3 — an honest runtime that echoes its pin is PIN-OK.
117
159
  mkstub agy honest
118
160
  out="$(run_cal --only agy)"