@chrono-meta/fh-gate 3.44.0 → 3.46.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.
Files changed (101) hide show
  1. package/.claude/rules/fh_4axis_gate.md +50 -608
  2. package/.claude-plugin/marketplace.json +4 -4
  3. package/CATALOG.md +21 -0
  4. package/CHEATSHEET.md +13 -3
  5. package/docs/codex-compat.md +1 -1
  6. package/knowledge/shared/harness-core/fh_4axis_gate_detail.md +679 -0
  7. package/knowledge/shared/harness-core/fh_detail_protocols.md +1 -0
  8. package/knowledge/shared/harness-core/fh_integration_contract.md +1 -1
  9. package/knowledge/shared/harness-core/fh_module_contract.md +106 -3
  10. package/knowledge/shared/harness-core/heavy_skill_to_cartridge.md +185 -0
  11. package/knowledge/shared/learnings/subagent_invocations_log.yaml +209 -0
  12. package/package.json +19 -1
  13. package/plugins/fh-commons/.claude-plugin/plugin.json +1 -1
  14. package/plugins/fh-commons/skills/ko-tech-writer/SKILL.md +9 -8
  15. package/plugins/fh-commons/skills/ko-tech-writer/SKILL_detail.md +20 -0
  16. package/plugins/fh-commons/skills/mcp-circuit-breaker/SKILL.md +12 -6
  17. package/plugins/fh-meta/.claude-plugin/plugin.json +1 -1
  18. package/plugins/fh-meta/CHANGELOG.md +122 -0
  19. package/plugins/fh-meta/skills/auto-decorrelation/SKILL.md +13 -0
  20. package/plugins/fh-meta/skills/context-doctor/SKILL.md +1 -0
  21. package/plugins/fh-meta/skills/deep-clarify/SKILL.md +76 -22
  22. package/plugins/fh-meta/skills/harvest-loop/SKILL.md +2 -2
  23. package/plugins/fh-meta/skills/install-wizard/SKILL_detail.md +4 -0
  24. package/plugins/fh-meta/skills/memory-hygiene/SKILL.md +6 -0
  25. package/plugins/fh-meta/skills/steel-quench/SKILL_detail.md +2 -1
  26. package/plugins/fh-preprep/.claude-plugin/plugin.json +1 -1
  27. package/plugins/fh-qp/.claude-plugin/plugin.json +1 -1
  28. package/scripts/agy_launch_guard.sh +117 -1
  29. package/scripts/below_floor_scan.sh +30 -0
  30. package/scripts/codex_launch_guard.sh +38 -2
  31. package/scripts/correction_moments.py +23 -2
  32. package/scripts/fh-gate.sh +612 -14
  33. package/scripts/fh-goal.sh +56 -12
  34. package/scripts/fh-run.sh +1 -1
  35. package/scripts/fh_gate_exec.sh +272 -0
  36. package/scripts/fh_session_load.sh +17 -0
  37. package/scripts/finding_fleet.sh +2 -1
  38. package/scripts/finding_verifier.sh +2 -1
  39. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/README.md +16 -0
  40. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/check_refs.py +12 -0
  41. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/scripts/test_check_refs.py +24 -0
  42. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/SKILL.md +16 -0
  43. package/scripts/fixtures/heavy_skill_smell/clean/tidy-notes/skills/tidy-notes/fh-module.yaml +20 -0
  44. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/SKILL.md +25 -0
  45. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/hooks/hooks.json +7 -0
  46. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/check_links.py +25 -0
  47. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish.sh +9 -0
  48. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/publish_guard.py +6 -0
  49. package/scripts/fixtures/heavy_skill_smell/heavy/docs-publisher-pro/scripts/setup.sh +5 -0
  50. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/SKILL.md +25 -0
  51. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/hooks/hooks.json +10 -0
  52. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/check_refs.py +12 -0
  53. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/guard_push.py +9 -0
  54. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/install.sh +6 -0
  55. package/scripts/fixtures/heavy_skill_smell/heavy/release-notes-pro/scripts/ship.sh +9 -0
  56. package/scripts/heavy_skill_smell.py +311 -0
  57. package/scripts/job_heartbeat.py +186 -0
  58. package/scripts/live_eval_matrix.py +128 -0
  59. package/scripts/live_eval_trace.py +197 -4
  60. package/scripts/package_coverage_check.sh +18 -0
  61. package/scripts/pr_merge_verified.sh +14 -4
  62. package/scripts/prepush_guard_check.sh +8 -0
  63. package/scripts/probe_live_eval.sh +32 -0
  64. package/scripts/probe_live_eval_lib.py +8 -2
  65. package/scripts/selfcheck.sh +113 -0
  66. package/scripts/selfcheck_shard_weights.txt +2 -0
  67. package/scripts/sidecar_calibrate.sh +7 -5
  68. package/scripts/sim_isolated_run.sh +20 -0
  69. package/scripts/test_agy_launch_guard_lanes.sh +120 -0
  70. package/scripts/test_below_floor_scan_lanes.sh +85 -0
  71. package/scripts/test_codex_launch_guard_lanes.sh +45 -0
  72. package/scripts/test_correction_moments_lanes.sh +37 -0
  73. package/scripts/test_deep_clarify_interview_lanes.sh +108 -0
  74. package/scripts/test_deep_clarify_spec_path_lanes.sh +91 -0
  75. package/scripts/test_fh_gate_absorb_lanes.sh +255 -0
  76. package/scripts/test_fh_gate_defaults_lanes.sh +188 -0
  77. package/scripts/test_fh_gate_exec_lanes.sh +244 -0
  78. package/scripts/test_fh_gate_fusion_lanes.sh +202 -0
  79. package/scripts/test_fh_gate_regressions.sh +92 -1
  80. package/scripts/test_fh_goal_change_detection_lanes.sh +103 -3
  81. package/scripts/test_finding_pipeline_lanes.sh +35 -1
  82. package/scripts/test_guard_anchor_override_env_lanes.sh +84 -0
  83. package/scripts/test_heavy_skill_smell_lanes.sh +160 -0
  84. package/scripts/test_job_heartbeat_lanes.sh +96 -0
  85. package/scripts/test_live_eval_construct_lanes.sh +29 -6
  86. package/scripts/test_live_eval_matrix_lanes.sh +53 -0
  87. package/scripts/test_live_eval_trace_lanes.sh +132 -5
  88. package/scripts/test_name_boundary_locale_lanes.sh +36 -5
  89. package/scripts/test_pr_merge_verified_lanes.sh +15 -2
  90. package/scripts/test_prepush_marker_lookup_lanes.sh +143 -0
  91. package/scripts/test_probe_live_eval_lanes.sh +44 -0
  92. package/scripts/test_regression_guard_sibling_lanes.sh +52 -1
  93. package/scripts/test_sidecar_calibrate_lanes.sh +1 -1
  94. package/scripts/test_sim_isolated_run_lanes.sh +43 -0
  95. package/scripts/universal_guard_check.sh +8 -0
  96. package/scripts/worktree_reclaim.sh +1 -1
  97. package/templates/.claude/rules/mcp_tool_gating.md +27 -0
  98. package/templates/.git-hooks/pre-push +60 -3
  99. package/templates/PRE-PUBLISH-CHECKLIST.md +22 -0
  100. package/templates/regression_guard.sh +8 -4
  101. package/templates/settings.LaneGap.snippet.json +27 -0
