@chrono-meta/fh-gate 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +4 -4
- package/CLAUDE.md +2 -2
- package/README.ja.md +2 -4
- package/README.ko.md +2 -4
- package/README.md +19 -19
- package/README.zh.md +2 -4
- package/knowledge/shared/harness-core/fh_module_contract.md +97 -0
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +81 -0
- package/package.json +10 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +84 -4
- package/plugins/fh-commons/skills/ko-tech-writer/fh-module.yaml +19 -0
- package/plugins/fh-commons/skills/ko-tech-writer/fixtures/known_negative.md +73 -1
- package/plugins/fh-commons/skills/ko-tech-writer/fixtures/known_positive.md +39 -1
- package/plugins/fh-commons/skills/ko-tech-writer/fixtures/known_unclosed.md +6 -0
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +10 -0
- package/plugins/fh-meta/skills/frontier-digest/SKILL.md +14 -10
- package/plugins/fh-meta/skills/frontier-digest/SKILL_detail.md +17 -1
- package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
- package/scripts/fh_module_check.py +686 -0
- package/scripts/fixtures/frontier_digest_recall.tsv +5 -0
- package/scripts/ko_tech_writer_calibrate.py +288 -15
- package/scripts/probe_live_eval.sh +19 -1
- package/scripts/probe_live_eval_lib.py +174 -5
- package/scripts/resident_cost.py +1 -1
- package/scripts/selfcheck.sh +7 -1
- package/scripts/session_checklist.py +66 -0
- package/scripts/session_close_check.sh +44 -0
- package/scripts/sim_isolated_run.sh +31 -0
- package/scripts/test_claude_md_size_lanes.sh +22 -7
- package/scripts/test_fh_module_check_lanes.sh +581 -0
- package/scripts/test_frontier_digest_recall.sh +26 -0
- package/scripts/test_frontier_digest_recall_negctl.sh +15 -0
- package/scripts/test_ko_tech_writer_lanes.sh +1 -1
- package/scripts/test_probe_live_eval_lanes.sh +116 -0
- package/scripts/test_resident_cost_lanes.sh +1 -1
- package/scripts/test_session_checklist_lanes.sh +29 -0
- package/scripts/test_sim_isolated_run_lanes.sh +51 -0
- package/scripts/test_utterance_checklist_hook_lanes.sh +175 -0
- package/scripts/utterance_checklist_hook.py +193 -0
- package/scripts/utterance_checklist_hook.sh +31 -0
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "fh-meta",
|
|
14
|
-
"version": "3.
|
|
14
|
+
"version": "3.28.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.
|
|
20
|
+
"version": "3.28.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.
|
|
26
|
+
"version": "3.28.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.
|
|
32
|
+
"version": "3.28.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
|
@@ -9,7 +9,7 @@ FH is **governance engineering**: drive error rates down, *and* hold the surface
|
|
|
9
9
|
Method: 3-stage process (success definition first → decorrelated parallel acceleration → 6-axis burn-in). Canon: `knowledge/shared/harness-core/fh_three_layer_canon.md`.
|
|
10
10
|
|
|
11
11
|
## Voice / Tone
|
|
12
|
-
Reply in the user's language and register (Korean → match 반말/존댓말 of their last message; never drift within a session). A local pin sets register, never language. Warm words, plain judgment: a softer tone never relaxes verification. Disagree plainly when the work calls for it.
|
|
12
|
+
Reply in the user's language and register (Korean → match 반말/존댓말 of their last message; never drift within a session). This covers **everything the user sees in a turn**, progress notes between tool calls included — that is where drift happens, mid-turn after long tool work and right after compaction; English stays in commit messages, code and agent prompts (a UserPromptSubmit hook restates it on each mostly-Hangul message). A local pin sets register, never language. Warm words, plain judgment: a softer tone never relaxes verification. Disagree plainly when the work calls for it.
|
|
13
13
|
|
|
14
14
|
## Judgment rules that have no hook (Mechanization Boundary · Skeleton · Instrument Calibration · Local Execution · Envelope-Boundary)
|
|
15
15
|
- **Machinery only at irreversible edges and channels; judgment stays judgment.** A check may assert a property of the record (present · typed · attributable), not a conclusion.
|
|
@@ -89,7 +89,7 @@ Isolated delegation is part of the identity: dispatch separable work (blind eval
|
|
|
89
89
|
Propose a skill in one line; never re-propose one the user rejected 3× (UAP: `tracks/_meta/user_adaptation_profile.md`). Before offering to stop asking after 3 consecutive accepts, read `claude_md_full_reference.md §Operational Adaptation Loop` — classes that touch or feed an irreversible sink never promote. At session start and on entering field acceleration or an FH-asset change, apply `claude_md_full_reference.md §Cadence Rules` and §Event-bound proposals.
|
|
90
90
|
|
|
91
91
|
## Session Wrap-up (fires on "wrap up / done / 마무리 / 마감" in any language)
|
|
92
|
-
Read `claude_md_full_reference.md §Session Wrap-up` first (thread-continuation block, Agent View pre-read, multi-session close). ① git status + unpushed → ①-b open-PR sweep (propose merges, never auto) → ①-f `scripts/utterance_intake.sh` → ② harvest-loop if FH assets changed or `close_retro` is granted → ③ sync to the companion store if you keep one — an ephemeral/cloud session leaves a handoff somewhere durable before it ends → ④ memory hygiene → ④-b npm freshness (propose republish, never auto; version digit policy in `claude_md_gate_details.md §Version-Digit-Policy`) → ④-c stamp superseded handoffs → ⑤ append close findings to `tracks/_meta/fh_completed_{date}.md`, **then** rewrite `tracks/_meta/reference_next_session_starter.md` (card last; anything dropped from the card must be logged done or explained) → ⑥ `FH_SESSION_CLOSE=1 git push`. Log completed items in `fh_completed_{date}.md` as they finish, not at close. Detail: `claude_md_full_reference.md §Session Wrap-up`.
|
|
92
|
+
Read `claude_md_full_reference.md §Session Wrap-up` first (thread-continuation block, Agent View pre-read, multi-session close). ① git status + unpushed → ①-b open-PR sweep (propose merges, never auto) → ①-f `scripts/utterance_intake.sh` → ①-g request-checklist result sheet: `scripts/session_checklist.py extract` → fill 상태 with evidence/reasons → **show the operator the table**, open rows first (a hook also nudges this mid-session, every 15 written-down requests) → ② harvest-loop if FH assets changed or `close_retro` is granted → ③ sync to the companion store if you keep one — an ephemeral/cloud session leaves a handoff somewhere durable before it ends → ④ memory hygiene → ④-b npm freshness (propose republish, never auto; version digit policy in `claude_md_gate_details.md §Version-Digit-Policy`) → ④-c stamp superseded handoffs → ⑤ append close findings to `tracks/_meta/fh_completed_{date}.md`, **then** rewrite `tracks/_meta/reference_next_session_starter.md` (card last; anything dropped from the card must be logged done or explained) → ⑥ `FH_SESSION_CLOSE=1 git push`. Log completed items in `fh_completed_{date}.md` as they finish, not at close. Detail: `claude_md_full_reference.md §Session Wrap-up`.
|
|
93
93
|
|
|
94
94
|
## Where the rest lives
|
|
95
95
|
`claude_md_full_reference.md` (everything previously resident) · `claude_md_gate_details.md` · `fh_detail_protocols.md` · `knowledge/shared/rules/` (operations, sync/push, modes) · `CATALOG.md` (search index) · `.claude/rules/fh_4axis_gate.md`.
|
package/README.ja.md
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
6
7
|
<a href="https://github.com/walkinglabs/awesome-harness-engineering#coding-agent-harnesses"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Harness Engineering"></a>
|
|
7
8
|
<a href="https://github.com/VoltAgent/awesome-agent-skills#community-skills"><img src="https://img.shields.io/badge/listed_in-awesome--agent--skills-0ea5e9.svg" alt="Listed in awesome-agent-skills"></a>
|
|
8
|
-
<a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg" alt="Claude Code compatible — official Claude Code repository"></a>
|
|
9
|
-
<a href="https://chrono-meta.github.io/forge-harness/"><img src="https://img.shields.io/badge/whole_map-interactive-6366f1.svg" alt="FH whole map — interactive diagrams on GitHub Pages"></a>
|
|
10
9
|
<a href="https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict"><img src="https://img.shields.io/badge/GitHub_Action-marketplace-2088FF.svg" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
11
10
|
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/v/@chrono-meta/fh-gate.svg?color=cb3837" alt="npm"></a>
|
|
12
11
|
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg" alt="Homebrew tap"></a>
|
|
13
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
|
|
14
12
|
</p>
|
|
15
13
|
|
|
16
14
|
<p align="center">
|
|
@@ -34,7 +32,7 @@
|
|
|
34
32
|
|
|
35
33
|
| 得られるもの | 実際には | 根拠 |
|
|
36
34
|
|---|---|---|
|
|
37
|
-
| **マージ前のゲート** | 変更が入る*前*に diff を判定し、その変更が何を失ったかを名指しします。判定は grep する文章ではなく、型を持つ値(`PASS · PENDING · BLOCKED · ESCALATE`)です。エージェントのコードだけでなく、自分で書いたコードにも働きます。 | 下のデモ GIF · 他人が書いたコードでの実行と穴を仕込んだテスト(サンプル数つき): [根拠](#根拠とその限界) |
|
|
35
|
+
| **マージ前のゲート** | 変更が入る*前*に diff を判定し、その変更が何を失ったかを名指しします。判定は grep する文章ではなく、型を持つ値(`PASS · PENDING · BLOCKED · ESCALATE`)です。エージェントのコードだけでなく、自分で書いたコードにも働きます。 | 下のデモ GIF · 他人が書いたコードでの実行と穴を仕込んだテスト(サンプル数つき): [根拠](#根拠とその限界) · 方法論と統制されたアブレーション: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
|
|
38
36
|
| **引き継がれる記憶** | `tracks/` に各セッションで学んだことが残り、2 回目のセッションは 1 回目が止まったところから始まります。 | 設計意図です。セッション終了時に `tracks/_meta/` のカードが更新され、次のセッションが起動時にそれを読みます([`CLAUDE.md`](CLAUDE.md) §Session Wrap-up)。このページには計測された効果へのリンクはありません。2 回目のセッションから現れる効果でもあります。 |
|
|
39
37
|
| **検査を選んでくれる相手** | 「このプロジェクトを診断して」または「このプロジェクトを加速して」と言うと、直すもの・入れるものの優先順位つき一覧が返ります。項目ごとに承認するまで何も変更されません。 | [`CLAUDE.md`](CLAUDE.md) に記述あり(§Field-Harness Diagnostic)。どのくらいの頻度で当たるかのベンチマークはなし |
|
|
40
38
|
|
package/README.ko.md
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
6
7
|
<a href="https://github.com/walkinglabs/awesome-harness-engineering#coding-agent-harnesses"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Harness Engineering"></a>
|
|
7
8
|
<a href="https://github.com/VoltAgent/awesome-agent-skills#community-skills"><img src="https://img.shields.io/badge/listed_in-awesome--agent--skills-0ea5e9.svg" alt="Listed in awesome-agent-skills"></a>
|
|
8
|
-
<a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg" alt="Claude Code compatible — official Claude Code repository"></a>
|
|
9
|
-
<a href="https://chrono-meta.github.io/forge-harness/"><img src="https://img.shields.io/badge/whole_map-interactive-6366f1.svg" alt="FH whole map — interactive diagrams on GitHub Pages"></a>
|
|
10
9
|
<a href="https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict"><img src="https://img.shields.io/badge/GitHub_Action-marketplace-2088FF.svg" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
11
10
|
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/v/@chrono-meta/fh-gate.svg?color=cb3837" alt="npm"></a>
|
|
12
11
|
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg" alt="Homebrew tap"></a>
|
|
13
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
|
|
14
12
|
</p>
|
|
15
13
|
|
|
16
14
|
<p align="center">
|
|
@@ -36,7 +34,7 @@
|
|
|
36
34
|
|
|
37
35
|
| 얻는 것 | 실제로는 | 근거 |
|
|
38
36
|
|---|---|---|
|
|
39
|
-
| **머지 전 게이트** | 변경이 들어오기 *전에* diff 를 판정하고, 판정문은 그 변경이 무엇을 잃었는지 이름으로 짚어 줍니다. 판정은 grep 으로 뒤지는 글이 아니라 타입이 있는 값(`PASS · PENDING · BLOCKED · ESCALATE`)입니다. 에이전트가 쓴 코드뿐 아니라 직접 쓴 코드에도 동작합니다. | 아래 데모 GIF · 남이 쓴 코드에 돌린 실행과 구멍을 심은 시험(표본 크기 포함): [근거](#근거) |
|
|
37
|
+
| **머지 전 게이트** | 변경이 들어오기 *전에* diff 를 판정하고, 판정문은 그 변경이 무엇을 잃었는지 이름으로 짚어 줍니다. 판정은 grep 으로 뒤지는 글이 아니라 타입이 있는 값(`PASS · PENDING · BLOCKED · ESCALATE`)입니다. 에이전트가 쓴 코드뿐 아니라 직접 쓴 코드에도 동작합니다. | 아래 데모 GIF · 남이 쓴 코드에 돌린 실행과 구멍을 심은 시험(표본 크기 포함): [근거](#근거) · 방법론과 통제된 제거 실험: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
|
|
40
38
|
| **이어지는 기억** | `tracks/` 에 세션마다 배운 것이 남아서, 두 번째 세션이 첫 번째 세션이 멈춘 자리에서 시작합니다. | 세션을 마칠 때 `tracks/_meta/` 의 카드가 갱신되고, 다음 세션은 그 카드를 읽고 시작합니다([`CLAUDE.md`](CLAUDE.md) §Session Wrap-up). |
|
|
41
39
|
| **검사를 대신 골라 주는 상대** | "이 프로젝트 진단해줘" 또는 "이 프로젝트 가속화해줘"라고 하면 고치거나 설치할 것의 우선순위 목록을 받습니다. 항목마다 승인하기 전에는 아무것도 바뀌지 않습니다. | 절차는 [`CLAUDE.md`](CLAUDE.md) §Field-Harness Diagnostic 에 있습니다. 항목마다 승인한 뒤에만 반영합니다 |
|
|
42
40
|
|
package/README.md
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
6
7
|
<a href="https://github.com/walkinglabs/awesome-harness-engineering#coding-agent-harnesses"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Harness Engineering"></a>
|
|
7
8
|
<a href="https://github.com/VoltAgent/awesome-agent-skills#community-skills"><img src="https://img.shields.io/badge/listed_in-awesome--agent--skills-0ea5e9.svg" alt="Listed in awesome-agent-skills"></a>
|
|
8
|
-
<a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg" alt="Claude Code compatible — official Claude Code repository"></a>
|
|
9
|
-
<a href="https://chrono-meta.github.io/forge-harness/"><img src="https://img.shields.io/badge/whole_map-interactive-6366f1.svg" alt="FH whole map — interactive diagrams on GitHub Pages"></a>
|
|
10
9
|
<a href="https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict"><img src="https://img.shields.io/badge/GitHub_Action-marketplace-2088FF.svg" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
11
10
|
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/v/@chrono-meta/fh-gate.svg?color=cb3837" alt="npm"></a>
|
|
12
11
|
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg" alt="Homebrew tap"></a>
|
|
13
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
|
|
14
12
|
</p>
|
|
15
13
|
|
|
16
14
|
<p align="center">
|
|
@@ -38,7 +36,7 @@ themselves or of finding out too late that a change was wrong. You get three thi
|
|
|
38
36
|
|
|
39
37
|
| You get | In practice | Evidence |
|
|
40
38
|
|---|---|---|
|
|
41
|
-
| **A gate before merge** | A diff is judged *before* it lands, and the verdict names what the change lost. The verdict is a typed value (`PASS · PENDING · BLOCKED · ESCALATE`), not text you grep. It works on your own code, not only an agent's. | Demo GIF below · a run on code someone else wrote and a planted-hole test, with sample sizes: [Evidence](#evidence) |
|
|
39
|
+
| **A gate before merge** | A diff is judged *before* it lands, and the verdict names what the change lost. The verdict is a typed value (`PASS · PENDING · BLOCKED · ESCALATE`), not text you grep. It works on your own code, not only an agent's. | Demo GIF below · a run on code someone else wrote and a planted-hole test, with sample sizes: [Evidence](#evidence) · method and controlled ablation: [arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
|
|
42
40
|
| **Memory that carries over** | `tracks/` keeps what each session learned, so session 2 starts where session 1 stopped. | At session end the card in `tracks/_meta/` is updated, and the next session starts from it ([`CLAUDE.md`](CLAUDE.md) §Session Wrap-up). |
|
|
43
41
|
| **Someone who picks the check for you** | Say "diagnose this project" or "accelerate this project" and you get a ranked list of what to fix or install. Nothing is changed until you approve each item. | The procedure is in [`CLAUDE.md`](CLAUDE.md) §Field-Harness Diagnostic. Each item lands only after you approve it |
|
|
44
42
|
|
|
@@ -99,22 +97,24 @@ or the `tracks/` memory. First-time walkthrough in Korean: [`docs/USER_GUIDE.md`
|
|
|
99
97
|
This is the intended flow. Which steps are enforced by code and which by rules the AI is told to follow is
|
|
100
98
|
in the "What FH does, and how far it goes" table below and in [`docs/map/FH_MAP.md`](docs/map/FH_MAP.md).
|
|
101
99
|
|
|
100
|
+
```mermaid
|
|
101
|
+
flowchart TD
|
|
102
|
+
A["You say what you want<br/>(plain language)"] --> B["FH reads the intent"] --> C["Forges it into one of two forms"]
|
|
103
|
+
C --> R1["Rules an AI follows<br/>(CLAUDE.md, skills)"]
|
|
104
|
+
C --> R2["Code that needs no AI<br/>(hooks, gates, scripts)"]
|
|
105
|
+
R1 --> S1
|
|
106
|
+
R2 --> S1
|
|
107
|
+
subgraph G["Every change to the harness passes through"]
|
|
108
|
+
direction TB
|
|
109
|
+
S1["1. Write down what counts as success and what it never does, *before* designing"] --> S2["2. Try it from several independent angles<br/>(another model family, another repo's view)"] --> S3["3. Attack it until what is left is sound, then ship"]
|
|
110
|
+
end
|
|
102
111
|
```
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
│ 1. write down "what counts as success / what it never does" BEFORE designing
|
|
110
|
-
│ 2. try it from several independent angles (other model family, other repo's view)
|
|
111
|
-
│ 3. attack it until what is left is sound — then ship
|
|
112
|
-
└──────────────────────────────────────────────────────────┘
|
|
113
|
-
│
|
|
114
|
-
irreversible steps (publish · delete · rewrite history) stop and ask a human
|
|
115
|
-
what a check could not measure is reported as "not measured" — never as 0
|
|
116
|
-
what each session learned is written to tracks/ ──► the next session starts there
|
|
117
|
-
```
|
|
112
|
+
|
|
113
|
+
If the diagram does not render: you say what you want → FH reads the intent → forges it into rules an AI follows or code that needs no AI → (every change) 1. write down success and what it never does first → 2. try it from independent angles → 3. attack it until what is left is sound, then ship.
|
|
114
|
+
|
|
115
|
+
- Irreversible steps (publish · delete · rewrite history) stop and ask a human
|
|
116
|
+
- What a check could not measure is reported as "not measured", never as 0
|
|
117
|
+
- What each session learned is written to `tracks/`, and the next session starts there
|
|
118
118
|
|
|
119
119
|
The hub (this repo) holds shared `knowledge/` and per-project `tracks/`; each project you connect points
|
|
120
120
|
back to it. Full map, every node a real path: [`docs/map/FH_MAP.md`](docs/map/FH_MAP.md) (interactive:
|
package/README.zh.md
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
6
7
|
<a href="https://github.com/walkinglabs/awesome-harness-engineering#coding-agent-harnesses"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Harness Engineering"></a>
|
|
7
8
|
<a href="https://github.com/VoltAgent/awesome-agent-skills#community-skills"><img src="https://img.shields.io/badge/listed_in-awesome--agent--skills-0ea5e9.svg" alt="Listed in awesome-agent-skills"></a>
|
|
8
|
-
<a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg" alt="Claude Code compatible — official Claude Code repository"></a>
|
|
9
|
-
<a href="https://chrono-meta.github.io/forge-harness/"><img src="https://img.shields.io/badge/whole_map-interactive-6366f1.svg" alt="FH whole map — interactive diagrams on GitHub Pages"></a>
|
|
10
9
|
<a href="https://github.com/marketplace/actions/fh-gate-typed-ai-code-review-verdict"><img src="https://img.shields.io/badge/GitHub_Action-marketplace-2088FF.svg" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
11
10
|
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/v/@chrono-meta/fh-gate.svg?color=cb3837" alt="npm"></a>
|
|
12
11
|
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg" alt="Homebrew tap"></a>
|
|
13
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
|
|
14
12
|
</p>
|
|
15
13
|
|
|
16
14
|
<p align="center">
|
|
@@ -34,7 +32,7 @@
|
|
|
34
32
|
|
|
35
33
|
| 你得到 | 实际表现 | 证据 |
|
|
36
34
|
|---|---|---|
|
|
37
|
-
| **合并前的门禁** | 在改动落地*之前*判定 diff,判定会点名这次改动丢掉了什么。判定是有类型的值(`PASS · PENDING · BLOCKED · ESCALATE`),而不是需要你去 grep 的文字。对 agent 写的代码有效,对你自己写的代码同样有效。 | 下方演示 GIF · 一次对他人所写代码的运行与一次埋洞测试,附样本量:[证据](#证据以及它薄弱的地方) |
|
|
35
|
+
| **合并前的门禁** | 在改动落地*之前*判定 diff,判定会点名这次改动丢掉了什么。判定是有类型的值(`PASS · PENDING · BLOCKED · ESCALATE`),而不是需要你去 grep 的文字。对 agent 写的代码有效,对你自己写的代码同样有效。 | 下方演示 GIF · 一次对他人所写代码的运行与一次埋洞测试,附样本量:[证据](#证据以及它薄弱的地方) · 方法与受控消融实验:[arXiv:2609.04218](https://arxiv.org/abs/2609.04218) |
|
|
38
36
|
| **能延续的记忆** | `tracks/` 记录每次会话学到的东西,第 2 次会话从第 1 次停下的地方开始。 | 设计意图。会话结束时更新 `tracks/_meta/` 里的卡片,下次会话启动时读取它([`CLAUDE.md`](CLAUDE.md) §Session Wrap-up)。本页没有链接任何实测收益;而且它要从第 2 次会话起才看得出来。 |
|
|
39
37
|
| **替你挑检查的帮手** | 说“诊断这个项目”或“加速这个项目”,你会得到一份按优先级排序的待修复/待安装清单。逐项批准之前不会改动任何东西。 | 描述见 [`CLAUDE.md`](CLAUDE.md)(§Field-Harness Diagnostic);没有关于它命中率的基准测试 |
|
|
40
38
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fh-module-contract
|
|
3
|
+
description: FH module contract v0 - a module is a cartridge that plugs into FH and can be pulled out; it may add constraints but never weaken the core floor. Closed-enum manifest (fh-module.yaml), install-time check, removal rule. Checker - scripts/fh_module_check.py.
|
|
4
|
+
date: 2026-10-17
|
|
5
|
+
tags: [module, manifest, core-floor, restriction-union, install-check]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# FH Module Contract v0
|
|
9
|
+
|
|
10
|
+
> One rule: **a module may add constraints; it may never weaken the core floor.**
|
|
11
|
+
> This file adds the *packaging* layer. It does not restate the two contracts it sits on:
|
|
12
|
+
> - `capability_composition_contract.md` - how constraints merge (strictest-wins, closed enums, typed invocation). A module's `adds_constraints` and the merge of two modules are that contract's rules, unchanged.
|
|
13
|
+
> - `fh_integration_contract.md` - the verdict vocabulary and exit codes a caller sees. A module's verdict entry points use the same three-way split.
|
|
14
|
+
|
|
15
|
+
## 1. Core floor (no module may weaken)
|
|
16
|
+
|
|
17
|
+
1. Irreversible-op gates: publish, delete, history-rewrite (CLAUDE.md Irreversibility Gates).
|
|
18
|
+
2. Fail-closed: a check whose tooling is down blocks.
|
|
19
|
+
3. Company-data boundary: company data never leaves the machine.
|
|
20
|
+
4. NOT_MEASURED is never PASS.
|
|
21
|
+
|
|
22
|
+
5. **Added hooks may only observe.** A module hook cannot allow, rewrite input (`updatedInput`), set a `permissionDecision`, touch `core.hooksPath`, `.git/hooks` or `settings*.json`, or chmod/rm hook files. **In v0 only `SessionEnd` is open to modules.** Gating events (`PreToolUse`, `PermissionRequest`) and every event that can inject context or block (PostToolUse via `additionalContext`, SessionStart, UserPromptSubmit, Stop, SubagentStop, PreCompact, git-pre-commit, git-pre-push) are **closed**: a text scan of a hook body cannot prove it never emits a decision (`decision.behavior`, a key built from pieces) — cross-family review 2026-10-18 showed both — so these events are closed rather than scanned. Reopening them needs the core wrapper below. `action: add` alone is not harmless; commands are shape-checked and scanned (section 3).
|
|
23
|
+
|
|
24
|
+
The checker takes the **core hook list** from the tracked hook sources: script names wired in `templates/settings.*.snippet.json` and the hook names under `templates/.git-hooks/`. An empty or unreadable list is UNMEASURED, never a pass.
|
|
25
|
+
|
|
26
|
+
## 2. Manifest - `fh-module.yaml`
|
|
27
|
+
|
|
28
|
+
Unknown key or unknown enum value = BLOCK. Missing required field = BLOCK.
|
|
29
|
+
|
|
30
|
+
| Field | Values |
|
|
31
|
+
|---|---|
|
|
32
|
+
| `id` | lowercase slug |
|
|
33
|
+
| `version` | `MAJOR.MINOR.PATCH` |
|
|
34
|
+
| `provides.skills` / `.agents` | lists of names |
|
|
35
|
+
| `provides.hooks[]` | `{event, command, matcher?, action?, order?}`; `event` must be a known event name (PreToolUse, PermissionRequest, PostToolUse, SessionStart, SessionEnd, Stop, SubagentStop, UserPromptSubmit, PreCompact, git-pre-commit, git-pre-push) and, in v0, `SessionEnd`; `action` only `add`; `order` only `append` |
|
|
36
|
+
| `provides.verdicts[]` | `{entry, command, exit_codes:{pass: 0, block: 1, unmeasured: 2}}` — exactly these values (callers read 0 as proceed; any other mapping can turn a block into a pass) |
|
|
37
|
+
| `adds_constraints[]` | `{axis, value}` on the permission axes of the composition contract: `approval`, `reversibility`, `residency`, `degrade` |
|
|
38
|
+
| `touches_irreversible` | `none` / `publish` / `delete` / `history` |
|
|
39
|
+
| `core_route` | required iff `touches_irreversible` is not `none`: publish -> `pre-publish` or `public-surface-audit`; delete, history -> `destructive-op`. Forbidden when `none` |
|
|
40
|
+
| `data_class` | `public` / `private` / `company` |
|
|
41
|
+
| `requires` | `{modules: [ids], core_min: MAJOR.MINOR.PATCH}` |
|
|
42
|
+
| `calibration` | `{command: <known-pair test>}` or the literal `UNCALIBRATED` (allowed, reported as a note, never a verdict). **v0 checks presence and shape only — the checker does not run the calibration command** |
|
|
43
|
+
| `files` | optional list of repo-relative paths the module ships besides its skill/agent folders and command files; `export` copies exactly these |
|
|
44
|
+
| `records` | optional list of paths the module writes (used by removal) |
|
|
45
|
+
|
|
46
|
+
## 3. Install-time check (`scripts/fh_module_check.py check`)
|
|
47
|
+
|
|
48
|
+
Exit codes: **0 OK, 1 BLOCK, 2 UNMEASURED, 3 OK-but-UNCALIBRATED** (valid, no verdict entry points, `calibration: UNCALIBRATED`; callers must not treat 3 as a clean pass). Unreadable, empty, or non-mapping input is 2; PyYAML missing is 2; an internal error is 2. Nothing unreadable or unknown exits 0.
|
|
49
|
+
|
|
50
|
+
**Caller rule:** proceed only on rc==0. rc==3 = refuse, unless an explicit operator flag installs the module inert (no hooks, no verdicts active). Anything else (1, 2, or any other code) = refuse.
|
|
51
|
+
|
|
52
|
+
**Command shape (hook, verdict and calibration commands):** exactly `bash|sh|python3|node <repo-relative existing file> [simple args]`. BLOCK on any of `$`, backtick, `;`, `&`, `|`, `<`, `>`, backslash, quotes, parentheses, globs, `eval`, `base64`, a `-c` argument, an absolute path or `..` — in the file **and in every argument** (including `--opt=value`). A trailing-backslash line continuation is joined before scanning. A missing or unreadable referenced file is UNMEASURED. The file's sha256 is printed (a NOTE) so a later swap is detectable.
|
|
53
|
+
|
|
54
|
+
1. Manifest present, every value inside its enum.
|
|
55
|
+
2. Hooks do not override, disable or reorder core hooks: `action` other than `add`, `order: prepend`, any `target`, or a `command` that names a core hook script all BLOCK.
|
|
56
|
+
3. `touches_irreversible` other than `none` must carry a valid `core_route`; the core gate file must exist (else UNMEASURED).
|
|
57
|
+
4. `touches_irreversible: none` is checked by a **lexical tripwire**, not proved: the declared command and the ONE file it names are scanned case-insensitively for irreversible verbs (git push, rm -r / rm -f, rmtree/rmSync/unlink, git clean -f, find -delete, branch -D, tag -d, reset --hard, --amend, reflog expire, update-ref -d, npm publish, twine upload, gh repo/release, gh api with a write method, --visibility, history rewrites) and for core-disabling patterns (hooksPath, `core.hooks*`, any `GIT_CONFIG_*`, `GIT_DIR ... hooks`, `.git/hooks`, any `settings*.json`, `permissionDecision`, `updatedInput`, `behavior`, `additionalContext`). A hit with `none` BLOCKs. Calibration files get the core-disabling scan only (they are test code). **Residual, not covered:** these are lexical tripwires and do not converge (a new spelling always exists) — one widening per review round, then named here: obfuscation inside the referenced file, comments and echoed strings that mention a pattern (false BLOCK, accepted direction), `core_route` is a label (the checker does not verify the module actually calls that gate), files that file calls or sources, and the contents of skills and agents. Structural closure - a core wrapper that discards decision JSON and exit-2 coming from module hooks - is future work.
|
|
58
|
+
5. Calibration: `UNCALIBRATED` with a non-empty `provides.verdicts` BLOCKs; a `calibration.command` follows the command shape above (missing target = UNMEASURED). Duplicate YAML keys BLOCK.
|
|
59
|
+
6. `--installed DIR` (`*/fh-module.yaml|yml`, `*.yaml|yml`): a missing dir, zero manifests, or a malformed `requires` is UNMEASURED; duplicate installed ids BLOCK; also duplicate id, or a `requires.modules` entry not installed, BLOCKs.
|
|
60
|
+
7. `adds_constraints` below the core floor (approval below `ask`, degrade `advisory`) **BLOCK** — in `check` and in `merge`. A module can only add constraints; a below-floor value is never silently clamped, because a consumer reading the manifest directly would see the weaker value. Enum fields must be strings; a list or mapping where a name belongs BLOCKs (it used to crash to 2). A present `core_route` (even `null`) with `touches_irreversible: none` BLOCKs. Non-UTF-8 input is UNMEASURED. With `--installed`, an unreadable registry is UNMEASURED and cannot also report «required module not installed».
|
|
61
|
+
|
|
62
|
+
## 3b. Export — the standalone proof (`fh_module_check.py export <manifest> --out DIR`)
|
|
63
|
+
|
|
64
|
+
A standalone skill must run without FH around it (operator: «스킬 단품은 스탠드얼론으로 동작할수있게 … 자체하네스를 필요하면 내장한채로»). `export` proves it instead of asserting it: it copies **only what the manifest declares** — the skill and agent folders, every hook/verdict/calibration command file, and the optional `files:` list (repo-relative, same path rules as commands) — into an empty folder, then runs the module's own calibration **inside that folder** with a fresh HOME.
|
|
65
|
+
|
|
66
|
+
- Copied: **git-tracked files only** (an untracked or ignored local file would make STANDALONE true here and false elsewhere). **Any symlink** in a declared path BLOCKs. Skill/agent names must be plain slugs; `files` may not be `.`, `.git…`, or the reserved `fh-module.yaml` / `MODULE.md` / `.fh-export`. Export metadata goes to `.fh-export/`.
|
|
67
|
+
- Built in a staging folder next to `--out` and moved there only on success; the calibration runs in a separate scratch copy with a fresh HOME/TMPDIR/XDG and a PATH of system dirs plus the interpreters' own dirs (never a repo dir), stdin closed, in its own process group (killed whole on timeout). `--out` inside the repo is refused.
|
|
68
|
+
- rc 0 **STANDALONE**: the known-pair test passes with only the declared, tracked files.
|
|
69
|
+
- rc 1: the manifest does not pass `check`; a symlink, a non-slug name, `.`/`.git`; or the calibration fails inside the export — including when its output says a file was not found (python exits 2 there): an undeclared dependency, named in the output tail.
|
|
70
|
+
- rc 2: `UNCALIBRATED`, a missing or untracked declared file, a non-empty `--out` or one inside the repo, a timeout, or the calibration's own UNMEASURED (rc 2 without a missing-file message, 126/127, a signal).
|
|
71
|
+
|
|
72
|
+
Measured on the pilot: without `files:` the export failed with «missing scripts/ko_tech_writer_calibrate.py» (the lane calls it); declaring it made the export STANDALONE (7 files). Lanes EX1–EX7; dropping the pilot's `files:` turns EX7 red.
|
|
73
|
+
|
|
74
|
+
**Not proven by export (named residual)**: there is no OS sandbox — a calibration that reads the repo by absolute path or reaches the real home via the user database can pass falsely; tools it needs from the machine (python3, rg) come from the system PATH; a calibration that exits 0 without testing reads as STANDALONE (the contract requires a known-pair test, the checker does not inspect it); whether the skill's prose still makes sense without FH is a reading question, not a run.
|
|
75
|
+
|
|
76
|
+
## 4. Composition and removal
|
|
77
|
+
|
|
78
|
+
- **Two modules disagree** (`merge`): every member is validated first (an invalid member BLOCKs the merge); UNCALIBRATED propagates (exit 3); the merge is seeded with a core-floor pseudo-manifest (`approval: ask`, `degrade: fail-closed`, `reversibility: irreversible`) so nothing lands below the core. `approval: ask` is a **floor**, not a silent default: the core irreversible gates are ask-level, so a module cannot merge below it. The merge JSON is printed only on rc 0/3; on any other code only `{"verdict": ...}` is printed; `residency` is floored from each member's `data_class`; strictest value per axis wins regardless of argument order; `data_class` takes the strictest class; any irreversible member marks the set irreversible.
|
|
79
|
+
- **Removal** (`remove <id> --installed DIR`): refused (BLOCK) while another installed module `requires` it; if any installed manifest is unreadable the answer is UNMEASURED, not "no dependants". When allowed, the output is a *plan* that archives the module's `records`; the checker deletes nothing.
|
|
80
|
+
|
|
81
|
+
## 5. Decisions recorded
|
|
82
|
+
|
|
83
|
+
- Skills stay as they are and are not classified. The pilot manifest wraps an existing skill without changing it.
|
|
84
|
+
- A standalone skill package must work alone and embed its own guard if it needs one. A skill that touches irreversible ops ships standalone only with an embedded guard.
|
|
85
|
+
- Company modules use a separate registry (not this one); `data_class: company` here only labels and tightens `residency`.
|
|
86
|
+
|
|
87
|
+
## 6. Calibration of the checker
|
|
88
|
+
|
|
89
|
+
`bash scripts/test_fh_module_check_lanes.sh` - known-positive (valid module), known-negatives (disable, override, shadow, reorder, unknown enum, unknown key, unrouted publish, garbage / empty / missing manifest, removal with dependant, merge in both orders). `FH_MODULE_PROBE=<name>` neuters one check in a temp copy; the matching lane must go red.
|
|
90
|
+
|
|
91
|
+
Pilot: `plugins/fh-commons/skills/ko-tech-writer/fh-module.yaml`.
|
|
92
|
+
|
|
93
|
+
## 7. Not in v0
|
|
94
|
+
|
|
95
|
+
**Packaging an embedded guard** — export copies a module that touches nothing irreversible; a module that does (`touches_irreversible` other than `none`) would need the core gate it routes to inside the export. Not built.
|
|
96
|
+
|
|
97
|
+
Version-range solving for `requires`, applying the archive plan, enforcing `core_min` against the installed core version, and installing hooks into settings. The checker validates a manifest; it does not install.
|
|
@@ -4788,3 +4788,84 @@
|
|
|
4788
4788
|
evidence: built-in facts 19/19 doc-verified, fork probe controls alive (F 3/3 canary), hits proposals 681 lines (2 files inflated, corrected), live-repo doc sims contaminated by git status cue (not counted)
|
|
4789
4789
|
tokens: UNMEASURED
|
|
4790
4790
|
note: partial because 3 live-repo sim arms were contaminated and the hits extraction was not line-verified.
|
|
4791
|
+
- date: 2026-10-16
|
|
4792
|
+
agent: general-purpose (sonnet) — today's 7 dispatches before the compact (qasp TC design + v1.0.1 real-surface run, assembly audit, settings-view polish, B11d codexm, old-repo PR harvest, slim CLAUDE.md sims, /simplify floor sim)
|
|
4793
|
+
task: FoD v1 install defects found by real use; slim CLAUDE.md; built-in map Korean intents
|
|
4794
|
+
trigger: operator «추천대로 모두 해줘» · «qasp능력활용해서 테스트좀시켜봐» · «ㅇㅇ 둘다승인»
|
|
4795
|
+
outcome: accepted
|
|
4796
|
+
evidence: qasp 143 TCs run 53 PASS / 36 FAIL / 52 NOT-RUN; audit 82 rows (23 NO, 11 SILENT-NOOP) later confirmed by wave-1 fail-before tests; slim sims P1 5/6 P1b 3/3
|
|
4797
|
+
tokens: UNMEASURED
|
|
4798
|
+
note: consolidated entry, backfilled after compact (push had warned ④-e).
|
|
4799
|
+
- date: 2026-10-16
|
|
4800
|
+
agent: general-purpose (sonnet) — FoD wave 2 gate activity window port
|
|
4801
|
+
task: port ours fod-gate-activity / map-view / review into v1 and open it from the menu (worktree fix/wave2-activity)
|
|
4802
|
+
trigger: operator «ㅇㅋ ㄱㄱ» (wave 2)
|
|
4803
|
+
outcome: accepted
|
|
4804
|
+
evidence: authorship chrono-meta only; diffs vs originals small (26/0/2 lines); 4 tests fail-before (files moved aside) → pass; suite 4290; cherry-picked as d551a55, suite 4294 on the wave-2 branch
|
|
4805
|
+
tokens: UNMEASURED
|
|
4806
|
+
note: once-allow and allow-rule lines left inert (no deps) by design; real window not yet checked on screen.
|
|
4807
|
+
- date: 2026-10-16
|
|
4808
|
+
agent: general-purpose (sonnet) ×4 — FoD wave 3 arms in worktrees (view, quota, character, doctor)
|
|
4809
|
+
task: connect the remaining audit rows (sound/flash/face/wake/HUD ctx; status line, pollers, ring mode; roaming, screens, ⌘H, drop, first position; health check, watch/sync, agents tab, zip import, logs, fodtier)
|
|
4810
|
+
trigger: operator «ㅇㅇ 그렇게 자율주행해줘 … 다 해야하는것들이니까»
|
|
4811
|
+
outcome: accepted
|
|
4812
|
+
evidence: each arm wrote fail-before assembly tests (view 9, quota 13+8+3, character 15, doctor 30); quota arm re-run twice on codex findings (HIGH 2+1, MED 4+2 fixed); merged into fix/wave3 (governor replayed long-line conflicts; renamed doctor w3→w3d after a variable clash; unified globals fallback); PR #7 merged, suite 4407/4407, 1.0.4 prerelease
|
|
4813
|
+
tokens: UNMEASURED
|
|
4814
|
+
note: doctor arm started before its worktree existed (governor command blocked by a gate) and correctly stopped without acting; it was resumed after the worktree was created.
|
|
4815
|
+
- date: 2026-10-17
|
|
4816
|
+
agent: fh-commons:quench-challenger (sonnet) — adversarial review of ko-tech-writer S10~S17 diff
|
|
4817
|
+
task: verify classes against the harvest, lane pass reasons, venue over-claims, S2 rule, private names
|
|
4818
|
+
trigger: governor 4-axis Axis 2 for PR #905 (operator «ㅇㅇㅇ 그러자» on the Korean style work)
|
|
4819
|
+
outcome: accepted
|
|
4820
|
+
evidence: 4 A + 6 B; all fixed by the authoring agent; governor re-ran lanes (CALIBRATED 15) and its own C8 revert probe (FAIL → restore green)
|
|
4821
|
+
tokens: UNMEASURED
|
|
4822
|
+
note: it caught the authoring agent using the operator's own hand-edited sentence as a defect example — the class of error the skill exists to avoid.
|
|
4823
|
+
- date: 2026-10-17
|
|
4824
|
+
agent: general-purpose (sonnet) ×8 — qasp P1/P2, FoD fixes, hidden mode, generic shim, style harvest, venue calibration, digest triage, tech doc plan
|
|
4825
|
+
task: see tracks/_meta/fh_completed_2026-10-17.md
|
|
4826
|
+
trigger: operator «그렇게가자» · «머지하자» · «마음대로 해» · «ㅇㅇㅇ 그러자» · «거버너로서 병렬로 작업해줘»
|
|
4827
|
+
outcome: accepted (shim agent's Pomatez run blocked by the permission classifier — not worked around; governor ran it under the operator's approval)
|
|
4828
|
+
evidence: PRs qasp-dev #352 #353, FoD #39 #40(merged) #41 #42, FH #904 #905
|
|
4829
|
+
tokens: UNMEASURED
|
|
4830
|
+
- date: 2026-10-17
|
|
4831
|
+
agent: general-purpose (sonnet) ×3 — FoD empty question card, pin/row asymmetry, ring hover needs a click (all read-only)
|
|
4832
|
+
task: diagnose three FoD bugs the operator screenshotted on the installed 49c27e1 build
|
|
4833
|
+
trigger: operator screenshots + «여기도 버그네» · «한도링 호버는 지금 fod는 여전히 안되네» (standing dispatch request, lease to 2026-11-09)
|
|
4834
|
+
outcome: "accepted — all three causes confirmed by the governor against code (card: update drops questions; pin: zero-area needle filled not stroked; hover: polling commit 10d1a6b never pushed before #53 merged)"
|
|
4835
|
+
evidence: FoD PR #54 (D11b and S36 fail before / pass after; suite 4566/0)
|
|
4836
|
+
tokens: UNMEASURED
|
|
4837
|
+
- date: 2026-10-17
|
|
4838
|
+
agent: general-purpose (sonnet) ×1 — FoD reaction looping diagnosis (read-only)
|
|
4839
|
+
task: why an idle click / double-click reaction loops
|
|
4840
|
+
trigger: operator «대기상태일때 좌 우 터치나 더블클릭하면 … 연속재생하네» (standing dispatch request)
|
|
4841
|
+
outcome: accepted — cause confirmed against code by the governor
|
|
4842
|
+
evidence: FoD PR #58 (RO1/RO2 fail before; suite 4571/0)
|
|
4843
|
+
tokens: UNMEASURED
|
|
4844
|
+
- date: 2026-10-18
|
|
4845
|
+
agent: "general-purpose (sonnet) ×1 — fill the session request checklist (259 rows, read-only except the sheet)"
|
|
4846
|
+
task: "fill 상태/증거/사유/제안 for every row of tracks/_meta/session_checklist_2026-10-18_58f95111.md"
|
|
4847
|
+
trigger: "operator «체크리스트에 받아적고 마무리시점이나 중간에 한번씩 파악해보는거» (standing dispatch request, lease to 2026-11-09)"
|
|
4848
|
+
outcome: "accepted — governor spot-checked 5 sampled DONE evidences (3 FoD SHAs + 2 record lines) with a fabricated-SHA negative control; converted 141 «not a request» HELD rows to N/A"
|
|
4849
|
+
evidence: "checklist rows=273 violations=0"
|
|
4850
|
+
tokens: UNMEASURED
|
|
4851
|
+
- date: 2026-10-18
|
|
4852
|
+
agent: "general-purpose (sonnet) ×1 — FoD settings card pattern, Gate page, Autopilot consent window, «게걸음» wording"
|
|
4853
|
+
task: "fix the screens the operator screenshotted; six follow-up corrections relayed mid-run"
|
|
4854
|
+
trigger: "operator screenshots + «오토파일럿 켜기하니까 뜨는 팝업이 너무못생겼» · «캐릭터 쪽만 카드상단 구분자가 잘 서있고» (standing dispatch request)"
|
|
4855
|
+
outcome: "accepted — governor re-ran the official suite (agent's glob had missed files: 4643 reported vs 4670 actual, all pass) and opened the PNGs before asking to merge"
|
|
4856
|
+
evidence: "FoD PR #72 (3dead56), installed"
|
|
4857
|
+
tokens: UNMEASURED
|
|
4858
|
+
- date: 2026-10-18
|
|
4859
|
+
agent: "general-purpose (sonnet) ×1 — FoD chat @ multi-send"
|
|
4860
|
+
task: "⌘Enter adds recipient chips; one message sent per session by key"
|
|
4861
|
+
trigger: "operator «@를 친 후에 목록을 3개 불러서 동시에 보내려고하는데» + «ㅇㅇ 그러자»"
|
|
4862
|
+
outcome: "accepted — governor re-ran the 10 Electron lanes outside the sandbox (10/10, 0 skipped) and checked mergeability against #72"
|
|
4863
|
+
evidence: "FoD PR #73 (8bccbcf), merged main 4681/4681, installed"
|
|
4864
|
+
tokens: UNMEASURED
|
|
4865
|
+
- date: 2026-10-18
|
|
4866
|
+
agent: "codex (gpt-5.5) ×2 rounds + general-purpose (sonnet) ×1 read-through — utterance checklist hook review"
|
|
4867
|
+
task: "adversarial review of the UserPromptSubmit hook and close step ①-g"
|
|
4868
|
+
trigger: "4-axis gate cross-family requirement for FH #914"
|
|
4869
|
+
outcome: "accepted — 20 codex findings fixed with fail-before lanes; Sonnet raised 8 (2 already fixed, 2 fixed, rest residual/refuted)"
|
|
4870
|
+
evidence: "FH PR #914 (c7948db)"
|
|
4871
|
+
tokens: UNMEASURED
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrono-meta/fh-gate",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.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": {
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"plugins/fh-commons/skills",
|
|
106
106
|
"plugins/fh-commons/skills/ko-tech-writer/fixtures/known_negative.md",
|
|
107
107
|
"plugins/fh-commons/skills/ko-tech-writer/fixtures/known_positive.md",
|
|
108
|
+
"plugins/fh-commons/skills/ko-tech-writer/fixtures/known_unclosed.md",
|
|
108
109
|
"plugins/fh-meta/.claude-plugin/plugin.json",
|
|
109
110
|
"plugins/fh-meta/CHANGELOG.md",
|
|
110
111
|
"plugins/fh-meta/agents",
|
|
@@ -126,6 +127,11 @@
|
|
|
126
127
|
"scripts/lane_onoff_compare.py",
|
|
127
128
|
"scripts/test_lane_stub_env_lanes.sh",
|
|
128
129
|
"scripts/test_post_squash_verify_lanes.sh",
|
|
130
|
+
"scripts/test_frontier_digest_recall.sh",
|
|
131
|
+
"scripts/fh_module_check.py",
|
|
132
|
+
"scripts/test_fh_module_check_lanes.sh",
|
|
133
|
+
"scripts/test_frontier_digest_recall_negctl.sh",
|
|
134
|
+
"scripts/fixtures/frontier_digest_recall.tsv",
|
|
129
135
|
"scripts/pr_merge_verified.sh",
|
|
130
136
|
"scripts/test_pr_merge_verified_lanes.sh",
|
|
131
137
|
"scripts/adapters/fixtures/mate_agent_boundary_known_negative.md",
|
|
@@ -373,6 +379,7 @@
|
|
|
373
379
|
"scripts/test_temper_check_lanes.sh",
|
|
374
380
|
"scripts/test_track_resolve_lanes.sh",
|
|
375
381
|
"scripts/test_usage_ledger_lanes.sh",
|
|
382
|
+
"scripts/test_utterance_checklist_hook_lanes.sh",
|
|
376
383
|
"scripts/test_utterance_intake_lanes.sh",
|
|
377
384
|
"scripts/test_verdict_watermark_lanes.sh",
|
|
378
385
|
"scripts/test_version_lockstep_lanes.sh",
|
|
@@ -382,6 +389,8 @@
|
|
|
382
389
|
"scripts/transcript_utterances.py",
|
|
383
390
|
"scripts/universal_guard_check.sh",
|
|
384
391
|
"scripts/usage_report.py",
|
|
392
|
+
"scripts/utterance_checklist_hook.py",
|
|
393
|
+
"scripts/utterance_checklist_hook.sh",
|
|
385
394
|
"scripts/utterance_intake.sh",
|
|
386
395
|
"scripts/utterance_landing_check.sh",
|
|
387
396
|
"scripts/validate_yaml.sh",
|