@chrono-meta/fh-gate 3.30.0 → 3.31.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 +1 -1
- package/README.ja.md +6 -5
- package/README.ko.md +6 -5
- package/README.md +15 -5
- package/README.zh.md +6 -5
- package/docs/REFERENCE.md +6 -5
- package/docs/USER_GUIDE.md +3 -0
- package/knowledge/shared/harness-core/dispatch_conditional_prohibition.md +42 -0
- package/knowledge/shared/harness-core/sonnet_floor_doctrine.md +7 -0
- package/knowledge/shared/learnings/subagent_invocations_log.yaml +56 -0
- package/package.json +5 -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 +16 -0
- package/plugins/fh-meta/skills/install-wizard/SKILL.md +25 -0
- package/plugins/fh-meta/skills/install-wizard/SKILL_detail.md +24 -6
- package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
- package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
- package/scripts/abstract_consult_check.py +573 -0
- package/scripts/fh_detach.py +444 -0
- package/scripts/selfcheck.sh +83 -6
- package/scripts/test_abstract_consult_check_lanes.sh +201 -0
- package/scripts/test_fh_detach_lanes.sh +252 -0
- package/scripts/test_mutation_probe_lanes.sh +68 -8
- package/scripts/test_ollama_panel_lanes.sh +107 -11
- package/scripts/test_selfcheck_state_lanes.sh +73 -1
- package/templates/CLAUDE.md +16 -0
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "fh-meta",
|
|
14
|
-
"version": "3.
|
|
14
|
+
"version": "3.31.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.31.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.31.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.31.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
|
@@ -60,7 +60,7 @@ Returning user (operator with FH-dev state: welcome line = **"The FH operator
|
|
|
60
60
|
- AI never commits on its own to someone else's shared repo: approved changes go to a feature branch and a proposed PR. Team rules stay in their project — never copy a project's team rules into FH.
|
|
61
61
|
|
|
62
62
|
## Agent Dispatch Operation
|
|
63
|
-
Isolated delegation is part of the identity: dispatch separable work (blind evaluation, context-flooding search, parallel tasks) without waiting to be asked **only when a standing request is RECORDED** in `CLAUDE.local.md` with ① the operator's quoted words ② a dated lease ③ a scope. Missing any of the three → ask per invocation. A session never invents or renews a record on its own; it writes one only from the operator's explicit answer. A sidecar audits; it never writes to the target tree, and its findings are evidence until the governor closes each against a mechanical anchor. Honour lease expiry, announce each standing-consent dispatch, and say so once if dispatch is unavailable. Give each dispatch a Context Card (purpose · done so far · this task · constraints). Do not commit FH assets from a worktree. After a custom subagent call, log it in `knowledge/shared/learnings/subagent_invocations_log.yaml`. Detail: `knowledge/shared/harness-core/dispatch_conditional_prohibition.md`.
|
|
63
|
+
Isolated delegation is part of the identity: dispatch separable work (blind evaluation, context-flooding search, parallel tasks) — name its purpose: **independence** (it judges work you produced — never fold, whatever it is called) · **permission** (a narrower authority than yours — never fold while that boundary is needed) · **context** (fold only after repeated runs show no per-task loss; detail §Two-Purposes) — without waiting to be asked **only when a standing request is RECORDED** in `CLAUDE.local.md` with ① the operator's quoted words ② a dated lease ③ a scope. Missing any of the three → ask per invocation. A session never invents or renews a record on its own; it writes one only from the operator's explicit answer. A sidecar audits; it never writes to the target tree, and its findings are evidence until the governor closes each against a mechanical anchor. Honour lease expiry, announce each standing-consent dispatch, and say so once if dispatch is unavailable. Give each dispatch a Context Card (purpose · done so far · this task · constraints). Do not commit FH assets from a worktree. After a custom subagent call, log it in `knowledge/shared/learnings/subagent_invocations_log.yaml`. Detail: `knowledge/shared/harness-core/dispatch_conditional_prohibition.md`.
|
|
64
64
|
|
|
65
65
|
## Autonomous Initiative Layer — intents that must reach a rule, not a guess
|
|
66
66
|
| Signal | Go to |
|
package/README.ja.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
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
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg?logo=arxiv" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
7
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>
|
|
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>
|
|
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>
|
|
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>
|
|
11
|
-
<a href="https://
|
|
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?logo=awesomelists" alt="Listed in awesome-agent-skills"></a>
|
|
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?logo=githubactions" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
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&logo=npm" alt="npm"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/dt/@chrono-meta/fh-gate.svg?color=3fb950&logo=npm&label=downloads" alt="npm total downloads"></a>
|
|
12
|
+
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg?logo=homebrew" alt="Homebrew tap"></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
<p align="center">
|
package/README.ko.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
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
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg?logo=arxiv" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
7
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>
|
|
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>
|
|
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>
|
|
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>
|
|
11
|
-
<a href="https://
|
|
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?logo=awesomelists" alt="Listed in awesome-agent-skills"></a>
|
|
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?logo=githubactions" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
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&logo=npm" alt="npm"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/dt/@chrono-meta/fh-gate.svg?color=3fb950&logo=npm&label=downloads" alt="npm total downloads"></a>
|
|
12
|
+
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg?logo=homebrew" alt="Homebrew tap"></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
<p align="center">
|
package/README.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
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
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg?logo=arxiv" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
7
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>
|
|
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>
|
|
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>
|
|
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>
|
|
11
|
-
<a href="https://
|
|
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?logo=awesomelists" alt="Listed in awesome-agent-skills"></a>
|
|
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?logo=githubactions" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
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&logo=npm" alt="npm"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/dt/@chrono-meta/fh-gate.svg?color=3fb950&logo=npm&label=downloads" alt="npm total downloads"></a>
|
|
12
|
+
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg?logo=homebrew" alt="Homebrew tap"></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
<p align="center">
|
|
@@ -83,6 +84,15 @@ cd ~/projects/forge-harness && claude # then type: hi (or 안녕 ·
|
|
|
83
84
|
«run /context-doctor» (token-waste scan). For full setup, run `/install-wizard`: every item is
|
|
84
85
|
approved one by one and a decline is recorded.
|
|
85
86
|
|
|
87
|
+
**Taking it off again.** From the FH clone, `python3 scripts/fh_detach.py --project <the project you ran the
|
|
88
|
+
wizard in>` prints what the wizard wrote; add `--apply` to undo it. It takes FH off the machine setup, not one
|
|
89
|
+
project: the `~/.zshrc` block and the FH clone's own hooks and `core.hooksPath` go too. `--plugin` also runs
|
|
90
|
+
`claude plugin uninstall fh-meta@forge-harness` and removes the `forge-harness` marketplace entry. A hook counts
|
|
91
|
+
as FH's only when every field equals a shipped snippet entry — so one you wrote yourself survives unless it is
|
|
92
|
+
identical to FH's — and anything FH-like that does not match is listed for you to look at (exit 1). Installed
|
|
93
|
+
the plugin only, with no clone? Run `claude plugin uninstall fh-meta@forge-harness`. Door ① leaves only its verdict records
|
|
94
|
+
in `~/.fh/logs/` (delete the folder when you no longer want them) and npm's own `npx` cache.
|
|
95
|
+
|
|
86
96
|
Requirements. Door ② needs the Claude Code CLI (`claude --version`). Door ① needs Node and a `claude` or
|
|
87
97
|
`codex` CLI, not a Claude Code session. One of FH's own gates (the test suite in a clone) additionally
|
|
88
98
|
needs Python + PyYAML (`python3 -m pip install --user pyyaml`) and fails closed without it.
|
package/README.zh.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
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
|
+
<a href="https://arxiv.org/abs/2609.04218"><img src="https://img.shields.io/badge/arXiv-2609.04218-b31b1b.svg?logo=arxiv" alt="arXiv:2609.04218 — the FH governance paper"></a>
|
|
7
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>
|
|
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>
|
|
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>
|
|
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>
|
|
11
|
-
<a href="https://
|
|
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?logo=awesomelists" alt="Listed in awesome-agent-skills"></a>
|
|
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?logo=githubactions" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
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&logo=npm" alt="npm"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/dt/@chrono-meta/fh-gate.svg?color=3fb950&logo=npm&label=downloads" alt="npm total downloads"></a>
|
|
12
|
+
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg?logo=homebrew" alt="Homebrew tap"></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
<p align="center">
|
package/docs/REFERENCE.md
CHANGED
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
15
|
<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>
|
|
16
|
-
<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>
|
|
17
|
-
<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>
|
|
16
|
+
<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?logo=awesomelists" alt="Listed in awesome-agent-skills"></a>
|
|
17
|
+
<a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-compatible-a855f7.svg?logo=claude" alt="Claude Code compatible — official Claude Code repository"></a>
|
|
18
18
|
<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>
|
|
19
|
-
<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>
|
|
20
|
-
<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>
|
|
21
|
-
<a href="https://
|
|
19
|
+
<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?logo=githubactions" alt="GitHub Actions Marketplace — fh-gate"></a>
|
|
20
|
+
<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&logo=npm" alt="npm"></a>
|
|
21
|
+
<a href="https://www.npmjs.com/package/@chrono-meta/fh-gate"><img src="https://img.shields.io/npm/dt/@chrono-meta/fh-gate.svg?color=3fb950&logo=npm&label=downloads" alt="npm total downloads"></a>
|
|
22
|
+
<a href="https://github.com/chrono-meta/homebrew-forge-harness"><img src="https://img.shields.io/badge/homebrew-tap-FBB040.svg?logo=homebrew" alt="Homebrew tap"></a>
|
|
22
23
|
<a href="../LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e.svg" alt="MIT License"></a>
|
|
23
24
|
</p>
|
|
24
25
|
|
package/docs/USER_GUIDE.md
CHANGED
|
@@ -123,6 +123,9 @@ FH 자산(규칙·스킬·스크립트 등)을 고치면 4축 검증 마커를
|
|
|
123
123
|
**Q. 토큰이 너무 든다.**
|
|
124
124
|
`/context-doctor` 를 불러라. 무엇이 상주 중이고 무엇을 뺄 수 있는지 진단한다.
|
|
125
125
|
|
|
126
|
+
**Q. FH 를 떼고 싶다.**
|
|
127
|
+
FH 클론에서 `python3 scripts/fh_detach.py --project <마법사를 돌린 프로젝트>` — 먼저 무엇을 지울지 보여 주고 아무것도 안 바꾼다. 맞으면 `--apply`. 프로젝트 하나가 아니라 머신 설정 전체(`~/.zshrc` 블록 · FH 클론의 훅)를 떼는 명령이다. `--plugin` 은 fh-meta 플러그인과 forge-harness 마켓플레이스 등록까지 지운다. 클론 없이 플러그인만 깔았으면 `claude plugin uninstall fh-meta@forge-harness`.
|
|
128
|
+
|
|
126
129
|
---
|
|
127
130
|
|
|
128
131
|
## 4. 더 읽을 것
|
|
@@ -309,3 +309,45 @@ repository says. rc=1 means the claim and the change differ (named both ways) or
|
|
|
309
309
|
«not closed», never as a small discrepancy. «0 files» with a non-empty claim is rc=1, not a pass. The receipt says what
|
|
310
310
|
changed, not whether it is right: tests and review still decide that. Outside anchors: `arXiv:2610.15459`, «report ≠
|
|
311
311
|
change» (frontier digest 2026-10-20). Lanes: `scripts/test_dispatch_receipt_lanes.sh` (wired in selfcheck).
|
|
312
|
+
|
|
313
|
+
## §Two-Purposes — a dispatch serves independence, permission or context, and only context can be folded (2026-10-27)
|
|
314
|
+
|
|
315
|
+
Anthropic's «Building agents: When to fold subagents into your main agent loop» (claude.com, 2026-10-22,
|
|
316
|
+
https://claude.com/blog/building-agents-when-to-fold-subagents-into-your-main-agent-loop) reports that a
|
|
317
|
+
single loop with skills and progressive disclosure often beat a subagent design on quality, cost and
|
|
318
|
+
latency across customer deployments, and keeps subagents for three cases: measured context bloat,
|
|
319
|
+
fresh-context parallel or throwaway work, and tool-selection failure or conflicting instructions. It warns
|
|
320
|
+
against one subagent per team (the org chart as architecture), and reports a fold that cut latency but
|
|
321
|
+
flipped a passing task in one of two runs — so it asks for repeated runs and a per-task flip check.
|
|
322
|
+
No scores are published; it is a vendor's account of customer cases and the balance may move with the model.
|
|
323
|
+
|
|
324
|
+
The article also says subagents are effective at «verification, parallel work, and modular permissioning»,
|
|
325
|
+
and names black-box verification and a generator-verifier pattern as split candidates — work that needs
|
|
326
|
+
little information from the rest of the system. What it does not explicitly establish is FH's stronger
|
|
327
|
+
requirement: **the reader must not be the author.** That requirement is why FH dispatches most often, so it
|
|
328
|
+
is written down here rather than inferred. FH sends work out for three purposes, and the fold advice
|
|
329
|
+
applies to only one:
|
|
330
|
+
|
|
331
|
+
| purpose | examples here | fold into the main loop? |
|
|
332
|
+
|---|---|---|
|
|
333
|
+
| **independence** — evidence from a reader who is not the author | blind evaluation · cross-review · a known-pair sim · a verifier that must not see the governor's conclusion | **never** |
|
|
334
|
+
| **permission** — a narrower authority boundary than the governor's | a read-only auditor · a sidecar that must not write the target tree | **never while the boundary matters** — folding hands the work the governor's write access |
|
|
335
|
+
| **context** — keep the main window small or run work in parallel | context-flooding search · parallel builders · throwaway exploration | **only after a measured fold** — repeated runs with a per-task flip check show no loss, and no independence or permission need applies |
|
|
336
|
+
|
|
337
|
+
How to apply:
|
|
338
|
+
- **The test is functional, not the label.** If the dispatch is asked to *judge* work the governor (or an
|
|
339
|
+
agent it directed) produced — a review, a second opinion, a pass/fail verdict, a blind score — it is
|
|
340
|
+
**independence**, whatever else it also does and whatever the card calls it. Calling a second-pass checker
|
|
341
|
+
«fresh-context exploration» does not make it foldable. Not independence: fetching facts the governor will
|
|
342
|
+
judge with (docs, a grep sweep, a list of call sites), and a builder running its own tests — those report,
|
|
343
|
+
they do not judge, and stay **context**.
|
|
344
|
+
- **Purposes can coexist; the strictest wins.** A blind evaluator that also reads a large corpus serves
|
|
345
|
+
independence and context at once — keep it one dispatch and do not fold it. Precedence:
|
|
346
|
+
independence > permission > context.
|
|
347
|
+
- Name the purpose(s) in the Context Card's first line («purpose: independence — …»).
|
|
348
|
+
- Do not cite the article as grounds to fold a reviewer, a blind sim or a cross-family check. Its fold
|
|
349
|
+
advice compares task quality, cost and latency; its own text keeps verification as a split candidate.
|
|
350
|
+
- Tool-count side note from the same article: «once you exceed 30-50 tool definitions in the system
|
|
351
|
+
prompt, tool choice tends to degrade», with grouping by user intent as the remedy. The quantity is tool
|
|
352
|
+
definitions **loaded into the prompt** (deferred tools not yet loaded do not count) — not installed skills
|
|
353
|
+
or MCP inventory. FH's loaded count per session is `UNMEASURED`, not «fine».
|
|
@@ -111,6 +111,13 @@ a known-pair on that runtime, not a claim about it.
|
|
|
111
111
|
day. Structure-enforcing checks are tier-blind by construction — so the harness raises the floor
|
|
112
112
|
for weak models *and* guards the ceiling for strong ones. Weak-model benefit is the larger term
|
|
113
113
|
(H1), top-tier benefit is the existence proof that the harness is not scaffolding-only.
|
|
114
|
+
**Scope of «guards the ceiling», measured 2026-10-27 (S1 — the first strong-tier A/B):** the
|
|
115
|
+
full-mode contract arm on Opus 5.5, 11 tasks where Opus without it already split, off vs full × 3
|
|
116
|
+
reps: full − off +27.3pp, 1 task harmed vs 7 helped ⇒ it **does not hold a strong model back**
|
|
117
|
+
(measured, pre-registered non-inferiority). Whether it **lifts** one is **not established** — 11
|
|
118
|
+
tasks is under the pre-registered 12, sign test p 0.070 — and it costs ×2.7 median wall time.
|
|
119
|
+
Say «does not bottleneck strong models; lifting them is unproven», never «amplifies strong
|
|
120
|
+
models». Record: `tracks/_meta/p3_contract_ab/s1/RESULTS_S1.md` (operator-local).
|
|
114
121
|
- **External academic grounding (arXiv:2605.30621, "Harness Updating Is Not Harness Benefit,"
|
|
115
122
|
May 2026 — surfaced via issue #102 Frontier Digest, 2026-08-15)**: the paper separates the
|
|
116
123
|
*evolver* role (writes harness updates) from the *beneficiary* role (runs on the updated
|
|
@@ -5030,3 +5030,59 @@
|
|
|
5030
5030
|
outcome: "codex 5/5 VALID (2 wrong, one with a false source claim); Gemini found both defects; governor confirmed in source — the H-blind-spot reading was withdrawn"
|
|
5031
5031
|
evidence: "tracks/_meta/p3_contract_ab/p11/RESULTS_P11.md"
|
|
5032
5032
|
tokens: UNMEASURED
|
|
5033
|
+
- date: 2026-10-25
|
|
5034
|
+
agent: "general-purpose (sonnet) ×8 — P16 task builders (Python ×4 · JS ×4, isolated /private/tmp)"
|
|
5035
|
+
task: "held-out fix tasks by domain for the P16 full-mode A/B"
|
|
5036
|
+
trigger: "RESULTS_P15 «(experimental)» condition — new held-out tasks ≥ 20"
|
|
5037
|
+
outcome: "accepted after governor fail-before/fix checks and calibration"
|
|
5038
|
+
evidence: "tracks/_meta/p3_contract_ab/ (P16)"
|
|
5039
|
+
tokens: UNMEASURED
|
|
5040
|
+
- date: 2026-10-25
|
|
5041
|
+
agent: "general-purpose (sonnet) ×2 — S4 / S4b non-developer scenario writers"
|
|
5042
|
+
task: "headless non-developer persona scenarios; hidden-risk variants"
|
|
5043
|
+
trigger: "operator KCDA sim order «확인 필요 없는 것 먼저»"
|
|
5044
|
+
outcome: "accepted as scenario input; S4b drove the FoD copy/move/redirect realpath reinforcement"
|
|
5045
|
+
evidence: "FoD gate reinforcement PR (10-26)"
|
|
5046
|
+
tokens: UNMEASURED
|
|
5047
|
+
- date: 2026-10-26
|
|
5048
|
+
agent: "general-purpose (sonnet) ×10 — P19 task builders (PA–PE · JA–JE) + Explore (sonnet) ×1 install-trace survey"
|
|
5049
|
+
task: "P19 held-out tasks; list every place FoD install leaves traces (for the detach lane)"
|
|
5050
|
+
trigger: "B full-mode official conditions · A clean-detach lane"
|
|
5051
|
+
outcome: "accepted with governor re-verification; trace list fed the detach home-diff lane (#958)"
|
|
5052
|
+
evidence: "FH #958 · tracks/_meta/p3_contract_ab/ (P19)"
|
|
5053
|
+
tokens: UNMEASURED
|
|
5054
|
+
- date: 2026-10-26
|
|
5055
|
+
agent: "general-purpose (sonnet) ×7 — detach-guide blind sim + blind spec sets B–G"
|
|
5056
|
+
task: "cold-read the detach guide; write blind specs for the residency D2A/D2A2 measurement (public repos + canaries, no company data)"
|
|
5057
|
+
trigger: "Done = fires at the floor tier · D2 preregistration"
|
|
5058
|
+
outcome: "accepted; spec sets used as D2A/D2A2 inputs"
|
|
5059
|
+
evidence: "tracks/_meta/residency_d2/RESULTS_D2A.md · RESULTS_D2A2.md"
|
|
5060
|
+
tokens: UNMEASURED
|
|
5061
|
+
- date: 2026-10-27
|
|
5062
|
+
agent: "general-purpose (sonnet) ×2 — D2 loss-transcript reader · FoD Windows packaging/install scripts"
|
|
5063
|
+
task: "read transcripts of tasks the reviewed arm lost; port Windows packaging + install.ps1/install.sh"
|
|
5064
|
+
trigger: "D2 operator decision · «윈도우용과 맥용 둘다 잘 준비해두자»"
|
|
5065
|
+
outcome: "transcript read accepted (D2_loss_transcripts); packaging accepted after codex R1 7 findings fixed, R2 residuals closed"
|
|
5066
|
+
evidence: "tracks/_meta/p3_contract_ab/D2_loss_transcripts_2026-10-27.md · FoD #159"
|
|
5067
|
+
tokens: UNMEASURED
|
|
5068
|
+
- date: 2026-10-27
|
|
5069
|
+
agent: "codex (gpt) ×4 + agy gemini-3.8-flash-high ×1 — read-only reviews"
|
|
5070
|
+
task: "FoD #158 settings UI (Gemini R1) · #159 Windows port (codex R1 · R2) · #162 issue-161 inline-python proof (codex R1 cut by content filter · R2)"
|
|
5071
|
+
trigger: "load-bearing gate / installer code"
|
|
5072
|
+
outcome: "#158 1 of 5 accepted (others excerpt artifacts); #159 7 fixed; #162 both rounds found new bypasses of the proof → narrowing withdrawn, fail-closed kept with a known-false-positive reason. Lesson: an R1 refused by a filter is not zero findings — its partial line matched the governor's own catch"
|
|
5073
|
+
evidence: "FoD #158 · #159 · #162"
|
|
5074
|
+
tokens: UNMEASURED
|
|
5075
|
+
- date: 2026-10-27
|
|
5076
|
+
agent: "general-purpose (sonnet) ×3 — FoD quota-ring builder · FoD Windows exe icon builder · FH weekly audit"
|
|
5077
|
+
task: "FoD #164 stale age + extra CODEX_HOME · FoD #165 exe icon via resedit · weekly_audit_2026-10-27.md (Phase 1.5)"
|
|
5078
|
+
trigger: "운영자 2026-10-27 «자체개발 자율주행하주고 주간감사도 해줘 fod쪽도 해주고 … 병렬로 거버너 모드로»"
|
|
5079
|
+
outcome: "#164 accepted after codex R1 4 fixes (2 A verified by governor), R2 4 B residuals named · #165 accepted after R1 1 fix, R2 2 B residuals · audit accepted, 🟥 claims spot-checked against gh/below_floor_scan; Q1 led to FH #962"
|
|
5080
|
+
evidence: "FoD #164 · #165 · tracks/_audit/weekly_audit_2026-10-27.md · FH #962"
|
|
5081
|
+
tokens: UNMEASURED
|
|
5082
|
+
- date: 2026-10-27
|
|
5083
|
+
agent: "codex (gpt) ×7 — read-only reviews"
|
|
5084
|
+
task: "FoD #164 R1·R2 · #165 R1·R2 · FH #961 R1·R2 · FH #962 R1"
|
|
5085
|
+
trigger: "load-bearing installer / sync channel / resident rule"
|
|
5086
|
+
outcome: "all A findings taken; FH #961 R1 caught a missing permission purpose and a label loophole; FH #962 R1 caught SIGPIPE→141 before the refusal"
|
|
5087
|
+
evidence: "FoD #164 · #165 · FH #961 · #962"
|
|
5088
|
+
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.31.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": {
|
|
@@ -216,6 +216,10 @@
|
|
|
216
216
|
"scripts/numeric_token_diff.py",
|
|
217
217
|
"scripts/outbound_pr_gate.sh",
|
|
218
218
|
"scripts/outbound_query_guard.sh",
|
|
219
|
+
"scripts/abstract_consult_check.py",
|
|
220
|
+
"scripts/fh_detach.py",
|
|
221
|
+
"scripts/test_fh_detach_lanes.sh",
|
|
222
|
+
"scripts/test_abstract_consult_check_lanes.sh",
|
|
219
223
|
"scripts/outbound_query_hook.sh",
|
|
220
224
|
"scripts/package_coverage_check.sh",
|
|
221
225
|
"scripts/pipe_verdict_guard.sh",
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# forge-harness (fh-meta) Changelog
|
|
2
2
|
|
|
3
|
+
### [3.31.0] — 2026-10-27 — 설치 마법사 되돌리기(fh_detach) · 디스패치마다 목적 적기 · selfcheck 시간 상한 · 바깥 질문 검사기(실험 종료 · 호출부 없음)
|
|
4
|
+
|
|
5
|
+
**minor.** In short (for upgraders): one new tool takes off what `/install-wizard` put on (`scripts/fh_detach.py`, dry run by default), one new checker screens a question before it goes to an outside model (`scripts/abstract_consult_check.py`, nothing calls it — off by default), and `selfcheck.sh` gives the mutation-probe lane suite a longer time budget. `fh_detach.py` takes FH off the whole machine setup (the `~/.zshrc` block and the FH clone's hooks go too), not one project — run the dry run first. The pre-send checker is an ended experiment (it missed its pre-registered bar) kept as an inert tool: it sends nothing and nothing calls it. For npm consumers nothing that passed before is refused now; upgrading from 3.30.0 needs no action. The one `BREAKING (gate)` line below applies only if you run the companion-store sync script (`scripts/sync-to-be.sh`) from a clone of this repository — that script is not in the npm package.
|
|
6
|
+
|
|
7
|
+
소비자에게 닿는 변화:
|
|
8
|
+
- 새 도구 `scripts/fh_detach.py`: 설치 마법사가 남기는 흔적을 알아보는 형태로만 되돌린다 — `~/.zshrc` 블록 · `.claude/settings*.json` 훅 항목(배포 스니펫과 내용이 같은 항목만 — JSON 정렬 후 비교, Mode-D 명령 형태 포함) · `CLAUDE.local.md` 절 · `core.hooksPath=templates/.git-hooks` · `~/.cc_sentinels/` 의 해당 이름 · `.claude/rules/` 의 안 고친 템플릿 사본 2개. 🟥 `--project` 를 줘도 셸 블록 · FH 클론의 훅 · hooksPath 까지 지운다 — 프로젝트 하나 떼기가 아니라 머신 설정 떼기다. 배포 항목과 똑같이 손으로 넣은 훅은 구별 못 해 FH 것으로 본다. 클론 없이 플러그인만 깔았으면 `claude plugin uninstall fh-meta@forge-harness`. 기본 드라이런, `--apply` 로 실행, `--plugin` 은 `fh-meta` 와 forge-harness 마켓플레이스 등록까지 지운다. 비슷하지만 다른 흔적은 지우지 않고 보여 준 뒤 종료 1. 마법사 쪽 수리: 게이트 블록은 `FH_WIZARD_GATE_CONSENT=Y` 일 때만 건다 · 같은 스크립트 이름을 쓰는 사용자 훅을 지우지 않는다. install-wizard SKILL.md §Detach(#958).
|
|
9
|
+
- 새 도구 `scripts/abstract_consult_check.py`: 비공개 코드를 다루는 에이전트가 이름을 역할로 바꿔 바깥 모델에 물을 때, 보내기 **전에** 그 질문을 검사한다. 보내지 않고 운영 경로의 호출부가 없다(기본 꺼짐). 종료 0 깨끗(사람이 한 번 더 본다) · 1 걸림 · 2 사용법 오류 · 3 검사 못 함(막음)(#956). #957 은 사전 낱말로 된 레포 식별자를 막지 않고 «flags» 로 보여만 준다(레포 호스트 · 작성자 이름/이메일 · 원문 조각은 계속 막는다). 실측(표본이 다른 두 회차): 깨끗한 가린 질문 통과 0/12 → 5/18(28% — 사전 등록 문턱 50% 미달, 판정 STOP · 이 갈래 종료) · 원문 + 심은 이름을 붙여 넣은 질문 차단 44/44 유지 · 회피 변형 35/40.
|
|
10
|
+
- `selfcheck.sh`: 짝 레인 루프의 시간 상한을 스위트별로 둔다 — mutation-probe 600초(실측 318~322초), 나머지는 기존 300초. 시간 초과 줄은 적용된 상한을 적고, 상한의 80% 이상을 쓴 스위트를 `NOTE` 로 적는다(GNU `timeout` 이 있을 때). 한 머신에서 체크아웃 둘이 동시에 돌 때만 빨개지던 레인 3개: 포트는 OS 가 고르고 · 프로세스 표식은 실행마다 · 남은 백업 보정은 `UNMEASURED` 로 다룬다(#955).
|
|
11
|
+
- 필드 템플릿 `templates/CLAUDE.md`: 지침 파일이 적은 관례를 기존 코드가 안 따르면, 바꾸는 자리 가까운 코드를 따르고 그렇다고 말한다 — «새로 쓰거나 바꾸는 코드» 로 범위를 둔 규칙과 보안 · 비공개 · 안전 · 게이트 규칙은 항상 이긴다(#951).
|
|
12
|
+
- `CLAUDE.md §Agent Dispatch`: 디스패치마다 목적을 적는다 — 독립성(내 작업을 판정한다 — 메인 루프로 접지 않음) · 권한(더 좁은 권한 — 그 경계가 필요한 동안 접지 않음) · 맥락(반복 실행으로 과제별 손실이 없을 때만 접음). 상세 `dispatch_conditional_prohibition.md §Two-Purposes`(Anthropic 2026-10-22 «When to fold subagents» 대조)(#961).
|
|
13
|
+
- 방법론 문서: 바닥 교리의 «강한 모델의 천장도 지킨다» 를 잰 범위로 좁혔다 — 강한 모델을 막지 않는다(측정), 끌어올림은 미증명(#959). README 에 npm 누적 내려받기 배지(#953). 위임 기록(`subagent_invocations_log.yaml`, 배포됨)(#960).
|
|
14
|
+
|
|
15
|
+
허브 체크아웃 전용(npm 에 안 실림):
|
|
16
|
+
- BREAKING (gate): `sync-to-be.sh` 는 한 번의 동기화가 새 파일을 `FH_SYNC_BULK_MAX`(기본 3000)개 넘게 추가하려 하면 그 파일들의 스테이징만 풀고 아무것도 커밋 · 푸시하지 않으며 가장 큰 폴더를 보여 주고 **종료 14** 다 — 예전엔 그대로 커밋 · 푸시했다(실험 작업 트리가 8,430~149,815 개씩 8 회 들어감). 파일은 이미 스토어 작업 트리에 복사돼 있으므로, 처방은 그 폴더를 제외 목록에 넣거나 스토어에서 지우거나, 의도한 양이면 `FH_SYNC_BULK_OK=1` 로 한 번 돌리기(#962).
|
|
17
|
+
- `sync_excludes.txt` 에 `home/`(이 이름의 폴더는 실험 밖이어도 전부 제외 — 파일에 잔여로 적음) · `work/` 레인(#950). 돌려받는 동기화가 지난 깨끗한 패스 이후 양쪽 다 안 바뀐 파일의 비교를 건너뛴다 — 운영자 허브 실측 246 → 10초(훅 제한 45초 안), 도장 없는 첫 패스는 여전히 길 수 있고 옛 mtime 을 보존한 복사본은 `--full` 이 필요하다(#954). 카트리지 스키마 `kind`(activity|method) · `applies_when` — 새 키가 없는 기존 매니페스트는 그대로 통과(#952).
|
|
18
|
+
|
|
3
19
|
### [3.30.0] — 2026-10-23 — sim 러너가 지침 파일 아래 출력 폴더를 거부 · 머지 영수증 · 메모리 근거 앵커 · 온보딩 빨라짐
|
|
4
20
|
|
|
5
21
|
**minor.** In short (for upgraders): `scripts/sim_isolated_run.sh` now refuses an `--out` that sits under a directory holding Claude instruction files — read the BREAKING line below if you run it from inside a checkout. The rest adds output (a receipt line, report sections, an advisory), is faster, or corrects how three tools classify what they read (`unblocked` status rows, memory promote candidates, stale-reference pins) — see the bullets. Upgrading from 3.29.0 needs no action unless you point `--out` inside a repo.
|
|
@@ -287,6 +287,31 @@ When run again in an environment that has already passed the wizard (`~/.cc_sent
|
|
|
287
287
|
- Proposes only newly found MISS/FAIL items
|
|
288
288
|
- No full reinstall
|
|
289
289
|
|
|
290
|
+
## Detach (undo the wizard)
|
|
291
|
+
|
|
292
|
+
What this wizard writes can be taken back with one command (the named residuals below are the exceptions). It
|
|
293
|
+
takes FH off the machine setup, not one project — the zshrc block and the FH clone's hooks and `core.hooksPath`
|
|
294
|
+
go too. With no clone (plugin only), use `claude plugin uninstall fh-meta@forge-harness` instead:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
python3 "$FH_DIR/scripts/fh_detach.py" --project . # dry run — prints the plan, changes nothing
|
|
298
|
+
python3 "$FH_DIR/scripts/fh_detach.py" --project . --apply # carry it out (--plugin also uninstalls fh-meta and removes the forge-harness marketplace entry)
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
It removes the zshrc block, the FH hook entries (every field equal to a shipped snippet entry, key order ignored),
|
|
302
|
+
the companion section in `CLAUDE.local.md`, the gate's `core.hooksPath`, this project's `~/.cc_sentinels/*_wizard_*`
|
|
303
|
+
files and unchanged template copies. A user's own hook survives, even one sharing a script name or a group with FH —
|
|
304
|
+
unless it is identical to FH's shipped entry, which the tool cannot tell apart.
|
|
305
|
+
Anything FH-like that is not an exact match (an older snippet version, a copy you edited) is listed as `LEFT` and
|
|
306
|
+
the exit code is 1 — look at it by hand. When the wizard's `.prewizard` backup still matches, your original
|
|
307
|
+
settings bytes come back. Lanes: `scripts/test_fh_detach_lanes.sh` (install with this wizard's own blocks → detach →
|
|
308
|
+
byte-equal tree).
|
|
309
|
+
|
|
310
|
+
Named residuals: a hook for a script FH no longer ships is not recognised (neither removed nor listed); the installer
|
|
311
|
+
treats a command that runs the hub's own `$CLAUDE_PROJECT_DIR/scripts/<name>.sh` as FH's, so it replaces such a command
|
|
312
|
+
on re-install; a `~/.zshrc` that had no final newline keeps the one newline the wizard added; settings rewritten
|
|
313
|
+
without a matching `.prewizard` come back as indent-2 JSON (same content, not the same bytes).
|
|
314
|
+
|
|
290
315
|
## External User Environment Adaptation
|
|
291
316
|
|
|
292
317
|
| Mode | Environment | Action |
|
|
@@ -564,11 +564,16 @@ elif [ "${FH_WIZARD_ZSHRC_CONSENT:-N}" != "Y" ]; then
|
|
|
564
564
|
elif grep -q "fh_audit_check.zsh" "$ZSHRC" 2>/dev/null; then
|
|
565
565
|
echo "zshrc hook: already present — no change"
|
|
566
566
|
else
|
|
567
|
+
# Begin/end markers let scripts/fh_detach.py remove exactly this block and nothing else.
|
|
568
|
+
# A file without a trailing newline would glue our first line onto the user's last one.
|
|
569
|
+
[ -s "$ZSHRC" ] && [ -n "$(tail -c1 "$ZSHRC")" ] && printf '\n' >> "$ZSHRC"
|
|
567
570
|
cat >> "$ZSHRC" <<EOF
|
|
571
|
+
# >>> forge-harness (install-wizard) >>>
|
|
568
572
|
export FH_DIR="$FH_DIR"
|
|
569
573
|
export CC_HUB_DIR="$CC_HUB_DIR"
|
|
570
574
|
export CC_SENTINELS_DIR="\$HOME/.cc_sentinels"
|
|
571
575
|
source "\$FH_DIR/templates/fh_audit_check.zsh"
|
|
576
|
+
# <<< forge-harness (install-wizard) <<<
|
|
572
577
|
EOF
|
|
573
578
|
echo "zshrc hook: appended"
|
|
574
579
|
fi
|
|
@@ -665,8 +670,16 @@ for snip in snippets:
|
|
|
665
670
|
# the loss: [my_telemetry.sh, fh_session_load.sh] lost my_telemetry.sh entirely).
|
|
666
671
|
kept = []
|
|
667
672
|
for g in hooks.get(event, []):
|
|
673
|
+
# A hook is FH's only when it names one of the snippet's scripts AND points into an FH hub
|
|
674
|
+
# ($CLAUDE_PROJECT_DIR or forge-harness). The path-form key alone still matched a user's own
|
|
675
|
+
# ~/tools/scripts/fh_node_check.sh and deleted it (scripts/test_fh_detach_lanes.sh D5b, 2026-10-26).
|
|
676
|
+
# A command byte-equal to one this snippet is about to write is ours whatever it points at — that keeps a
|
|
677
|
+
# re-run idempotent (scripts/test_wizard_snippet_merge_lanes.sh MS-4).
|
|
678
|
+
own = {h.get("command") for eg in entry for h in eg.get("hooks", [])}
|
|
668
679
|
survivors = [h for h in g.get("hooks", [])
|
|
669
|
-
if not
|
|
680
|
+
if not (h.get("command", "") in own
|
|
681
|
+
or (any(k in h.get("command", "") for k in keys)
|
|
682
|
+
and re.search(r"CLAUDE_PROJECT_DIR|forge-harness", h.get("command", ""))))]
|
|
670
683
|
if survivors:
|
|
671
684
|
g = dict(g); g["hooks"] = survivors
|
|
672
685
|
# `"matcher": ""` and an omitted matcher are the same thing in Claude Code (hooks doc,
|
|
@@ -737,10 +750,14 @@ FH_NODE_STATE="$_T" bash "$FH_DIR/scripts/fh_node_check.sh"; rm -f "$_T"
|
|
|
737
750
|
# NEVER installed into field projects (see auto_project_mapping.md §6). Skip unless you develop FH itself.
|
|
738
751
|
# Per Core Principles (Per-item approval + Double-confirm irreversible changes): this is NOT auto-run —
|
|
739
752
|
# it is a separate explicit Y/N, not folded into the baseline-setup batch.
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
753
|
+
# The Y/N used to be a COMMENT («On explicit Y only») — pasted or scripted, the block set hooksPath
|
|
754
|
+
# unconditionally, the same defect the zshrc block above had until 2026-08-12. Now a real conditional on
|
|
755
|
+
# FH_WIZARD_GATE_CONSENT, default N (fail-closed). Lane: scripts/test_fh_detach_lanes.sh (G1/G2).
|
|
756
|
+
if [ -d "$FH_DIR/templates/.git-hooks" ] && [ "${FH_WIZARD_GATE_CONSENT:-N}" != "Y" ]; then
|
|
757
|
+
echo "4-axis pre-commit gate: SKIPPED (no explicit Y) — set FH_WIZARD_GATE_CONSENT=Y after the user answers Y to:"
|
|
758
|
+
echo " Enable the 4-axis pre-commit gate on your FH clone ($FH_DIR)? It will block commits there until"
|
|
759
|
+
echo " markers pass (Mode D / FH-development only). Skip if you are not developing FH itself. (Y/N)"
|
|
760
|
+
elif [ -d "$FH_DIR/templates/.git-hooks" ]; then
|
|
744
761
|
git -C "$FH_DIR" config core.hooksPath templates/.git-hooks
|
|
745
762
|
chmod +x "$FH_DIR/templates/.git-hooks/pre-commit" 2>/dev/null
|
|
746
763
|
echo "4-axis pre-commit gate: installed (core.hooksPath -> templates/.git-hooks)"
|
|
@@ -748,7 +765,8 @@ fi
|
|
|
748
765
|
|
|
749
766
|
# sentinel initialization (per-project independent — prevent conflicts with other projects on same machine)
|
|
750
767
|
mkdir -p ~/.cc_sentinels
|
|
751
|
-
|
|
768
|
+
# quoted: a project folder named «my project» used to create ~/.cc_sentinels/my and ./project_wizard_done (codex R2)
|
|
769
|
+
touch ~/.cc_sentinels/"$(basename "$(pwd)")"_wizard_done
|
|
752
770
|
|
|
753
771
|
# Weekly audit cadence — NO cron needed (a session-scoped scheduler cannot fire on a later day).
|
|
754
772
|
# Durable mechanism = the zshrc hook above (fh_audit_check.zsh warns on terminal start when 7+ days
|