@@ -11,25 +11,25 @@
11
11
  "plugins": [
12
12
  {
13
13
  "name": "fh-meta",
14
- "version": "3.44.0",
14
+ "version": "3.46.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.44.0",
20
+ "version": "3.46.0",
21
21
  "description": "Project-agnostic utility skills — 7 skills (convergence-loop · deliberation · mcp-circuit-breaker · token-budget-gate · ko-tech-writer · persona-cast · standpoint-review) + 7 agents (quench-challenger + the web-review cast: designer · ux-writer · fe-dev · be-dev · qa · a11y). Domain-independent utilities transplantable into any project.",
22
22
  "source": "./plugins/fh-commons"
23
23
  },
24
24
  {
25
25
  "name": "fh-qp",
26
- "version": "3.44.0",
26
+ "version": "3.46.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.44.0",
32
+ "version": "3.46.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/CATALOG.md CHANGED
@@ -22,6 +22,27 @@ entries. Same class as the 2026-08-20 entry below (index drift on `knowledge/`);
22
22
  contract v0: a module is a cartridge that plugs into FH and can be pulled out; it may add constraints
23
23
  but never weaken the core floor. Closed-enum manifest (`fh-module.yaml`), install-time check, removal
24
24
  rule. Checker: `scripts/fh_module_check.py`.
25
+ - `knowledge/shared/harness-core/heavy_skill_to_cartridge.md` — #module, #cartridge, #refactoring. Turning a
26
+ «heavy skill» (own gates, hooks, floor rules) into a cartridge: craft / checks / floor split, `ready:` hand-off or
27
+ core-routed commands, standalone export limits, known-pair lane. Advisory checker: `scripts/heavy_skill_smell.py`.
28
+ - `scripts/cartridge_loader.py` — #module, #cartridge, #routing, #hook. Core SessionStart hook: loads the cartridges
29
+ the operator lists (admitted snapshot + sha256) into the session; activity cartridges skipped. Hub-only for now
30
+ (ships with `cartridge_admit.py`). Lanes: `scripts/test_cartridge_loader_lanes.sh`.
31
+ - `scripts/scoreboard_render.py` — #scoreboard, #measurement, #seal. Renders a «what FH / FoD gives a person» page from
32
+ an index of sealed records: a row shows only if its pre-registration commit was pushed before the result and its k/n
33
+ are quoted verbatim from the result; every outcome shows (win · no difference · not detected · ceiling · claim not
34
+ supported); groups never pool. Lanes: `scripts/test_scoreboard_render_lanes.sh`.
35
+ - `scripts/fh_gate_exec.sh` — #fh-gate, #execution-layer, #lanes, #code-review. fh-gate's token-free execution layer:
36
+ E0 runs FH's class scanners (pipefail early-exit) against the change, E1 runs the change's target lanes in a copy
37
+ (red by this change → A · red before → C · did not finish → B). Opt-in since 3.45.0 (`FH_GATE_EXEC=on`), as are the
38
+ built-in `/code-review` as reviewer (`FH_REVIEWER=code-review`), a «goldfish» pass that follows `/code-review`'s
39
+ method (`FH_REVIEWER=fh`) and the «elephant» pass over the touched files' history (`FH_GATE_ELEPHANT=auto`); the
40
+ default review is `fh-legacy`. Lanes: `scripts/test_fh_gate_defaults_lanes.sh` · `scripts/test_fh_gate_exec_lanes.sh`
41
+ · `scripts/test_fh_gate_fusion_lanes.sh` · `scripts/test_fh_gate_absorb_lanes.sh`.
42
+ - `scripts/fh_techwriter_sync_check.sh` — #export, #drift, #ko-tech-writer. Names the files where the published
43
+ fh-techwriter copy (its committed HEAD) differs from FH's own export of ko-tech-writer — DRIFT · MISSING · EXTRA —
44
+ and prints the regen command for a human; never writes to the copy. selfcheck prints it as an INFO line.
45
+ Lanes: `scripts/test_fh_techwriter_sync_lanes.sh`.
25
46
  - `knowledge/shared/harness-core/governance_engineering_definition.md` — #governance-engineering,
26
47
  #identity, #naming. Names the discipline this hub practices: moving an error rate toward 0.x% and
27
48
  blocking at the surfaces where that number may not buy passage. Distinct from harness engineering
package/CHEATSHEET.md CHANGED
@@ -239,6 +239,8 @@ npx --package @chrono-meta/fh-gate fh-gate "src/foo.ts" full # explicit files +
239
239
  FH_BACKEND=codex npx --package @chrono-meta/fh-gate fh-gate # Codex backend (default: claude)
240
240
  # → FH_GATE_VERDICT: PASS | PENDING | BLOCKED | ESCALATE
241
241
  # → exit: 0 PASS · 1 PENDING · 2 BLOCKED · 3 ESCALATE · 10 harness error · 11 arg error · 12 dry-run
242
+ # → a changed file whose name holds a newline cannot be passed on: fh-gate (and fh-goal) exit 10
243
+ # instead of reviewing the rest. Rename the file, or name the files to review explicitly.
242
244
 
243
245
  # Run a skill or agent doc through a backend, outside Claude Code
244
246
  npx --package @chrono-meta/fh-gate fh-run --skill <name>
@@ -259,7 +261,13 @@ fh-codex-doctor --strict
259
261
  | `FH_BACKEND` | `claude` \| `codex` \| `auto` | Backend CLI, **one leg**. `claude` runs `claude --print`; `codex` runs `codex exec`; `auto` is fallback *selection* — it prefers Codex when both CLIs are present, and still runs only one |
260
262
  | `FH_BACKEND=cross` | `cross` | **Both model families, findings UNIONed** (a finding only one family saw is still a finding, so union rather than vote); the verdict is the most severe leg. Costs ~2x, so it is for load-bearing verdict / gate / irreversible-surface changes, not a default. The output always declares which legs actually ran (`FH_GATE_LEGS:`, `FH_GATE_DECORRELATED:`) — on a machine with only one family installed, `cross` degrades to that single leg **and says so**, because a single-family result that reads as cross-checked is worse than an honest one. A single-leg PASS or PENDING becomes **ESCALATE (exit 3)** with `FH_GATE_ESCALATE_REASON: cross-degraded …` — cross was asked for and not delivered; `FH_GATE_CROSS_ALLOW_SINGLE=1` accepts one family and is echoed as `FH_GATE_CROSS_OVERRIDE:` |
261
263
  | `FH_MODEL` | model id | Override backend model |
262
- | level arg | `quick` \| `full` | Gate depth (default `quick`) |
264
+ | level arg | `quick` \| `full` | Gate depth (default `quick`). With `FH_REVIEWER=code-review`, `quick` calls `/code-review medium` and `full` calls `/code-review high`; `FH_GATE_ELEPHANT=auto` turns the elephant pass on at `full` |
265
+ | `FH_REVIEWER` | `fh-legacy` \| `code-review` \| `fh` | Review stage. **Default (every backend): `fh-legacy`**, the steel-quench angle pass the gate shipped before 3.45.0. Opt-in: `code-review` = the built-in `/code-review` (claude only), its findings carried as reported (Important → B, Nit and Pre-existing → C) — **not read-only**: it runs git's read commands, which can write a file (`--output=`), so use it on trusted changes only; `fh` = FH's own **goldfish** pass, which follows `/code-review`'s method (eight finder angles, one CONFIRMED / PLAUSIBLE / REFUTED vote per candidate, severity-ordered, at most 10 at `full` / 8 at `quick`) and never sees the author's description; on the claude backend it gets only Read · Glob · Grep (no shell, no MCP server, no skill); on codex it runs in `codex exec -s read-only`. Both opt-ins default `FH_TIMEOUT` to 900. UNMEASURED: whether a headless `/code-review` or goldfish call returns the structured object on every runner — why neither is the default |
266
+ | `FH_GATE_ELEPHANT` | `off` \| `auto` \| `on` | The **elephant** pass (default `off`; `auto` = on at `full`, off at `quick`), with any reviewer: it gets `FH_TASK_DESCRIPTION` and the touched files' git history and looks only for a past fix re-opened, a recorded decision undone, or the stated task contradicted. Its findings carry `source: "elephant"` |
267
+ | `FH_GATE_EXEC` | `off` \| `on` | Execution layer, token-free (default `off` — opt-in, because it runs the repository's own lane scripts): E0 class scanners and E1 the change's target lanes, run in a **copy** of the tree. A lane this change turns red → A (BLOCKED); red before the change too → C; did not finish → B. It runs the change's own lane scripts — use `off` where the change is not trusted. Each step prints what it ran, or `NOT RUN` and why, on `FH_GATE_E0:` / `FH_GATE_E1:` |
268
+ | `FH_GATE_BASE` · `FH_GATE_LANES` · `FH_LANE_TIMEOUT` | ref · commands · seconds | What the execution layer measures against (default: `HEAD` when the tree has uncommitted changes, else the merge-base with `main`); declared lanes instead of discovery; seconds per lane (600) |
269
+
270
+ Why `/code-review` is offered (2026-11-19): measured on 8 real past diff bugs × 3, fh-gate's own pass and `/code-review high` caught the same share (0.417) and the gate cost about 4.8× as much. What fh-gate adds is the typed verdict, the exit codes, the record, the cross leg — and the execution layer, which a reader cannot replace. Why it is not the default (3.45.0): whether a headless `/code-review` or goldfish call returns the structured object on every runner is unmeasured. Whether the execution layer catches what `/code-review` misses is being measured; until then it is a hypothesis.
263
271
 
264
272
  > **vs the plugin path (§9):** the plugin gives you interactive `/slash-commands` inside a `claude` session (Claude-only). The npx path is a single-shot CLI that runs **without** Claude Code and works with Codex too — built for CI pipelines and non-Claude users. Exit codes make it gate-able in GitHub Actions.
265
273
 
@@ -520,7 +528,7 @@ Claude agents feature
520
528
  | `harness-doctor` | Diagnoses harness structure (L1–L4) on the principle "a good harness gets simpler over time" | "check my Claude setup", "the harness feels complex", "too many skills" |
521
529
  | `context-doctor` | Finds the 3 main causes of token waste + prescribes `.claudeignore` / `/clear` timing | "session is slow", "context is getting full", "clean up context" |
522
530
  | `install-doctor` | Diagnoses conflicts/duplicates/overwrite risks before installing plugins into a project | "check the install", "verify my setup", "will this overwrite anything" |
523
- | `mcp-circuit-breaker` *(commons)* | Detects MCP failure loops, trips a breaker to stop retry waste, proposes alternatives | "MCP keeps failing", "same tool error is looping" |
531
+ | `mcp-circuit-breaker` *(commons)* | Detects MCP failure loops, trips a breaker to stop retry waste, proposes alternatives. A success status with the wrong shape (an HTML page where JSON was expected) counts as a failure (`WRONG_SHAPE`) and does not close the breaker | "MCP keeps failing", "same tool error is looping" |
524
532
 
525
533
  ### Harvesting & learning — *"keep what we learned"*
526
534
 
@@ -546,6 +554,8 @@ Claude agents feature
546
554
  > **Going public?** Don't run these one at a time — say **"publish"** / **"make this repo public"** and Claude
547
555
  > fires the **Pre-Publish Surface Gate** (CLAUDE.md), which runs `public-surface-audit` + `marketplace-gate`
548
556
  > Check 5 *before* the irreversible action. Portable checklist: `templates/PRE-PUBLISH-CHECKLIST.md`.
557
+ > Publishing a filtered copy (protected paths stripped, pushed to a second remote)? Its Step 0b checks that
558
+ > the stripped tree did not flow back into your own `main` — a tree diff shows it, commit counts do not.
549
559
 
550
560
  ### Discovery — *"what's out there?"*
551
561
 
@@ -561,7 +571,7 @@ Claude agents feature
561
571
  |---|---|---|
562
572
  | `sim-conductor` | Profiles a target → derives personas → parallel-agent audit → M/S/R triage. Areas: A external-user · B internal-audit · C ideation | "external user perspective", "run an internal audit", "simulate this" |
563
573
  | `apex-review` | Reviews from a top-level decision-maker's lens, not a practitioner's | "will this hold up for leadership", "CTO-level review", "approval deck" |
564
- | `deep-clarify` | Turns a vague request into an actionable spec through Socratic questioning | "I'm not sure what to build", "help me clarify the requirements" |
574
+ | `deep-clarify` | Turns a vague request into an actionable spec through Socratic questioning, saved to `specs/{slug}.md` in the work folder (not under `.claude/`, where Claude Code asks before writing) | "I'm not sure what to build", "help me clarify the requirements" |
565
575
 
566
576
  ### Setup & onboarding — *"get started / keep it tidy"*
567
577
 
@@ -62,7 +62,7 @@ Backend defaults:
62
62
 
63
63
  | `FH_BACKEND` | Command | Default model |
64
64
  |---|---|---|
65
- | `claude` | `claude --print --model "$FH_MODEL"` | `claude-sonnet-4-6` |
65
+ | `claude` | `claude --print --model "$FH_MODEL"` | `claude-sonnet-5-5` |
66
66
  | `codex` | `codex exec -m "$FH_MODEL" -` | `gpt-5.5` |
67
67
  | `auto` | `codex` if present, otherwise `claude` | backend default |
68
68