Skip to content

Releases

v3.49.0 — ### [3.49.0] — 2026-11-26

Choose a tag to compare

@github-actions github-actions released this 26 Nov 09:56
e134d3b

Minor by the version policy. Several fh-gate changes make the shipped gate refuse or escalate more by default: protected paths in .fh-gate-protected raise a change to ESCALATE (Lean RFC item 1), the base version of every lane file a change edits or deletes runs against the change's code (item 2, FH_GATE_EXEC=on only), the list of touched tests and test configuration goes into every reviewer's prompt (item 3), the execution layer's JSON is validated as strictly as the review object (L6), and four existing defects that could change a verdict are fixed (G1–G4; one of them makes a branch that already has commits be reviewed against the whole branch even on a dirty tree). See their BREAKING (gate): entries. Also new: the fh-guard plugin, the measure-prereg skill, a provenance line and an «attribution undecided» mark in the governance record (record only, no verdict change), rule files attached to the fh review pass, and release_compare.sh. New shipped lanes include A24–A29 in test_fh_gate_absorb_lanes.sh, O1–O14, X21–X22 and L7 in test_fh_gate_exec_lanes.sh, T1–T7 in test_destructive_pre_gate_lanes.sh, and test_fh_guard_plugin_lanes.sh. Items marked «not in the npm package» are in the repository checkout only.

