@chrono-meta/fh-gate 3.36.0 → 3.36.1
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 +4 -4
- package/knowledge/shared/harness-core/builtin_capability_map.md +29 -0
- package/knowledge/shared/harness-core/claude_md_full_reference.md +10 -1
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +24 -0
- package/package.json +1 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +12 -0
- package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
- package/scripts/package_coverage_check.sh +13 -5
- package/scripts/test_package_coverage_lanes.sh +31 -0
- package/scripts/test_utterance_checklist_hook_lanes.sh +9 -0
- package/scripts/utterance_checklist_hook.py +14 -5
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "fh-meta",
|
|
14
|
-
"version": "3.36.
|
|
14
|
+
"version": "3.36.1",
|
|
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.36.
|
|
20
|
+
"version": "3.36.1",
|
|
21
21
|
"description": "Project-agnostic utility skills — 7 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast · standpoint-review) + 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.36.
|
|
26
|
+
"version": "3.36.1",
|
|
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.36.
|
|
32
|
+
"version": "3.36.1",
|
|
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
|
}
|
|
@@ -39,6 +39,33 @@ Each row carries Korean phrasings too, so a Korean request can match a row by it
|
|
|
39
39
|
| think harder on this turn / this session · «더 깊게 생각해», «깊이 고민» | `ultrathink` in the prompt (that turn only; API effort unchanged) · `/effort low…max\|auto` | Mode D model notice and `capability_escalation_consent.md` decide when to *ask* for more |
|
|
40
40
|
| faster output · «추가 비용이 들어도 빠른 출력 모드로» | `/fast` (extra cost; limited under `-p`) | — |
|
|
41
41
|
|
|
42
|
+
## Desktop app (Code tab) surfaces — added 2026-11-02
|
|
43
|
+
|
|
44
|
+
The table above is CLI-shaped. A session running inside the Claude desktop app's Code tab has more
|
|
45
|
+
surfaces, and none of them was on this map. Trigger: an external Korean walkthrough video (2026-11-01)
|
|
46
|
+
listing app features shipped 2026-09-16 … 10-15. **Verified against the tool and skill names exposed to
|
|
47
|
+
one Code-tab session on 2026-11-02 — names only; no row below was exercised end to end.** Features the
|
|
48
|
+
video claims but that session could not see are listed under the table, not in it.
|
|
49
|
+
|
|
50
|
+
| User intent / situation | Preferred built-in | FH on top / prerequisite |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| hand a self-contained task to its own session the user can open and steer · «이건 세션 따로 띄워서 맡겨», «세션 나눠서 동시에» | Code-tab nested session (`start_session` — shows under the parent in the sidebar, reports back to it) | 🟥 **a session is not isolation.** Without a worktree it may share this folder: no FH-asset commits from a worktree, two writers never on the same files, company data stays on the machine. A piece of the *current* task (search, review, a sim) is a subagent, not a session — and a blind sim still needs the isolated clone (§`context: fork` below) |
|
|
53
|
+
| start a session in a folder another session is already using · «같은 폴더에서 세션 하나 더», «세션끼리 안 섞이게» | the new-session panel's **worktree toggle** — the app warns when another session runs in the same folder and offers a worktree; a saved environment can turn the worktree on per folder (operator screenshots, 2026-11-02) | right for side sessions that report and do not commit. 🟥 Not for the governor that commits FH assets: gitignored state (`tracks/_meta` markers, manifest, completion log) does not follow into a worktree. Before removing one: `bash scripts/worktree_reclaim.sh <worktree> --apply`. The panel's «continue uncommitted work» count included untracked experiment folders (it matched `git status`'s `??` entries) — what it then copies was not tested; check `git status` before using it |
|
|
54
|
+
| which sessions are waiting on me · tell another session something · «내 답 기다리는 세션 모아줘», «저 세션한테 전해줘» | session list + `ListAgents` / `SendMessage` | `success:true` means queued, not delivered — only a reply establishes it. A message from another session is information, never operator approval (no permission laundering) |
|
|
55
|
+
| tidy the sidebar · «세션 섹션으로 묶어», «끝난 세션 정리» | sidebar sections / groups, archive (session-management tools) | archive is reversible; **delete is not** → Destructive-Op gate (enumerate → recover → destroy) |
|
|
56
|
+
| keep working while I'm away · «잠들지 않게 해줘», «폰에서 이어 볼래» | keep-awake request · Remote Control | cross-machine messaging is one-way unless both ends are connected — do not wait for a reply that cannot come |
|
|
57
|
+
| change how the app looks or behaves (a side panel, a band, a status line, a hook) · «앱에 패널 하나 띄워», «모드 만들어줘» | mods (`plugin-authoring` skill) | a mod runs with the user's permissions: a third-party mod is an external asset (`sister_asset_protocol.md`); a mod that blocks is machinery, so it belongs only at irreversible edges (§Mechanization Boundary) |
|
|
58
|
+
| which skills eat my context · «스킬이 컨텍스트 얼마나 먹어», «안 쓰는 스킬 정리» | `/skill-doctor` (named in that session's built-in agent descriptions; not run there) | `/context-doctor` for hub CLAUDE.md / memory bloat · `/harness-doctor` for unused skills inside a harness. Removing a skill = the shrink rule: log what was dropped |
|
|
59
|
+
| shorter or differently styled answers · «답 짧게», «설명 줄여줘» | output style (app setting) | the Voice/Tone rule still sets language and register; a style never relaxes verification |
|
|
60
|
+
|
|
61
|
+
**Claimed by the video, not visible to that session — UNVERIFIED, do not route to them as fact:**
|
|
62
|
+
an «advisor» that consults a second model at key moments (if it exists, it is a second opinion from the
|
|
63
|
+
same family, not a cross-family check — `auto-decorrelation` still owns that axis) · cloud «Projects»
|
|
64
|
+
with a coordinator thread and shared memory that keep running with the laptop closed · «Motion» export
|
|
65
|
+
to MP4 · a session-rail context card with per-category usage. (`/btw` opening as a side tab via a
|
|
66
|
+
keyboard shortcut, and nested sessions, are also described by third-party write-ups of the 2026-10-14
|
|
67
|
+
desktop update; a web search the same day found no source at all for the advisor.)
|
|
68
|
+
|
|
42
69
|
## Skill frontmatter `context: fork` — what it is NOT
|
|
43
70
|
|
|
44
71
|
`context: fork` runs a skill body as a prompt in a new subagent (general-purpose unless `agent:` says
|
|
@@ -66,5 +93,7 @@ summary, before concluding a fork did or did not happen.
|
|
|
66
93
|
2026-10-15; the docs' skills and model-config pages were read up to 100,000 characters (their last
|
|
67
94
|
~9k / ~17k characters unread).
|
|
68
95
|
- The exact text `ultrathink` injects is not documented.
|
|
96
|
+
- The desktop rows rest on tool and skill *names* seen in one session, not on docs or on running them;
|
|
97
|
+
the app's surfaces roll out per account, so another install may show fewer.
|
|
69
98
|
- This map routes; it does not prove a session follows it. Whether a floor-tier session reaches for the
|
|
70
99
|
built-in first is a separate measurement (blind sim, isolated clone, with and without this map).
|
|
@@ -692,7 +692,16 @@ not marketplace-gate alone:
|
|
|
692
692
|
**genuinely not-applicable** (`skipped: docs-only repo` — surface ships no code). When code *does*
|
|
693
693
|
ship, `skipped: built-in unavailable` is **not** a free skip: per the Surface-Class Degrade Invariant
|
|
694
694
|
above this is an applicable-but-tooling-down case on an irreversible surface → **fail-CLOSED** (run a
|
|
695
|
-
manual security pass or take an explicit operator override before publishing; never silent-proceed)
|
|
695
|
+
manual security pass or take an explicit operator override before publishing; never silent-proceed).
|
|
696
|
+
**A pass is not coverage of every class.** The built-in's own policy leaves regular-expression
|
|
697
|
+
denial of service out and reports prototype pollution and open redirect only at very high
|
|
698
|
+
confidence; on a public benchmark the same model matched 9 of the 20 vulnerabilities in those classes
|
|
699
|
+
under `/security-review` and 16 with a plain audit prompt (arXiv:2610.38617, VulnBench 2.0 — a
|
|
700
|
+
supplementary run over 19 of 20 apps; the authors work for a SAST vendor). When the shipped code parses untrusted input
|
|
701
|
+
with regexes, merges objects, or redirects to a URL it was given, pair the pass with a check that
|
|
702
|
+
covers that class on that code — a scanner rule set that includes it, or a second review without
|
|
703
|
+
that policy pointed at those call sites — and name which one ran. If no such check can run, this is
|
|
704
|
+
the same applicable-but-tooling-down case as above: manual pass or explicit override, not a silent pass.
|
|
696
705
|
|
|
697
706
|
> Routing vs the rows below: `/marketplace-gate` alone = "is this ready to **list on a marketplace**?";
|
|
698
707
|
> `/public-surface-audit` alone = reactive "did I leak a token?"; **this gate** = the *act of going
|
|
@@ -5267,3 +5267,27 @@
|
|
|
5267
5267
|
outcome: "M 0 / S 2 / R 3; no rename, no role collision (auto-decorrelation, persona-cast, harness-pr-reviewer distinct). S1 (intro jargon) and S2 (fallback bullet) and R3 (how to make the diff) fixed; R1 (version field) checked — persona-cast uses the same field"
|
|
5268
5268
|
evidence: "same commit and marker"
|
|
5269
5269
|
tokens: "103732"
|
|
5270
|
+
- date: 2026-11-02
|
|
5271
|
+
agent: "general-purpose (sonnet) ×3 — session-card 🔧 item investigation, one item each (purpose: context)"
|
|
5272
|
+
task: "4b package-coverage exceptions · 5/5b tilde reason text and U15 race · 6c mutation probe and G-TRIG-04"
|
|
5273
|
+
outcome: "4b «delete the 3 exceptions» prescription was WRONG (live 65/65, clean clone 62/65) — governor re-measured; fixed by changing the STALE predicate (PR #1002). 5 = FoD gate, not FH. U15 race reproduced (fixed in PR #1000). 6c designed UNMEASURED"
|
|
5274
|
+
evidence: "tracks/_meta/fh_completed_2026-11-02.md · PR #1000 · PR #1002"
|
|
5275
|
+
tokens: "not recorded"
|
|
5276
|
+
- date: 2026-11-02
|
|
5277
|
+
agent: "general-purpose (sonnet) — U15 lock-contention arm measurement (purpose: context)"
|
|
5278
|
+
task: "measure row loss under load for original / retry-only / retry+3.0 s"
|
|
5279
|
+
outcome: "0/300 on the fixed arm; its trace.log held no ENOENT evidence — governor re-grounded the cause by errno trace before citing it"
|
|
5280
|
+
evidence: "tracks/_meta/.axes_23_passed_fix_utterance-hook-lock-drop_2026-11-02.marker"
|
|
5281
|
+
tokens: "not recorded"
|
|
5282
|
+
- date: 2026-11-02
|
|
5283
|
+
agent: "web-fetch (sonnet) ×2 — read arXiv:2610.38617 and arXiv:2610.39884 (purpose: context)"
|
|
5284
|
+
task: "extract the /security-review policy-excluded classes and numbers; KARMA's acceptance gate, revert and success/failure ablation"
|
|
5285
|
+
outcome: "both HTML pages truncated at ~39k chars; abstract/introduction verbatim, rest tool-summarised. One summarised claim («one run per arm») dropped from the rule before commit"
|
|
5286
|
+
evidence: "PR #1003 · tracks/_meta/memo_2026-11-02_edit_manifest_vs_karma.md"
|
|
5287
|
+
tokens: "31536 + 31558"
|
|
5288
|
+
- date: 2026-11-02
|
|
5289
|
+
agent: "general-purpose (sonnet) ×3 — blind floor-tier sims of the Pre-Publish /security-review paragraph (purpose: independence)"
|
|
5290
|
+
task: "two risky scenarios (RegExp from user input + deep merge; next= redirect) and one control (fixed-template copy)"
|
|
5291
|
+
outcome: "3/3 as predicted — both risky scenarios not complete and named the class check; control complete with no extra check"
|
|
5292
|
+
evidence: "tracks/_meta/.axes_23_passed_docs_prepublish-security-review-policy-gap_2026-11-02.marker"
|
|
5293
|
+
tokens: "134765 + 111534 + 134559"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrono-meta/fh-gate",
|
|
3
|
-
"version": "3.36.
|
|
3
|
+
"version": "3.36.1",
|
|
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": {
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
### [Unreleased]
|
|
4
4
|
|
|
5
|
+
### [3.36.1] — 2026-11-02 — 발화 기록 훅이 행을 조용히 잃던 것 · package-coverage 가 쓰이는 예외를 «안 쓰임» 으로 읽던 것 · Pre-Publish 보안 단계 한 문단 · 기능 지도 데스크톱 줄
|
|
6
|
+
|
|
7
|
+
새 스킬 · 새 게이트 레인 · 새 행동 규칙은 없다. 수정과 문서라 버전 정책상 patch 다. 훅 설정은 바뀌지 않았고, 훅이 부르는 스크립트 한 개의 대기 동작이 바뀌었다.
|
|
8
|
+
|
|
9
|
+
In English: the utterance checklist hook no longer drops a prompt row in silence when two prompts land at once; `package_coverage_check.sh` no longer reports in-use exceptions as stale in a clean clone; the Pre-Publish reference says a `/security-review` pass does not cover its policy-excluded classes; the built-in capability map routes desktop Code-tab surfaces.
|
|
10
|
+
|
|
11
|
+
소비자에게 닿는 변화:
|
|
12
|
+
- `utterance_checklist_hook.py`(#1000): 같은 세션에 프롬프트가 겹쳐 들어오면 잠금 파일 열기가 `ENOENT` 로 실패하거나 0.3초 잠금 대기가 끝나서, 운영자 발화 한 줄이 기록 없이 사라질 수 있었다(부하 실측 원본 3/200 · 10/150 유실). 열기를 10ms 간격으로 50번까지 다시 하고, 잠금은 3.0초까지 기다린다(고친 뒤 0/100). 한 세션이 자기 자신과 겹치지는 않으므로 평소 프롬프트에는 대기가 생기지 않는다. 남는 것: 잠금을 3초 넘게 쥔 쪽이 있으면 여전히 그 행을 건너뛴다. 레인 U15b 가 대기를 0.3초로 되돌리면 빨개진다.
|
|
13
|
+
- `package_coverage_check.sh`(#1002): `ACCEPTED_ABSENT` 예외를 «쓰이는 중» 으로 세는 조건이 «출하 문서가 가리키고 **그 파일이 이 머신에 있을 때**» 였다. 그래서 git 에 없는 파일을 가리키는 예외 셋이 깨끗한 클론(CI · 릴리스 사슬)에서 늘 «안 쓰임 — 지워라» 로 떴다(62/65). 이제 출하 문서가 가리키기만 하면 쓰이는 걸로 센다(65/65). 출하 누락을 잡는 FAIL 경로는 그대로다. 레인 L8a/b/c.
|
|
14
|
+
- `claude_md_full_reference.md` Pre-Publish 3단계(#1003): `/security-review` 통과가 모든 부류를 본 것은 아니라는 문단. 내장 정책이 정규식 DoS 를 빼고 prototype pollution · open redirect 는 확신이 매우 높을 때만 보고한다 — 공개 벤치마크(arXiv:2610.38617)에서 그 부류 20건 중 9건(`/security-review`) 대 16건(같은 모델, 일반 감사 프롬프트). 출하 코드가 신뢰 못 할 입력으로 정규식을 만들거나 객체를 병합하거나 받은 URL 로 리다이렉트하면, 그 부류를 그 코드에서 보는 검사를 하나 더 붙이고 무엇을 돌렸는지 적는다. 못 돌리면 기존의 수동 점검 · 명시적 오버라이드 경로로 간다.
|
|
15
|
+
- `builtin_capability_map.md`(#999): 데스크톱 앱 Code 탭 기능 8줄(별도 세션에 맡기기 · 같은 폴더에 세션 하나 더 · 답을 기다리는 세션 모으기와 세션 간 메시지 · 사이드바 정리 · 잠들지 않게와 원격 제어 · 앱 모드 · `/skill-doctor` · 출력 스타일)에 길을 냈다. 근거는 한 세션에서 보인 도구 · 스킬 이름뿐이고 끝까지 실행해 본 줄은 없다. 영상에만 나오고 그 세션에서 보이지 않은 넷(어드바이저 · 클라우드 Projects · Motion 내보내기 · 컨텍스트 카드)은 표 밖에 `UNVERIFIED` 로 적었다.
|
|
16
|
+
|
|
5
17
|
### [3.36.0] — 2026-11-01 — 새 스킬 standpoint-review(받는 쪽에서 변경 검토) · deliberation 예시 기록 수리
|
|
6
18
|
|
|
7
19
|
훅 변경은 없다. 스크립트 변경도 없다. 새 스킬이 들어가서 버전 정책상 minor 다.
|
|
@@ -573,11 +573,19 @@ for s in shipped:
|
|
|
573
573
|
# HONEST STATE: fix the `js|json` alternation first, re-measure, then decide. Until then
|
|
574
574
|
# this check's true coverage is UNQUANTIFIED — treat a PASS as "no defect of the narrow
|
|
575
575
|
# exists-and-uncovered kind", not as "every shipped reference is sound".
|
|
576
|
-
if
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
if covered(m):
|
|
577
|
+
continue
|
|
578
|
+
# An accepted entry is exercised when a shipped doc still NAMES it — existence plays no
|
|
579
|
+
# part. The exception records a decision about a reference, and the reference is the same
|
|
580
|
+
# on every machine; the file is not. Gating this on `exists` made the three entries whose
|
|
581
|
+
# files are not in the repo (.claude/registry/LOCAL_SKILL_REGISTRY.md, .claude/settings.json,
|
|
582
|
+
# .claude/settings.local.json — present only on a configured machine) read STALE
|
|
583
|
+
# in every clean clone, i.e. in CI and the release chain (measured 2026-11-02: live 65/65,
|
|
584
|
+
# clean clone 62/65), and the advisory told the reader to delete exceptions that were in use.
|
|
585
|
+
if m in accepted:
|
|
586
|
+
exercised.add(m)
|
|
587
|
+
elif os.path.exists(m):
|
|
588
|
+
phantom.setdefault(m, set()).add(s)
|
|
581
589
|
|
|
582
590
|
# Impossible-zero guard: this repo always has shipped docs. Zero scanned means the extractor
|
|
583
591
|
# broke — report that as a failure rather than letting a dead check print a pass
|
|
@@ -255,6 +255,37 @@ else
|
|
|
255
255
|
bad "L7 zero shipped docs: expected exit 1 'check broke', got rc=$rc" "$out"
|
|
256
256
|
fi
|
|
257
257
|
|
|
258
|
+
# ── L8 · an accepted entry is exercised by REFERENCE, not by the file existing here ────
|
|
259
|
+
# Three entries name files that exist only on the author's machine, so in a clean clone (CI, the
|
|
260
|
+
# release chain) the old `exists and not covered` gate read them STALE while shipped docs still
|
|
261
|
+
# named them. Three legs, one variable each: named+absent must NOT be stale (the fix), unnamed must
|
|
262
|
+
# be stale (the advisory still fires), named+present must not be stale (old behaviour kept).
|
|
263
|
+
_ACC_LIST=$(bash "$SUBJECT" --list-accepted) # capture first: an early-exit grep in a pipe would SIGPIPE the producer
|
|
264
|
+
ACC_ONE=$(printf '%s\n' "$_ACC_LIST" | grep '\.py$'); ACC_ONE=${ACC_ONE%%$'\n'*}
|
|
265
|
+
l8_stale() { # l8_stale <named:yes|no> <present:yes|no> -> prints the STALE advisory lines
|
|
266
|
+
local d="$TMP/l8_$1_$2"
|
|
267
|
+
make_tree "$d" dir yes
|
|
268
|
+
[ "$1" = yes ] && printf 'See `%s` for the admit step.\n' "$ACC_ONE" >> "$d/docs/guide.md"
|
|
269
|
+
[ "$2" = yes ] && { mkdir -p "$d/$(dirname "$ACC_ONE")"; : > "$d/$ACC_ONE"; }
|
|
270
|
+
_LAST_OUT=$(run_tree "$d"); _LAST_RC=$?
|
|
271
|
+
}
|
|
272
|
+
if [ -z "$ACC_ONE" ]; then
|
|
273
|
+
skip "L8 no .py entry in ACCEPTED_ABSENT to plant"
|
|
274
|
+
else
|
|
275
|
+
l8_stale yes no
|
|
276
|
+
if [ "$_LAST_RC" -eq 0 ] && ! printf '%s' "$_LAST_OUT" | grep -qxF " $ACC_ONE"; then
|
|
277
|
+
ok "L8a named in a shipped doc, file absent here: not reported STALE"
|
|
278
|
+
else bad "L8a named+absent: expected rc=0 and $ACC_ONE not STALE (rc=$_LAST_RC)" "$_LAST_OUT"; fi
|
|
279
|
+
l8_stale no no
|
|
280
|
+
if [ "$_LAST_RC" -eq 0 ] && printf '%s' "$_LAST_OUT" | grep -qxF " $ACC_ONE"; then
|
|
281
|
+
ok "L8b named nowhere: still reported STALE (control — the advisory is alive)"
|
|
282
|
+
else bad "L8b unnamed: expected $ACC_ONE in the STALE list (rc=$_LAST_RC)" "$_LAST_OUT"; fi
|
|
283
|
+
l8_stale yes yes
|
|
284
|
+
if [ "$_LAST_RC" -eq 0 ] && ! printf '%s' "$_LAST_OUT" | grep -qxF " $ACC_ONE"; then
|
|
285
|
+
ok "L8c named and present: not reported STALE (behaviour before the fix kept)"
|
|
286
|
+
else bad "L8c named+present: expected rc=0 and $ACC_ONE not STALE (rc=$_LAST_RC)" "$_LAST_OUT"; fi
|
|
287
|
+
fi
|
|
288
|
+
|
|
258
289
|
echo
|
|
259
290
|
if [ "$skipped" -gt 0 ]; then
|
|
260
291
|
echo "package-coverage lanes: ${pass} passed, ${fail} failed, ${skipped} UNCALIBRATED (not verified here)"
|
|
@@ -146,6 +146,15 @@ OUT=$(mk "홈 변수가 없어도 죽으면 안 된다" "0123abcd-0000-4000-8000
|
|
|
146
146
|
S5="0123abcd-0000-4000-8000-0000000000a8"
|
|
147
147
|
for i in $(seq 1 10); do (mk "동시에 들어온 요청 번호 $i 입니다 길게" "$S5" | CLAUDE_PROJECT_DIR="$T" bash "$HOOK" >/dev/null) & done; wait
|
|
148
148
|
python3 -c 'import json,sys;r=[json.loads(l)["n"] for l in open(sys.argv[1])];s=json.load(open(sys.argv[2]));assert sorted(r)==list(range(1,11)) and s["rows"]==10,(sorted(r),s)' "$D/$S5.jsonl" "$D/$S5.state.json" && ok "U15 10 concurrent prompts → rows 1..10, state 10 (locked)" || no U15 "race"
|
|
149
|
+
# U15b the deterministic half of U15 (2026-11-02): U15 loses a row only ~1% of runs, so reverting the fix leaves it green.
|
|
150
|
+
# Another holder keeps the session lock for 2.0 s; the prompt must still be written down once the lock frees.
|
|
151
|
+
# With the old 0.3 s wait this row is skipped in silence unless the hook starts >1.7 s late (2.0 s, not 1.0 s:
|
|
152
|
+
# at 1.0 s a 0.7 s scheduling delay was enough to turn the reverted code green — codex review 2026-11-02).
|
|
153
|
+
S5b="0123abcd-0000-4000-8000-0000000000a9"
|
|
154
|
+
python3 -c 'import fcntl,os,sys,time;fd=os.open(sys.argv[1],os.O_RDWR|os.O_CREAT,0o600);fcntl.flock(fd,fcntl.LOCK_EX);open(sys.argv[2],"w").close();time.sleep(2.0)' "$D/$S5b.lock" "$T/u15b.ready" &
|
|
155
|
+
HOLD=$!; for _ in $(seq 1 100); do [ -f "$T/u15b.ready" ] && break; sleep 0.02; done
|
|
156
|
+
mk "다른 쪽이 잠금을 쥐고 있는 동안 들어온 요청" "$S5b" | CLAUDE_PROJECT_DIR="$T" bash "$HOOK" >/dev/null; wait "$HOLD"
|
|
157
|
+
[ -f "$T/u15b.ready" ] && [ "$(wc -l < "$D/$S5b.jsonl" 2>/dev/null | tr -d ' ')" = 1 ] && ok "U15b prompt arriving while the lock is held 2.0 s is still written (no silent skip)" || no U15b "row skipped while lock held (ready=$([ -f "$T/u15b.ready" ] && echo y || echo n))"
|
|
149
158
|
rm -rf "$T2" "$T3"
|
|
150
159
|
|
|
151
160
|
# ── codex R2 (final round) cases ──
|
|
@@ -102,13 +102,22 @@ def main():
|
|
|
102
102
|
d = None
|
|
103
103
|
if d:
|
|
104
104
|
lock_p = sid + ".lock"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
lfd = None
|
|
106
|
+
for _ in range(50): # concurrent O_CREAT of one name fails transiently (ENOENT, measured on macOS) — a single try dropped the row
|
|
107
|
+
try:
|
|
108
|
+
lfd = open_regular(lock_p, os.O_RDWR | os.O_CREAT); break
|
|
109
|
+
except OSError as e:
|
|
110
|
+
if e.errno not in (errno.ENOENT, errno.EEXIST):
|
|
111
|
+
break
|
|
112
|
+
time.sleep(0.01)
|
|
109
113
|
if lfd is not None:
|
|
110
114
|
locked = False
|
|
111
|
-
|
|
115
|
+
# 3.0 s, not 0.3 s (operator decision 2026-11-02): a lock timeout skips the row in silence, and losing what
|
|
116
|
+
# the operator asked for is worse than a pause under contention. codex R2's «never hold the prompt long»
|
|
117
|
+
# still bounds it: the lock is held for milliseconds, so the wait only grows when many prompts land at once.
|
|
118
|
+
# The intended waits (0.5 s of open retries + 3.0 s) sit under the 5 s hook timeout in .claude/settings.json;
|
|
119
|
+
# scheduling and I/O are outside that sum. Residual: a holder past 3.0 s still skips the row in silence.
|
|
120
|
+
deadline = time.monotonic() + 3.0
|
|
112
121
|
while time.monotonic() < deadline:
|
|
113
122
|
try:
|
|
114
123
|
fcntl.flock(lfd, fcntl.LOCK_EX | fcntl.LOCK_NB); locked = True; break
|