Repository navigation
The autopilot reads its acceptance commands more carefully, gains release checks, and passes each worker its prompt on stdin; the worker rules gain four sentences that batches had asked for.
An Acceptance: entry that opens with a code span and has words after it was extracted as a description with no warning, and batches then stopped to ask how to run it; the start now asks about such an entry, and S4 runs a description case as its text describes. A new Release checks: field holds checks S6 runs after its last commit. A Zero diff: path written with a leading ! is left out of the comparison. A prompt passed as an argument showed in ps and pgrep -f, whose patterns then matched the workers; it now arrives on stdin. The rails hook denied redirections after cd <literal> && …, reading the relative target against the call's working directory; it now follows a literal cd.
Compatibility: no CONTEXT key, command, or skill argument changed. A spec without Release checks: or ! paths runs as before. extract-acceptance.sh keeps its first output line and exit codes and adds a second line; zero-diff.sh's count line now reads compared: <n> paths, <m> excluded. run.ps1 now requires PowerShell 7.4 (was 7.3). An older plugin reading a spec with Release checks: ignores the field and names it after the settings line.
What changed
Acceptance and release checks
Release checks:in the## Autopilotsection, inAcceptance:'s grammar: extracted at the start in either mode, re-extracted and compared by S6 after its last commit, each run from the repository root; the user report lists each with its exit code, ornot run — <why>.extract-acceptance.sh <spec> <out dir> [<field>], with a second output linespan-led: ….- Phase 0 asks about a span-led
Acceptance:entry before any worker launches; a session that cannot ask stops before the first launch, naming each entry. - S4 runs a
<nn>.caseas its text describes and replies with each command it ran and its exit code. - "Writing a check": a command is one code span alone before
— PASS:; a check over the batch's added lines excludesdocs/plans/anddocs/tasks/; a check finds a commit by its subject, never by its position. generate-plan's pre-print check covers both fields. Zero diff:takes!exclusions (:(exclude,literal)pathspecs, git 1.9 or later) and ignores theGIT_*_PATHSPECSvariables that made it compare nothing.
Drivers
run.shandrun.ps1pass the prompt on the worker's stdin, byte for byte, and in no argument.run.ps1pipes the file's raw bytes, sinceStart-Process -RedirectStandardInputadds a line end; hence PowerShell 7.4.
Worker rules
- A question's first line carries the worker's own tag, and the answer repeats it as written.
- A package the lockfile or the spec names, or a tool the work needs, is fetched by the main session and answered with a path in the workspace.
- The rails written into a subagent prompt are the full text; a summary with a path does not meet the rule.
- S4w names each screenshot
<batch>-walk-…and moves it by its exact name.
Rails hook
- A redirection's relative target is resolved against the directory a top-level literal
cdmoved to, where the hook can be sure thecdran; a symlinked target is tracked by its physical path. Where it cannot be sure — a failed or uncertaincd, acdin a subshell, a pipeline, or a compound body — the reading is the one before this release. Known gaps that are no looser than before (acdaround||, acdinside a compound body, an exportedCDPATH) are roadmap item 42.
Upgrading
claude plugin marketplace update kenspc-claude-pluginclaude plugin update kenspc@kenspc-claude-pluginRestart the session afterwards. On Windows, check pwsh --version is 7.4 or later before the next autopilot run.
Verification
- Pre-flight on the release tree: the effort-override diff,
claude plugin validate --stricton the marketplace and the plugin, andcheck-all.sh --self-test(guards run: 17,self-tests run: 16), each exit 0. - The release smoke was the batch's acceptance, cases A1–A5 (
docs/dry-runs/autopilot-acceptance-and-worker-rules-acceptance.md): the guards and both drivers' self-tests, a nested batch that stopped on a span-led entry, a nested batch that ran a description case and a release check, the process list holding no prompt text, and the rails hook live in a worker. - Not exercised:
run.ps1on Windows (verified with pwsh 7.6.7 on macOS only), the network-fetch route, and S4w screenshot naming.