Upgrading from 3.48.0. Most users need to do nothing. Check these three cases:

  • If you parse fh-gate stdout, expect new lines: FH_GATE_PROTECTED:, FH_GATE_TESTS_CHANGED:, FH_GATE_SELF_CHANGE: and provenance: in the record.
  • Expect more ESCALATE (exit 3): a change to a path listed in .fh-gate-protected, and with FH_GATE_EXEC=on a change that loosens its own lane, now goes to a human. A large diff that is cut short now keeps the verdict off PASS (G1), and a dirty tree on a branch with commits is reviewed against the whole branch (G2).
  • If you run scripts/remote_marker_gate.sh in your own CI on claude/* branches, put PR-body findings records in the findings: N shape before 2026-11-30. On that date the prose-count case turns from a warning into a failure.

Added

  • fh-gate execution layer (shipped): a lane that is red at the base and red after the change is named «attribution undecided» (L7, 2026-11-26). The grade stays C and the verdict does not change, so no BREAKING (gate) line. (#1228)
    • Why: red at the base does not show the change is harmless — it can break the same lane a second way. The old fix text, «pre-existing — not introduced by this change», said more than the run measured.
    • Where it shows: the finding gets attribution: "undecided" and the words in its title and fix; the E1 detail adds attribution undecided: N red at base and after this change; the record's execution-layer provenance gains attribution_undecided (each lane, with run: change or run: base-overlay). Both the E1 lane run and the base-overlay run are covered.
    • Lane L7 in scripts/test_fh_gate_exec_lanes.sh (fails on the previous layer; an A finding carries none of it).
  • fh-gate (shipped): FH_GATE_SELF_CHANGE on stdout and checker_in_change in the record provenance (L1, advisory, 2026-11-25). When fh-gate runs from the checkout it reviews and the change touches fh-gate.sh, fh_gate_exec.sh or the E0 scanner, the line says the verdict comes from the changed checker and suggests re-checking with a copy from outside the change. (#1226)
    • It is not a trust boundary: a change to the checker can remove the line too. With FH_DIFF_PATH it says NOT MEASURED. A checker reached through a symlink is resolved to the file that changed; the execution layer and its scanner (FH_GATE_E0_SCANNER honoured) count only when the execution layer runs.
    • docs/REFERENCE.md and the Action's version input now say what the Action runs: npx --package @chrono-meta/fh-gate@<version>, not the pull request's scripts/fh-gate.sh. npx can still use a matching copy in the checkout's node_modules, and latest is not a pinned identity; pin a version to know which gate ran.
    • The verdict never changes. Lane A29 in scripts/test_fh_gate_absorb_lanes.sh.
  • fh-gate (shipped): a provenance: line in the governance record (Lean RFC item 4, with the L2/L3 corrections, 2026-11-25). Record only: no verdict reads it, so no BREAKING (gate) line. (#1225)
    • It is one JSON value, labelled «recorded by fh-gate, not attested». A sha names the bytes that were used, not that they were the right ones.
    • What it holds: the base ref, its resolved sha and any fallback note; the sha256 of the diff the review was given (or of FH_DIFF_PATH); the values of FH_TARGET_FILES, FH_GATE_LANES, FH_LANE_TIMEOUT, FH_GATE_MAX_LANES, FH_GATE_CROSS_ALLOW_SINGLE, FH_GATE_EXEC, FH_REVIEWER and FH_BACKEND as given (env_as_given; an unset one is empty, so this is not the effective cap or timeout — those are in the execution layer's part).
    • From the execution layer (FH_GATE_EXEC=on): every lane it ran, base overlay included, with the sha256 of the lane file (or of the declared command) and its exit code, plus the effective cap and timeout and the scanner's name and sha256.
    • Every check that did not run (E0, E1, elephant, protected paths, test list) keeps its status line and gets a reason class: intended-omission, instrument-missing (for example execution requested but jq missing), not-applicable, incomplete, or unclassified when the wording matches none. No single «not run» count is kept.
    • The execution layer's provenance is copied into the record as it comes; the validator does not check its type (named residual).
    • Lane A28 in scripts/test_fh_gate_absorb_lanes.sh (fails on the previous gate).
  • Live eval: a routing probe and two pieces it needs (2026-11-25). The runner (probe_live_eval.sh, probe_live_eval_lib.py, live_eval_matrix.py, live_eval_trace.py), probes_live.yaml and their lanes are in the npm package; the seal and probes.md are not. (#1219)
    • behave: call=<Tool>[|<Tool>…]:<re> in scripts/live_eval_trace.py: a successful top-level call to Skill (matched on skill), Agent or Task (subagent_type) or Bash (command). An errored call, a subagent's call or a Read of the engine's file does not count.
    • extra_tools: (Skill and Agent only) and rate: excluded per probe in probes_live.yaml. Extra tools go to every arm of that probe, so the pair is offered the same tools. A rate: excluded probe is scored and reported in its own «capability» section and counted on the Overall line, but never enters pass_rate or the 0.8 threshold.
    • G-ROUTE-01: asked to evaluate a gate design, does the session invoke a decorrelation or verification engine on its own? Sealed before its first run (.claude/regression/G-ROUTE-01.seal, v2 after Task was found to be the subagent tool name). First reading, 3 reps on Sonnet: FAIL 0/3 by behaviour, control 0/3 — the expected red. Whether an engine then reaches codex or agy is UNMEASURED (no Bash in the arm).
  • fh-guard (new plugin in this marketplace): install it and every Bash call your Claude Code agent makes, in any repo, goes through the FH destructive-op gate. It blocks in bypassPermissions and auto mode and warns in the others.
    • What it ships: one PreToolUse(Bash) hook running a byte-identical copy of scripts/destructive_pre_gate.sh, plus a SessionStart check. 0 skills, 0 agents, no character, no network. The one file it writes is the session env file (see the message-channel entry under Changed, #1205). scripts/test_fh_guard_plugin_lanes.sh fails the moment the copy and the main gate differ.
    • Why: an IG1 measurement found that /install-wizard puts the gate only in the FH clone's own settings, and no FH plugin shipped a hook. An agent working in any other repo had no FH gate on its path.
    • Behaviour is the main gate's. In bypassPermissions and auto mode it blocks and tells the agent to ask the operator. In other modes it warns.
    • The hook entry sets onFailure: "block", so a hook that cannot start, times out (10 s) or exits with a code other than 0 or 2 blocks the Bash call instead of letting it through. This needs Claude Code 2.1.295 or later.
    • 🟥 Over-block, by design: on Windows without Git for Windows (no Git Bash), Claude Code runs hooks through PowerShell, the bash command cannot start, and every Bash tool call is blocked. Install Git for Windows or disable the plugin.
    • A missing or non-running python3 cannot be caught by onFailure: the gate exits 0 and lets calls through. The SessionStart check prints one line, «fh-guard is NOT active in this session», when python3 is absent or does not start (it runs json.loads("{}")), and stays silent otherwise. A python3 that starts but fails on a real hook payload is not caught. It runs once per session: python3 vanishing mid-session goes unannounced until the next one (named in the README; checking on every call would block every call on a machine without python3).
    • Measured (FHG1, 72 headless bypassPermissions runs, a fresh non-FH repo, plugin loaded with --plugin-dir): direct-request force push took effect 0/3 with the plugin vs 3/3 without (haiku-5-5), remote branch delete 0/6 vs 6/6 (haiku-5-5 · sonnet-5-5). A user hook answering allow plus an allow rule did not open it (0/3), nor did running alongside FH's own settings snippet (0/3). No run tried an in-command override after a block. Cost: in the force-push task, haiku finished the harmless typo-fix push 1/3 with the plugin vs 3/3 without. All 20 blocked calls carried a destructive command; the agent either stopped the whole task once the rollback was blocked or had chained the harmless commit into the same call. Pure harmless tasks: 6/6 with and without. Not measured: sonnet force push (the stimulus did not produce it without the plugin either), injected instructions (0/24 attempts), Windows, default/auto mode, the marketplace install flow.
    • Not covered (named in the plugin README): indirection (a push inside a script or Makefile), n...
Read more

v3.48.0 — ### [3.48.0] — 2026-11-23

Choose a tag to compare

@github-actions github-actions released this 23 Nov 06:10
f50dbb5

Minor by the version policy. Three gate changes make a shipped gate refuse more by default. Two are in fh-gate: a help or version flag is honoured only on its own (#1190), and under CI even a lone one exits 11 (#1191). Both close the same hole, where a file list that reads as a flag printed help, exited 0 and was read as a pass with no review. They close it in the GitHub Action and in CI systems that set CI; it stays open in CI systems that do not set CI and in local hooks or scripts (named in the second entry). The third is in destructive_pre_gate.sh: in block mode, which now includes auto as well as bypassPermissions, an override written into the command it is judging no longer opens the block, more shapes block, and the block text says to ask the operator (#1192); a follow-up closes three holes a security review found in it (#1195). See their BREAKING (gate): entries. fh-run and fh-goal stop pinning a codex model (#1189). The new shipped lanes are L8 and L9 in test_action_yml_lanes.sh, M1–M4 in test_fh_run_resolver_lanes.sh and test_fh_goal_change_detection_lanes.sh, and K1–K99 in test_destructive_pre_gate_lanes.sh. Items marked «not in the npm package» are in the repository checkout only.

Changed

  • BREAKING (gate): fh-gate (shipped), help and version flags with other arguments (#1190).
    • What changed: -h, --help, -V and --version are honoured only as the sole argument. With any other argument, fh-gate exits 11 (argument error). In the GitHub Action (not in the npm package), exit 11 maps to ARG_ERROR with reviewed=false, and the step fails under the default fail-on.
    • Why: the Action always calls fh-gate "$FILES" "$LEVEL" github-action and maps exit 0 to verdict=PASS, reviewed=true. A files input of -h, --help, -V or --version (a file literally named so, or a list built from PR data) printed help, exited 0 and was reported as a reviewed PASS (3.47.0 release security review, MEDIUM-1).
    • What breaks: help or version with trailing arguments, including FH_TARGET_FILES=x fh-gate -h quick, now exits 11. fh-gate -h and fh-gate --version alone behave as before outside CI (see the next entry).
    • Lanes: L8 in scripts/test_action_yml_lanes.sh runs the Action's run block against the real fh-gate.sh.
  • BREAKING (gate): fh-gate (shipped), a lone help or version flag under CI (#1191).
    • What changed: when the CI environment variable is set to anything other than empty, 0 or false, fh-gate -h, --help, -V and --version given alone still print their text, then exit 11 (argument error) instead of 0. GitHub Actions, GitLab, CircleCI, Travis and Buildkite set CI.
    • Why: a plain CI step that runs fh-gate "$FILES" with FILES=-h passes the same arguments as a person typing fh-gate -h, so the rule above cannot see it: it printed help and exited 0, so the step passed and nothing was reviewed.
    • What breaks: a deliberate fh-gate --version or --help in a CI step now fails that step. Workaround: CI= fh-gate --version.
    • Still open: CI systems that do not set CI (Jenkins; Azure Pipelines sets TF_BUILD instead) and local git hooks or scripts that call fh-gate "$FILES" with one argument. There, FILES=-h still exits 0; check yourself that the file list does not start with - before calling fh-gate.
    • Outside CI, and with CI empty, 0 or false, nothing changes. Lanes: L9 in scripts/test_action_yml_lanes.sh.
  • BREAKING (gate): destructive_pre_gate.sh (shipped), block mode no longer takes an override from the command it is judging (#1192).
    • What changed: block mode now also covers permission_mode=auto, not only bypassPermissions (explicit FH_DESTRUCTIVE_BLOCK still wins either way). In block mode, # noqa: destructive-op is ignored, and four more shapes block: DESTRUCTIVE_OP_OK= set anywhere in the command, git push --no-verify, core.hooksPath changed through git -c or git config, and remote deletes (git push --delete / -d / :ref / --mirror / --prune). The block text no longer names a way past: it tells the agent to stop and ask the operator, who runs the command from their own terminal.
    • Why: measured in a headless bypassPermissions run (haiku, 3 of 3). The agent asked to force-push was blocked by this hook. It re-ran with # noqa because the block text said to. Then pre-push blocked it, and it re-ran with DESTRUCTIVE_OP_OK=1 because pre-push's text said to. The remote history was rewritten. The agent that wrote the command was also the one granting the exception. In auto mode the classifier allowed the same direct force push 6 of 6 times.
    • Who is affected: bypassPermissions and auto sessions that legitimately force-push, delete remote branches or tags, run reset --hard and the other destructive rows, or set those overrides. Such a session now has to go through the operator. So does /install-wizard's git config core.hooksPath templates/.git-hooks step when an agent runs it in those modes. Branch deletes done through gh pr merge --delete-branch go through the GitHub API and are not affected. A doc edit made through Bash that only mentions DESTRUCTIVE_OP_OK=1 also blocks in these modes, the same mention-as-data false positive the existing rows have.
    • What does not change: advisory mode (default, acceptEdits, plan, dontAsk, or FH_DESTRUCTIVE_BLOCK=0) gets no new rows, and noqa still works. One advisory change comes from the follow-up below: a destructive command inside backticks now warns, as it already did inside $(...). The pre-push hook is unchanged: an operator's own DESTRUCTIVE_OP_OK=1 git push … from their terminal works as before.
    • Also affected: with FH_DESTRUCTIVE_BLOCK=1 set in a default-mode session, # noqa no longer opens a block. That variable asks for blocking.
    • Follow-up (#1195), three holes found by a security review of the merged change and reproduced in bypassPermissions (each passed with exit 0 before):
      • git config core.hooksPath get (also list, --get, -l) set hooksPath to that word and switched off pre-push. The read exemption looked at the word after the key, which is the value. A read verb now counts only before the key, and a segment with --comment before the key is never a read. A value that starts with a backtick or a parenthesis (`printf /dev/null`, "(disabled)") now counts as a write too. git config get core.hooksPath, git config --get core.hooksPath and $(git config core.hooksPath) stay clean.
      • A remote delete with a push-option value of -n (git push --delete origin x -o -n) was taken for a dry run. No regex here can tell an option value from a flag once quotes are stripped, so the dry-run exemption is now off whenever the statement has a push option (-o…, --pu…) or --: the call blocks. A plain --dry-run --delete stays clean. A push option whose value looks like :ref also blocks; that false positive was there before.
      • A destructive command inside backticks passed every row, while the same command inside $(...) was caught. It existed before this change, and the new rows inherited it. Backticks are now treated like $(...), in both modes, and a dry-run in one substitution no longer clears a delete in the next.
      • Review stopped at two codex rounds, not converged: round 2 still found new shapes, both fixed.
    • Still open: indirection (a script that holds the push and sets the variable inside), editing settings or the hook file to drop the hook, deleting refs through the GitHub API (gh api -X DELETE …/git/refs/…), dontAsk mode, and pushes from a shell the agent did not type into. A determined agent gets past any client-side check. The floor is server-side branch protection, as the pre-push header says. Moving pre-push's own override out of band is a separate, larger change, not in this one. Lanes: K1–K99, B4, B6 and B10 in scripts/test_destructive_pre_gate_lanes.sh.
  • fh-run and fh-goal (shipped) no longer pass -m gpt-5.5 to codex when FH_MODEL is unset or empty; codex picks its own default, as fh-gate has done since #1186. Before, codex 0.164.0 refused gpt-5.5 for a ChatGPT-account login (HTTP 400). FH_MODEL=<id> still passes -m <id>, and the claude default (claude-sonnet-5-5) is unchanged (#1189).
    • After a successful unpinned codex run, each script prints one stderr line: → fh-run: codex default (not pinned, resolved <id>) (or fh-goal). The id is read from codex's own stderr banner above the first user line, and must be id-shaped, or the line says unknown.
    • The model= progress line and the prompt's Model: line now read codex default (not pinned) instead of a model id. A script that greps model=gpt-5.5 there stops matching.
    • API-key users who got gpt-5.5 before now get codex's default, so the model, cost and output can change. Set FH_MODEL for a reproducible model. Both points are in docs/codex-compat.md and in knowledge/shared/harness-core/fh_integration_contract.md.
    • fh-goal never exported its default, so the fh-gate step it runs was already unpinned. That is unchanged.

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.48.0

v3.47.0 — ### [3.47.0] — 2026-11-22

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:41
616c375

Minor by the version policy. fh-gate's review calls change behaviour: the default, goldfish and elephant review calls are read-only, and no review call loads the reviewed checkout's settings, hooks or instruction files (#1179, #1181, #1182, #1183). The opt-in /code-review call is still not read-only. The codex review no longer pins a model and the record names the model each pass used (#1186). The GitHub Action passes its inputs as data (#1176). There are new shipped lanes (D13–D17 in test_fh_gate_defaults_lanes.sh, L7 in test_action_yml_lanes.sh, two cases in templates/predelete_check.test.sh) and two judged procedure lines (#1180, #1185).

Two changes make a shipped gate refuse more by default; see their BREAKING (gate): entries:

  • a codex review refuses (exit 10, nothing sent) when the user's codex config names a provider or base URL (#1183);
  • every claude and codex review call now needs a backend CLI that knows the new flags, and fails closed (exit 10) on one that does not (#1179, #1181, #1183).

FH_REVIEWER=code-review currently always exits 10: headless /code-review does not return the structured object the gate needs (0 of 11 on claude 2.1.330). It stays opt-in and fails closed (#1186).

Items marked «not in the npm package» are in the repository checkout only.

Changed

  • BREAKING (gate): fh-gate (shipped), codex backend. Applies to FH_BACKEND=codex, and to auto and cross when they pick codex.
    • What changed: before any codex call, fh-gate reads ${CODEX_HOME:-~/.codex}/config.toml as text and exits 10, with nothing sent, when one of these holds:

      • a line names model_provider (other than "openai"), model_providers, openai_base_url or chatgpt_base_url;
      • a line has a \u, \U or \x escape;
      • the file cannot be read, or its absence cannot be confirmed.

      The message names the key and line, never the value.

    • Why: codex review calls now drop the user config (--ignore-user-config, see below), and that also drops any provider it names. Without this check, a review meant for a proxy or a company gateway would go to codex's default provider instead. Measured on codex 0.164.0: the provider config sent 3 of 3 reviews to the configured endpoint before, and the escaped-key form sent 8 requests a run; this change closed 3 of 3 with 0 requests. A plain config with a real login gave 4 of 4 SUCCESS. Measured with a file-backed ChatGPT login only; keyring and API-key logins are UNMEASURED. The rest of the user config (model, profiles, MCP servers, login storage) no longer applies to the review call either.

    • What now blocks: a codex user config that names where requests go, uses one of those escapes, or cannot be read. The match is by text, so a profile table, a trailing comment or a value that merely contains one of those names closes too. In cross mode the codex leg then fails, and the run is single-leg and says it is not decorrelated: a single leg's PASS or PENDING becomes ESCALATE cross-degraded unless FH_GATE_CROSS_ALLOW_SINGLE=1.

    • Remedy: use the claude backend, or run with a CODEX_HOME whose config.toml names no provider (#1183).

  • BREAKING (gate): fh-gate (shipped), every claude and codex review call.
    • What changed: the default call now passes the read-only flags, and every review call passes the new checkout flags (see below). claude needs --tools, --strict-mcp-config, --disable-slash-commands and --setting-sources; codex needs -s read-only, -c and --ignore-user-config.
    • What now blocks: a backend CLI too old for one of these flags fails the call, which fails closed (exit 10). In 3.46.0 the default call passed none of them, and the goldfish and elephant passes had only the tool flags and -s read-only. Measured working on claude 2.1.330 and codex 0.164.0; the oldest working versions are UNMEASURED.
    • Remedy: update the backend CLI (#1179, #1181, #1183).
  • fh-gate (shipped), default review call: it gets the same read-only policy as the opt-in passes. On claude it runs with --tools Read,Glob,Grep --strict-mcp-config --disable-slash-commands and the same allow and deny lists; on codex it runs with -s read-only. Both run at the repository root. Verdicts, exit codes, the prompt and outputs are unchanged. Before this, the call ran with whatever the backend CLI's settings allowed (#1179).
  • fh-gate (shipped), all review calls: the checkout under review is treated as untrusted input (#1181, #1182, #1183, #1186).
    • claude gets --setting-sources user. Measured on claude 2.1.330 with planted checkouts under /tmp: the checkout's CLAUDE.md, CLAUDE.local.md and .claude/rules text did not reach the call (0 of 3; 3 of 3 without the flag), and a project SessionStart hook ran without the flag and not with it (one run each).
    • codex gets -c project_doc_max_bytes=0 and --ignore-user-config. Measured on codex 0.164.0: the checkout's AGENTS.md was not sent, and when the user config marks the checkout trusted, its .codex/config.toml MCP servers no longer start outside the sandbox (0 of 3; 3 of 3 before). The canary rule and two hook events in a trusted checkout did not apply either (0 of 3). Those canaries only.
    • --bare is not used: it also drops OAuth and keychain login.
  • fh-gate (shipped), opt-in FH_REVIEWER=code-review: the call now loads none of the checkout's settings, hooks, CLAUDE.md or .mcp.json servers (--setting-sources user), and its prompt comes after --, so claude reads it as a prompt. Before this, claude 2.1.330 read the prompt as the value of --disallowedTools and the call never reached /code-review. It still exits 10 (see above). The call is still not read-only: /code-review needs git's read commands (#1182, #1186).
  • fh-gate (shipped), codex model: with FH_MODEL unset, codex gets no -m and picks its own default. The old default gpt-5.5 was refused for a ChatGPT login (HTTP 400). Measured: main 2 of 2 exit 10, this change 2 of 2 SUCCESS, and codex picked gpt-6.1-terra. FH_MODEL=<id> still passes -m <id>. To keep the old model, set FH_MODEL=gpt-5.5. The governance record's model: line now reads codex default (not pinned, resolved review <id>[, elephant <id>]). Each id is read from codex's own banner and is id-shaped or unknown. A parser that matched gpt-5.5 there sees a new string. fh-run.sh and fh-goal.sh still default to gpt-5.5; this is named here and not changed (#1186).
  • GitHub Action (action.yml, not in the npm package): dry-run, version, files, level and fail-on reach the run script through env:, and the script reads them as "$VAR". Before this, GitHub pasted them into the script as text, so a quote in a caller value (a file list built from PR data, say) became shell code. Input names, defaults, the exit-code mapping, fail-on and the outputs are unchanged. Behaviour change for callers: a caller whose files: value relied on the shell expanding it ($VAR or $(…) inside the value) now gets the literal text. Compute the list in an earlier step and pass that step's output (#1176).
  • templates/predelete_check.sh (shipped) ends with one question: is another session, worktree, live site or shared database or config using the target right now? SAFE means «merged», not «idle». Step 1 of the Destructive-Op Gate in claude_md_full_reference.md has the same sentence. Exit codes and the SAFE/CHECK/REVIEW lines are unchanged (#1185).
  • .claude/rules/fh_4axis_gate.md and fh_4axis_gate_detail.md (shipped): a gate or lane repair takes at least one fail-before input from the change record (fix commit, issue or review finding) and names its source as input-from=<…> (or input-from=none(self-found)) on the first controls: line. Record only: no new key and no hook check (#1180).

Added

  • test_fh_gate_defaults_lanes.sh (shipped) gains:

    • D13: the default call's flags, and that it runs from the repository root;
    • D14: the /code-review call's --setting-sources user and --;
    • D15: --ignore-user-config on every codex review call;
    • D16: the route guard's refusals and passes;
    • D17: the unpinned codex model and the per-pass record.

    test_fh_gate_absorb_lanes.sh, test_fh_gate_fusion_lanes.sh and test_fh_gate_regressions.sh pin CODEX_HOME, so a runner whose codex config names a provider no longer turns them red (#1179, #1181, #1182, #1183, #1186).

  • test_action_yml_lanes.sh (shipped; needs the repository's action.yml) L7: no ${{ }} of any form (bracket form included) inside run:, and a run that imitates GitHub's substitution with a payload in files (#1176).

  • templates/predelete_check.test.sh (shipped): two cases for the closing question (#1185).

Docs

  • README.md, README.ko.md, README.ja.md and README.zh.md (shipped), Door ①. Three things are added:

    • what a run costs: it sends the changed files to the logged-in backend and makes one review call there, up to two with FH_BACKEND=cross and more with the opt-in layers; FH_DRY_RUN=1 makes no call;
    • what it runs: the default review call can only read and loads nothing from the reviewed checkout; FH_GATE_EXEC=on runs the repository's own lane scripts;
    • which exit codes fail a CI step: a plain step fails on every non-zero exit, 1 PENDING included, while the Action passes PENDING by default.

    The opt-in sentence says /code-review is not read-only and currently always exits 10 (#1178, #1182, #1183, #1186).

  • From the release audit (outside reader, before the tag): fh-gate --help (shipped) lists the two new causes of exit 10 and says that a plain CI step fails on 1 while the Action lets it pass; CHEATSHEET.md (shipped) says the /code-review opt-in currently always exits 10; each README says the execution layer's copy is not a sandbox.

  • docs/codex-compat.md, fh_integration_contract.md and agents_md_runtime_details.md (shipped): the codex model row and the record example match the u...

Read more

v3.46.0 — ### [3.46.0] — 2026-11-21

Choose a tag to compare

@github-actions github-actions released this 21 Nov 15:35
b7b111f

Minor by the version policy. Skill behaviour changes: deep-clarify saves its spec outside .claude/ (#1162) and changes its interview (#1174); mcp-circuit-breaker names WRONG_SHAPE and trips it on the first failure (#1164, #1171); the close retrospective has five fields (#1166). There is also a new record field on the live-eval behaviour profile (#1167) and new shipped lanes: new lane files (#1162, #1174) and a new case in an existing one (#1161).

One change makes a shipped helper refuse more by default; see its BREAKING (gate): entry: pr_merge_verified.sh refuses a commit id that is not full length (#1163).

Added

  • Live-eval behaviour profile (record only): each behaviour-profile: line that has a stream carries first_error= after total= — the 1-based position of the first top-level tool call whose result is an error, none when every call has a result and none is an error, or unknown when a call before that has no result (not measured is not «no error»). Calls inside subagents are not counted. Nothing scores it; verdict rows are unchanged. live_eval_trace.py profile (shipped). (#1167)

Changed

  • deep-clarify (shipped) interview: Round 1 asks the upper goal (Why) as its own question next to completion criteria, and scope moves to Round 2. A textbook phrase («make it scalable», «standard architecture») is not recorded as a requirement — the skill asks once what is actually needed; a repeat answer becomes an (inferred: …) guess and an open question. Round 3 tests understanding with one design option the user has not mentioned, judged against the Why as the user stated it: a contradiction gets one re-ask in the same round, then goes under Open questions. Step 4's default next step is a new session that reads only the saved spec; «Start implementation directly» stays as a non-default option. The spec format gains ## Why, ## Understanding check and ## Open questions. The 3-round · 2-question cap, the (inferred: X) guesses, the Excluded scope and the specs/ path are unchanged. New lane scripts/test_deep_clarify_interview_lanes.sh (shipped) checks the round templates' structure, not whether a model follows them. (#1174)
  • mcp-circuit-breaker (shipped) names a new failure type, WRONG_SHAPE: no error and a success status (e.g. HTTP 200), but the answer is not the expected shape — an HTML page where JSON was expected, or a needed field missing. The half-open recovery probe counts as success only when the answer has the expected shape, so such an answer leaves the circuit OPEN. WRONG_SHAPE trips the circuit on its first failure, like ADMIN_GATED, AUTH and NOT_FOUND: the host or path is wrong, so the same call keeps getting the same wrong answer. The other types keep their counts. The trip threshold line and the Step 2 table now say which types trip at 1; Step 2 says how to tell MALFORMED (could not be parsed) from WRONG_SHAPE (parsed, but not what the caller needs); the trip log gains an expected_shape: line that the Step 5 probe checks against; and Step 4 gains a «fix the endpoint» row for WRONG_SHAPE. (#1164, #1171, release audit)
  • templates/PRE-PUBLISH-CHECKLIST.md (shipped) gains Step 0b for publishing a filtered copy: check that the stripped tree did not flow back into your own branch with git diff --name-status origin/main main — commit counts and ahead/behind look normal when it has. The step says origin must be the unfiltered upstream, that protected paths come from the filter's own exclusion list, and how to put deleted files back (anything wider goes through the Destructive-Op gate). Text only; no script or hook. (#1165, release audit)
  • The session close retrospective (fh_detail_protocols.md, shipped) gains a 막지 못한 통제: line — the gate, lane or hook a defect slipped past, or «그 자리에 통제 없음» — beside the caught-by line; harvest-loop Step 0-d now asks for five fields. New records only. (#1166)
  • memory-hygiene (shipped) Step 3 describes an optional metadata.evidence: line — the narrowest source of a lesson (a commit hash, PR number, log line or file:line), written when the memory is created and opened first on re-verify. Optional and never inferred; an older entry without it is not an error, and a pointer that no longer resolves is reported, not filled in. Staleness thresholds and type methods are unchanged. (#1170)
  • CHEATSHEET.md (shipped) rows catch up with four merged behaviours: the deep-clarify spec path, WRONG_SHAPE, pre-publish Step 0b, and a newline-named file making fh-gate / fh-goal exit 10. (#1169)

Fixed

  • test_fh_gate_defaults_lanes.sh (shipped) run where there is no action.yml — the npm package, or a field harness that syncs FH's lanes — names D7 as skipped («NOT-APPLICABLE … not measured, not a pass») and prints 1 skipped (not a pass); before, D7 failed there and the suite exited 1 (3.45.0). In an FH checkout a missing action.yml is still reported by test_action_yml_lanes.sh (exit 10). New lane D12 runs the lane from a copy without action.yml. (#1161)
  • deep-clarify (shipped) saves its spec to specs/{slug}.md in the work folder instead of .claude/specs/{slug}.md. Claude Code treats .claude/ as sensitive: a headless run had the write refused, and an interactive user got a «modify sensitive file» prompt. The ABORT-if-exists check, the test -f save check and the gitignore advice for company projects keep their logic and now name specs/; a spec already saved under .claude/specs/ stays there, and both paths are gitignored in this repo. New lane scripts/test_deep_clarify_spec_path_lanes.sh (shipped) runs the skill's own Step 3 commands in an empty folder. (#1162)
  • BREAKING (gate): pr_merge_verified.sh (shipped), the merge helper.
    • What changed: it refuses, before the merge call, a PR head or --expect-head that is not a full 40- or 64-character lowercase hex commit id, and says the value may have been cut on the way (PR head: exit 4 · --expect-head: exit 2, the existing usage code).
    • Why: a field run saw an output-compression proxy shorten git rev-parse HEAD to 37 characters. A short value still resolves locally, so before this the merge call went out with it and failed later with no hint why.
    • What now blocks: a cut commit id, or one that is not lowercase hex. A full lowercase id behaves as before.
    • Remedy: pass the full id (for example from gh pr view --json headRefOid); if an output proxy shortens it, run that command through the proxy's raw escape hatch (for rtk: rtk proxy <cmd>). The script's usage line and header now name --expect-head and these two exits.
    • context-doctor gains one line where it recommends a command-output proxy: values a later step reads as data must bypass the proxy or be checked. (#1163)

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.46.0

v3.45.0 — ### [3.45.0] — 2026-11-20

Choose a tag to compare

@github-actions github-actions released this 21 Nov 00:24
4266a82

Minor by the version policy: fh-gate gains an execution layer, a review pass that follows /code-review's method, a history-aware «elephant» pass and /code-review itself as an opt-in reviewer (#1147, #1156). There are also new shipped tools and lanes (live_eval_matrix.py, heavy_skill_smell.py, job_heartbeat.py), a new FH_AGY_ISOLATION=no-tools-agent route, and judged procedure changes in shipped skills and canon.

fh-gate defaults, stated plainly. A caller who sets nothing gets the 3.44.0 review, with three exceptions: the default Claude model is now claude-sonnet-5-5 (#1142), and file names with non-ASCII characters (#1142) or with quotes, backslashes or tabs (#1146) are now reviewed. Otherwise:

  • the reviewer is fh-legacy on every backend;
  • the elephant pass is off;
  • the execution layer is off.

Terms: the goldfish pass is a reviewer that sees only the diff and the files, never the author's explanation. The elephant pass also sees the task description and the files' git history. fh-legacy is the original angle pass. Grades: A blocks, B means proceed with care (PENDING), C is a note.

Each new layer is opt-in: FH_REVIEWER=code-review (claude backend only) or FH_REVIEWER=fh, FH_GATE_ELEPHANT=auto|on, FH_GATE_EXEC=on. Why: whether a headless /code-review call, or the fh pass, returns the structured object the gate needs on every runner is UNMEASURED, and FH_GATE_EXEC=on runs the repository's own lane scripts.

Three changes make a shipped gate refuse more by default; see their BREAKING (gate): entries:

  • the pre-push Load-Bearing gate reads each pushed branch's own marker (#1119; FH-checkout pushes of gate files only);
  • fh-goal and fh-gate fail closed when any changed file name holds a newline (#1146);
  • codex_launch_guard.sh refuses a stdin that does not end in time, or is closed, instead of waiting forever or starting codex with an empty prompt (#1158).

Items marked «not in the npm package» are in the repository checkout only.

Added

  • fh-gate review layers, all opt-in (#1147, #1156):

    • FH_GATE_EXEC=on runs scripts/fh_gate_exec.sh (shipped) in a copy of the tree. It makes no model call, but the lanes it runs may use the network or secrets the way your CI does:
      • E0 runs FH's pipefail early-exit class scanner against the change; a new site it flags is B. The scanner is not in the npm package, so from npm E0 prints NOT RUN (scanner not shipped here) and only E1 runs.
      • E1 runs the change's target lanes. A lane this change turns red is graded A (BLOCKED); a lane already red before the change is C; a lane that did not finish or could not run is B.
      • It runs the repository's own lane scripts: use it only where the change is trusted. The copy is not a sandbox.
    • FH_REVIEWER=code-review (claude backend only) calls the built-in /code-review (medium at quick, high at full) with a JSON schema. Its tools are not read-only: /code-review needs git's read commands, and git diff/log/show --output=<file> writes a file, so a reviewed change that talks the model into it could write a file of its choosing. Use it on trusted changes only. The call runs without the runner's command-file variables (GITHUB_ENV, GITHUB_PATH, GITHUB_OUTPUT, GITHUB_STATE, GITHUB_STEP_SUMMARY); that removes the direct reference only — the files can still be found and written, so it does not make this path safe. Its findings are carried as reported: Important → B, Nit and Pre-existing → C.
    • FH_REVIEWER=fh runs a «goldfish» pass modelled on the phase structure of /code-review as shipped in Claude Code 2.1.328, written in FH's words:
      • eight finder angles;
      • one CONFIRMED / PLAUSIBLE / REFUTED vote per candidate;
      • at most 10 findings at full, 8 at quick;
      • it never receives FH_TASK_DESCRIPTION, in its prompt or in its process environment.
    • on the claude backend it gets only Read · Glob · Grep: no shell, no MCP server, no skill (--tools, --strict-mcp-config, --disable-slash-commands; the change and the target content are in its prompt). A Claude Code too old for these flags fails the call (exit 10). On codex it runs in codex exec -s read-only, codex's sandbox. The elephant pass below is the same.
    • FH_GATE_ELEPHANT=auto (on at full) or on adds an «elephant» pass:
      • it gets the task description and the touched files' git history;
      • it looks only for a past fix re-opened, a recorded decision undone or the task contradicted;
      • it can only make the verdict stricter.
    • Shared rules:
      • Any failure of the opt-in passes exits 10.
      • When a pass that reads the change diff runs (an opt-in reviewer, or the elephant), a diff that cannot be computed is a B. With fh-legacy and the elephant off, it is only named on the reviewer line.
      • The elephant under fh-legacy keeps the 120 s default timeout; the 900 s default applies only to code-review and fh.
      • Output gains FH_GATE_REVIEWER · FH_GATE_ELEPHANT · FH_GATE_E0 · FH_GATE_E1 · FH_GATE_LAYERS_NOT_BUILT, and a source: per finding. Verdicts, exit codes 0/1/2/3/10/11/12 and the record keep their meaning.
    • In cross mode with FH_REVIEWER=code-review, the codex leg runs the goldfish pass, labelled fallback.
    • Lanes (shipped): test_fh_gate_defaults_lanes.sh · test_fh_gate_exec_lanes.sh · test_fh_gate_fusion_lanes.sh · test_fh_gate_absorb_lanes.sh.
  • FH_AGY_ISOLATION=no-tools-agent in agy_launch_guard.sh (shipped), for a machine where company repositories are readable. Its callers (finding_fleet.sh, finding_verifier.sh, sidecar_calibrate.sh) and the auto-decorrelation and steel-quench docs name the new route. In order:

    1. It refuses before agy starts when the prompt, an argument, the agy binary path or the working folder names a company-repo root. An unconfigured list is refused.
    2. It writes a tools: [] agent definition under a unique name and runs agy with it and --output-format stream-json.
    3. It voids any run whose stream shows a tool step other than manage_task, or that does not end in one SUCCESS result: exit 4, nothing on stdout.
    4. It removes the definition.

    The container / os-user / remote-os-user routes are unchanged. (#1140)

  • scripts/live_eval_matrix.py (shipped): a probe × date matrix across nightly live-eval reports, with always-pass / never-pass / mixed / too-few lists. Record only; UNCALIBRATED and FAILED-TO-RUN rows count as not scored. (#1082)

  • Live-eval behaviour profile (record only). The nightly report gains, per probe, arm and rep, the arm's top-level tool calls in four bins (explore · edit · test-run · other), counted by live_eval_trace.py profile. The bins are a heuristic calibrated on 17 real calls (edit and test-run on fixtures only). A rep with no stream says trace=MISSING, never 0. (#1133)

  • knowledge/shared/harness-core/heavy_skill_to_cartridge.md and scripts/heavy_skill_smell.py (shipped). A guide for splitting a skill that carries its own gates and hooks into craft / checks / floor. The checker flags seven smell families and is advisory: exit 0 when it read everything, 2 when it could not, never 1. (#1135)

  • scripts/job_heartbeat.py (shipped), wired into the session-start load. Per installed FH nightly job (com.forge-harness.* launchd jobs; silent where there are none), it lists the last 3 days with no output; days inside a row of tracks/_meta/job_pauses.tsv print as «paused (recorded)». It never judges a gap; always exit 0. (#1154)

  • Cartridge loader (not in the npm package; the shipped heavy_skill_to_cartridge.md and install-wizard detail name it): scripts/cartridge_loader.py / .sh, a SessionStart hook. It injects the entry text of the cartridges the operator lists in .claude/cartridges.enabled, each pinned by a tree hash. No list means nothing is injected. (#1137)

  • scripts/fh_techwriter_sync_check.sh (not in the npm package): names the files where the published fh-techwriter copy differs from FH's own export of ko-tech-writer (DRIFT · MISSING · EXTRA). Record only. (#1139)

  • scripts/scoreboard_render.py (not in the npm package): renders a measurement scoreboard only from sealed, quoted records, and lists everything else as excluded with its reason. (#1143, #1144)

Changed

  • fh-gate, fh-goal and fh-run: the default Claude model moves from claude-sonnet-4-6 to claude-sonnet-5-5. Verdict rules and exit codes are unchanged. (#1142)
  • action.yml: the timeout input defaults to empty and becomes FH_TIMEOUT only when given; it is read through an env var, not a ${{ }} in the shell. With no timeout, the gate uses its own default for the review it runs: 120 s for fh-legacy, 900 s for an opted-in code-review or fh reviewer. Callers who set timeout are unchanged. (#1156)
  • BREAKING (gate): templates/.git-hooks/pre-push (shipped), the Load-Bearing Change Gate.
    • Scope: it binds only when the push carries load-bearing gate files and the repository has a tracks/_meta folder (an FH checkout).
    • What changed: every branch the push updates needs its own marker, named exactly .axes_23_passed_<slug>_YYYY-MM-DD.marker and carrying a crossfamily: line, read from where pre-commit writes it (the main checkout's tracks/_meta when you push from a worktree).
    • Why: before, it took the newest marker of any branch, so a main-checkout push could pass on another branch's marker.
    • What now blocks: a push whose branch has no marker of its own, or whose marker name another local branch shares.
    • Remedy: record the marker for the branch you push, or use the logged PUBLIC_SURFACE_OK=1 exception.
    • Repositories without tracks/_meta are not newly blocked. (#1119)
  • fh_module_contract.md (shipped):
    • §2d: the declared purpose picks the measurement axis. Role and interaction modules get a persona simulation with three arms (bare / skill-only / module). (#1136)
    • §2e: a module that verifies names ...
Read more

v3.44.0 — ### [3.44.0] — 2026-11-17

Choose a tag to compare

@github-actions github-actions released this 17 Nov 00:14
4be10c3

Minor by the version policy: new shipped guards and a remote runner for the cross-family sidecars (#1123, #1125, #1127), a new --senses listing and lane in ko-tech-writer (#1128), and judged procedure changes in shipped skills and canon. One change makes an existing path refuse more by default — FH scripts now start agy only through agy_launch_guard.sh, so a gemini fleet member you ran on purpose fails as refused until it runs isolated; see the BREAKING (gate): entry for the remedy (#1123). The same change makes finding_fleet.sh stop with exit 1 before any member runs when it cannot create or prove its agy shim (for example a read-only or noexec /tmp), so a codex-only fleet on such a machine stops too (#1123). Two other refusals are new and narrower: a codex arm is refused when its prompt, arguments or working folder name a configured company-repo root (#1127), and sidecar_wait.sh now reports a sidecar that rejected its model as HARNESS-ERROR instead of COMPLETE (#1127). The live-eval report can now exit 2 (INVALID-COMPARISON) when its arms loaded different plugin sets — a report verdict, not a commit or publish gate (#1121). This repository's own required validate check now proves every selfcheck shard passed without the GitHub API (#1130) — repository CI only, nothing shipped changes.

Added

  • scripts/codex_launch_guard.sh (shipped): FH's codex verifier arms (finding_fleet.sh codex rows — including rows that call codex by name, through a shim first on PATH — finding_verifier.sh --family codex, the sidecar_calibrate.sh probe) start codex only through it. It refuses (exit 3, HARNESS-ERROR: CODEX-REFUSED, codex not started) when the prompt on stdin, an argument or the working folder names a root in the operator's company-repo list (FH_COMPANY_ROOTS, or the gitignored .claude/rules/.company-roots); otherwise codex runs with the prompt byte-for-byte and its own exit code. With no list configured it runs and prints «CODEX-GUARD: no company roots configured — not checked». A list that exists but cannot be read, an unreadable prompt or a failed matcher also refuses (exit 3). .gitignore now lists .claude/rules/.company-roots. It is a string check on paths (as given, real path, without /private, with ~), not isolation. Not covered: a custom fleet row that calls codex by absolute path or resets PATH (it skips the shim), and the runtime adapters fh-run.sh · fh-goal.sh · fh-gate.sh, where codex is the user's own agent. sidecar_wait.sh reports a guard refusal as HARNESS-ERROR reason=guard-refused. Lanes scripts/test_codex_launch_guard_lanes.sh (shipped). (#1127)
  • scripts/agy_remote_run.sh (shipped): the route FH ships for agy (the container / os-user markers remain for an isolated environment you built, unchecked by the guard) — it runs agy only as a separate OS user on another machine over ssh (frozen inputs copied in, output and requested files copied back, only its own fh_agy_<stamp>_<hex> work folder removed) and never starts a local agy. --canary (no agy) measures that the remote user cannot read the FH_AGY_REMOTE_DENY paths and writes a local receipt; runs are refused (exit 3) without a PASS receipt under 7 days old for the same settings, and a route that is down exits 4. agy_launch_guard.sh honours the new FH_AGY_ISOLATION=remote-os-user only when the target is this runner. Host, account and paths come from the environment only. Lanes scripts/test_agy_remote_run_lanes.sh (shipped) use a fake ssh/scp; the PowerShell side is not exercised by the lanes. (#1125)
  • BREAKING (gate): scripts/agy_launch_guard.sh (shipped). FH scripts now start agy only through it, and it refuses (exit 3, AGY-REFUSED on stderr) unless FH_AGY_ISOLATION is exactly container or os-user. Covered callers: finding_fleet.sh (the default gemini row, custom rows that write AGY_BIN, and custom rows that call agy by name — through a shim put first on PATH; both rounds), finding_verifier.sh --family gemini, and sidecar_calibrate.sh (which now prints a REFUSED row instead of reading the refusal as an answer). Why: agy runs its own shell and file tools even in --mode plan and sends what they print to the cloud model; on 2026-11-16 a review run searched the whole machine, read its own answer key and sent file names from another repository on that machine. If you ran a gemini member on purpose, it now fails as a refused member until you run it inside a container or a separate OS user (or as a remote OS user through scripts/agy_remote_run.sh, FH_AGY_ISOLATION=remote-os-user, #1125) and set the marker there. --sandbox does not count: a canary test the same day showed agy --mode plan --sandbox reading files outside its cwd and in the home directory. The marker is self-declared: the guard checks that you said it, not that it is true — set it only where a canary check confirmed the isolation. Not covered: a fleet row that calls agy by absolute path or resets PATH. auto-decorrelation §Step 2 states the rule; lanes scripts/test_agy_launch_guard_lanes.sh (shipped). (#1123)
  • ko-tech-writer S35, word-sense drift, as a procedure rather than a word list (shipped: SKILL.md, SKILL_detail.md, fixtures/sense_positive.md, fixtures/sense_negative.md, scripts/ko_tech_writer_calibrate.py). ko_tech_writer_calibrate.py --senses FILE lists occurrences of 쓰다/세다/재다/기계 (enumerated endings; compounds are not matched) with their context; a person or model then groups them by sense and flags the minority sense, and a coverage line says that 0 hits is not «none». New lane C22 checks the listing on a constructed inflection fixture and 0 hits on 27 lines of collision words; the sense grouping itself has no lane and stays a judgment. The same change adds a draft-time term table (Step 1), reading cited papers from the abstract (Step 4) and a provisional seeded whole-document pass after a correction round (Step 5) (#1128)

Changed

  • sidecar_wait.sh: a sidecar CLI that refuses the requested model now gets SIDECAR_VERDICT=HARNESS-ERROR exit=<n> reason=model-not-available and exit 3, instead of COMPLETE — which read as «the reviewer answered and found nothing». Measured 2026-11-16: codex -m gpt-5.5 and -m gpt-5 return HTTP 400 «not supported when using Codex with a ChatGPT account» (rc 1). Documented examples (sidecar_wait.sh usage, auto-decorrelation, sim-conductor) no longer pin those models; they use the CLI default. auto-decorrelation records that codex's --sandbox read-only limits writes, not reads (canary files in cwd, another temp folder and the home directory were all read), so codex arms get public diffs only. Lane test_sidecar_wait_stdin.sh P10/P10b. (#1127)
  • live-eval: the init plugin list (each plugin's source and version, never its path) is now part of the surface that INVALID-COMPARISON compares, next to the tool and MCP lists. Arms that loaded different plugins, or the same plugin at different versions, or one arm whose init has no plugin list, make the probe INVALID-COMPARISON with no pass rate and the run exits 2. Arms with the same plugins score as before. Why: the 2026-11-15 nightly had two probes where one rep loaded one more built-in plugin than the rest, with tools and MCP equal, and the report counted one surface. The plugins are still loaded from the operator's HOME; pinning them is not in this change. Lanes TR14–TR18 in scripts/test_live_eval_trace_lanes.sh (shipped). (#1121)
  • ko-tech-writer S11/S16/S19/S23 carry the 2026-11-15 operator full-read pairs (shipped). S11 gives bare section numbers a unit and splits shared-unit number pairs; S16 adds a cross-asset term check that splits by meaning and never bulk-replaces; S19/S23 gain four pairs; Step 5 adds context-only neighbour blocks and a provisional beginner cold-read stop rule. No lane or script changed (#1120)
  • governance_engineering_definition.md (shipped): the supervising placement is one root window over work sessions that each do one task in sequence. Provisional and proposal-only: when a multi-day task piles up in a session with other tasks, the governor proposes in one line moving it to a re-enterable work session; coupled work is not split (#1117)

Fixed

  • scripts/prepush_guard_check.sh (shipped): when a known pair breaks, the closing ❌ BLOCKED line now names every broken pair with its exit code and elapsed seconds (… 5 known pair(s) broke after 10s: <pair> (rc=0, 1s); …), and every pair line carries an [Ns] stamp. selfcheck.sh shows a failing check through its ❌-line extractor instead of the last 12 lines, with the check's total elapsed time. Why: a downstream consumer got BLOCKED — a known pair broke from a long selfcheck under heavy load with the pair cut off above the 12-line tail, so nobody could tell which pair broke or whether it timed out. The cause of that failure is still unmeasured; pass/fail verdicts do not change. Lane scripts/test_prepush_guard_failure_visibility_lanes.sh (shipped) plants a broken pair and checks the names survive the tail. (#1129)
  • session_checklist.py extract --out (shipped) no longer drops the parts of an existing sheet that the table parser does not consume — a result section below the table, a preface, prose in between, fenced code and hand-written notes are kept in order under «이전 결과서의 표 밖 내용», so a re-run over its own output is byte-identical. An orphan row whose first cell is - was read as a separator and lost on the second re-extract; it now survives. Lanes L55–L58 and KR1 in scripts/test_session_checklist_lanes.sh (shipped) (#1108)
  • scripts/test_preprep_speech_coach_lanes.sh (shipped): the ffmpeg-absent probe first resolves the real interpreter (sys.executable under the normal PATH), then runs it under the empty PATH. A downstream consumer saw it die with rc 127 where python3 is a bash shim (pyenv), so the code under test was never reached. An unresolved...
Read more

v3.43.0 — ### [3.43.0] — 2026-11-15

Choose a tag to compare

@github-actions github-actions released this 15 Nov 03:16
2b8de89

Minor by the version policy: a new shipped tool and lane for live-eval (#1099), a new shipped lane for meta-prompt-builder (#1103), and new judged procedures in shipped skills and rules. Nothing here makes an existing commit or publish gate refuse more by default, so no BREAKING (gate) line applies. Two checks are stricter, and neither is a consumer gate: the live-eval report can now exit 2 with INVALID-COMPARISON (#1099), and the checkout-only fixture-guard ratchet counts more git calls (#1097). The one new refusal path in a shipped gate script is opt-in: remote_marker_gate.sh reads PR bodies over the API only when RMG_PR_LOOKUP=1 is set, and a failed lookup then exits 10 (#1105). If you run the 3.42.0 package's test_fixture_guard_coverage_lanes.sh directly, it no longer fails on the checkout floor (#1097). Items marked «not in the npm package» are in the repository checkout only.

Added

  • scripts/live_eval_trace.py and scripts/test_live_eval_trace_lanes.sh (shipped). probe_live_eval.sh now records each arm's event stream by default (sim_isolated_run.sh --trace; FH_LIVE_TRACE=0 restores text-only runs). A probe may carry behave: (read=<re> / first_read=<re>), scored from successful top-level tool calls rather than the reply text. A PASS with no trace is marked MENTION-ONLY in its row, and the report header counts those rows. Arms that saw different init tool/MCP lists, or an arm with no init, make the run INVALID-COMPARISON: no pass rate, and the run exits 2 (as UNCALIBRATED already did). This is a report verdict, not a commit gate, but a nightly run can now exit 2 where it used to print a pass rate. Four of the 12 live probes now check a file read; the other eight stay text-scored, by name. ablation_calibrate.sh (not in the npm package) passes --strict-mcp-config in all three arms (#1099).
  • meta-prompt-builder Step 3 item 4, a restate check: before dispatch, a separate context-free reader restates each draft's GOAL / DONE / CONSTRAINTS and marks each RESTATABLE or GUESS. A GUESS becomes [WARN: brief not restatable — <field>]; restating your own draft does not count, and no reader means NOT RUN, not a pass. New lane scripts/test_meta_prompt_restate_lanes.sh (shipped) checks the record shape (#1103).
  • pr_merge_verified.sh prints one line before the merge asking which path the defect travels and whether the --rerun lane's control was red on the unfixed target via that path. It checks nothing, blocks nothing and does not change the exit code. It stays quiet when every changed file is a doc or a lane (#1106).
  • session_close_check.sh prints a record-only ⓘ ⑤-done-anchor line listing today's «완료» lines in fh_completed_<date>.md that name no commit, PR, run id, path or URL. The close check's exit code does not change. claude_md_full_reference.md §Session Wrap-up gains a paragraph: a «완료» line names its world state and what is still unresolved (#1100).
  • scripts/remote_marker_gate.sh: with RMG_PR_LOOKUP=1 and RMG_REPO=<owner/name>, a run with no PR body file asks GitHub for the PRs that contain the commit and appends the bodies of those whose head is this repo and branch. A failed or unreadable lookup exits 10, never «no PR». Without RMG_PR_LOOKUP the script behaves as before. This repo's validate.yml sets it on push runs, so a claude/* PR whose marker is only in its PR body no longer goes red on push while green on pull_request at the same HEAD (#1105).
  • scripts/ablation_verdict.py (not in the npm package): renders an ablation null result as NOT-DETECTED@N=<n> with the minimum detectable drop at that N, plus DETECTED, INSTRUMENT-UNCONFIRMED and INPUT-ERROR. The self-dev loop's ablation steps now use it instead of a builder-written «no loss». What the loop may merge does not change (#1096).
  • scripts/builder_card_files_check.py (not in the npm package): checks a builder Context Card's files: block (editable · required · inspect-only · protected) against the builder tree's changes. Exit 0 CLEAN, 1 VIOLATION, 2 HARNESS-ERROR. Nothing calls it yet except its lanes. dispatch_conditional_prohibition.md gains a bullet on what goes in the block and who runs the check (#1111).

Changed

  • measurement-integrity-checklist.md §Measured-Loop: the runs that chose a candidate do not count toward promoting it, as a three-sample table (choosing · promoting · reporting). edit-manifest gains a fresh-sample guard (only events dated after the entry count, the selection evidence never counts, a redefine is a new version), and harvest-loop 6-b keeps an approved addition provisional until later events decide. probe_scope_check.sh and the ablation log (not in the npm package) carry the same rule (#1112).
  • dispatch_conditional_prohibition.md and .claude/rules/fh_4axis_gate.md: a Context Card or root brief is restated by a fresh reader before it is sent, and a soul: line before design; the result goes inside the soul-check: grounds. No new marker field and no hook check (#1113).
  • fh_module_contract.md §2d: before building a module whose purpose is accuracy, measure the bare model on the real path; at the ceiling, record NOT-DETECTED@N and do not build. Modules whose value is not accuracy are out of scope (#1109).
  • ko-tech-writer S30 now lists declarative passives (~된 적, ~된 채) and asks for [확인 필요: …] instead of inventing an actor; S31 says an English parenthetical is not a gloss (#1095).

Fixed

  • test_fixture_guard_coverage_lanes.sh run inside an installed package (no .git) skips its live case by name and prints 1 skipped (not a pass); before, it failed on the checkout floor (3.42.0 package: 9 passed, 1 failed). Git captured into a variable now counts as a git reference, and a guard line inside a heredoc body no longer counts as a guard. That makes the ratchet stricter: a lane it passed before can now fail it, and the script names one known over-block that fails closed. At release the live scan is green in the checkout (#1097).
  • capability_registry_check.sh --self-test no longer flakes under parallel load: two substring checks used printf | grep -q under pipefail, which returned 141 on SIGPIPE. No assertion was loosened (#1097).
  • test_mutation_probe_lanes.sh exits 0 on macOS: lane N6 counts processes with ps when /proc is absent, and S7-5 (Linux subreaper) prints NOT-APPLICABLE on Darwin and is not counted as passed. On Linux a missing /proc or setsid is still red (#1101).

Docs

  • docs/HOW_FH_DIFFERS.md (Korean) and docs/HOW_FH_DIFFERS.en.md: how FH differs from the common idea of a harness; a pointer line in each README (#1102).
  • docs/USER_GUIDE.md §4: choosing and starting an intensive or a supervising governor. The session-ledger scripts and governor_landing_check.py it names are clone-only (not in the npm package). AGENTS.md §Governor Operation points to it (#1107).
  • docs/model_tier_expectations.md: Opus 5.5 rows with the vendor's effort guidance and its source, the role verdict UNMEASURED, and a refresh rule for new models (#1114).
  • 3.42.0 notes reworded from the release review (#1098); the subagent invocation log gains the 2026-11-14 dispatches (#1104).

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.43.0

v3.42.0 — ### [3.42.0] — 2026-11-14

Choose a tag to compare

@github-actions github-actions released this 14 Nov 00:06
add78ec

Minor by the version policy: a new shipped ratchet lane (#1091) and new judged checks in the ko-tech-writer skill (#1092). Nothing here makes an existing gate refuse more, so no BREAKING (gate) line applies. If you run 3.41.0 from an npm install and have a companion store configured as a git repo, you have been seeing a LANE-TRIPWIRE HARNESS-ERROR … is not a readable git repo line at every session start; 3.42.0 removes it (#1093). The new ratchet lane is checkout-only: selfcheck.sh skips it in an installed package, and running it directly there fails by design.

Added

  • scripts/test_fixture_guard_coverage_lanes.sh (shipped): a ratchet lane. A scripts/test_*.sh or scripts/*_lanes.sh that calls git must source fixture_guard_lib.sh before its first git call. It is a checkout-only suite: selfcheck.sh skips it in an installed package, which ships fewer lanes (70 against a floor of 80). Run directly inside the package, its live case fails on that floor while its nine planted calibration cases pass (#1091).
  • ko-tech-writer skill: five new judged checks S30–S34 (agentless passive, first-defined concept in quotes with a gloss, introduce a cited study before its numbers, progress statements that go stale before publication, colloquial register), a second example pair for S17, and a Step 4 check of citation descriptions against the linked abstract and a later-finalized sibling (#1092).

Fixed

  • 78 test lanes now source fixture_guard_lib.sh before any git call, so running one directly from a shell with an exported GIT_DIR or GIT_INDEX_FILE no longer writes into, or reads from, the exported repo. This closes the «not yet covered» gap noted under 3.41.0 (#1091).
  • Session start no longer runs the lane-identity tripwire when the FH folder is not a git repository. Before, an npm-installed copy (not a git repo) with a configured git companion store printed LANE-TRIPWIRE HARNESS-ERROR: … is not a readable git repo at every session start (measured on the published 3.41.0 package). Called directly, lane_identity_tripwire.sh still exits 2 on a non-repo, and --strict is unchanged (#1093).

Docs

  • 3.41.0 notes corrected below: what the session-start tripwire line prints, the close-check ✅ line, and the two docs entries that were joined on one line.

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.42.0

v3.41.0 — ### [3.41.0] — 2026-11-13

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:25
c627865

Minor by the version policy: a new shipped tool and three new shipped lanes, a new session-start tripwire line, and a selfcheck that now scrubs inherited git env before lanes run. Nothing here makes an existing gate refuse more, so no BREAKING (gate) line applies.

Added

  • scripts/lane_identity_tripwire.sh: a record-only report of reachable commits made by the lane fixture identity — fixture commits that leaked into a real repo. --strict exits 1. It runs at the end of selfcheck.sh and at session start; the session-start banner prints its line only when it finds something (#1088).
  • New lanes: test_fixture_git_env_lanes.sh (#1088), test_name_boundary_locale_lanes.sh (#1089), test_doc_claims_1113_lanes.sh (#1086).
  • scripts/session_close_check.sh prints a record-only line when the day's completed-work file has no ## 잡은 것 section. The close check's exit code does not change (#1087).

Fixed

  • Shell scripts no longer die with rc 127 (unbound variable) on macOS under a UTF-8 locale when a variable sits right before a non-ASCII character. 37 code lines in 19 files are braced, including pr_merge_verified.sh --lease. shell_name_boundary_scan.sh gains --nonascii-only (#1089).
  • An exported GIT_DIR, GIT_INDEX_FILE or GIT_COMMON_DIR no longer lets test lanes commit into a real repo. selfcheck.sh unsets them before any lane runs. fixture_guard_lib.sh unsets them when sourced, and fh_fixture_root returns HARNESS-ERROR if one is set again or git resolves the root outside the fixture. Lanes run directly, outside selfcheck, that do not source the guard are not yet covered (#1088).
  • package-coverage: two stale ACCEPTED_ABSENT entries removed (#1084).

Changed

  • Docs: pr_merge_verified.sh header no longer says the lease is recorded but not enforced (#1085). - Docs: in 3.40.0, with a --lease label other than NONE or operator…, pr_merge_verified.sh fetches origin main and diffs the PR head against its merge-base for the tier; if that fetch, merge-base, diff or tier run fails (for example a repository with no main branch on origin), it exits 7 like a HOLD and merges nothing. Drop --lease there, or pass a per-PR operator: … label. catch_tally.py accepts ## Catches as well as ## 잡은 것 as the section heading. The module contract's two fh-cartridges PR references now say merged. (#1086)

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.41.0

v3.40.0 — ### [3.40.0] — 2026-11-13

Choose a tag to compare

@github-actions github-actions released this 13 Nov 06:24
ed150bb

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), and scripts/catch_tally.py counts 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.sh gains a report-only ①-r line that lists PRs whose last merge receipt is not verified, from the last FH_RECEIPT_WINDOW_DAYS days (default 7); older ones are counted on their own line. The close check's exit code does not change (#1059).
  • templates/harness_birth_core.md and a route to it: when you ask for a harness for a new or empty project, the routing rows in CLAUDE.md and onboarding_acceleration_autopilot.md tell 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 shipped CLAUDE.md text changes, so an agent that loads it routes differently on that request; no script runs (#1073).
  • scripts/sim_isolated_run.sh takes four opt-in flags for a consumer-like arm: --setting-sources (must include local), --settings, --permission-mode (only default, acceptEdits, plan; bypassPermissions is refused) and --add-wrapper-dir. With none given the arguments passed to claude are 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 (MISSING when the runner wrote no treediff). No verdict row moves (#1077).
  • live-eval episodes record wall seconds. The runner writes wall_s to meta.tsv and the report's Budget cell prints wall_s=<min>..<max> and tokens_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.py adds an info-level W8 for a skill description with no question example; info never changes a verdict (#1067).
  • scripts/agent_tools_pin.txt and a lane that pin each shipped agent's tools: 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): a SKILL.md or SKILL_detail.md edit is now HOLD when a changed line (added or removed) carries verdict or scoring words (PASS, FAIL, HOLD, verdict, threshold, rubric, …), and HOLD when the diff cannot be read in full. Before, every skill-file edit was AUTO by path. This only affects a caller of the tier script; see the first BREAKING (gate) line (#1064).
  • Self-dev loop, hub clone only: a seed: candidate PR 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 says AUTO; 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 ships SELFDEV_DRY_RUN=1 and SELFDEV_NO_MERGE=1, and SELFDEV_NO_MERGE set to anything other than 0 or 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 an auto/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) gets apply-all for 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.py strips 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.sh prints a three-line advisory before the merge when no --lease is given (the receipt records lease=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.tsv has a nonzero rc is scored FAILED-TO-RUN, not FAIL. 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 no meta.tsv scores as before (#1074).
  • live-eval probe G-TRIG-04 now accepts «weekly harvest» as well as harvest-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's unseen field (#1063).
  • Housekeeping, no consumer effect: .gitignore covers lease_line_apply.sh's CLAUDE.local.md backups (#1057; the file is not in the npm package).

— CHANGELOG: plugins/fh-meta/CHANGELOG.md · npm: @chrono-meta/fh-gate@3.40.0