@chrono-meta/fh-gate 3.17.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.17.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.17.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.17.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.17.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/CLAUDE.md CHANGED
@@ -1003,7 +1003,7 @@ Proposal format: `"I see [X]. Want me to run /[skill] to [one-line description]?
1003
1003
  | "publish", "make public", "make this repo public", "go public", "gh repo create --public", "flip to public", "first public push", "publish the package", "npm publish", "twine upload", **"zenodo", "figshare", "OSF", "DOI", "DOI mint / 발급", "new version" under a concept DOI, "arXiv submit / replace / 제출", "예치", "deposit"** (scholarly deposit — the deposit's *metadata* is the surface, not only its PDF), **opening/updating a PR or pushing content to the public hub** (esp. company-origin) (publish intent — **proactive**, fire *before* the action; adding content to an already-public repo IS publishing that content) | **Pre-Publish Surface Gate** (see above → `/public-surface-audit` + `/marketplace-gate` Check 5 must PASS first). The commit-time half is now **hook-enforced** (mechanical confidentiality scan — see Pre-Publish Gate §Hook coverage (b)), so this proactive trigger is the salience layer over a mechanical floor. |
1004
1004
  | "delete the branch", "브랜치 삭제", "브랜치 정리", "clean up branches", "force-push", "rewrite history", "지워도 돼?" (destructive intent — **proactive**, fire *before* the action) | **Destructive-Op Gate** (see above → enumerate → recover → destroy; `templates/predelete_check.sh`) |
1005
1005
  | **"새 기능 검증해줘", "test this feature", "이 TC 확인해줘" — verifying the user's PRODUCT/feature (not FH itself)** | **Route to the mapped field harness first** (Cross-Project Skill Bus / registry) — the field harness owns product verification. The harness-verification rows in this table (`verify-bidirectional` · `prompt-regression` · `sim-conductor` · `pipeline-conductor`) verify the *harness*, and must not shadow a product-verification ask (a field project's *harness assets* — its skills/rules — still use those FH verification rows) |
1006
- | "지난주에 뭐 했지", "what did we do last week", "예전에 이거 한 적 있나" (recall intent) | **CATALOG-first recall** — read `CATALOG.md`, identify candidates by tag/date, then open only those files. Never scan session files one by one |
1006
+ | "지난주에 뭐 했지", "what did we do last week", "예전에 이거 한 적 있나", **"find past work on X", "search for prior X", "이전에 한 작업 찾아줘"** (recall intent — 일반형, 2026-09-22 확장) | **CATALOG-first recall** — read `CATALOG.md`, identify candidates by tag/date, then open only those files. Never scan session files one by one |
1007
1007
  | "add this MCP server", "mount this MCP", "mcp.json에 추가", "connect this tool server" (external-MCP mount intent — **proactive**, fire *before* first tool call; mount intent only — a failing/erroring mounted server routes to `/mcp-circuit-breaker` via its own skill description; its table row was removed in the 2026-07-17 row diet, so this parenthetical no longer points "above") | `templates/.claude/rules/mcp_tool_gating.md` (name-keyed ask/allow table — never trust server annotations or names; fill §3 at mount time) |
1008
1008
  | "did my rule change break anything", "regression check", "test harness changes" | `/prompt-regression` |
1009
1009
  | **"그래프 루프 돌릴까", "가속화해볼까", "이거 재보자", "정말 되는지 확인해줘", "measure this", "prove it fires"** — 그리고 **proactive**: 살리언스 의존 자산(규칙·온보딩 문구·트리거)을 바꿔놓고 «읽으면 맞다»로 끝내려 할 때 | **Measured-Loop** (`measurement-integrity-checklist.md §Measured-Loop`) — 사전등록 봉인 → 한 변수 ARM/CTRL → 결과 전 채점기(known-pair) → **반증 조건 그대로 집행**. 실행부는 `scripts/sim_isolated_run.sh` (🟥 라이브 레포 직접 sim 금지). **설계는 opus-tier+ 권장**이고 팔은 플로어에서 돈다 — base op 가 아니라 거버너 작업이라 Sonnet-floor 위반이 아니다 |
@@ -4279,3 +4279,47 @@
4279
4279
  ⓒ **디스패치 자체에 대한 교훈**: 운영자 지적으로 중간에 방식을 바꿨다 — 10분짜리 selfcheck 을
4280
4280
  거버너 컨텍스트에서 붙잡고 있었고, 그 뒤로는 위임 후 다른 갈래를 진행했다
4281
4281
  (`[[feedback_governor_delegates_keeps_context_free]]`).
4282
+ - date: 2026-09-22
4283
+ session: forge-harness 거버너 (야간 자율주행 → 아침 승인 5건 → 실사용 버그 대응 → 마감)
4284
+ dispatched: 13
4285
+ agents: >-
4286
+ 🟥 tally 파일은 날짜만 기록하고 대상 세부를 안 남긴다(known limitation, fh_signal_2026-08-16
4287
+ 이 이미 이름 붙인 그 사각). 이 가시 세션에서 직접 부른 것은 `harvest-loop` Skill 1건뿐 —
4288
+ 나머지 12건은 압축 전 구간(오늘 새벽~아침) 또는 병렬 peer 세션(비공개 컴패니언 세션 · friends-on-desk-f7 ·
4289
+ friends-on-desk-0f, 전부 오늘 이 레포/자매 레포에서 자체 게이트·적대검증 패스를 돌렸다고
4290
+ 보고함)에서 난 것으로 추정되나 **개별 귀속은 못 한다** — 지어내지 않는다
4291
+ outcome: accepted
4292
+ evidence: >-
4293
+ peer 셋이 마감 스윕 질문에 직접 응답하며 자기 적발 사례를 보고했다(비공개 컴패니언 세션: $SRC 빈값 치환
4294
+ 자력 적발 · friends-on-desk-f7: main ref 정체 + 19/19 스크래치패드 전용 적발). 이 자체가
4295
+ 디스패치 산출의 증거이지만, tally 카운트 13 과 1:1 매핑은 안 됐다
4296
+ learning: >-
4297
+ 🟥 **tally 는 존재를 재지 신원을 안 잰다.** 「13건 있었다」는 알아도 「무엇 13개」는 구조적으로
4298
+ 복원 불가 — 오늘처럼 컴팩션 + 모델전환 + 병렬 peer 셋이 겹친 날엔 사후 귀속이 특히 어렵다.
4299
+ ⇒ 처방은 이미 named 돼 있다(fh_signal_2026-08-16) — 이 세션이 그걸 다시 겪었을 뿐 새 발견은
4300
+ 아니다. 실시간(디스패치 직후) 기록이 유일한 진짜 해법이고, 마감 시점 재구성은 항상 근사치다
4301
+ - date: 2026-09-23
4302
+ session: forge-harness 거버너 (야간 자율주행 — FoD 펫 애니메이션 ⓓ 전환)
4303
+ dispatched: 2
4304
+ agents: >-
4305
+ 이 가시 세션에서 **신원이 확인되는 것은 둘**이다.
4306
+ ⓐ `aedbf64d83110a3f6` — S3 프레임 상한 측정(압축 전 발주, 이 세션에서 회신 수령)
4307
+ ⓑ `a4a37d278f893d1c4` — 씬 배경 원전에서 달리기 두 행 추출(배경 복원 + 그림자 제거 + 제자리 정규화)
4308
+ 🟥 마감 검사의 tally 는 **44** 를 셌다. 그 차이는 귀속 불가다 — 압축 전 구간과 병렬 peer
4309
+ 세션이 같은 날짜 칸에 합산되기 때문이고, 이는 어제 항목이 이미 이름 붙인 같은 사각이다.
4310
+ **지어내지 않는다.**
4311
+ outcome: accepted
4312
+ evidence: >-
4313
+ ⓐ 회신이 「비용 축은 프레임 수가 아니라 캔버스」를 실측으로 냈다(디코드 12~300프레임 평평
4314
+ 1.2~1.6ms · 같은 캔버스 상주 델타 1MB vs 순진한 상한 507MB). 자기 앞 주장을 스스로 반증했고
4315
+ 미측정 5건을 이름으로 남겼다.
4316
+ ⓑ 산출이 실제로 랜딩했다(`art/chunsik-snow/` 44장 → `chunsik-roam.png`). 그리고 **레포
4317
+ 코드 결함 하나를 지목했다** — `extract_frames._fit` 의 `paste(src,box,src)` 알파 제곱.
4318
+ 거버너가 known-pair 로 독립 재현(α 30→4 · RGB 프리멀티플라이)한 뒤 수리 + 회귀 다리 2개.
4319
+ learning: >-
4320
+ 🟥 **팔의 지적을 그대로 받지 않고 재현한 것이 이 건의 하중선이다.** ⓑ 가 「PIL 이 알파를
4321
+ 제곱한다」고 보고했을 때 그대로 고쳤으면 «팔이 그렇다더라» 가 됐다. 4줄짜리 known-pair 로
4322
+ 직접 재현하니 **RGB 프리멀티플라이라는 두 번째 피해**가 같이 나왔고, 그건 팔이 안 적은 것이다.
4323
+ ⚠️ 그리고 ⓐ 가 이 세션에 **실피해**를 남겼다 — 가짜 HOME 스파이크가 운영자 userData 에
4324
+ 중복 테마(`codex-pet-chunsik-2`)를 심었고, 마감에서 열거·백업·제거했다. 팔이 그 함정을
4325
+ 문서화한 것과 **그 함정에 이미 빠져 있던 것**은 별개다.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrono-meta/fh-gate",
3
- "version": "3.17.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.17.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.17.0",
3
+ "version": "3.19.0",
4
4
  "engines": {
5
5
  "claudeCode": ">=1.0.0"
6
6
  },
@@ -1,5 +1,52 @@
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
+
35
+ ### [3.18.0] — 2026-09-23 — 리콜 트리거가 문자열 일치에 걸려 3중 1만 뜨던 자리
36
+
37
+ **minor — 행동을 바꾸는 교리 한 줄.** 소비자의 게이트 수용은 안 깬다(`BREAKING (gate):` 없음).
38
+
39
+ `CLAUDE.md` §Autonomous Initiative Layer 의 **CATALOG-first recall** 행이 한국어 3인칭
40
+ 회상 어구만 나열하고 있었다. 실사용 문장 셋으로 재 보니 **3중 1만 발화**했다 —
41
+ 「지난주에 뭐 했지」는 걸리는데 「이전에 한 작업 찾아줘」·「find past work on X」는 안 걸렸다.
42
+ 같은 의도인데 어휘가 다르면 라우팅이 통째로 빠지고, 그 결과는 «세션 파일을 하나씩 훑는»
43
+ 경로다(이 행이 존재하는 이유가 정확히 그걸 막는 것이다).
44
+
45
+ ⇒ 일반형 어구 셋을 추가했다. 🟥 **어휘를 늘린 것이지 판별자를 바꾼 게 아니다** —
46
+ 이 행의 한계(어휘가 안 겹치면 여전히 못 잡는다)는 그대로고, 그 사실을 여기 적어 둔다.
47
+
48
+ 부수: 디스패치 원장에 2026-09-23 항목(팔 둘, 신원 확인분만 — tally 와의 차이는 귀속 불가로 남김).
49
+
3
50
  ### [3.17.0] — 2026-09-22 — 계기가 「안 본 축」을 초록으로 답하던 자리 넷
4
51
 
5
52
  **minor — 게이트 레인 넷을 조였고, 그중 하나는 소비자의 게이트 수용을 깬다.**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fh-preprep",
3
- "version": "3.17.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.17.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)"