@chrono-meta/fh-gate 3.35.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 +5 -5
- package/CHEATSHEET.md +1 -0
- package/README.md +2 -2
- 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/harness-core/field_verdict_crossfamily_gate.md +2 -0
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +72 -0
- package/package.json +1 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +2 -2
- package/plugins/fh-commons/skills/deliberation/SKILL.md +2 -2
- package/plugins/fh-commons/skills/standpoint-review/SKILL.md +235 -0
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +26 -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.
|
|
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.
|
|
21
|
-
"description": "Project-agnostic utility skills —
|
|
20
|
+
"version": "3.36.1",
|
|
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.
|
|
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.
|
|
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
|
}
|
package/CHEATSHEET.md
CHANGED
|
@@ -511,6 +511,7 @@ Claude agents feature
|
|
|
511
511
|
| `goal-quench` | Adds a token-budget ceiling + quality gate on top of an autonomous `/goal` run | "run this autonomously but cap the budget", "gate the goal run" |
|
|
512
512
|
| `meta-prompt-builder` | Designs *what to say* to each agent (pairs with agent-composer's *what to orchestrate*) | "help me write a prompt", "build a prompt for the agent" |
|
|
513
513
|
| `deliberation` *(commons)* | Innovator → Devil → Mediator 3-role structured debate to a synthesis | "deliberate this", "argue both sides then synthesize" |
|
|
514
|
+
| `standpoint-review` *(commons)* | Apply a change in an isolated copy of the repo or package that receives it, run that side's own checks, and have a reviewer with no author explanation judge it by that side's rules | "will this change break downstream users", "check it from the downstream repo", "받는 쪽에서 돌려 봐" |
|
|
514
515
|
|
|
515
516
|
### Diagnosis — *"something feels off"*
|
|
516
517
|
|
package/README.md
CHANGED
|
@@ -163,8 +163,8 @@ back to it. Full map, every node a real path: [`docs/map/FH_MAP.md`](docs/map/FH
|
|
|
163
163
|
missed the *same* two holes, and the second family caught both. Method in [`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md); more runs in [`docs/OUTPUT_EVIDENCE.md`](docs/OUTPUT_EVIDENCE.md).
|
|
164
164
|
- Maturity is graded, not claimed. Each of the five identities named below carries a dated grade, with its grounds, in
|
|
165
165
|
[`ship_readiness_gate.md`](knowledge/shared/harness-core/ship_readiness_gate.md).
|
|
166
|
-
- Counts on this page (
|
|
167
|
-
(`fh-meta`, `fh-commons`, `fh-qp`, `fh-preprep`), counted 2026-
|
|
166
|
+
- Counts on this page (47 skills · 14 agents) are the skill folders and agent files under `plugins/`
|
|
167
|
+
(`fh-meta`, `fh-commons`, `fh-qp`, `fh-preprep`), counted 2026-11-01. Phrasebook: [`CHEATSHEET.md` §12](CHEATSHEET.md#12-skills--agents--what-each-does-and-what-to-say).
|
|
168
168
|
|
|
169
169
|
## Words you will meet once you use it
|
|
170
170
|
|
|
@@ -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
|
|
@@ -204,6 +204,8 @@ CLAUDE.md §Floor governance).
|
|
|
204
204
|
|
|
205
205
|
## §7 Standpoint axis — orthogonal to family, formalized 2026-08-14
|
|
206
206
|
|
|
207
|
+
> **Callable door (2026-11-01)**: `plugins/fh-commons/skills/standpoint-review/SKILL.md` runs this axis for installs without the hub repo — isolate the receiver, run its own checks, cold review against its own rules, verify every finding, grade Q1–Q3. This section stays the canon; the skill carries only the procedure and the tier questions.
|
|
208
|
+
|
|
207
209
|
**The gap this closes**: §3 above establishes that cross-family review decorrelates the
|
|
208
210
|
*reviewer's error distribution*. It does not decorrelate the *reviewer's ground-truth source*.
|
|
209
211
|
Three families reviewing a shared-body change (code authored in one harness, consumed by or
|
|
@@ -5219,3 +5219,75 @@
|
|
|
5219
5219
|
outcome: "both location-less concerns dropped and counted (no-loc 1/1/0); flagged that the example row left `total` undefined (raised vs kept) — fixed in the same change"
|
|
5220
5220
|
evidence: "branch fix/absorption-triage-defects"
|
|
5221
5221
|
tokens: "115326"
|
|
5222
|
+
- date: 2026-10-31
|
|
5223
|
+
agent: "general-purpose (sonnet) — G-TRIG-04 FLAKY root-cause investigation (purpose: context)"
|
|
5224
|
+
task: "read the live-eval history for probe G-TRIG-04 and say why it alternates PASS/FAIL"
|
|
5225
|
+
trigger: "operator «G-TRIG-04 하나만 2/3으로 들쭉날쭉(FLAKY) 이것도 확인해보고»"
|
|
5226
|
+
outcome: "its main hypothesis (scorer too narrow) was disproven by the governor opening the 10-17/18/19 reps it had not opened: those were real misroutes, already fixed by #917. Later flakes are lexical; preregistered A/B 11/12 vs 12/12, below threshold — no change"
|
|
5227
|
+
evidence: "tracks/_meta/g_trig04_ab_2026-10-31/RESULT.md"
|
|
5228
|
+
tokens: "not recorded"
|
|
5229
|
+
- date: 2026-11-01
|
|
5230
|
+
agent: "general-purpose (sonnet) — blind cold read of the deliberation split (purpose: independence)"
|
|
5231
|
+
task: "use the split deliberation SKILL.md + SKILL_detail.md cold, not told what was tested"
|
|
5232
|
+
trigger: "Done = fires at the floor tier, for a skill-text change (#994)"
|
|
5233
|
+
outcome: "0 split defects; it flagged the Step 0 sample log saying Innovator/Devil run isolated, contradicting Steps 1–2 — fixed separately in #995"
|
|
5234
|
+
evidence: "PR #994 (230642af)"
|
|
5235
|
+
tokens: "not recorded"
|
|
5236
|
+
- date: 2026-11-01
|
|
5237
|
+
agent: "general-purpose (sonnet) — blind cold read after the Step 0 isolation fix (purpose: independence)"
|
|
5238
|
+
task: "answer, from the edited SKILL.md alone, which deliberation roles run isolated"
|
|
5239
|
+
trigger: "Done = fires at the floor tier (#995)"
|
|
5240
|
+
outcome: "answered inline / inline / isolated (Innovator / Devil / Mediator) — matches Steps 1–3; three open design questions listed in the PR body. Logged late (2026-11-01, first commit attempt auto-denied while the operator was away)"
|
|
5241
|
+
evidence: "PR #995"
|
|
5242
|
+
tokens: "not recorded"
|
|
5243
|
+
- date: 2026-11-01
|
|
5244
|
+
agent: "general-purpose (sonnet) ×2 — blind execution sim of the new standpoint-review skill (purpose: independence)"
|
|
5245
|
+
task: "follow the skill on a toy upstream/downstream pair with a planted ISO-date rule break"
|
|
5246
|
+
trigger: "Done = fires at the floor tier, for a new skill (operator «4번은 넣자»)"
|
|
5247
|
+
outcome: "both rounds isolated, ran the receiver's own checks with a baseline and caught the planted break (tier2(app)); R1 gap = no way to start a separate reviewer, R2 gap = variadic flag swallowed the prompt — both folded into Step 3. One false claim in R2's report (pre-existing __pycache__) — originals were verified clean by the governor"
|
|
5248
|
+
evidence: "tracks/_meta/.axes_23_passed_feat_standpoint-review-skill_2026-11-01.marker"
|
|
5249
|
+
tokens: "122832 + 126566"
|
|
5250
|
+
- date: 2026-11-01
|
|
5251
|
+
agent: "fh-commons:quench-challenger (sonnet) ×2 — adversarial review of standpoint-review SKILL.md (purpose: independence)"
|
|
5252
|
+
task: "attack the skill against field_verdict_crossfamily_gate.md §7"
|
|
5253
|
+
outcome: "R1 1 S + 10 A/B (all verified against §7 before fixing); R2 all CLOSED + 2 new A fixed; cap 2"
|
|
5254
|
+
evidence: "same marker"
|
|
5255
|
+
tokens: "101215 + 97695"
|
|
5256
|
+
- date: 2026-11-01
|
|
5257
|
+
agent: "fh-meta:hub-persona-auditor (sonnet) — sim-conductor Area B reader audit of the v3.36.0 surface (purpose: independence)"
|
|
5258
|
+
task: "read standpoint-review SKILL.md, CHANGELOG [3.36.0], README count lines and fh-commons plugin.json as outside readers"
|
|
5259
|
+
trigger: "minor release before tag — Version-Digit-Policy Area B (operator «스킬 시뮬돌려보고 출하까지 가자»)"
|
|
5260
|
+
outcome: "M 0 / S 6 / R 4. S1 (example reviewer command grants no Bash permission) confirmed by a known-pair probe and fixed; S2–S6 fixed (dependency install, plain intro, re-probe numbers, CHEATSHEET row, English summary)"
|
|
5261
|
+
evidence: "release/v3.36.0 commit f2d60d96 · tracks/_meta/.axes_23_passed_release_v3.36.0_2026-11-01.marker"
|
|
5262
|
+
tokens: "97086"
|
|
5263
|
+
- date: 2026-11-01
|
|
5264
|
+
agent: "fh-meta:persona-innovator (sonnet) — Area B naming/structure review of standpoint-review (purpose: independence)"
|
|
5265
|
+
task: "judge the name, role overlap with existing skills, and first-use structural gaps"
|
|
5266
|
+
trigger: "same Area B run"
|
|
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
|
+
evidence: "same commit and marker"
|
|
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.
|
|
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": {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fh-commons",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.36.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"claudeCode": ">=1.0.0"
|
|
6
6
|
},
|
|
7
|
-
"description": "Cross-project utility skill bundle —
|
|
7
|
+
"description": "Cross-project utility skill bundle — 7 skills + 7 agents. Domain-agnostic and portable: convergence-loop, deliberation, mcp-circuit-breaker, token-budget-gate, ko-tech-writer, persona-cast, standpoint-review + 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"
|
|
@@ -63,8 +63,8 @@ Please provide the deliberation topic.
|
|
|
63
63
|
Upon completing Step 0, include the following in the output:
|
|
64
64
|
```
|
|
65
65
|
[DELIBERATION START] Topic: {topic} | Layer: {layer} | {timestamp}
|
|
66
|
-
→ WORKER_CALL: Innovator (
|
|
67
|
-
→ WORKER_CALL: Devil-Advocate (
|
|
66
|
+
→ WORKER_CALL: Innovator (no isolation — proposal generator, see Step 1)
|
|
67
|
+
→ WORKER_CALL: Devil-Advocate (no isolation — see Step 2)
|
|
68
68
|
→ WORKER_CALL: Mediator (isolated instance — Cost of Consensus prevention)
|
|
69
69
|
```
|
|
70
70
|
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: standpoint-review
|
|
3
|
+
description: 'Standpoint review — check a change from the side that RECEIVES it: copy the receiving repo (or a clean install of the package) into an isolated folder, apply the change there, run that repo''s OWN checks, have a reviewer judge the change against that repo''s OWN rules with none of the author''s explanation, then verify every finding against the source before acting on it. Use when asked whether a change breaks, or still works with, another repo, app, harness or package consumer that depends on it. Triggers: "입장 리뷰", "받는 쪽에서 돌려 봐", "하위 레포에서 돌려 봐", "그 레포 규칙으로 검증해 줘", "standpoint review", "run it from the target", "check it from the downstream repo", "make sure it won''t break the repo that depends on it", "will this change break downstream users".'
|
|
4
|
+
version: 0.1
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# standpoint-review — review a change from the side that receives it
|
|
8
|
+
|
|
9
|
+
**Input**: the change (a diff such as `git diff <base>..HEAD > change.diff`, a dependency bump, or a
|
|
10
|
+
package build) and the repo or package that receives it.
|
|
11
|
+
|
|
12
|
+
**What it is, in one line**: family diversity (another model reads the diff) raises resolution
|
|
13
|
+
*within one standpoint*. Standpoint review changes *which ground truth* the change is checked against:
|
|
14
|
+
the receiving side's own rules, tests and conventions. A defect that only exists relative to the
|
|
15
|
+
receiver's conventions is invisible from the author's repo however many models read it.
|
|
16
|
+
|
|
17
|
+
**Why this exists (operator decision 2026-11-01)**: in forge-harness (FH) the standpoint axis runs as
|
|
18
|
+
an engine — a rule (`knowledge/shared/harness-core/field_verdict_crossfamily_gate.md` §7) plus a
|
|
19
|
+
commit-hook field (`standpoint:`) — for sessions running inside the harness repo. Someone who only
|
|
20
|
+
installs the plugin gets neither. This skill is the same procedure as a doorway they can call.
|
|
21
|
+
The rule file stays the canon; read it whenever it is present. This skill does not replace it.
|
|
22
|
+
|
|
23
|
+
🚫 **Not role-play.** «Act as if you were repo X» is a prompt-level disguise, not a standpoint. The
|
|
24
|
+
receiver has to actually run: its files, its checks, its rules loaded from its own tree.
|
|
25
|
+
|
|
26
|
+
## Step 0 — Does this apply? (decide before doing anything)
|
|
27
|
+
|
|
28
|
+
Answer *does this change alter how something else behaves — another repo, another harness, a plugin
|
|
29
|
+
consumer, or what a package delivers to its installers?* List **every** receiver, not the first one:
|
|
30
|
+
|
|
31
|
+
- **A named receiver** (a downstream repo, a sibling harness) → one target per repo.
|
|
32
|
+
- **An installer of a package** → one more target: a clean install of the packed artifact
|
|
33
|
+
(`npm pack` → install into an empty folder), not the source tree.
|
|
34
|
+
- **None** → report `standpoint: not-applicable(<what you checked>)` and stop. Most changes have no
|
|
35
|
+
receiver. That is a valid result, not a failure.
|
|
36
|
+
|
|
37
|
+
**Confidential receivers — decide here, before any copy is made.** A receiver holding company source,
|
|
38
|
+
customer data, secrets or internal names (or whose owner says so) must not have its content read by
|
|
39
|
+
**any** remote model, of any family, nor by a web tool or a paste service. That includes the session
|
|
40
|
+
running this skill: Steps 1–4 read the receiver's files and check output. So for such a receiver, run
|
|
41
|
+
Steps 1–4 only in a runtime the receiver's owner already uses for that repo under its own rules. If no
|
|
42
|
+
such runtime is available, record `DEGRADED_NOT_RUN(confidential — no approved local runtime)` for that
|
|
43
|
+
target and do not copy it.
|
|
44
|
+
|
|
45
|
+
A change that alters both a downstream repo and the published package owes **both**. Run Steps 1–5
|
|
46
|
+
once per target and emit one `standpoint:` line per target. Recording only the first hides the
|
|
47
|
+
second.
|
|
48
|
+
|
|
49
|
+
## Step 1 — Isolate the receiver (never work in the real one)
|
|
50
|
+
|
|
51
|
+
1. Make a fresh folder **outside every repository** (for example under `/private/tmp` or `$TMPDIR`).
|
|
52
|
+
Check that no parent folder holds a `CLAUDE.md`, `AGENTS.md` or `.git`. A session started
|
|
53
|
+
inside a repo loads that repo's instructions, and they leak into the review.
|
|
54
|
+
2. Copy the receiver in with `git clone --no-hardlinks <receiver> <copy>`, then
|
|
55
|
+
`git -C <copy> remote remove origin`, so that nothing run in the copy can push. Do **not** use
|
|
56
|
+
`git worktree add`. It writes a worktree entry and a branch into the real receiver's `.git`. For
|
|
57
|
+
an installer target, `npm pack` the change and install the tarball into an empty folder.
|
|
58
|
+
3. Make a temporary `HOME` for this run (`mkdir <tmp>/home`). Run every receiver check in Steps 2–4
|
|
59
|
+
with `HOME=<tmp>/home`. A receiver's own scripts may write to `~/…` or read real credentials.
|
|
60
|
+
4. Find the receiver's checks (Step 2 says where) and run them once **before** applying the change.
|
|
61
|
+
That is the baseline for Step 2. First install the receiver's dependencies inside the copy with
|
|
62
|
+
`HOME=<tmp>/home`: a clone has only committed files. Gitignored config or secrets the checks need
|
|
63
|
+
will be missing; if you cannot restore one, write the check it blocks as `UNMEASURED` in the Output.
|
|
64
|
+
5. Apply the change to **the copy** as an uncommitted patch (`git -C <copy> apply <diff>`), or as a
|
|
65
|
+
dependency bump or package install. Do not apply it as a branch with commits: commit messages
|
|
66
|
+
carry the author's rationale into the copy's `git log`, where the reviewer can read it.
|
|
67
|
+
6. 🟥 Never apply the change to the receiver's real checkout, and never push or publish from the copy.
|
|
68
|
+
7. The copy and the temporary `HOME` are precautions, not a sandbox: a receiver script that uses an
|
|
69
|
+
absolute path can still reach the real checkout or real credentials. Record
|
|
70
|
+
`git -C <receiver> status --porcelain --ignored` and `git -C <receiver> worktree list` now, and
|
|
71
|
+
compare them at the end (Done When). A difference means the run touched the original — say so.
|
|
72
|
+
The copy exists to be thrown away.
|
|
73
|
+
|
|
74
|
+
(Confidential receivers were settled in Step 0. If you reached here with one, you are already in the
|
|
75
|
+
owner's approved runtime.)
|
|
76
|
+
|
|
77
|
+
## Step 2 — Run the receiver's OWN checks
|
|
78
|
+
|
|
79
|
+
Find how the receiver verifies itself. Look in its own CI config, `package.json` scripts, `Makefile`,
|
|
80
|
+
test folders and contributor docs, in that order. Name the source you found each check in. Run those
|
|
81
|
+
commands in the copy. For an installer target there is usually no test suite in the package: run the
|
|
82
|
+
installed entry points the change touches (a hook, a CLI command, a selfcheck), and name each command
|
|
83
|
+
and its output.
|
|
84
|
+
|
|
85
|
+
- Record **each command and its output** (exit code, pass/fail counts). A check you did not run is
|
|
86
|
+
`not run`, never `pass`.
|
|
87
|
+
- If a check cannot run here (a missing tool, a secret, a service), name it as `UNMEASURED: <why>`.
|
|
88
|
+
Do not substitute a check of your own and call it theirs.
|
|
89
|
+
- Compare with the baseline from Step 1.4. A failure that is already present without the change is
|
|
90
|
+
not a finding about the change.
|
|
91
|
+
|
|
92
|
+
## Step 3 — Cold standpoint review
|
|
93
|
+
|
|
94
|
+
Start one reviewer whose working directory is the copy. A sub-agent spawned from your own session
|
|
95
|
+
usually inherits your session's folder and instructions, so start a fresh one from the copy, or open a
|
|
96
|
+
new session in that folder. For example:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
cd <copy> && claude -p --setting-sources user --strict-mcp-config \
|
|
100
|
+
--allowedTools 'Bash(<the receiver check command>)' Read Grep Glob < <task file>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
- **Let it run the checks.** Without `--allowedTools` (or a permission rule that allows the check
|
|
104
|
+
command), a headless reviewer cannot run anything: it reads files and asks for approval nobody gives,
|
|
105
|
+
and the review lands at tier1b, not tier2. Measured 2026-11-01: the same task with the flag pasted
|
|
106
|
+
the test output; without it the reviewer stopped at «approve the command when prompted».
|
|
107
|
+
- **Pass the task on stdin** from the saved file. `--allowedTools` takes several values and swallows a
|
|
108
|
+
prompt written after it; with the task on stdin that cannot happen.
|
|
109
|
+
- **Why the other two flags**: they keep the receiver's own project hooks and MCP servers from starting
|
|
110
|
+
with your real credentials when the reviewer opens the copy. The receiver's `CLAUDE.md` / `AGENTS.md`
|
|
111
|
+
still load, which is the point.
|
|
112
|
+
- **Keep your real `HOME` for the reviewer process** (a temporary `HOME` usually has no login), and tell
|
|
113
|
+
it to run the receiver's checks with `HOME=<tmp>/home`.
|
|
114
|
+
- **Two residuals to write in the Output**: ① your user-level instructions and installed plugins may
|
|
115
|
+
still load into the reviewer; ② if you could not use the two flags, the receiver's project hooks and
|
|
116
|
+
MCP servers ran with your real `HOME`.
|
|
117
|
+
- **No separate reviewer possible?** Do the review yourself in a separate pass and record
|
|
118
|
+
`reviewer: self — not independent`. That review has no cold-read value.
|
|
119
|
+
|
|
120
|
+
Give the reviewer exactly this:
|
|
121
|
+
|
|
122
|
+
- the diff (or the package version delta),
|
|
123
|
+
- the Step 2 results (commands and outputs),
|
|
124
|
+
- this task: *«Judge this change against THIS repository's own rules, conventions, tests and
|
|
125
|
+
documents. Run this repository's own checks yourself. For every finding, cite the file and line in
|
|
126
|
+
this repository that it rests on. Say which findings you verified by running something and which
|
|
127
|
+
you only read.»*
|
|
128
|
+
|
|
129
|
+
Do **not** give it the author's rationale, the PR description, earlier review comments or your own
|
|
130
|
+
suspicions. Those carry the author's standpoint back into the room. Give it the same diff a
|
|
131
|
+
cross-family reviewer gets. Only the ground truth differs. Save the exact task text to a file outside
|
|
132
|
+
the copy, so the Output can show what the reviewer was given.
|
|
133
|
+
|
|
134
|
+
## Step 4 — Verify every finding before acting on it
|
|
135
|
+
|
|
136
|
+
A finding is evidence, not a verdict. For each one:
|
|
137
|
+
|
|
138
|
+
1. Open the cited file and line in the copy. If they do not exist or do not say what the finding
|
|
139
|
+
claims, mark the finding `unsupported`.
|
|
140
|
+
2. If the finding predicts a behavior, reproduce it in the copy, and check whether it also happens
|
|
141
|
+
**without** the change.
|
|
142
|
+
3. Then classify it as `confirmed` (fix it on the author's side, then re-run Steps 1–3 on the fixed change; after two such rounds with new confirmed findings, stop and hand the open list to a person), `unsupported`
|
|
143
|
+
(drop it and say so), or `pre-existing` (the receiver's own issue, so report it to the receiver's
|
|
144
|
+
owner and keep it out of this change).
|
|
145
|
+
|
|
146
|
+
When a confirmed finding is fixed, revert that fix once on a throwaway copy and confirm the check that
|
|
147
|
+
caught it turns red again. Then restore the fix. A check that stays green with the fix reverted is not
|
|
148
|
+
watching that defect. If the finding came from reading and no check covers it, write
|
|
149
|
+
`revert check: UNMEASURED — no check covers it`.
|
|
150
|
+
|
|
151
|
+
## Step 5 — Grade what was actually done
|
|
152
|
+
|
|
153
|
+
Answer in order. Stop at the first STOP.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
Q1. Did the REVIEWER execute anything in the receiver's copy (a command, a script, a suite)?
|
|
157
|
+
(Your own Step 2 run is the baseline. It does not make a read-only reviewer an executing one.)
|
|
158
|
+
NO, the reviewer only read the receiver's files → tier1b(<receiver>) STOP
|
|
159
|
+
NO, the receiver was never opened → tier1 STOP
|
|
160
|
+
YES → Q2
|
|
161
|
+
(tier2 and tier2b BOTH require execution. Q1 comes first so nobody reasons backwards
|
|
162
|
+
into «tier2 is the reading rung».)
|
|
163
|
+
Q2. Was the receiver's own local / installed wiring in play (its settings, node-local state,
|
|
164
|
+
its real runtime), or only a bare copy of tracked files?
|
|
165
|
+
bare copy only → tier2(<receiver>) ← where an executing review in this procedure lands
|
|
166
|
+
real runtime → tier2b(<receiver>) ← only if you also ran it in the receiver's real
|
|
167
|
+
installed runtime, outside this procedure
|
|
168
|
+
Q3. Did a DIFFERENT HUMAN operator of the receiver run it, in their own runtime?
|
|
169
|
+
(A sub-agent or a fresh session you launched is not a different operator.)
|
|
170
|
+
YES → tier3(<receiver>) (overrides Q2)
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
When nothing was done at an applicable target, do not use a tier. Use one of these:
|
|
174
|
+
`DEGRADED_NO_TARGET_ACCESS(<why>)` — applicable, but no copy or access could be had ·
|
|
175
|
+
`DEGRADED_NOT_RUN(<why>)` — accessible, but the review was skipped ·
|
|
176
|
+
`UNKNOWN` — applicability was never assessed. Reading your own repo's notes *about* the receiver
|
|
177
|
+
is not a standpoint read. That is `DEGRADED_NOT_RUN`, not `tier1b`.
|
|
178
|
+
|
|
179
|
+
For `tier2` and above, the grounds must **name the command and its output**. For example:
|
|
180
|
+
`tier2(downstream-app) — ran \`npm test\` in the copy: 212 passed, 0 failed (same 212/0 without the change)`.
|
|
181
|
+
Without them it is `tier1b`.
|
|
182
|
+
|
|
183
|
+
## Output
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
standpoint review — <change> → <receiver>
|
|
187
|
+
isolation : <copy path> · change applied as <patch|branch|package>
|
|
188
|
+
own checks : <cmd> → <result> (without change: <result>) | UNMEASURED: <why>
|
|
189
|
+
reviewer : <how started, cwd> · given: <task file> (sha256 <first 12>) · residual: <user config loaded? project hooks/MCP ran?>
|
|
190
|
+
findings : <n> confirmed · <n> unsupported · <n> pre-existing (each with file:line)
|
|
191
|
+
revert check: <check> red on revert → green on restore | not applicable (no fix made)
|
|
192
|
+
standpoint: tier<…>(<receiver>) — <grounds: command + output, or what was read>
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Before pasting this anywhere (a PR body, an issue, a chat), strip what the receiver's owner would not
|
|
196
|
+
publish. For a confidential receiver, give the receiver an alias, drop paths and quoted content, and
|
|
197
|
+
keep only counts and verdicts.
|
|
198
|
+
|
|
199
|
+
Inside an FH hub, the last line goes into the change's 4-axis marker as the `standpoint:` field.
|
|
200
|
+
The commit hook checks its shape. It does not check that the run was real. That stays with the
|
|
201
|
+
reader.
|
|
202
|
+
|
|
203
|
+
## Done When
|
|
204
|
+
|
|
205
|
+
Check class per condition: mandatory-pass · measured · judged (a judged item names what it is paired with).
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
- *(mandatory-pass)* Step 0 was answered, and on `not-applicable` the skill stopped there.
|
|
209
|
+
- *(mandatory-pass)* The change was applied only to an isolated copy outside every repository. The receiver's
|
|
210
|
+
real checkout is untouched: `git -C <receiver> status --porcelain --ignored` and
|
|
211
|
+
`git -C <receiver> worktree list` read the same before and after.
|
|
212
|
+
- *(measured)* Every check found in the named sources is listed with its source, its command and its output
|
|
213
|
+
(or `UNMEASURED: <why>`), next to its baseline without the change.
|
|
214
|
+
- *(mandatory-pass)* The reviewer's task file holds the diff, the check results and the task, and nothing from
|
|
215
|
+
the author's side (no rationale, PR text or earlier comments). Its cwd was the copy, or the review is
|
|
216
|
+
recorded as `self — not independent`.
|
|
217
|
+
- *(judged — paired with Step 4's source check: the cited line is opened, not trusted)* Every finding is `confirmed`, `unsupported` or `pre-existing`, and each one cites a file and line
|
|
218
|
+
in the receiver.
|
|
219
|
+
- *(mandatory-pass)* Every target from Step 0 has its own `standpoint:` line, graded with Q1–Q3 or a
|
|
220
|
+
degrade value. Any `tier2`+ line names a command the reviewer ran and its output.
|
|
221
|
+
- *(mandatory-pass)* The throwaway copy has been deleted, or its path is reported for the operator to delete.
|
|
222
|
+
|
|
223
|
+
## Constraints
|
|
224
|
+
|
|
225
|
+
- Never write to the receiver's real checkout, and never push or publish from the copy.
|
|
226
|
+
- Never send confidential or company receiver content to any remote model or off the machine.
|
|
227
|
+
- Never grade `tier2` or above for a read-only review.
|
|
228
|
+
- Never adopt a finding without Step 4. A reviewer that is confidently wrong is still wrong.
|
|
229
|
+
- Smallest first: this skill adds no script. Isolation reuses `git clone` and `npm pack`. Inside an FH hub, `scripts/sim_isolated_run.sh` clones and patches FH itself.
|
|
230
|
+
|
|
231
|
+
## Provenance
|
|
232
|
+
|
|
233
|
+
Formalized in FH on 2026-08-14 (`field_verdict_crossfamily_gate.md` §7, standpoint axis). It runs as
|
|
234
|
+
the `standpoint:` marker field enforced by the FH commit hook. This skill was added on 2026-11-01 so
|
|
235
|
+
that installs without the hub repo can run the same axis.
|
|
@@ -2,6 +2,32 @@
|
|
|
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
|
+
|
|
17
|
+
### [3.36.0] — 2026-11-01 — 새 스킬 standpoint-review(받는 쪽에서 변경 검토) · deliberation 예시 기록 수리
|
|
18
|
+
|
|
19
|
+
훅 변경은 없다. 스크립트 변경도 없다. 새 스킬이 들어가서 버전 정책상 minor 다.
|
|
20
|
+
|
|
21
|
+
In English: new fh-commons skill `standpoint-review` — apply a change inside an isolated copy of the repo or package that receives it, run that side's own checks, and have a reviewer with no author explanation judge it by that side's rules. No hook or script changes.
|
|
22
|
+
|
|
23
|
+
소비자에게 닿는 변화:
|
|
24
|
+
- 새 스킬 `standpoint-review`(fh-commons, #997): 다른 레포나 패키지를 받아 쓰는 쪽에 영향을 주는 변경을, **받는 쪽에서** 검토한다. 받는 쪽 레포(또는 패키지를 깨끗이 설치한 폴더)를 모든 레포 밖 임시 폴더에 복사하고, 거기에만 변경을 적용한 뒤, 받는 쪽이 원래 쓰는 검사를 돌린다. 그다음 작성자 설명 없이 diff · 검사 결과 · 과제만 받은 별도 리뷰어가 받는 쪽 규칙으로 판정하고, 지적마다 원문과 대조해 확인 / 근거 없음 / 원래 있던 문제로 가른다. 끝에 «리뷰어가 실제로 실행했나 · 실제 런타임이었나 · 다른 사람이 돌렸나» 세 질문으로 등급을 매긴다. 회사 기밀이 든 대상은 승인된 로컬 런타임이 없으면 돌리지 않고 `DEGRADED_NOT_RUN` 으로 적는다. 변경은 복사본에만 적용하고, 끝에 원래 레포의 상태가 전후로 같은지 확인한다. 복사본과 임시 `HOME` 은 예방 조치이지 샌드박스가 아니다 — 받는 쪽 검사가 절대 경로로 원본을 건드리는 것까지 막지는 못하고, 그 확인이 잡는다. 하네스 레포 안에서 돌리는 엔진(`field_verdict_crossfamily_gate.md §7`)과 같은 절차를, 플러그인만 깐 사용자도 부를 수 있게 따로 만든 것이다. fh-commons 스킬은 6개에서 7개가 됐다.
|
|
25
|
+
- `standpoint-review` 출하 전 수리(이 릴리스):
|
|
26
|
+
- 트리거: 플러그인만 얹은 Sonnet 세션에 «받는 쪽이 안 깨지는지 봐 달라» 를 줬을 때 한글 문장은 4/4 스킬을 불렀고 영어 문장은 0/2 였다. 그 두 번은 스킬 없이 파일만 읽고 «테스트는 직접 못 돌렸다» 로 끝났다. 설명의 «Use when» 을 «다른 레포 · 앱 · 패키지 사용자를 깨뜨리나, 아직 되나» 라는 질문형으로 바꾸고 영어 트리거 둘을 더했다. 고친 뒤 처음 보는 영어 문장 둘은 합쳐 3/4, 한글은 2/2, 스킬이 뜨면 안 되는 대조 요청(코드 스타일 리뷰)은 고치기 전후 합쳐 0/4 였다. 표본이 작다.
|
|
27
|
+
- 리뷰어 실행 권한: 예시 명령에 `--allowedTools 'Bash(<검사 명령>)' …` 이 없어서, 문서대로 띄운 헤드리스 리뷰어는 검사를 못 돌리고 승인을 기다렸다(같은 과제로 대조: 플래그 있음 = 테스트 출력 붙임 · 없음 = 승인 요청에서 멈춤). 예시에 플래그를 넣고, 없으면 tier2 가 아니라 tier1b 라고 적었다.
|
|
28
|
+
- 복사본에서 의존성을 먼저 설치하라는 줄, 복원 못 하는 설정이 막는 검사는 `UNMEASURED` 로 적으라는 줄, 첫머리 «입력» 한 줄을 넣었다. `CHEATSHEET.md` §12 에 이 스킬 줄을 더했다.
|
|
29
|
+
- `deliberation` Step 0 예시 기록(#995): Step 1–2 는 Innovator 와 Devil-Advocate 를 격리 없이 돌리고 Mediator 만 격리한다고 정하는데, Step 0 예시 기록 두 줄은 두 역할을 «isolated instance» 로 적고 있었다. 그 두 줄만 절차대로 고쳤다. 격리 규칙은 바뀌지 않았다.
|
|
30
|
+
|
|
5
31
|
### [3.35.0] — 2026-11-01 — degrade 검사가 스테이징된 내용을 본다 · 머지 기록 자동 한 줄 · selfcheck 샤드 · 스킬 7개 분리 · 에이전트 Done When
|
|
6
32
|
|
|
7
33
|
훅 한 줄이 바뀌었다(`templates/.git-hooks/pre-commit` 이 degrade 검사에 `--staged` 를 넘긴다). 스크립트 옵션이 둘 늘었다(`degrade_direction_scan.sh --staged` · `selfcheck.sh --shard i/N`). 새 동작이 들어가서 버전 정책상 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
|