Repository navigation
v3.40.0 — ### [3.40.0] — 2026-11-13
New scripts and lanes ship, and three checks that were already in the package now refuse more, so this is a minor by the version policy. Three BREAKING (gate) lines are below; each applies only if you call the named script yourself. The self-dev loop and its candidate auto-merge change (#1079, #1071) are not in the npm package: scripts/selfdev_loop.sh, scripts/selfdev_queue.py and its launchd plist stay in the hub clone. The new session-ledger scripts (#1076) are also not shipped. The new read-only reports (catch_tally.py, claim_precision_report.py) and the new live-eval and sim-runner options run only when you invoke them; no hook or setting is added or wired by default.
BREAKING (gate): scripts/pr_merge_verified.sh with --lease '<label>' (any label that does not start with «operator») now runs scripts/selfdev_merge_tier.sh on the PR's recorded head before merging and exits 7, merging nothing, unless the tier says TIER=AUTO. The tier's allow-list is FH's own doc/skill/test paths; a change to any other file, a skill edit that touches verdict or scoring lines, an edited test lane, or a change over 300 lines is HOLD. Before, any non-empty label merged. If you pass --lease for a standing approval on a repo that is not this hub, either drop the flag (a merge with no --lease still runs, and now prints a lease=NONE warning first) or pass the per-PR answer as --lease 'operator: «<their words>» <date>' (#1068, #1064, #1065).
BREAKING (gate): scripts/post_squash_verify.sh --precheck (and so pr_merge_verified.sh) now refuses a --rerun command that prints nothing when it passes, with rc 3 before the merge — for example grep -q …, … >/dev/null, or python3 -c with no print. Before, such a command was accepted, merged, and then ended verify-incomplete (rc 4) because of the silence guard. Add && echo '<what passed>' to the command. The rc 4 guard after the merge is unchanged for shapes the static read cannot see (#1061).
BREAKING (gate): scripts/fh_module_check.py check now BLOCKs (rc 1) a module whose shipped Python imports a non-standard-library package without a guard, and reports UNMEASURED (rc 2) for a shipped .py it cannot parse. A guarded import (try: … except ImportError) is a NOTE, not a block. The three modules in this package pass. If you author your own modules, make the import stdlib-only or guard it and exit 2 naming the missing module (#1067).
Added
- Session close counts what the methods caught. Wrap-up ⑤(a) now asks for a
## 잡은 것table in the day's completed-work file (defect · method that caught it · who missed it · evidence), andscripts/catch_tally.pycounts those tables over a date range. A day with no section is reported as not recorded, not as zero. Report only; it never blocks. It runs when you run it or when the wrap-up text tells the agent to (#1058). scripts/claim_precision_report.py: a read-only counter over existing request-checklist result sheets. It prints how many rows were marked DONE and how many a later sheet of the same session shows as reopened or not re-judged. No ratio, no pass/fail; sessions with one sheet are listed as not measured. Nothing calls it (#1078).scripts/session_close_check.shgains a report-only①-rline that lists PRs whose last merge receipt is notverified, from the lastFH_RECEIPT_WINDOW_DAYSdays (default 7); older ones are counted on their own line. The close check's exit code does not change (#1059).templates/harness_birth_core.mdand a route to it: when you ask for a harness for a new or empty project, the routing rows inCLAUDE.mdandonboarding_acceleration_autopilot.mdtell the agent to read it before writing the first file. It names the five parts a new harness carries (purpose, when unsure, calibration without a script, irreversible edges, typed verdict). The shippedCLAUDE.mdtext changes, so an agent that loads it routes differently on that request; no script runs (#1073).scripts/sim_isolated_run.shtakes four opt-in flags for a consumer-like arm:--setting-sources(must includelocal),--settings,--permission-mode(onlydefault,acceptEdits,plan;bypassPermissionsis refused) and--add-wrapper-dir. With none given the arguments passed toclaudeare byte-identical to before (#1072).- live-eval reports gain a «State fingerprint (record only — not scored)» block appended after the verdict, one line per rep: changed-path count, unhashed count and a short hash of what the arm left in its clone (
MISSINGwhen the runner wrote no treediff). No verdict row moves (#1077). - live-eval episodes record wall seconds. The runner writes
wall_stometa.tsvand the report's Budget cell printswall_s=<min>..<max>andtokens_used=UNMEASURED; an episode with no readable clock is counted as unmeasured, not 0. Verdicts are unchanged (#1081). - Module manifests may now rely on the runtime-dependency and question-shaped-description rules (
fh_module_contract.md§2b and §2c).scripts/generated_harness_check.pyadds an info-levelW8for a skill description with no question example; info never changes a verdict (#1067). scripts/agent_tools_pin.txtand a lane that pin each shipped agent'stools:restriction, so widening one shows as a diff. Test and package-list change only; the agent files are unchanged (#1080).- Hub-clone only, not in the npm package: a shared session ledger pilot (
scripts/session_ledger_write.sh,session_ledger_read.py) where child sessions append typed lines and the root session reads them (#1076).
Changed
scripts/selfdev_merge_tier.sh(shipped): aSKILL.mdorSKILL_detail.mdedit is nowHOLDwhen a changed line (added or removed) carries verdict or scoring words (PASS,FAIL,HOLD,verdict,threshold,rubric, …), andHOLDwhen the diff cannot be read in full. Before, every skill-file edit wasAUTOby path. This only affects a caller of the tier script; see the firstBREAKING (gate)line (#1064).- Self-dev loop, hub clone only: a
seed: candidatePR no longer waits for the operator by seed alone. It is eligible for the existing auto-merge only if it deletes no file, removes no more lines than it adds, names no ablation, carries a cross-family marker, and the path tier saysAUTO; at most 2 auto-merges per run (SELFDEV_MAX_AUTO_MERGES, lower only). The loop is not shipped, is installed by hand from a plist whose template shipsSELFDEV_DRY_RUN=1andSELFDEV_NO_MERGE=1, andSELFDEV_NO_MERGEset to anything other than0or empty turns merging off while still reporting eligible PRs (#1079). The builder is also told the run's watchdog limit, and commits left unpushed on anauto/selfdev-*branch are reported as STRANDED (#1071). - Lease record channel docs (
lease_record_channel.md,dispatch_conditional_prohibition.md): a per-PR operator answer needs no lease line; only a standing grant does, and one received remotely counts as a one-time grant for that session until applied at the desk.lease_line_apply.sh(hub clone only) getsapply-allfor queued drafts, and inside a worktree it defaults to the main checkout's lease file and draft folder. A dead internal path was removed from the doc (#1069, #1070, #1060). scripts/session_checklist.pystrips leading complete<system-reminder>blocks from a human entry before it becomes a checklist row, so a row keeps the operator's words; unclosed or mid-text tags are kept (#1059).pr_merge_verified.shprints a three-line advisory before the merge when no--leaseis given (the receipt recordslease=NONE); rc and merge are unchanged (#1065).- README (ja, zh): the evidence wording is brought up to the English README (#1075). The v1.0.3 paper snapshot's citations are pinned like v1.0 to v1.0.2 (#1056; not in the npm package). Sub-agent invocation log entries for 2026-11-08 and 2026-11-10 (#1059, #1075).
Fixed
- live-eval: a rep whose runner
meta.tsvhas a nonzerorcis scoredFAILED-TO-RUN, notFAIL. A usage-limit reply is non-empty text and used to be scored as a failed answer; reply text is never inspected, and a run with nometa.tsvscores as before (#1074). - live-eval probe
G-TRIG-04now accepts «weekly harvest» as well asharvest-loop. The old pattern missed 5 of 60 correct routes; the change widens what passes, and its remaining blind spot is named in the probe'sunseenfield (#1063). - Housekeeping, no consumer effect:
.gitignorecoverslease_line_apply.sh'sCLAUDE.local.mdbackups (#1057; the file is not in the npm package).
— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.40.0