@chrono-meta/fh-gate 2.11.0 → 2.12.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 +2 -2
- package/README.ja.md +58 -28
- package/README.ko.md +201 -184
- package/README.md +59 -43
- package/README.zh.md +74 -47
- package/docs/USER_GUIDE.md +6 -6
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +98 -0
- package/package.json +2 -1
- package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-meta/CHANGELOG.md +32 -0
- package/plugins/fh-meta/skills/salience-splitter/SKILL.md +26 -0
- package/scripts/degrade_direction_scan.sh +118 -0
- package/scripts/fh-goal.sh +22 -2
- package/scripts/fh_session_load.sh +14 -1
- package/scripts/package_coverage_check.sh +7 -4
- package/scripts/selfcheck.sh +3 -1
- package/scripts/session_close_check.sh +36 -3
- package/scripts/test_card_drift_probe.sh +27 -0
- package/scripts/test_degrade_scan_shell_probes.sh +130 -1
- package/scripts/test_dispatch_log_lanes.sh +54 -2
- package/scripts/test_fh_goal_change_detection_lanes.sh +89 -0
- package/scripts/test_session_close_chain_lanes.sh +27 -0
- package/scripts/test_session_close_lanes.sh +35 -1
- package/templates/degrade_direction_scan.sh +118 -0
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "fh-meta",
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.12.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": "2.
|
|
20
|
+
"version": "2.12.0",
|
|
21
21
|
"description": "Project-agnostic utility skills — 5 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer) + 1 agent (quench-challenger). Domain-independent utilities transplantable into any project.",
|
|
22
22
|
"source": "./plugins/fh-commons"
|
|
23
23
|
}
|
package/README.ja.md
CHANGED
|
@@ -41,15 +41,61 @@
|
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
##
|
|
44
|
+
## どちらか一つを選んでください。入れ方も、得られるものも違います。
|
|
45
|
+
|
|
46
|
+
### ① ゲートだけ — Claude Code は不要です
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx --package @chrono-meta/fh-gate fh-gate # インストール不要
|
|
50
|
+
brew tap chrono-meta/forge-harness && brew install forge-harness # あるいはこちら
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**得られるもの**
|
|
54
|
+
|
|
55
|
+
- 変更がマージされる**前に**判定が出ます。その判定は、この変更が**何を失ったか**を名指しします。
|
|
56
|
+
「なんとなくおかしい」ではありません。上の GIF が、実際の diff に対するその判定です。
|
|
57
|
+
- 判定は grep するテキストではなく、**型のある値**です: `PASS · PENDING · BLOCKED · ESCALATE`。
|
|
58
|
+
- シェルが動く場所ならどこでも動きます。CI、pre-commit フック、別のコーディングエージェント。
|
|
59
|
+
Claude Code は任意です。
|
|
60
|
+
|
|
61
|
+
### ② ハーネス全体 — Claude Code の中で
|
|
45
62
|
|
|
46
63
|
```bash
|
|
47
64
|
claude plugin marketplace add https://github.com/chrono-meta/forge-harness.git
|
|
48
65
|
claude plugin install -s user fh-meta@forge-harness
|
|
49
66
|
git clone https://github.com/chrono-meta/forge-harness.git ~/projects/forge-harness
|
|
50
|
-
cd ~/projects/forge-harness && claude
|
|
67
|
+
cd ~/projects/forge-harness && claude # そのあと挨拶を一言: こんにちは · hi · 안녕 · 你好
|
|
51
68
|
```
|
|
52
69
|
|
|
70
|
+
**①に加えて得られるもの**
|
|
71
|
+
|
|
72
|
+
- ゲートが「思い出して走らせるコマンド」であることをやめます。コミット前に自分で掛かります。
|
|
73
|
+
- **スキル40種 · エージェント8種**を普通の言葉で呼べます。プロジェクトを診断し、加速し、新しく配線します。
|
|
74
|
+
- `tracks/` が各セッションの学びを残すので、**2回目のセッションが1回目の止まった場所から始まります**。
|
|
75
|
+
複利が付くのはここで、初日には判断できないのもここです。
|
|
76
|
+
- 同じことを三度頼むと、答えるのをやめます。代わりに、その答えを出すハーネスを作って渡します。
|
|
77
|
+
|
|
78
|
+
<sub><b>迷ったら</b>①から。コマンド一つで済み、消すものもありません。②は①を含んでいるので、
|
|
79
|
+
①で覚えたことは一つも捨てられません。</sub>
|
|
80
|
+
|
|
81
|
+
### どちらの扉でも«ない»こと
|
|
82
|
+
|
|
83
|
+
**後段のレビューを置き換えません。** 問いを前に倒すだけです。人間のレビュアーに届く量が減るので
|
|
84
|
+
あって、人間がレビューをやめるのではありません。狙っている詰まりは «作られる速さ» と
|
|
85
|
+
«人が確かめられる速さ» の差で、その差を**前側から**縮めます。後ろへ渡るものを減らすやり方で。
|
|
86
|
+
|
|
87
|
+
**diff で見えないものは、依然として人の仕事です。** 実際に動かして初めて現れるもの —— 本物の画面で、
|
|
88
|
+
本物の状態を相手に —— は、これらの道具が届く範囲の外です。その仕事は、上流にゲートがあるからといって
|
|
89
|
+
減りません。減るのは待ち行列です。
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## ここから先は詳細です
|
|
94
|
+
|
|
95
|
+
上までが決定のすべてです。以下は必要なときに参照する資料です。
|
|
96
|
+
|
|
97
|
+
### ②の四行を打ったあと
|
|
98
|
+
|
|
53
99
|
**そして `こんにちは` と入力してください** — 使い慣れた言語の挨拶なら何でも構いません(`hi`,
|
|
54
100
|
`안녕`, `你好`, `hola`, `bonjour`)。**どの言語で挨拶してもメニューは開き**、その言語で返そうと
|
|
55
101
|
します。番号付きのメニューが出て、そこからはツールが案内します。入口を選んでいくつか答えれば、
|
|
@@ -108,24 +154,21 @@ cd ~/projects/forge-harness && claude
|
|
|
108
154
|
|
|
109
155
|
> **この文書は人間のためのものです。** AI 運用ルール → `CLAUDE.md` · コマンドリファレンス → `CHEATSHEET.md`
|
|
110
156
|
|
|
111
|
-
|
|
157
|
+
**二つの扉に付く脚注が二つ**。三つ目の表は作りません。
|
|
112
158
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
159
|
+
- **②をプロジェクト一つだけで試したいなら**
|
|
160
|
+
[`templates/starter_profile.md`](templates/starter_profile.md): コマンド一つと、厳選した最初の5スキル。
|
|
161
|
+
- **①で `npx` の代わりに `brew` を使いたいなら**
|
|
162
|
+
`brew tap chrono-meta/forge-harness && brew install forge-harness`。内容は100%同じで、
|
|
163
|
+
インストール体験だけが違います。コミュニティ tap なので Homebrew Core にはなく、先に tap しないと
|
|
164
|
+
`brew search` では見つかりません。
|
|
119
165
|
|
|
120
166
|
---
|
|
121
167
|
|
|
122
|
-
##
|
|
168
|
+
## 前提条件
|
|
123
169
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
プラグインのインストールとハブのクローンはその3ステップの中に入っています。
|
|
127
|
-
Claude Code は使わずゲートだけが必要なら、この3ステップの代わりに `fh-gate` の
|
|
128
|
-
1行で済みます(上の表の「CI / 非 Claude ランタイム」の行、そして下の «AI 生成コードのためのガバナンス層» の節)。
|
|
170
|
+
**②には Claude Code CLI が必要です**(`claude --version` で確認)。**①には不要**で、それが①が
|
|
171
|
+
別にある理由です。
|
|
129
172
|
|
|
130
173
|
<details><summary><b>任意: 1つのゲートが Python + PyYAML を必要とします</b> — 無いと <code>npm test</code> が赤くなります</summary>
|
|
131
174
|
|
|
@@ -148,19 +191,6 @@ virtualenv**(PyYAML 入り)に解決されたセッションから緑で出
|
|
|
148
191
|
|
|
149
192
|
</details>
|
|
150
193
|
|
|
151
|
-
```bash
|
|
152
|
-
# 1. プラグインをインストール
|
|
153
|
-
claude plugin marketplace add https://github.com/chrono-meta/forge-harness.git
|
|
154
|
-
claude plugin install -s user fh-meta@forge-harness
|
|
155
|
-
|
|
156
|
-
# 2. ハブをクローン
|
|
157
|
-
git clone https://github.com/chrono-meta/forge-harness.git ~/projects/forge-harness
|
|
158
|
-
cd ~/projects/forge-harness
|
|
159
|
-
|
|
160
|
-
# 3. セッションを開始
|
|
161
|
-
claude
|
|
162
|
-
```
|
|
163
|
-
|
|
164
194
|
> ✅ そのあと**挨拶を打ってください** — `こんにちは` · `hi` · `안녕` · `你好`、使い慣れた言語で
|
|
165
195
|
> 構いません。その言語で返そうとします(上の注記を参照 — たいていは合いますが、いつもではありません)。
|
|
166
196
|
> 🐿️ のドアメニューは*打たれた挨拶*に対して現れるもので、
|