Skip to content

Releases

v1.159.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 18:13
Immutable release. Only release title and notes can be modified.
a5e8f7f

2026-10-22

  • The doctor runs the brain gates — scripts/maintainer_doctor.py (#2297). brain fresh at arm runs in every sweep and is a skip off an arm; brain fresh at promotion is in PR_SKIPPED_GATES, so the full sweep that makes the release proof refuses a stale STATUS; both selftests run too. plugins/rails-flow/scripts/mutations/check_brain_fresh.py (9 mutants) and check_owner_rulings.py (9) and six new mutants in scripts/mutations/docs_layout.py each turn one refusal into a pass and name the fixture that must notice. claude-skills waives docs/product/ in its own docs/README.md, with the reason. The release-manager's preconditions gain the brain check.
  • The move is held by the existing checks, extended where the move needed it — scripts/lint_self_consistency.py, scripts/check_manifest_paths.py (#2175). vendored-copy-drift no longer lists check_simple_form_only.py (rails-stack owns it); the doc-pointer rule resolves ${STACK_ROOT}/... in a stack's setup section against the plugin that holds it; check_manifest_paths.py counts a stack plugin's own setup section as that plugin's surface (a gate it registers can wait on a file its section writes, as architecture-boundaries waits on Archspec.rb), with a selftest case each way and a mutation. The maintainer doctor, the doctrine map and the tenancy-cop generator name the new paths, and the Rails-assumptions policy splits the four held gates into two moves, one per carrier issue (#2177, #2183).
  • A stack descriptor's ui.implementation must resolve to a design-flow UI adapter, and the harness finds the adapter's guards (#2178). The new rule ui-adapter-unresolved in scripts/lint_self_consistency.py refuses a descriptor whose ui.implementation has no plugins/design-flow/ui/<id>/adapter.json, an adapter whose id, agents or checks do not resolve, and a descriptor ui.porter or ui.composer that disagrees with the adapter; two guard mutations in scripts/mutations/lint_self_consistency.py prove the agent and porter halves can fail. scripts/mutation_check.py now discovers guards under plugins/*/ui/*/scripts/mutations, staged with the plugin as their base so an adapter script still reaches design-flow's neutral scripts/ and brands/; and scripts/rails_assumptions.py lets an adapter's guard follow the decision of the script beside it. Our own architecture decision, no framework claim.
  • ui-adapter-unresolved now also requires every adapter to ship the procedure file a dispatching command reads, and check_manifest_paths.py counts an adapter's scripts and procedure files as surfaces (#2185). scripts/lint_self_consistency.py refuses an adapter lacking <command>.md for any plugins/design-flow/commands/ file that calls ui_adapter.py; scripts/check_manifest_paths.py reads ui/<implementation>/scripts/*.py and ui/<implementation>/*.md, because the gate rows' applies_when paths now live there. Each carries a selftest scenario and a guard mutation (scripts/mutations/lint_self_consistency.py, scripts/mutations/check_manifest_paths.py); ui_adapter.py has its own guard. Our own architecture decision, no framework claim.
  • Fixtures no longer read the machine's git config — plugins/rails-flow/scripts/fixture_git.py (#2208).
    • The cause. Homebrew's system gitconfig sets core.hooksPath=.githooks. Under it, a hook a selftest plants in .git/hooks never ran, so "the hook did not run" passed whatever the code did, and "it ran" failed for the wrong reason.
    • The fix. fixture_git (all three identical copies) and scripts/hermetic_git.py now set GIT_CONFIG_NOSYSTEM=1, so a Mac fixture behaves as the Linux runner's does. wip_commit scrubs every GIT_* from its own git, so its selftest keeps the machine's config and resolves the hook directory instead (#2207).
    • The lint. lint_self_consistency.py's new planted-hooks-not-hermetic rule reads every .py and .sh under scripts/ and plugins/*/scripts/, nested folders included, with comments removed so a mention is not a use. It refuses a script that builds a .git/hooks path without one of three things: rev-parse --git-path, GIT_CONFIG_NOSYSTEM, or git run through fixture_git/hermetic_git. It also refuses either helper dropping the variable. The rule has 5 scenarios and 3 guard mutations.
  • The full sweep runs on GitHub at the promotion for this public repository; a local --require-slow --record-proof is for private repositories only — CLAUDE.md (owner rule, 2026-10-21: "full sweep runs only on machine for private repo"). Actions minutes are free here, and release.yml already runs the full sweep when no recorded proof matches the tree. v1.158.0 published that way (#2216). The doctor's skip reason for mutation coverage in --fast (scripts/maintainer_doctor.py), the comment above PR_SKIPPED_GATES, the doctrine-map note on the ancestry check (scripts/doctrine_map.py) and the rationale in scripts/sweep_proof.py say the same.
  • An advice row in the doctrine map must stand on something — scripts/doctrine_map.py (#2224, owner ruling 2026-10-21: "advice is not bad but must be tested against best practices or standards").
    • The new field. A Claim gains a basis: either source: <what was checked> @ <version in scope>, or decision: #<n> (a maintainer decision, which refs must cite).
    • What is refused. An advice row with neither is unbased advice. A basis of the wrong form is malformed basis. A decision refs does not cite is decision not cited.
    • The baseline. Measured when the ruling landed: 16 advice rows, of which 4 had a basis (two style.md rows verified on rubocop 1.91.0 (#1363); git add -A decision #1793; the MCP checklist decision #2056) and 12 had neither. The 12 are ADVICE_UNBASED, a list that may only shrink: an entry whose row gains a basis, becomes a guarantee or is deleted is a finding until it is removed.
    • "May only shrink" is checked against the base, not against itself (#2254 review). --check reads the base's scripts/doctrine_map.py (origin/dev, or DOCTRINE_MAP_BASE) with git show, and refuses any entry the base did not allow: its ADVICE_UNBASED, or, before the list existed, its advice rows. So a new unbased row cannot ship with its own grandfather entry. The comparison point is git merge-base <base> HEAD, and HEAD's first parent when that is HEAD itself (a push to dev, or DOCTRINE_MAP_BASE=HEAD by hand), so a list never agrees with itself. An unreadable base is a finding, never a pass. A source: basis must also cite the verdict or issue that checked it in refs.
    • Proof. The selftest is 62 cases, including a new row plus its new entry against a base fixture, both base shapes, an unreadable base, and the real list against the real rows. The guard is 18 mutations, all caught.
  • A shipped doc may not carry a Vercel or Supabase CLI step without a hand-off line — scripts/check_vendor_handoff.py (#2289, plugin-boundaries rule 2: one home per concern). A line of a tracked .md under plugins/ or skills/ that tells the reader to run a vendor step (supabase <step> or vercel <step>, also behind npx, vercel --prod, a bare vercel where it is told to be run) is refused, and a line that says Hand-off: does not excuse it: a pointer names the vendor skill or command and carries no command of its own, so a table with Hand-off: on every row is still a copied table. A Hand-off: line about Vercel or Supabase must name its vendor target. The maintainer doctor runs it and its --selftest (a hand-off line alone is clean; every way around it is a fixture); its mutation guard scripts/mutations/check_vendor_handoff.py has 22 mutations.
  • Vendored copies are held byte-identical — scripts/lint_self_consistency.py (#2173). A new rule, vendored-copy-drift, fails when a file rails-stack vendors from rails-flow (triage_failures.py, check_simple_form_only.py, agent-output-contract.md) differs from its canonical copy or goes missing, and findings-script-drift now covers rails-stack's findings.py too. Each copy has its own negative case (one byte changed, and the file missing), and two mutants in scripts/mutations/lint_self_consistency.py turn the rule's comparison and its missing-file branch off.
  • The hook harness and its three guards follow the move — plugins/rails-flow/scripts/check_hook_gates.py (#2174). run_hook takes a hooks_dir, and the guard_migrate and lint_ruby fixtures, the bare-PATH run and the hooks.json matcher check now read plugins/rails-stack/hooks/; scripts/mutations/hook_guard_migrate.py, hook_guard_migrate_matcher.py and hook_lint_ruby.py name the new subjects and stage the new directory, and all 11 of their mutants are still caught. The component-class map is regenerated: rails-flow's own Rails-class files fall by 2 and rails-stack's rise by 3.
  • detect-stack-drift holds pipeline's copy of the stack detector — scripts/lint_self_consistency.py, scripts/mutations/lint_self_consistency.py (#2179). Two copies of detect_stack.py (rails-flow canonical, pipeline mirror) must be byte-identical or one is missing: a finding, with a selftest scenario and a mutation for each. scripts/maintainer_doctor.py runs the moved kamal_destination selftest from plugins/rails-stack/scripts/ and gains the rails-stack tiers gate; the generated pages (docs/architecture/rails-assumptions.policy.json, component classes, the wiki) follow the move. Mixed components: 199 before and 199 after (the command is neutral now, the detector mirror is one more mixed file); rails files left pipeline for rails-stack.
  • A neutral component is now PROVEN neutral by running it, not only by a scan finding no Rails name — scripts/prove_neutral.py, docs/architecture/neutral-proof.json (#2205). Every neutral hook, script and checks.json gate runs a...
Read more

v1.158.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 11:14
Immutable release. Only release title and notes can be modified.
e7073b5

2026-10-21

  • The release's mutation sweep runs as 6 shards, not 4 — .github/workflows/gates.yml, .github/workflows/mutation-weekly.yml, scripts/mutation_incremental.py. The v1.158.0 promotion's release run (39559272291) published nothing (#2216): shard 4 hit its 75-minute cap while shards 1-3 took 16-48 minutes. Shard 4 had grown 46, 53, 46 and 57 minutes over the four releases before. The cost record that balances the shards names 24 of 277 guards and weighs the rest at the 60 s floor. Six shards spread the same work under the unchanged cap. The selftest's shard fixtures now derive the count from EXPECTED_SHARDS. docs/evidence/mutation-cost-baseline.json is re-recorded from that branch's full Linux run (36 guards over the floor, up from 24): hook_guard_bash measured 9,810 CPU-seconds against its recorded 1,795, the main cause of shard 4's length (#2218).

  • The v1.158.0 proof's mutation coverage gate is green again — scripts/mutations/extract_release_notes.py (#2206, the v1.158.0 proof). The proof's --require-slow run found 6 of 4732 mutations wrong, and CI's --fast skips that gate, so every PR was green.

    • extract_release_notes. Its staged tempdir now carries plugins/rails-stack/.claude-plugin/plugin.json (#2182 moved rails-stack's version there) and plugins/nextjs-stack/.claude-plugin/plugin.json. A missing-file mutant is caught by its own fixture again.
    • The four git-shim guards. git_shim, git_shim_hook, git_shim_real_git and git_shim_selftest_skip stage scripts/fixtures/claude_code_git_config.json, the recorded Claude Code git calls the #2129 case reads. They are no longer INERT.
    • wip_commit. A machine's system git config can set core.hooksPath; Homebrew's sets .githooks. Then a hook in .git/hooks never runs, and dropping wip_commit's core.hooksPath=/dev/null survived. A new selftest row plants the hooks where git resolves them (rev-parse --git-path hooks), so the mutant dies on every machine.
  • The brain index loads only live lessons: 9 enforced ones become one-line pointers to their check, 8 archived ones move to history — docs/brain/MEMORY.md, docs/brain/history/archived-lessons.md (#2146). From the prose-rule audit of 2026-10-18 (maintainer-approved via the coordinator). An enforced lesson's index line now names the check that makes it true (its memo stays); brain line 70 says that git stash pop is still uncovered. The eight archived lessons (one-off, superseded or settled in code) are relocated verbatim, index line and memo, to docs/brain/history/, never summarised; a line at the foot of the index points to history/archived-lessons.md, so they stay findable. The other 56 lessons are recurring and unenforced; they are mapped to #2147–#2158. Our own design, not a framework claim.

  • Added a re-checkable inventory of the Rails assumptions in the four flows (scripts/rails_assumptions.py, policy docs/architecture/rails-assumptions.policy.json, generated docs/architecture/rails-assumptions.md): every file that names a Rails thing has a decision (rails-stack, detector, reword or neutral) with the reason, setup-flow is decided section by section, and each move is an issue under #2162. Maintainer-only, no plugin code moves; --check is a doctor gate; tool and gem names match in any case, a file decided neutral is pinned to its recorded hit-line count, and the drift half of --check and the four-flow scope are guarded by mutations. (#2164)

  • A gate proves the shipped stack markers detect real projects — scripts/check_stack_markers.py (#2165, e6's review of #2198). It runs hand-written Next.js, Supabase and Vercel projects, plus three near misses (a react-only app, a supabase/ directory with no config.toml, an empty project), through the real detect_stack.py against the shipped plugins/nextjs-stack/stacks.json, and states the stacks each must produce. detect_stack.py --check validates a manifest's shape, so a well-formed typo (next to nxt) passed every check while real detection broke. Registered in maintainer_doctor.py as "stack markers detect their projects"; its guard (scripts/mutations/check_stack_markers.py) mutates the shipped manifest four ways, each caught by the fixture it names.

  • The gates follow setup-flow's Rails repairs into rails-stack — scripts/check_manifest_paths.py (#2180).

    • The paths gate. checks.json paths reads each stack's setup_section (rails-stack's setup/rails.md) as a surface of the plugin that ships detect_stack.py, and of no other plugin. That plugin's setup-flow is what runs those sections, so architecture-boundaries still finds its Archspec.rb. A section that escapes its plugin vouches for nothing. Selftest 18 checks; guard 9 mutations, all caught.
    • The markdown linters. lint_markdown_shell.py and lint_markdown_code.py add setup to their roots, so the moved blocks are still linted.
  • The doc-pointer lint checks shipped text against the install layout — scripts/lint_self_consistency.py (#2182, release blocker for v1.158.0). Under plugins/, a skills/<name>/… pointer resolves against plugins/rails-stack/ (where an installed rails-stack has skills/), so it is still verified and a typo still fails; a plugins/rails-stack/skills/… pointer in shipped text is now a finding ("clone-only path in shipped text"), even when the file exists. Repo docs keep the clone path, resolved from the repo root. New cases and two guard mutations; the #100 mutation's anchor follows the rewritten code. A second rule, clone-path-in-shipped-file, scans every file type under plugins/ (a printed hint, a json, a docstring, a README) for plugins/rails-stack/skills/, except an allow-list of clone-aware code, each with its reason (doctrine_path.py, guard-claims.sh, pr_template.py, check_hook_gates.py, worktree_teardown.py, session_coordinator.py).

  • Our own gate fixtures no longer fail when our rails-flow git-shim is on PATH — scripts/hermetic_git.py (#2190). Every agent session runs with the shim first on PATH, and it rightly refuses a fixture's git add ., git add -A or git config filter.*. So four gates were red in every agent shell and green only with PATH stripped by hand:

    • check_upstream_docs selftest;
    • vendored alone (the wiki and generated-docs selftests);
    • the where-stopped helper;
    • the doctor's own selftest.

    hermetic_git.env(), which builds the environment of every subprocess the gate and mutation runners launch, now drops the rails-flow shim from PATH. It matches the session hook's own pattern (rails-flow(/<version>)?/git-shim), so another tool's git-shim directory stays. Measured through that environment with the shim on PATH, the four gates go from exit 1 to exit 0. scripts/mutation_check_selftest.py proves it with a stub shim that refuses every command, first on PATH, while a fixture's git init and git add . still run. The guard has two new mutations (the strip dropped, and the pattern widened to any git-shim), 7 of 7 caught.

  • A generated page classifies every shipped hook, command, agent, skill, script and gate as neutral, rails, nextjs or mixed — scripts/component_classes.py, docs/architecture/component-classes.html (#2192). The class is declared once in docs/architecture/rails-assumptions.policy.json and verified by the scan: a component declared neutral that names a Rails or Next.js thing fails, an unclassified component fails, a mixed one needs its seam and plan issue. Gate rows and hooks take the class of the script they run, and mutation guards and selftests that of the script they test. Maintainer-only, no plugin code moves; --check is a doctor gate and the page is built through rebuild_generated.py.

  • The Rails-assumption inventory sees Rails idioms named without the word Rails — scripts/rails_assumptions.py (#2196 review).

    • The new pattern. rails-idiom covers Current.*, perform as code or perform_later/perform_now, form_with/form_for, the association macros and the controller callbacks. The English verb "perform" and the word "current" are not hits.
    • The re-measure. It finds 21 files, every one already classified (rails-stack, detector or reword), so no unclassified file. Setup-flow's section table loses the template row: it has no hit left.
    • Proof. The selftest has 4 new checks; the guard is 17 mutations, all caught.

1.65.0

  • The git shim admits the config pairs Claude Code's own git calls carry, so claude plugin marketplace update works with the shim on PATH — plugins/rails-flow/git-shim/git (#2129). The shim refused GIT_CONFIG_KEY_0=credential.interactive, so Claude Code's marketplace refresh failed and plugin auto-update silently stayed on the old version. Measured with a logging git: the refresh carries 38 pairs in the environment and 43 as -c arguments. Admitted now, exact key (case-insensitive) and exact value, no prefix or wildcard: credential.interactive=false; core.fsmonitor= and core.askPass= EMPTY only; protocol.<ext|fd|git|ftp|ftps>.allow=never; submodule.recurse=false; log.showSignature=false; format.pretty=medium; init.defaultRefFormat=files; hook.<name>.enabled=false for the 28 listed hook names, which sets the hooks-off rule (admitted only on commands that run no hook: ls-remote, config, remote, …); and core.sshCommand with exactly ssh -o BatchMode=yes -o StrictHostKeyChecking=yes, the one program-running key (git's default ssh plus two options that forbid prompts and unknown hosts). Every other key, value or hook name stays refused. The capture is a fixture (plugins/rails-flow/scripts/fixtures/claude_code_git_config.json) the selftest replays, with a neighbour and value-variant row per pair, and nine mutants. Our own design: owner-approved 2026-10-18.
  • **One stack detector reads each stack plugin's own markers — `plugins/...
Read more

v1.157.6

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:11
Immutable release. Only release title and notes can be modified.
3061553

1.64.0

  • The SessionStart hook leaves exactly one git shim on PATH, the running version's — plugins/rails-flow/hooks/scripts/session-start.sh (#2110). The hook appended export PATH=<shim>:"$PATH" to CLAUDE_ENV_FILE once per DISTINCT line, so after a plugin update the env file held every version's line and an OLDER shim stayed first (a session had 1.61.0 ahead of 1.62.1, with 1.59.0 first and last in another), so the fixes of the newer shim never ran. The written line now strips every rails-flow git-shim directory (the cache layout rails-flow/<version>/git-shim and a checkout's rails-flow/git-shim) from PATH before prepending this version's, and an earlier version's line is dropped from the env file (other hooks' lines stay); when the strip cannot run or leaves nothing PATH is kept as it was, so a failure never empties it. plugins/rails-flow/scripts/git_shim_selftest.py gains rows for the rewrite, for one shim under bash and zsh (sourced twice stays one), and for the fallback; plugins/rails-flow/scripts/mutations/git_shim_hook.py gains four mutants and two stale anchors are repointed. Maintainer decision: the fix designed on #2110 (rewrite the env file without earlier shim lines, and strip every */rails-flow/*/git-shim entry before prepending).
  • A production-config gate reads config/environments/production.rb — plugins/rails-flow/scripts/check_production_config.py (#2120, part of the secure-by-design audit #2115). Production configuration was validated by nothing in the toolchain, although auth-security.md documents the worst trap (config.hosts is empty in production and does nothing); a downstream app shipped with it commented out (Retask #2060: Host-header and DNS-rebinding protection off, an emailed link built from the request host). The check is static and offline. It evaluates config/application.rb, then config/environments/production.rb, then config/initializers/*.rb as ONE sequence in Rails' load order (the last setting wins, so production.rb's config.hosts = nil or .clear empties what application.rb set), after a Ruby-aware scanner removes comments only (strings, #{}, %w[], regexps, heredocs and =begin/=end are understood). A setting made only conditionally (an if/unless/case block, a trailing modifier, a ternary, an ENV value) does not count as made. Rules: hosts non-empty (=, <<, +=, .push, .concat count; = nil, = [], .clear empty); config.force_ssl = true literally and unconditionally (assume_ssl alone is not it); consider_all_requests_local not true (a conditional or non-literal value is unjudgeable and a finding); no wildcard Rack::Cors origin ("*", %w[*], a constant or variable bound to one, /.*/ or /.+/, a block returning true; matched structurally, not by a bare *); no dev-only engine or route (letter_opener, rails_db, GraphiQL, /rails/info, /rails/mailers) outside a development guard, and no admin or job dashboard (Sidekiq::Web, MissionControl::Jobs::Engine, PgHero, Blazer, Flipper::UI) outside a development guard or an access constraint (constraints/authenticate). Exemptions are declared per rule, with a non-empty reason, in .rails-flow/production-config.json (an unknown rule, a missing reason and an exemption for a rule that passes are findings; the hosts reason can say the host is filtered at the proxy, named). Credential literals are not checked: secret detection is #2121. plugins/rails-flow/checks.json gains the production-config entry (applies when config/environments/production.rb exists), with a --selftest and a mutation guard. Maintainer decision: scope and the one-exemption-file shape confirmed on #2120 by the coordinator (credential-literal rule dropped in favour of #2121); the load-order, conditional, scanner and CORS/dashboard widening are the independent review of #2134.
  • cd <worktree> && gh pr ready <n> is accepted, judged on that worktree's HEAD record — plugins/rails-flow/hooks/scripts/guard-pr-ready.sh (#2132). The guard refused every compound command, so a PR whose head is checked out in another worktree could only be marked ready by a session started inside it (the Bash tool does not carry a bare cd to the next call); it stranded #2131. Now exactly one extra segment is accepted: a cd to one plain literal path, joined by &&, the raw command at most 4096 characters; lib/command_cwd.py judges the record in that directory, and a cd cannot move HEAD. Everything else stays refused: a second segment, ;, a second cd, a quoted or variable or substituted path, -R. 19 fixture rows, 3 mutants; the shell-adversary found nothing.
  • toolchain-selftests runs one version per installed plugin, not every cached version of rails-flow, so an older cached docs_layout.py no longer fails the current git shim and blocks gh pr ready — plugins/rails-flow/scripts/check_toolchain_selftests.py (#2137). In the installed layout (<cache>/<plugin>/<version>/) its own flat walk took parents[1] for the plugin directory, so "siblings" were other VERSIONS of rails-flow and the sibling plugins (qa-flow, design-flow) were never reached: on a Retask worktree it ran 124 selftests, 4 of them rails-flow versions, and the 1.60.1 and 1.61.0 docs_layout.py (no .git/rails-flow-fixture marker) failed git add -A under the 1.63.0 shim. It now uses project_gates.plugin_roots, the walk #706 already fixed for project_gates itself: the same worktree runs 53 selftests with 0 findings. A fake-cache-layout selftest and a guard mutant that restores the flat walk. Our own design.

1.76.0

  • MCP write tools: a "before you add a write tool" checklist — skills/rails-8/references/mcp-server.md (#2052, #2051). A new §6 opens with "If you cannot answer these, do not ship a write tool." and asks five decisions each project records in its CLAUDE.md: who may write, how a change is confirmed, what stops a retried call writing twice, how the audit tells agent writes from human ones, how a wrong write is undone. The scope change is the owner's ruling on #2056 (a checklist, not rules); every spec-cited mechanism is doctrine-verifier CONFIRMED against MCP revision 2026-07-28 (verdicts on #2051), and the three gaps the spec leaves are labelled our design. Registered as advice in scripts/doctrine_map.py.
  • The write-tool checklist says which parts are our reading and which spec MUSTs are conditional — skills/rails-8/references/mcp-server.md (#2056, review of #2113). "A preview token is a state handle" is now labelled our reading, and §6 item 2 quotes MRTR's two requestState MUSTs with their conditions (integrity "If requestState influences authorization, resource access, or business logic"; server-side enforcement for a requestState that "must be consumed at most once"), wording verified on #2051.

Install: /plugin marketplace add fmanimashaun/claude-skills

v1.157.5

Choose a tag to compare

@github-actions github-actions released this 17 Oct 00:51
Immutable release. Only release title and notes can be modified.
2650cf0

2026-10-17

  • changelog_fragments.py --fold matches a fragment's section by its name or its whole heading, never by prefix — scripts/changelog_fragments.py, changelog.d/README.md (#2099). A fragment's section: used to be a PREFIX of a ## heading, so #2035's section: rails-stack (rails-8 + hotwire ... matched an old 2026-09 rails-stack heading that still held a stale ### Unreleased and the arm of v1.157.4 filed the bullet there; it was moved by hand. Now section: is the heading's name (its text before the first (: rails-flow, Repository hygiene) or the whole heading; a prefix of a title matches nothing and the error names the headings that start with the same word; two different headings with one name (rails-stack has two) are an error naming both, and a ### Unreleased never breaks the tie (--into still chooses by the armed release block). The two rails-stack fragments already in changelog.d/ now carry the whole heading. The selftest gains rows for two sections sharing a prefix with a stale ### Unreleased, and the mutation guard gains two mutants (prefix matching restored; ### Unreleased breaking a tie again). Maintainer decision: the issue's own fix, "match the section heading exactly (or by an explicit key), refuse an ambiguous match by name".

1.63.0

  • A worktree teardown that drops its databases and stops its own servers — plugins/rails-flow/scripts/worktree_teardown.py (#2058). git worktree remove ends a checkout and nothing else, so every worktree left its development, test and _p<N> shard databases behind (113 on one machine). The script refuses a dirty tree, an unmerged head, a locked worktree and the main checkout before touching anything; stops only the PIDs in the worktree's own tmp/pids/*.pid whose working directory is inside it (never by pattern); drops exactly the databases its own config/database.yml resolves to and their _p<digits> shards with dropdb --if-exists --force, never one the main checkout shares; removes the worktree without --force; and checks that nothing is left, failing closed when PostgreSQL cannot be asked. It has a --selftest, a mutation guard (plugins/rails-flow/scripts/mutations/worktree_teardown.py, 15 mutations) and --check-wording, a doctor gate that fails if the session-start line (plugins/rails-flow/hooks/scripts/lib/worktree_guard.py) or the handoff round (plugins/rails-flow/scripts/wrap_round.py) stops naming the script. Verified for PostgreSQL 13 or later (--force first appeared in 13; the 18 docs list --force) and current git, recorded in docs/evidence/audits/2026-10-14-worktree-teardown-2058.md; the design is the owner rule recorded on #2058 (2026-10-14).
  • The shim's git config allowlist now has rows and mutants for the three branches nothing held: --, an attached value (--file=x, --type=bool), and the LC_ALL=C byte strip — plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim.py (#2092, follow-up to #2062). config -- user.name b, -- user.name -x, --file=… and --type=… run, and a key outside the allowlist after -- or beside an attached value is still refused; one mutant each for the -- arm, its endopts branch and the --*=* skip. The LC_ALL=C strip is observable only on macOS bash 3.2 under en_US.UTF-8 (measured: é, full-width a, ß, ı, ſ pass without it; on Ubuntu 24.04's bash 5.2 it differs in no locale there), so its row runs each usable locale and its mutant is held on every platform by a source row. Test-only; no shim behaviour changes. Our own design.
  • Hook-gate fixtures exec the real git, not the git-shim — plugins/rails-flow/scripts/check_hook_gates.py (#2100). Three fixture stubs exec'd shutil.which("git"), which in a Claude Code session is the rails-flow git-shim; the shim's "first git that is not a shim" (#2003) was the stub itself, so the two exec'd each other until the hook's budget ran out. hook_worktree_guard_failopen read INERT (2 checks STARVED, hook CPU 0.2 s) on every local sweep while CI stayed green. A new resolve_real_git() skips git-shim directories, as the shim and #2091's selftest fix do; two checks pin it, one with a fake shim so it fails on a machine without one.
  • The hook-gate harness drives hooks with no git-shim on PATH, as production does — plugins/rails-flow/scripts/check_hook_gates.py (#2104). Measured: the Claude Code process that spawns hooks has no git-shim on PATH; session-start.sh adds it through CLAUDE_ENV_FILE, which reaches the Bash tool only. Run from a session, the harness inherited the shim-first PATH, so the release gate's own git calls went through the shim: release_gate_refs failed 7 of 103 and release_gate_repos 25 of 243 on clean dev (both green on CI), and the hook_release_gate_refs/_repos guards read INERT on a local sweep. main() now removes git-shim directories before any fixture runs; two checks pin it, one on a fixed PATH string so it fails on a machine with no shim.
  • check_toolchain_selftests.py runs every shipped selftest with the session's project named, so a session without CLAUDE_SESSION_PROJECT_TOP no longer fails them on git add -A — plugins/rails-flow/scripts/check_toolchain_selftests.py, plugins/rails-flow/scripts/mutations/check_toolchain_selftests.py (#2111). The rails-flow git shim lets a selftest stage its own fixture repository only when it knows the session's project, and the SessionStart hook exports that only when it started in a repository; in a session without it, project_gates reported toolchain-selftests ERR on docs-layout, project-wiki-drift, generated-paths-untouched and migration-order, which blocked every Retask gh pr ready. The check now sets the variable to the cwd's git toplevel when it is unset or empty, never overriding a value the caller set; the shim is unchanged. Measured from a Retask worktree with the variable unset and the 1.62.1 shim first on PATH: 4 findings before, 0 after (52 selftests).

1.75.0

  • Postgres index health and bloat, measured — skills/rails-8/references/observability.md (#2045). Five catalog queries (window, unused, invalid, duplicate, unindexed foreign key), each run on postgres:16 against a planted case, and a cheap-screen/on-demand-measure bloat rule with its own pg_stat_scan_tables role (our design, recorded on #2045). Measured correction to #2037's issue text: after a crash reset pg_stat_database.stats_reset stays null, so the window is greatest(stats_reset, pg_postmaster_start_time()). Docs claims doctrine-verifier CONFIRMED on PostgreSQL 16; verdicts and runs: docs/evidence/audits/2026-10-16-observability-postgres-index-bloat-2045.md.
  • rails-8 doctrine moves its PostgreSQL baseline from 16 and 17 to 18 — skills/rails-8/references/deployment-kamal.md, skills/rails-8/references/observability.md, skills/rails-8/references/models.md (#2057). The Kamal accessory example now uses postgres:18 and tells the reader the data path depends on the image's major: from 18 the official image declares VOLUME /var/lib/postgresql and PGDATA=/var/lib/postgresql/18/docker (17 and earlier keep /var/lib/postgresql/data), a mount at the old path on 18 stops the container from starting (measured on postgres:18.6), and a major version is never a tag bump (dump and restore or pg_upgrade). The version notes in observability.md and models.md are re-based on the PostgreSQL 18 docs, stats_since/minmax_stats_since are stated as present since 17, 18's constant-list squashing is noted, and one sentence is corrected: queryid splits when a referenced function is dropped and recreated, not a table (a recreated table can make two queries count as the same). Verified by doctrine-verifier against the PostgreSQL 16.0, 17.0, 18.0 release notes and 18 docs and the Docker Hub postgres page (docs/evidence/audits/2026-10-16-postgres-18-baseline-2057.md); three sentences from #2047 are INCONCLUSIVE and left as they were or labelled, and the /data-mount consequence on 18 is now a measured fact (a6, 2026-10-16); the design decision is the owner's (everything on 18, 2026-10-14).
  • parallel-session-lane tells a session to end its worktree with the teardown, not a bare git worktree remove — skills/parallel-session-lane/SKILL.md, skills/parallel-session-lane/references/one-issue-at-a-time.md (#2058). Rule 3 ("Clean up when done") now points at worktree_teardown.py, which stops the worktree's own servers, drops its databases (dropdb --if-exists --force, PostgreSQL 13 or later; it can still fail while a prepared transaction or an active logical replication slot holds the database) and then runs git worktree remove (never --force); a bare remove leaves every database behind. Verified by doctrine-verifier against the PostgreSQL 18 and git docs (docs/evidence/audits/2026-10-14-worktree-teardown-2058.md).
  • Three Postgres sentences the #2057 pass left unverified, now measured on 18.6 — skills/rails-8/references/observability.md, skills/rails-8/references/models.md (#2107). "Created per database" and "a generic plan can differ from the custom plans" are CONFIRMED, quoted and measured; "a pg_read_all_stats reader can still read n_dead_tup" was true but misleading (a role with no grants reads it too) and is reworded. Verdicts and the run: docs/evidence/audits/2026-10-16-postgres-inconclusive-2107.md.

Install: /plugin marketplace add fmanimashaun/claude-skills

v1.157.4

Choose a tag to compare

@github-actions github-actions released this 16 Oct 20:43
Immutable release. Only release title and notes can be modified.
2688c80

2026-10-16

  • The agent-surface research is kept in the repository, as evidence — docs/evidence/audits/2026-10-14-agent-surface-read-research.md, docs/evidence/audits/2026-10-14-agent-surface-write-research.md, docs/evidence/audits/2026-10-14-production-monitoring-research.md, docs/evidence/audits/2026-10-14-write-tools-epic-review.md (#2061). The research behind #2033 to #2040 and the write-tools epic #2050, and the independent review of that epic, had lived in a directory outside the repository. Each source carries its VERIFIED, SECONDARY, RECALL or NOT FOUND label, and none of it is doctrine. The write-side report's section on Retask, a private application, is condensed in this public copy to conclusions the public issues already state; its file paths, limits, order of checks and audit columns are left out.

1.62.1

  • The git-shim selftest finds real git past an installed shim — plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim_real_git.py (#2091). REAL_GIT came from shutil.which("git") on the ambient PATH, where the SessionStart hook puts the INSTALLED shim first. The fixtures' setup writes then went through that older shim, which refused them, and 14 checks failed for the wrong reason ("is not a git command"). real_git_on now skips a git-shim directory and falls back to /usr/bin/git. Measured on macOS with the 1.60.1 shim first on PATH: 1088 checks passed in 43 cases, where 14 had failed before. A new case runs a fake shim that exits 99; a guard has two mutants (skip removed, fallback changed). Test-only; the shim is unchanged.
  • git config writes through the git shim are an allowlist — plugins/rails-flow/git-shim/git, plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim.py (#2043, the coordinator's decision, a follow-up to #2021). Blocking program-running keys one at a time never closed the class: a0 measured a dozen more after #2021's eight (pager.*, core.askpass, core.gitProxy, diff.*.textconv/command, filter.*.clean/smudge/process, merge.*.driver, *tool.*.cmd, web.browser, uploadpack.packObjectsHook). A write is now let through only for CONFIG_WRITE_ALLOWED: identity, signing, branch tracking, remote.*.url/fetch, a few pull/push/fetch preferences, plus alias.* and the credential-helper keys, whose dangerous values have their own rules: a credential.helper value is refused when it starts with ! or / or holds any character outside a plain-word set (letters, digits, space, ._:/@=+,%-), because git runs every helper through sh -c and foo; touch /x ran a command (Fable, attack on #2062). That set was measured from our scripts and the downstream fixtures. Every write spelling is judged: the set/unset/edit subcommands, the write flags in git's unique-prefix spellings, and the old key value form, with option values never read as the key. --edit is refused, and so is a combined short-option cluster (-ze, -zf FILE, -fFILE: git reads it letter by letter, so it can edit or move the key; found by the commit security review), and so is any long option that is not an exact, known flag: an abbreviated VALUE option (--fil x = --file x) moves the key the same way (found by a second review). #2021's per-key program-key rule is removed as superseded, so a READ of such a key (git config --get core.editor) now runs. core.fsmonitor/core.sshCommand stay refused even to read (the #1789 hooks rule), and the section-rename refusal stays: alias.* is allowlisted, so renaming alias.x onto core is stopped only by it. A selftest case with a row per refused class, the allowlist and the read forms; sixteen mutants, one per mechanism and one per refused class. Our own design; no framework claim.
  • The docs_layout.py selftest marks its fixture repository, so it runs under the git shim — plugins/rails-flow/scripts/docs_layout.py (#2085). The selftest staged its fixture with git add -A without the .git/rails-flow-fixture marker, so the shim refused it and toolchain-selftests errored in any session that has the shim (it passed only with none on PATH, as in CI). It now writes the marker right after git init: under the 1.61.0 shim the selftest gives 49 checks, 0 failures (it died at git add -A before).
  • docs_layout.py no longer calls a measurement script "code in docs/" when the report beside it runs it by path — plugins/rails-flow/scripts/docs_layout.py (#2093). The three Ruby scripts of the native-code benchmark under docs/evidence/benchmarks/2026-09-24-native-code/ruby/ made project_gates.py record a red sweep for every branch that contained them, so the pr-ready guard refused gh pr ready while the PR's own gates job was green. They are the reproduction: the report's Commands block runs ruby --yjit ruby/bench.rb from that folder, so moving them to scripts/ would break every command and split them from the sibling rs/. The exemption follows the existing canvas-module carve-out and is narrow: a script is evidence only when a real REPORT.md (a symlink is not read) inside its own bundle (docs/evidence/<kind>/<run>/ or deeper, never the evidence/ or kind folder) names its path from that folder as a standalone path with at least one folder in it, outside HTML comments (a fenced block counts: that is where the Commands are). A path that is only the tail or head of a longer one (myruby/bench.rb, bench.rb.bak, bench.rbx), a bare file name, a script at the bundle root, a script the report never names, a report outside docs/evidence/ and a report at the kind folder all leave the script code. Ten selftest cases (two positive, eight negatives) and eight mutations in scripts/mutations/docs_layout.py hold it, so the harness catches each rule being dropped. The sibling .rs files were never flagged because .rs is not in CODE_EXT; that is left as it is. Our own design (a layout rule has no upstream), recorded on #2093.

1.74.0

  • rails-8 mcp-server.md says how to design, bound, type and test an agent's tools — skills/rails-8/references/mcp-server.md (#2033). A new section 5, every rule with its source and revision date (spec 2026-07-28, the Anthropic tools post of 2025-09-11, Claude Code's MCP docs, the Inspector docs), advice marked as advice: descriptions and names, bounded output and Claude Code's 25,000-token default, outputSchema / structuredContent / isError, the annotations beyond the two required, Inspector in CI and an evaluation step. The Ruby SDK is pinned at mcp 1.7.0 (it was 1.6.0) and the file now says the gem supports revision 2026-07-28 and serves it statelessly since 1.2.0 (the legacy handshake still defaults to 2025-03-26); validate_tool_call_results is opt-in. Write tools are out of scope for now (#2034; tracked in #2049). Verified by an independent doctrine-verifier-role read, docs/evidence/audits/2026-10-14-mcp-server-tool-design-2033.md; two unquoted points stay out. Claude Code's over-limit behaviour carries the page's qualifiers (successful results saved to a file, error text truncated, 50,000 characters for a tool without its own limit).
  • MCP server authorization gains the 2026-07-28 spec points, and the rate-limit and sanitize MUSTs — skills/rails-8/references/mcp-server.md (#2035). §2 now says: a 401 SHOULD carry scope and a too-narrow token SHOULD get 403 insufficient_scope with scope and resource_metadata; tools/list MAY vary by the request's authorization and MUST NOT vary per connection; clients are identified by Client ID Metadata Documents (SHOULD; DCR a MAY, both unchanged from 2025-11-25), and Dynamic Client Registration is newly deprecated in 2026-07-28 with at least a twelve-month window; and RFC 9207 iss is SHOULD-emitted by the authorization server, which MUST advertise it, while a client MUST validate a present iss. §3 rule 5 adds that servers MUST rate limit tool invocations (keyed by the token's user, linking auth-security.md's rate-limit section) and MUST sanitize tool outputs (the read side of #2034). §4 adds the rate-limit request spec and its per-user control. Verified by doctrine-verifier against the MCP specification revision 2026-07-28 (authorization, tools, changelog); citations and version boundaries in docs/evidence/audits/2026-10-14-mcp-authorization-2035.md.
  • Postgres production signals: what pg_stat_statements cannot tell you, auto_explain, logging, least privilege, standbys — skills/rails-8/references/observability.md (#2037). Six bullets, each doctrine-verifier CONFIRMED against the PostgreSQL 16 docs (version boundary: 16; stats_since/minmax_stats_since named as 17+). Verdicts and citations: docs/evidence/audits/2026-10-14-observability-postgres-2037.md.
    Index health and bloat (the issue's items 7-8) need a run on a real database and moved to #2045.
  • rails-8 observability.md says how to find slow pages and N+1s on a live app, and what the query-log tags are — skills/rails-8/references/observability.md (#2038). A new §7 subsection: production N+1 comes from sampled spans (Prosopite's README guards its examples with unless Rails.env.production? and says nothing on production use, so it stays the post-fix regression test), Sentry's published N+1 rule as a threshold template (similar sequential spans, over 50 ms combined, usually five or more; configurable), how to sample (traces_sample_rate vs traces_sampler; OTEL_TRACES_SAMPLER=traceidratio with OTEL_TRACES_SAMPLER_ARG), and what the Rails Pulse README does and does not say (drops under load; no sampling or SQL-literal redaction described; no default thresholds documented). §6 gains the query_log_tags defaults, the :sqlcommenter default from load_defaults 7.1, the :source_location cost, and a note that the pg_stat_statements queryid effect is unmeasured. Each point cites the p...
Read more

v1.157.3

Choose a tag to compare

@github-actions github-actions released this 16 Oct 07:59
Immutable release. Only release title and notes can be modified.
aec22fa

2026-10-16

  • AGENTS.md states a rule: after a red run, re-run only what failed, and run the full sweep once at the release run — AGENTS.md (#2077). Read the log, name the failing gate, guard or job, reproduce just that item (mutation_check.py --guard <name>, one selftest, or "Re-run failed jobs"), and prove a fix by that item on its own dev PR. The owner's rule, 2026-10-15, after a full 2-hour local proof was started for one Mac-only selftest failure.
  • settings.example.json lists the four gh run permissions that re-running only the failed CI job needs — .claude/settings.example.json (#2079). gh run list, view, watch and rerun are named, with a note to put the same lines in ~/.claude/settings.json to share them across projects; a read of a release workflow's jobs was refused by Claude Code's permission check as a production deploy until a rule allowed it (2026-10-15). The owner added them to their user settings the same day. It also names gh pr merge and records what the maintainer's machine allows that the example deliberately leaves out (deploys, one private repository's admin merge, MCP tools). The example stays inert: nothing reads it.

1.62.0

  • The context_nudge_compact mutation guard stages claim_coordinator.mjs, so its unmutated selftest no longer fails and the release's mutation shard goes green — plugins/rails-flow/scripts/mutations/context_nudge_compact.py (#2087). #2070's unit test (session-reset.unit.mjs) imports scripts/claim_coordinator.mjs; the session_reset guard declared it in needs, the second guard that runs the same selftest did not, so in the staged tempdir the selftest failed and the guard read INERT. That failed shard 3 of the v1.157.3 release run. Every guard that runs that selftest now stages the file (checked: only these two do); all 9 context_nudge_compact mutants are caught. Maintainer tooling only.
  • /rails-flow:claim-coordinator takes the coordinator role for the session that runs it, with no trip to the session that holds it — plugins/rails-flow/scripts/claim_coordinator.mjs (#2070). Until now a session elected the wrong role could only be fixed by restarting it with RAILS_FLOW_ROLE=coordinator or by going to the other session. The command passes the Bash tool's $PPID (the Claude Code process: measured, the tool's shell is its child) and $CLAUDE_CODE_SESSION_ID to the election script's force path, which writes the claim for that pid. Every session now re-reads the claim at each turn start (syncRole in plugins/rails-flow/hooks/session-reset.mjs), so the claimer becomes coordinator and the previous holder becomes implementation at their next turn, no restart; a RAILS_FLOW_ROLE override is never rewritten. Run it only when the owner says this session coordinates. Five selftest rows and four mutants. Not measured live: that the engine's $.session.id() equals $CLAUDE_CODE_SESSION_ID — the sync compares pids, not ids, so the claim holds either way. Our own design; the owner's request, 2026-10-14.
  • A real session whose prompt mentions --bg-spare is no longer mistaken for a pre-warmed spare — plugins/rails-flow/hooks/session-reset.mjs (#2072). The spare check matched the text --bg-spare anywhere in a process's command line, so claude -p "fix the --bg-spare election" read as a spare, never claimed and got no role. It now matches the spare's own shape, the token sequence bg-spare --bg-spare (the shape recorded on #2068), so a prompt that merely names the flag still claims. One selftest row and one mutant. Known limit: a prompt that contains the exact words bg-spare --bg-spare still reads as a spare; it fails toward fewer coordinators, never more.
  • The git-shim selftest reads only the fixture's own credential.helper, so it passes on a machine whose system gitconfig sets one — plugins/rails-flow/scripts/git_shim_selftest.py (#2073). The #2021 case asserted that --get-all credential.helper was exactly store; Xcode's system gitconfig already sets osxkeychain, so on a Mac the check failed ("a named credential helper did not land"), the git shim gate went red and the three guards that stage this selftest (git_shim, git_shim_hook, git_shim_selftest_skip) reported INERT. It now reads --local. Maintainer tooling only; the shim is unchanged.
  • The issue_labels linear-time selftest no longer fails a release on one noisy timing — plugins/rails-flow/hooks/scripts/lib/issue_labels.py (#2075). The selftest proves linear time by timing a half-size and a full-size input and requiring a ratio under 3.0. On a shared runner one measurement came out at 3.4 (v1.157.2's release run), which turned the guard hook_issue_labels INERT and failed the release's mutation job. A borderline ratio is now measured again, up to three attempts keeping the lowest; a quadratic verdict measures about 4 or more every time, so it is still refused (the guard's three quadratic mutants stay caught). Maintainer tooling only; no behaviour of the shipped hook changes.

Install: /plugin marketplace add fmanimashaun/claude-skills

v1.157.2

Choose a tag to compare

@github-actions github-actions released this 15 Oct 08:06
Immutable release. Only release title and notes can be modified.
9c5e73d

2026-10-14

  • A timeout inside an UNMUTATED selftest reads STARVED (not judged), not FAIL: it is retried once, and an all-starved run exits 3 — scripts/mutation_check.py, scripts/mutation_check_selftest.py, scripts/mutations/mutation_check_harness.py (#2000). On a loaded laptop a selftest's own 20 s git call times out, the selftest records that as its failure and exits 1, and the harness read it as "the unmutated selftest fails": cannot be narrowed or INERT, a FAIL, with no mutant ever having survived (three runs of #1994 reported 27, 11 and 8 of 100 failed, every one a TimeoutExpired, none a survivor). Now a baseline or a narrowed control whose output says TimeoutExpired ... timed out after is run once more; when it is starved again it is listed as STARV / NOT JUDGED, and a run in which nothing failed but something was starved exits 3, the code the doctor already treats as a skip (a proof refuses it), never 0 (a pass) and never 1 (a failure). A failure that is not a timeout stays INERT, a survivor stays a failure, and a MUTATED run's timeout is untouched. Selftest rows for the retry, the starved baseline, the starved control, the real failure and the process exit; seven mutants hold them. Our own design; the coordinator's assignment on #2000.
  • mutation_check.py reads an unmutated selftest as STARVED only when every failure line in it is a timeout row — scripts/mutation_check.py, scripts/mutation_check_selftest.py, scripts/mutations/mutation_check_harness.py (#2014, refs #2000, found reviewing #2011). selftest_timed_out() was a substring test, so a real failure row beside one timeout row read STARVED (exit 3, a skip) and hid an INERT guard behind a loaded machine. A selftest tally line is not a failure; any other failure-shaped line is. A selftest fixture with a real failure beside a timeout and a mutant that restores the substring test. Our own design.
  • The STARVED rule's tally-header exemption has a selftest row and a mutant — scripts/mutation_check_selftest.py, scripts/mutations/mutation_check_harness.py (#2017, from a2's review of #2016). _SELFTEST_SUMMARY keeps a selftest's own SELFTEST FAILED -- N failure(s) line from counting as a failure row, but no fixture printed that header, so a pattern that never matched survived. A selftest printing the header and only timeout rows must read STARVED, and a mutant that stops the header matching reads INERT instead. Our own design.
  • A bare dollar-digit in a command's or skill's markdown fails the shell lint — scripts/lint_markdown_shell.py, scripts/mutations/lint_markdown_shell.py (#2022). A new positional-substitution rule scans every commands/*.md and SKILL.md (fences and prose, since both are substituted) for $0..$9 not preceded by a backslash; its selftest has a bad and a good twin for a fence, prose, an escaped token, $$ and a file Claude Code does not expand, and three mutations hold it.

1.61.0

  • A pre-warmed claude bg-spare process no longer wins the coordinator election, so a real session can be coordinator — plugins/rails-flow/hooks/session-reset.mjs (#2068). Claude Code keeps a spare process ready (claude bg-spare --bg-spare ...); it starts with no turns, so the election read it as a new session and it claimed the role, leaving every real session "implementation" (a resumed session never claims) and automatic compact and clear off everywhere. The election script now never lets a process whose command line carries --bg-spare claim (it reports spare, which parses to no role) and no longer counts a claim held by such a process as live, so the next real start replaces it; RAILS_FLOW_ROLE=coordinator still forces a claim. Three selftest rows (the spare never claims, a spare's claim is replaced, a live real coordinator is still not displaced) and two mutants. Known limit: a real session that starts life as a spare, if the engine does not fire session.start again, keeps no role until it is started with RAILS_FLOW_ROLE=coordinator. Our own design; the owner's rule on one coordinator per machine, 2026-10-09.
  • The git shim refuses git config of a key that runs a program — plugins/rails-flow/git-shim/git, plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim.py (#2021, the coordinator's scope decision recorded on the issue). diff.external, core.pager, core.editor, sequence.editor and gpg.*program make git run a program, which finds the real git on its own PATH, never the shim, so it could run a refused command unseen (a0 measured it for diff.external). Naming any of them in git config is now refused, as core.hooksPath already is; a credential.helper that is a shell command (!…) or an absolute program path (/…, a0's review: git runs it as given) is refused too, while a named helper (store) still runs. A row and a mutant per key, including core.fsmonitor and core.sshCommand, whose git config rule had none. The shim header now states that git clone --config/-c setting such a key in a NEW clone is out of scope (not the session's repository; the guarantee moves to #1789/#1790). Our own design; no framework claim.
  • The git shim's selftest reaches a linked worktree of a fixture — plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim.py (#2019). The mutant that drops fixture_marked's common-dir lookup (mutations/git_shim.py, "the marker of a linked worktree is not looked for in its common dir") survived on dev: no row staged a LINKED worktree of a fixture, whose identity file lives only in the common dir. A row now does, and asserts that the identity is only there. Also a0's note on #2029: a mutant for the 5-character prefix floor on --rename-section (--ren must still read as the option). Test-only; the shim is unchanged.
  • wip_commit.py --selftest runs under rails-flow's git shim, and its no-identity row no longer depends on the machine — plugins/rails-flow/scripts/wip_commit.py, plugins/rails-flow/scripts/mutations/wip_commit.py (#1998). Run from the Claude Code Bash tool the shim is first on PATH, so the selftest's shutil.which("git") was the shim, which refused the fixture's own -c protocol.file.allow=always submodule add into a temp repository; the selftest failed at its submodule row and the shim's allowlist was not widened for it. The selftest now finds the real git past any git-shim directory (real_git_outside_shims, a function with a row and two mutants). That exposed a latent defect the shim had been masking: the row "with no git identity configured it commits nothing and invents none" passed only on a Mac because the shim refused the commit first; git itself auto-detects an identity from the account and host name on macOS and committed. The fixture repository now sets user.useConfigOnly, so "no identity configured" means the same everywhere. wip_commit.py itself is still refused by hand from the Bash tool (it commits with hooks off, #1994); its Stop-hook path is unaffected. Our own design; the coordinator's assignment on #1998.
  • The git shim lets a downstream project's own spec fixtures stage their temp repositories: a repository marked with .git/rails-flow-fixture inside TMPDIR may git add -A and set its own core.hooksPath — plugins/rails-flow/git-shim/git, plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/reference/downstream-spec-fixtures.md (#1999). Retask's 41 git-using specs ran git from the repository's directory and were refused, because the #1994 exemption only understood GIT_DIR/GIT_WORK_TREE. It now also judges the repository git will use from the cwd or -C, accepts the marker in a linked worktree's common dir, and allows init.defaultBranch. The five bypasses closed on #1994 stay closed (selftest rows and eight new mutants). Our own design: the maintainer's decision is recorded on #1999.
  • The git shim skips a candidate git that is not a regular file, and counts an over-long re-entry counter as zero without a bash error — plugins/rails-flow/git-shim/git, plugins/rails-flow/scripts/git_shim_selftest.py (#2005, from an adversary pass on #2004). The header read added for #2003 blocked on a FIFO named git in a PATH directory ahead of the real git, so every git call hung; a candidate must now be a regular, executable file before it is read. RAILS_FLOW_GIT_SHIM_DEPTH with 7 or more digits (this shim counts to 16) printed integer expression expected before being judged; it now counts as zero, quietly. A selftest row and a mutant for each. Low severity: planting either needs write access to a PATH directory, which already allows a fake git. Our own design.
  • The git shim refuses writing a shell alias through git config, in a marked fixture too — plugins/rails-flow/git-shim/git (#2015, found by a2's attack pass on #2013). An alias whose value starts with ! runs any command the next time it is used, and the shim cannot see inside it. git config alias.x '!sh' (and --add, --local, any case, a leading space) was allowed everywhere, including inside a fixture, whose exemption covers only core.hooksPath. Now refused; a plain alias write and an alias read still run, since a plain alias is judged again when used. New selftest rows in git_shim_selftest.py (a plain repository and a marked fixture) and two mutants in plugins/rails-flow/scripts/mutations/git_shim.py, both caught on macOS and on Linux. Our own design; no framework claim.
  • /rails-flow:setup-flow no longer prints its post-checkout hook inline — plugins/rails-flow/commands/setup-flow.md, plugins/rails-flow/templates/post-checkout-graph.sh (#2022). Claude Code replaces a bare dollar-digit in a command's markdown with the arguments the command was invoked with (skills docs, "Available string substitutions"), so the hook's $1, $2 and $3 became the caller...
Read more

v1.157.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 21:24
Immutable release. Only release title and notes can be modified.
a6532a3

2026-10-13

  • hook_normalize_linear drops the three timing mutants the hosted runner cannot see — scripts/mutations/hook_normalize_linear.py (#2008, from the v1.157.1 release run 38446804081). The ANSI-C decoder taken one character at a time, the output buffer that never starts a new piece and the peel joining with a growing string SURVIVED on CI: a string copy that grows with every concatenation costs time in BWK awk (macOS) and mawk (a bare ubuntu image, where they were caught 6 of 6), but the runner's awk is gawk, where concatenation is amortised and substr is O(1), so there they are no slower and nothing can catch them. The guard keeps the three seam mutants (a dropped last piece, a pair the wrong way round, a lost last character of a long slice), which break the output on every awk; the normalizer_linear ratio fixtures still catch a quadratic habit where the awk makes it one. Measured under gawk 5.2.1 (ubuntu:24.04 with gawk installed): 3 of 3 caught. Our own design; no framework claim.
  • v1.157.1 is a patch of three plugins: rails-flow 1.60.1, pipeline 1.5.2 and qa-flow 1.38.1 — .claude-plugin/marketplace.json. It carries the git shim's fixture-exemption security fix (#1994, reaching the add exemption that shipped in v1.157.0), the guard-bash label rule after cd <other repo> && (#1990), the linear-time command normaliser (#1980), the git shim no longer recursing when two rails-flow versions' shims are on PATH (#2003, #2004), and the pipeline and qa-flow selftests that now run under the shim (#1982). Our own design.

1.60.1

  • The git shim no longer calls another version's shim forever: every git call hung when two rails-flow versions' shim directories were both on PATH — plugins/rails-flow/git-shim/git, plugins/rails-flow/scripts/git_shim_selftest.py (#2003, P1, found after a session resume left 1.59.0 and 1.60.0 on PATH). The shim found "the real git" by skipping only ITS OWN directory, so it resolved the other version's shim, which resolved it back. It now skips every candidate that is a shim: a */git-shim directory by its physical name or by the name it is written with (a symlink to one counts), and any file that opens with the shim's own header line (another name, and every earlier version, which all carry it). A re-entry counter (RAILS_FLOW_GIT_SHIM_DEPTH, passed to the real git on both exec paths, the audited RAILS_FLOW_GIT_OK=1 included) refuses with exit 127 and a message at 16 nested entries instead of hanging. A selftest case with a 15 s limit per call runs both orders, two copies, each recognition rule alone and the counter; it hangs 13 of 13 on the previous shim, and six mutants hold the rules. Our own design; the coordinator's assignment on #2003 (skip every */git-shim directory and add a re-entry guard). The selftest's GIT_CONFIG_GLOBAL rows also drop this session's own CLAUDE_SESSION_PROJECT_TOP before they set theirs, so "unset" is unset when the selftest runs inside a Claude Code session.
  • The issue_labels selftest's symlink row targets a directory outside both temp roots, and asserts it — plugins/rails-flow/hooks/scripts/lib/issue_labels.py (#2008, from the v1.157.1 release run 38446804081). The row "a heredoc through a /tmp symlink that lands outside /tmp does not keep the cd" linked to the selftest's own temp repository, which on Linux (the mutation harness's staged tempdir, and a stock container with TMPDIR=/tmp) is itself under /tmp, so the write landed inside /tmp and the cd was rightly kept: the row failed the unmutated baseline and the hook_issue_labels guard read INERT, while the gates job (a runner temp directory) stayed green. The target is a directory under /var/tmp (outside /tmp and /private/tmp on macOS and Linux), and a new check asserts that precondition so the row can neither pass nor fail vacuously. Measured: dev's file fails 1 row in an ubuntu:24.04 container, the fix 0; mutation_check --guard hook_issue_labels 136 of 136 caught on Linux. No shipped behaviour changes; the lib's judgement is untouched. Our own design; no framework claim.
  • The #1980 gate fixtures no longer run every large row under a mutant, --match survives a busy machine, and a Linux-only survivor is dropped — plugins/rails-flow/scripts/check_hook_gates.py, scripts/mutations/hook_guard_worktree.py, scripts/mutations/hook_guard_pr_ready_scope.py (#1980, from the Linux and macOS guard runs of #1992). Three findings. (1) The guard_pr_ready group keeps its subprocesses real under --match and counts only a release-gate run as a hook, so every large row of #1992 ran in full while a mutant slowed the gate: the slicing mutant took 10 minutes for an unrelated check and the guard timed out at the harness's 300 s limit. Each row returns at once when the harness is skipping, and the plain-lines row is 160 KB, not 100 KB, so the slicing mutant (about 17 s) clears its 8 s bound; at 100 KB it took 7 s and survived. (2) The #1645 labels embed (rc 0, 0.1s of at most 21s), whose numbers differ between the survey and run passes of --match when the machine is busy: a Linux run at load 40 to 67 refused 3 of hook_normalize_cmd's 40 mutants as "cannot be narrowed". _stable masks the timing text, with a meta check. (3) The mutant that puts ${cmd//[...]/} back in guard-worktree.sh survived on Linux: that substitution is worse than quadratic only on bash 3.2 (macOS), and bash 5 does it in no time. It is dropped with a note in the guard file; the fixture row (1,500 quoted words) still catches the regression on macOS. Measured: hook_guard_pr_ready_scope 12 of 12 caught on macOS (623 s) and on ubuntu:24.04, hook_guard_worktree 6 of 6 on Linux, hook_normalize_linear 6 of 6 on both. Maintainer decision: 7d's review of #1992; no framework claim.
  • The shared command normaliser is linear in the length of a line, guard-pr-ready.sh no longer takes quadratic time on a long command, and both it and guard-worktree.sh refuse an oversize one that mentions their word in time, with a reason — plugins/rails-flow/hooks/scripts/lib/normalize_cmd.sh, plugins/rails-flow/hooks/scripts/guard-pr-ready.sh, plugins/rails-flow/hooks/scripts/guard-worktree.sh, plugins/rails-flow/scripts/check_hook_gates.py, scripts/mutations/hook_normalize_linear.py, scripts/mutations/hook_normalize_cmd.py, scripts/mutations/hook_guard_pr_ready_scope.py, scripts/mutations/hook_guard_worktree.py (#1980). Two causes, both measured on macOS (bash 3.2, BWK awk), and the second is the root. (1) guard-pr-ready.sh walked the command's lines with ${rest#*$'\n'} slicing, quadratic on bash 3.2: 60 s at 158 KB and 83 s at 211 KB; it reads them with read now, the cure guard-worktree.sh already had from #1978. guard-worktree.sh was already linear on a plain-lines command, so the 16 s the issue measured did not reproduce there. (2) With python3 present, normalize_segments (shared by guard-bash, guard-pr-ready, guard-worktree and the qa-flow release gate) was quadratic in the length of ONE line: BWK awk makes every substr(s, i, 1) cost the length of s and copies the string on every out = out c, so a substr-only loop took 0.3 s, 1.2 s and 4.9 s at 100, 200 and 400 KB, and one 300 KB line took 13 s through the gates, past the 15 s hook timeout, which is a DENY since #1968. _dequote now splits the line into a character array once and builds its output in 2 KB pieces joined pairwise, the peel joins in pieces, and the ANSI-C decoder takes a run of ordinary characters at once: a 200 KB line costs 0.4 s in the normaliser (was 2.65 s), 300 KB through the gates 0.6 s (was 5.6 s), a 300 KB $'...' span 0.6 s (was 5.8 s). Its output is byte-identical to the old normaliser over about 30,000 fuzzed commands, in the plain and in the taint-marking mode (NC_MARK_EXPANSION=1). guard-worktree.sh dropped quotes with ${cmd//[...]/}, worse than quadratic in the number of quotes (1,000 quoted words took 4 s, 2,000 took 35 s, 3,000 took 110 s: a 4 KB command stalled the gate); it uses tr now. Both gates refuse a command past 400,000 characters at once, with a reason, only when it mentions worktree or ready (quotes and backslashes dropped first); a large command that does not mention the word is let through unread, except one holding $': a word built from an ANSI-C escape (git $'\x77orktree' add, gh pr $'\162eady') is invisible to the dropped-quotes test, so past the cap a $' is refused too (fail closed). Still superlinear, below the timeouts: a line holding many $(...) takes about 6 s at 270 KB, through the three-level inner-string lexer. check_hook_gates.py gains a normalizer_linear group in part d (boundary cases for the 2 KB pieces and the 256-character slice, and a CPU-time ratio at 100 and 400 KB for four line shapes) and, per gate, a 160 KB plain-lines command, a 300 KB line, quoted words, a command just under the cap, and one over it with and without the word. The new guard hook_normalize_linear holds six mutants that put a quadratic habit back or break a seam; seven hook_normalize_cmd anchors moved to the new lexer. Maintainer decision: #1980 and 7d's review of #1992 (fix at the root, do not lower the cap); no framework claim.
  • A gh issue create after cd <other repo> && keeps that repo's label rules when its heredoc body is written to the temp directory — plugins/rails-flow/hooks/scripts/lib/issue_labels.py (#1990). The refused command was cd ~/projects/Retask-platform && cat > /private/tmp/…/scratchpad/cli.md <<'EOF' … EOF, followed by the create on a new line. 1.58.0 judged it by the session's taxonomy ("needs one of comp:*"); #1851 corrected the message in 1.59.0, but the create was still refused with "cannot tell which repository", because only a bare relative body filename kept the cd. A body written under /tmp/ or /private/tmp/, where the harness scratchpad lives, now keeps it too. Every other absolute...
Read more

v1.157.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 09:23
Immutable release. Only release title and notes can be modified.
3e4092c

2026-10-13

  • The upstream review cursor moves to Claude Code 2.1.296 — docs/evidence/upstream/claude-code.json, docs/evidence/upstream/reviews/claude-code-2.1.293-2.1.296.md (#1938). All 150 CHANGELOG entries from 2.1.293 to 2.1.296 were read against our hooks, mods, agents and CLAUDE_ENV_FILE use: one affects us (onFailure: "block", filed and built as #1939), none moved a registry quote, and the rest touch surfaces we do not ship. The record names what was checked and what was not.
  • A gate named in CLAUDE.md as fail-closed, wired on PreToolUse without "onFailure": "block", fails the self-consistency sweep — scripts/lint_self_consistency.py, scripts/mutations/lint_self_consistency.py (#1939). New rule gate-without-onfailure reads the same CLAUDE.md sentence hook-count-drift reads (the decision of which hooks are gates is recorded once) and refuses a gate in plugins/*/hooks/hooks.json's PreToolUse list that lacks the field or sets it to anything but block. Not held to it: a hook CLAUDE.md does not name (an advisory hook must keep failing open) and a gate on an event where the field has no effect (Stop). Five selftest scenarios (conforming, missing, continue, an unnamed hook, a Stop gate) and four mutants, each caught by its intended fixture; on the real tree it examines 7 gates, and on the tree before this change it reports 7 findings. Our own design; no framework claim beyond the one the rails-flow entry verifies.
  • The misdescribed-agents rule reads each plugin's own manifest as well — scripts/lint_self_consistency.py (#1945). It read only .claude-plugin/marketplace.json, so the class #653 was written for (a description that names some agents but not all, or a wrong stated count) stayed invisible in plugins/<name>/.claude-plugin/plugin.json, where it found two instances at once (design-flow naming 3 of 5, rails-flow claiming eleven of thirteen). Five selftest scenarios cover the manifest (some, all, none, a wrong count, and valid JSON that is not an object, which crashed the sibling marketplace-version-duplicate rule and is fixed there too, along with its lstrip("./") of the source path) and scripts/mutations/lint_self_consistency.py has two mutants: one stops reading the manifest, one stops comparing the stated count. Our own design; no framework claim.
  • Audit evidence: rails-flow commands and agents, claims against enforcement — docs/evidence/audits/2026-10-12-rails-flow-commands-agents-claims.md (#1948 for the remainder). All 52 distinct scripts the 37 files name exist. All 57 script-and-flag pairs (across 29 scripts) are accepted by the real --help; the first draft's 27 and 52 were measured on a stale checkout and corrected in review. Every guarantee that names its mechanism held. lint_self_consistency.py has no findings. The same-day addendum (#1948) read the 28 sentences asserting system behaviour with no named mechanism: 26 held and 2 are advice to the model. It also compared all 13 agents' tool lists with their bodies, and all agree. No findings, end to end.
  • qa-flow audit recorded: four findings filed, the consistency checks that held listed — docs/evidence/audits/2026-10-12-qa-flow-audit.md (#1952, #1954, #1955, #1979, #1980). The audit read the 11 agents, 8 commands, both hooks and the scripts they name against origin/dev: the release gate does not answer a command of about 500 KB containing a push to main (#1952), the "never production" sentences for k6 and ZAP have no mechanism (#1954), the SessionStart banner says "cleared for main" on weaker evidence than the gate asks (#1955), and the runner behind six scaffold guards has no guard of its own (#1979, found in review). One more came from the same-class timing: guard-worktree.sh with python3 missing is quadratic (#1978), and so are guard-worktree.sh and guard-pr-ready.sh on a command of plain lines (#1980). No behaviour changes in this entry; each finding is fixed in its own PR.
  • scripts/linux_check.sh installs the host tools a selftest probes and asserts them present before any guard runs — scripts/linux_check.sh, scripts/linux_check_selftest.py, scripts/mutations/linux_check.py (#1964, from the v1.156.0 release run 38297902322). The container held python3, git and bash only, so scripts/linux_check.sh test_preflight reported GREEN while the runner, which has /usr/bin/pg_isready, failed the same guard as INERT; a Linux check that cannot see a tool the runner has cannot fail on that class of defect. The container now installs postgresql-client, lsof and procps (HOST_PACKAGES, the tools test_preflight.py resolves with trusted_which) and runs a canary, linux_check.sh --check-tools pg_isready lsof ps, which exits 3 naming every missing tool and exits 2 on no names (zero tools checked is not a pass). The canary runs without docker, so its refusal is a selftest row, not a claim. Measured: with the pre-fix test_preflight.py from release dev 59ec631 swapped in, the new linux_check.sh test_preflight fails with the runner's exact INERT ... no pg_isready on PATH fails open: silent; with the fixed file linux_check.sh test_preflight wip_commit linux_check passes. Six new mutants (the package dropped, pg_isready dropped from the canary, the canary not run, its failure ignored, a missing tool exiting 0, no names passing), each caught by its intended row; 21 mutants in all. node, ruby and zsh are deliberately not installed: a guard that needs them is proven by CI, as the script's header says. Our own design; no framework claim.
  • The Linux check installs zsh and asserts it, and git_shim_selftest.py says when its zsh row did not run — scripts/linux_check.sh, scripts/linux_check_selftest.py, scripts/mutations/linux_check.py, plugins/rails-flow/scripts/git_shim_selftest.py, plugins/rails-flow/scripts/mutations/git_shim_selftest_skip.py (#1971, the host-tools audit after #1964). I ran every selftest that reaches a node, ruby, perl, zsh, shasum or gh lookup in the container and on macOS. One read green when it should not: git_shim_selftest.py passed 313 checks in the container against 314 on macOS, because its zsh row ran only if shutil.which("zsh") and the container had none. zsh joins HOST_PACKAGES and CANARY_TOOLS, so the container runs the row (314). Where zsh is absent anyway, the row prints that it did NOT run and is not counted: the row is now zsh_row() with an injectable which, and a new case ("zsh absent: the zsh row says it did NOT run, and counts nothing") asserts the skip text and that the skipped row counts nothing. A new guard, plugins/rails-flow/scripts/mutations/git_shim_selftest_skip.py, catches the skip line being dropped and the skipped row counting as a pass (9f's review of #1972). Two mutants (zsh not installed, the canary not asking for it) are caught. Every other lookup fails loudly, prints an explicit skip, or reads the same in both places (the table is on the PR). Our own design: the coordinator's assignment on #1971.
  • The gates job prints whether the runner has zsh, perl and shasum — .github/workflows/gates.yml (#1973). This is reported, not asserted: one command -v line in the "Interpreters the gates shell out to" step. The Linux check installs zsh (#1971), and selftests reach perl and shasum, but whether ubuntu-latest ships them was never measured. A selftest that skips a row without them reads the same as a pass, so the CI log now says which is true. The coordinator's call.
  • CI installs zsh, so git_shim_selftest.py's zsh row runs on the hosted runner too — .github/workflows/gates.yml (#1973, a follow-up). PR #1974's run measured host tool zsh: ABSENT on ubuntu-latest, so the row ran only on a maintainer's machine and in the Linux check; on CI it was skipped (said, not counted). The gates job (the sweep) and each mutation shard (the git_shim guards) now apt-get install zsh and assert it is on PATH, failing the step if the install silently did not happen. release.yml calls this workflow (workflow_call), so the release sweep gets it with no second copy. The gates job then runs the hook case alone (git_shim_selftest.py --match), prints its result, and fails if it says it skipped its zsh row, because the sweep prints only a passing gate's verdict and so could not show the row running. The install is retried once after 5 s, so a mirror blip cannot turn a release red. zsh leaves the host tool report line, which runs before the install and would read ABSENT on every run; that line keeps perl and shasum (8b's review). The coordinator's call.
  • Twelve mutants and fixtures hold the narrowed git add rule, the in-repository absolute path and the GIT_CONFIG_* reading — scripts/mutations/hook_guard_bash.py, plugins/rails-flow/scripts/mutations/git_shim.py (#1982). hook_guard_bash gains five mutants (the taint read from the whole command again, the marker view dropped, an absolute path refused again, "inside" as a string prefix, no physical resolution) and its two old mutants on the taint and the absolute path are re-anchored to the new lines; git_shim gains seven (every GIT_CONFIG_* refused on sight, a GIT_CONFIG_KEY_n pair not checked, any GIT_CONFIG_GLOBAL file, GIT_CONFIG_PARAMETERS and unknown names, a non-numeric count, a string-prefix "inside", no physical resolution) and six for the allowlist (a prefix match, the -c, --config-env= and pair forms unchecked, a denylist of two keys again, an allowlist that admits every key, one that drops commit.gpgsign); nine more hold decision (b) (the exemption never consulted, GIT_DIR and the work tree not strictly inside TMPDIR in two forms and as a string prefix in two, an unset TMPDIR widened, TMPDIR as HOME or its ancestor, the project or an ancestor of it, an unset project, logical instead of physical paths) and git_shim_hook four for the recorded toplevel; its four ...
Read more

v1.156.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 00:30
Immutable release. Only release title and notes can be modified.
c31bcf4

Each change is listed by its headline: the full notes are over GitHub's 125,000-character limit for a release body. Every bullet in full: https://github.com/fmanimashaun/claude-skills/blob/v1.156.0/CHANGELOG.md

2026-10-11

  • Two guards fixed for Linux and one narrowed to its budget — scripts/mutations/hook_session_start_stable.py, scripts/mutations/hook_normalize_cmd.py
  • The --merge-shards argument row reads an empty directory of its own — scripts/mutation_check_selftest.py
  • Three hook_normalize_cmd mutants name the fixture that really catches them — scripts/mutations/hook_normalize_cmd.py
  • The hook-gates harness runs as four doctor gates; guard_bash is its own part — plugins/rails-flow/scripts/check_hook_gates.py, scripts/maintainer_doctor.py
  • doctrine map: the git add -A row is a guarantee now that its two layers have merged — scripts/doctrine_map.py, CLAUDE.md
  • A bullet added straight to ### Unreleased is refused, and the finding names the fragment to write — scripts/changelog_fragments.py, scripts/maintainer_doctor.py, scripts/mutations/changelog_fragments.py
  • #1821 is answered with a threat model, and neither removed feature is built — docs/evidence/audits/2026-10-12-test-preflight-threat-model-1821.md
  • This repository's own form of the rule: every fix, feature, gap or bug names the --selftest fixture that fails without it and the mutant that breaks it — .github/pull_request_template.md, .claude/commands/maintainer-work.md
  • New doctor gate: every exit 3 a shipped check can give has a selftest row saying why it is not applicable — scripts/check_exit3_rows.py
  • A ratchet on what each shipped plugin costs every session before anything is invoked — scripts/check_always_on_cost.py, scripts/always_on_baseline.json
  • A report of what third-party SessionStart hooks add to every session and compaction — scripts/report_third_party_hooks.py
  • Four mutation guards the v1.156 sweep reported inert or surviving now prove their code — scripts/mutations/rebuild_generated.py, plugins/rails-flow/scripts/test_preflight.py, plugins/qa-flow/scripts/remote_evidence.py, plugins/rails-flow/scripts/triage_failures.py
  • The mutation harness keeps the mode of a staged needs file, so the git_shim and git_shim_hook guards are no longer INERT — scripts/mutation_check.py, scripts/mutation_check_selftest.py, scripts/mutations/mutation_check_harness.py
  • The hostile-environment group, the hook-start-hardened lint and their guards enforce #1850 — plugins/rails-flow/scripts/check_hook_gates.py, scripts/lint_self_consistency.py, scripts/mutations/hook_trusted_env.py, scripts/mutations/hook_start_hardened.py
  • A gate keeps the two registry readers answering the same — scripts/check_registry_reader_parity.py, scripts/mutations/check_registry_reader_parity.py, scripts/maintainer_doctor.py
  • claude plugin validate --strict --json is a doctor gate, and /gauntlet says how to try a changed plugin in a real session — scripts/check_plugin_validate.py, scripts/mutations/check_plugin_validate.py, scripts/maintainer_doctor.py, .claude/commands/gauntlet.md, docs/evidence/upstream/claude-code.json
  • A PR adds changelog.d/<issue>-<slug>.md instead of editing CHANGELOG.md, and the arm folds the fragments in — scripts/changelog_fragments.py, changelog.d/README.md, scripts/extract_release_notes.py, scripts/check_arm_window.py, scripts/maintainer_doctor.py
  • CLAUDE.md and the harness doctrine now say who a hook guarantee holds against — CLAUDE.md, docs/doctrine/harness-doctrine.md, docs/evidence/audits/2026-10-11-hook-environment-1843.md
  • /gauntlet's attack agent runs on Fable, and every gauntlet agent's model is pinned by its selftest — .claude/agents/shell-adversary.md, .claude/commands/gauntlet.md, scripts/gauntlet_core.py, scripts/mutations/gauntlet_core.py, docs/wiki/Agents-And-Gates.md
  • A rerun that is pending, or that reports an error outside of examples, no longer counts as a pass in the failure triage — plugins/rails-flow/scripts/triage_failures.py, plugins/rails-flow/scripts/mutations/triage_failures.py
  • A failing RSpec run is classified NEW, PASSED ALONE or PREEXISTING against a recorded dev baseline, and test-runner reports the classes — plugins/rails-flow/scripts/dev_baseline.py, plugins/rails-flow/scripts/triage_failures.py, plugins/rails-flow/scripts/mutations/dev_baseline.py, plugins/rails-flow/scripts/mutations/triage_failures.py, plugins/rails-flow/agents/test-runner.md
  • The Mission Control recipe now admits your admins, and says what filter_arguments and adapters do — skills/rails-8/references/ecosystem-gems.md, skills/rails-8/references/jobs-and-realtime.md, dist/rails-8.skill, docs/evidence/audits/2026-10-11-mission-control-1816.md
  • rails-8 observability.md covers the in-house OpenTelemetry path, and corrects what Rails reports on its own — skills/rails-8/references/observability.md, dist/rails-8.skill, docs/evidence/audits/2026-10-11-observability-otel-1694.md
  • The directory-symlink selftest row reports an error as a failed row — scripts/mutation_incremental_selftest.py
  • The doctrine map no longer lists guard-bash as a guarantee for git add -A — scripts/doctrine_map.py, docs/architecture/doctrine-map.html
  • mutation coverage skips a guard unchanged since a trusted full run, records costs only from the runner, warns on cost growth in the release, and runs weekly on Linux and macOS — scripts/mutation_incremental.py, scripts/mutation_check.py, scripts/maintainer_doctor.py, .github/workflows/mutation-weekly.yml, scripts/linux_check.sh
  • The full mutation sweep runs as four cost-balanced shard jobs and a mutation coverage summary — scripts/mutation_check.py, scripts/mutation_incremental.py, .github/workflows/gates.yml, scripts/sweep_proof.py

1.59.0

  • Two selftest rows no longer depend on the host they run on, so their mutation guards are not inert on the Linux runner — plugins/rails-flow/scripts/test_preflight.py, plugins/rails-flow/scripts/wip_commit.py
  • A row that tells a batch from one text on Linux's awk too — plugins/rails-flow/scripts/check_hook_gates.py
  • gh shim selftest: a fixture for --undo=false, and a two-shims fixture that no longer reads a loaded machine as a loop — plugins/rails-flow/scripts/gh_shim_selftest.py
  • The hook-gates harness gains a three-deep nested-shell row so the nesting-depth mutant has a fixture that needs it — plugins/rails-flow/scripts/check_hook_gates.py
  • guard_bash's NEGATIVES_1706 named git add -u twice, so the CONTROL check git add -u passes ran and counted twice — plugins/rails-flow/scripts/check_hook_gates.py
  • The WIP commit's skip reason counts secret-looking files and never names them — plugins/rails-flow/scripts/wip_commit.py
  • guard-claims.sh no longer blocks a command that only NAMES gh pr create, and accepts the evidence its own refusal asks for — plugins/rails-flow/hooks/scripts/guard-claims.sh, plugins/rails-flow/scripts/check_hook_gates.py, scripts/mutations/hook_guard_claims_scope.py, CLAUDE.md
  • The harness guard's #1810 mutant is caught — plugins/rails-flow/scripts/check_hook_gates.py
  • The release gate's degraded-PATH fixture tests a PATH again — plugins/rails-flow/scripts/check_hook_gates.py
  • The hook-gates harness masks its own scratch-directory prefix, so --match works again for labels that embed a fixture directory — plugins/rails-flow/scripts/check_hook_gates.py, scripts/mutations/check_hook_gates_harness.py
  • A work order can record how far a run got, resume_lanes.py lists the lanes a cut-off left unfinished, and a Stop hook commits a lane's tracked changes as WIP — plugins/rails-flow/scripts/check_handoff.py, plugins/rails-flow/scripts/resume_lanes.py, plugins/rails-flow/scripts/wip_commit.py, plugins/rails-flow/hooks/scripts/wip-commit.sh, plugins/rails-flow/hooks/hooks.json, plugins/rails-flow/commands/handoff.md, CLAUDE.md
  • gh pr ready is gated where argv is final: a gh shim beside the git shim refuses it unless the sweep record for HEAD is green with zero skips — plugins/rails-flow/git-shim/gh, plugins/rails-flow/hooks/scripts/lib/pr_ready_guard.py, plugins/rails-flow/scripts/gh_shim_selftest.py
  • A change that closes an issue brings its QA case, and a fix the spec that fails without it — plugins/rails-flow/scripts/check_case_in_diff.py, plugins/rails-flow/scripts/mutations/check_case_in_diff.py, plugins/rails-flow/commands/fix.md, plugins/rails-flow/commands/feature.md, plugins/rails-flow/reference/case-per-change.md
  • A gate that every MCP tool declares read_only_hint and open_world_hint — plugins/rails-flow/scripts/check_mcp_annotations.py
  • /rails-flow:toolchain-audit and /rails-flow:wrap leave the always-on skills listing — plugins/rails-flow/commands/toolchain-audit.md, plugins/rails-flow/commands/wrap.md
  • The context-nudge status line shows the prompt-cache hit rate — plugins/rails-flow/hooks/context-nudge.mjs
  • The text SessionStart injects no longer ticks: brain-review due since <date> replaces last swept Nd ago, and the where-stopped pointer drops its write time — plugins/rails-flow/hooks/scripts/session-start.sh, plugins/rails-flow/hooks/scripts/lib/where_stopped.py, scripts/check_hook_output_budget.py
  • The gh pr ready hook's guards prove their mutants again: 13 of 18 problems to 0 — plugins/rails-flow/scripts/check_hook_gates.py, scripts/mutations/hook_guard_pr_ready.py
  • **The Stop and SessionStart hooks no longer run a submodule's own clean filter — plugins/rails-flow/hooks/scripts/lib/where_stopped.py, `plugins/rails-flow/hooks/scripts/lib/worktree_...
Read more