Install
npm i @opengsd/gsd-core@1.23.0
# or
npm i @opengsd/gsd-core@latestWhat's Changed
Added
- Run a plan on another runtime — a plan that declares
executor_runtimeis executed by that runtime's own CLI in a GSD-created worktree whenworkflow.cross_runtime_executionis on, and falls back to the host's dispatch with one reason whenever the target cannot run (#6303). (#6350) - Capabilities can now guide external code reviewers — a new
review:preloop point lets an enabled capability addreviewer-targeted guidance to the single prompt/gsd-review(and every/gsd-plan-review-convergencecycle) sends to external reviewer lanes, so reviews are judged under the same project guidance as planning. With no such capability the prompt is unchanged; the install summary now names this cross-reviewer egress. (#6492) (#6492) - Deep verification before UAT — set
workflow.deep_verifyand/gsd-verify-workfirst has an agent enumerate interaction-level behaviors from the plan, summary and changed files, run each one it can through a browser MCP server, and leave you only judgment items, failed behaviors and anything it could not run;workflow.deep_verify_all_phaseswidens it beyond UI phases (#3858). (#6378) - Plan-review convergence can run unattended —
/gsd-plan-review-convergence --on-escalation exitends a non-converged run with aCONVERGENCE_STATUSline (converged,open_conflicts,stalled,max_cycles) instead of asking, and/gsd-review --cycle-summaryreturns theCYCLE_SUMMARYcounters on its own, so a caller with no person attached no longer re-implements the counting rules. (#4617) (#6493) gsd-tools project-contextreports how it found the git layout, and most commands no longer startgitto find the project —provenance.layoutisfilesystemwhen the checkout, the main checkout and the shared git dir were read from.git,gitdirandcommondir, andgitwhengit rev-parsewas asked. A plain checkout, a linked worktree of a non-bare repository and a directory outside any repository are now read from the filesystem, which removes onegitprocess (two in a linked worktree) from everygsd-toolscall there. (#6355) (#6372)
Changed
- Config resolution now exposes per-key provenance and honors section barriers — a new read-only owner reports the producing layer for project and runtime-setting values, while the assembled loader no longer recreates lower/default projections beneath an explicitly non-object section. Init/docs payloads make only absent flags explicit as false and use the manifest timeout default; configured non-boolean values retain their prior representation. An object section in the workstream config overrides a non-object section in the root config, as the assembled loader merges them. A null workflow disables inherited quality gates and a null review removes default prompt trimming. The default-on planner watchdog remains the documented fail-safe exception. (#6497)
/gsd-plan-phasenow validates each<automated>command without running it — a stated<fails_when>cannot reveal that a command does not parse, so a plan could pass every check and still ship commands that could not run (Msg 8155, a one-argumentCONCAT()). Where a validate-only mode exists (bash -n,node --check,ast.parse,SET PARSEONLY ON,cargo metadata --no-deps), the planner runs it and records[VALIDATED: …]or[UNVALIDATABLE: <reason>]in the task's<verify>; plan-checker check 8g warns on a command with no record. Forms that look like validators but execute or write (py_compile,cargo check,npm run --dry-run,terraform validate) are named and banned. (#4586) (#6484)worktree base-checknow reports which settings layer suppliedworktree.baseRef—resolveEffectiveBaseRefreads the value through the family-B config resolver and returns its producing layer, and the base-check result carries it asbaseRefLayer(runtime-local,runtime-shared,runtime-user, ornull). Verdicts are unchanged:headfrom any layer is trusted under the harness as #4588 measured, and a settings layer whosebaseRefis not a string is still skipped. (#6031) (#6529)query dispatch-isolationanswersnonewhile it holds a sequential degrade an earlier dispatch step recorded — for up to ten minutes after a step recordsnonewith--force-isolation, a plain query whose--phaseand--plan, where it passes non-empty ones, equal the record's printsnone, not the runtime's isolation capability. Under--jsonit marks that answerheld: truewithdecidedAt, when the held decision was made; a query that is not holding givesheld: false, and so doesinspect-dispatch-isolation, which is never held. The ten minutes run from when the degrade was decided: a dispatch step that follows a heldnonere-records it with the new--renew-held <decidedAt>option, which does not extend the hold. A step that decides a sequential degrade itself (anexecute-planPattern B segment run, the gate's orchestrator-worktree fallback) records a newnonewith its own ten minutes, so such steps run less than ten minutes apart keep a query that names no phase or plan answeringnone. A query that holds writes no decision, but it records the executor identity it derives for its own phase or plan under.gsd/dispatch-isolation-identity/, which the isolation guards read with the other records, so the agents that plans'agent_hints route to are classified as current as after a query that records a decision; a query that cannot write that record still holds and records no decision, and while thatnonecan be held the guards treat every valid non-role agent as an executor where something stops the write (an unsafe phase or plan, a directory at the record name, an identity or.gsddirectory the process cannot write and search, a linked.gsd/.gitignore). The isolation sentinel gains adecided_byfield (callerorresolver) naming who recorded the decision and adecided_atfield recording when. This changes the output contract ofquery dispatch-isolation: during a hold its stdout and its--jsonisolationreportnoneand itsharnessFlagandexecare cleared, so a script that reads them as the runtime's capability should readinspect-dispatch-isolationinstead. A plan that declaresexecutor_runtime(#6303) and is dispatched to that runtime keeps that answer during a hold,held: truebeside it, and the held query records no decision. (#4904) (#6494)
Fixed
- The audit-uat scope text names the archived phases it scans — the skill and command declared only the live
phases/globs, so an operator read the audit as live-phases-only while it also walks the milestone archives (flatv*-phasesandws-*shapes) under the active scope's root and under every workstream; both scope blocks now name them, and a test seeds every layout and fails if the scan reaches one the text does not name. (#6232) (#6450) state begin-phase --plans Nrefuses instead of silently dropping the count — on a STATE.md with noTotal Plans in Phase:field and noPlan:line in## Current Position, the command wrote Status and Last Activity, recorded no plan count and exited 0, so the caller believed the count had landed (the frontmatter kepttotal_plans: 0); it now exits non-zero with the typed reasonplans_no_linebefore any write, and behaves as before when either place can hold the count or--plansis not given. (#6399) (#6516)- plan-phase records the phase name and plan count in STATE.md — step 13b passed
--name "${PHASE_NAME}"and--plans "${PLAN_COUNT}"tostate planned-phasewith neither variable ever set (each workflow fence is its own shell), so STATE.md recorded no phase name; the step now assigns the phase number placeholder, reads the curated display name fromroadmap.get-phaseand the plan count fromfind-phase(both workstream-scoped), and stops when the plan count cannot be read. (#6257) (#6471) - Plan-review convergence records the live plan count in STATE.md — the converged step passed the physical count taken before the loop, which counted superseded plans and missed plans added or removed during convergence. It now re-reads the live (non-superseded) count right before
state planned-phase; the initial planning check keeps the physical count. (#6122) (#6406) - The code-review disposition ledger no longer loses recorded decisions without saying so — a decision displaced by a reused finding id is now reported on the console on every path (including a fix report that decides the new finding), a review heading with a review-scoped prefix such as
### W6-CR-01:is counted and named instead of recording nothing, a ledger row outside the id grammar is named and kept verbatim instead of deleted on rewrite, and an unrecognised frontmatter id no longer lets the next title overwrite another finding's. (#5802) (#6461) - Hermes dispatch calls now deliver the role prompt as the task's
context— the installed workflows namedgsd_roleandgsd_role_prompt, which Hermes'sdelegate_taskdoes not accept, and never said where the role prompt goes, so orchestrators told the child to read the role file as tool output (windowed, truncated, compacted) and the child lost the plan; each call now carries onlygoal,contextandrole, with the role prompt's full contents incontextand the plan as the child's own first read. (#6066) (#6379) ~/.gsd/defaults.jsonnow merges per key inside a project — a global default such asmodel_profileoreffort.agent_overridesis honored whenever the project config does not set that key, instead of being dropped for the whole project because a.planning/config.jsonexists. A key the project sets still wins, a present non-object project section still blocks the global value, and the install-stampedruntimenever fills in.config-get, capability gates, the omit gate, the install-time effort/model/tool merges and several single-file readers now resolve through one owner, so a value set in the root config or the global defaults is no longer ignored by a reader that looked at one file. The "global keys are ignored for model resolution" warning is removed because no listed key is inert any more. (#6540)- Requirement IDs shared by plans of one parallel worktree wave are now marked complete after the wave merges — each worktree executor's shared-ID gate sees only its own
SUMMARY.md, so an ID declared by two or more plans was blocked in every executor and none marked it (it stayed unchecked until phase completion, or forever if the ROADMAP requirements line did not cite it); the orchestrator's post-wave step now evaluates the gate once on the merged tree, marks the IDs whose declaring plans all have summaries (only when the post-merge tests passed), and commits REQUIREMENTS.md. (#6102) (#6393) roadmap upgraderollback no longer overwrites a file another writer changed — when a migration failed, rollback restored every snapshot unconditionally, silently destroying an edit another writer saved to ROADMAP.md, STATE.md, PROJECT.md, config.json or a rewritten phase file in the meantime; it now restores a file only while it still holds what the migration wrote, leaves any other file as found, and names each one in the failure message. A file the migration created is removed only if it still holds what the migration wrote. (#6351) (#6473)- Budget
lowroutes every tier to the provider's cheapest model — theanthropicandanthropic-fablepresets sent opus-tier agents (the quality-profile planner and executor) toclaude-opus-4-5, which collapses to the current Opus on Claude, under the budget the settings table documents as haiku in every column. The opuslowcell is nowclaude-haiku-4-5in both presets, and the same disagreement is fixed foropenai(gpt-5.6-luna) andqwen(qwen3-coder-next). A test now fails when a preset'slowcells differ from the documented table row. (#6125) (#6410) - Codex update no longer aborts on current agent settings or moves nested feature settings — a bare
[agents]table holdingenabled,max_concurrent_threads_per_session,default_subagent_modelordefault_subagent_reasoning_effortnow passes the post-write schema check and is kept through an install, and dotted assignments such asmulti_agent_v2.<key> = …under[features]stay in[features]instead of being relocated into the table above it. (#6165) (#6429) - Codex install writes one agent
.tomlper role from the canonical source — the Codex emit no longer renders thegsd-*.compact.mdalternates, which share their canonical sibling's role name and silently overwrote it in directory order, the install reports the real role count instead of one inflated by 29, and two sources naming one role now fail the install instead of one replacing the other. (#6158) (#6426) - The Bash guard denies
claude --agent {gsd-debugger,x}and its brace-expanded spellings — the debugger-spawn check judged the--agentvalue as written, so bash brace expansion ({gsd-debugger,x},gsd-{debugger,x},--agent={x,gsd-debugger}, a plugin-namespaced alternative) hid agsd-debuggerlaunch and the command was allowed; the value is now judged by every alternative it expands to, a quoted word is judged as written, and brace lists that only name other agents stay allowed. (#6439) (#6496) - The secret-read guard denies a read nested past the nesting limit instead of allowing it unscanned —
cat .envinside fourbash -clayers (or five nested"$( )", backticks, process substitutions,eval,xargsorgit -cscripts) was allowed because the guard stopped rescanning at three levels, while three layers were blocked. A command nested deeper than three levels is now blocked with the named codenesting-too-deep, the way an over-length command is blocked ascommand-too-large; a secret read found at a shallower level is still the block reported. The guard also now descends into backticks nested with escaped backticks (`echo \`cat .env\``), which it used to end at the first escaped backtick and read as plain text. (#6136) (#6412) - A closed deferred item with a
### Resolutionheading is one closed item — the deferred-items reader treated any heading followed by a deeper heading as a container, so an item written as a titled heading with body bullets and a Resolution child was reported as one open item per bullet and the audit could not be cleared; a heading whose deeper headings only record its closure is now the entry itself, closed by that resolution. (#6239) (#6454) - The gate evaluation-scope resolver reads signed commits whatever
log.showSignaturesays — with the setting on, a signed commit'sgpg:lines landed before its record in the resolver'sgit logoutput, so the log parser dropped the commit silently (a gate's scope narrowed or came back empty) and agit show --name-onlylisted thegpg:text as file names; everygit logandgit showwhose output the resolver parses now states--no-show-signature. (#6272) (#6526) - The PATH-export and canonical-path hooks now treat two letter-case spellings of one folder as the same path on macOS — they compared
fs.realpathSyncresults, which keep the caller's letter case on a case-insensitive volume, so one install reached through two spellings wrote twoexport PATH=lines and the plugin bundle self-heal rejected a bundle that was inside the root (and a correct link could read as wrong); both hooks now resolve withrealpathSync.nativeon both sides of every comparison, and the symlink-escape checks are unchanged. (#6107) (#6395) /gsd-code-review --filesreviews exactly the listed files on macOS and zsh, and fails closed — the comma split used bash-onlyread -ain a different block from the one that used it (zsh:bad option: -a, so the list was empty), the repository check used GNUrealpath -m(BSD: every relative path looked outside), and a list that resolved to nothing silently widened to the phase scope while still logging--files override. The split now lives in the same block with a portable loop, paths resolve throughnode, and a list that resolves to no reviewable file inside the repository prints an error and exits non-zero. The reviewer-lane slug list splits portably too, and the macOS note no longer sends users to install coreutils. (#6152) (#6417)- The executor no longer grants itself a
git reset --hardexception at startup — its list of commands prohibited inside a worktree exempted the<worktree_branch_check>step, which has been verify-only since #48: on a failed assertion it exits 42 and the orchestrator recovers. The prohibition is now unconditional, matching the branch-check fragment. The git-integration reference that execute-plan hands the executor as required reading no longer listsgit reset --hardas a failure-recovery option either. (#5416) - The executor path guard runs under zsh and gives the same verdicts as under bash — the guard that parallel executors run before an
<automated>command used bash-onlyread -raand a 0-based array pop in its path normalizer, and${s:i:1}substrings that zsh reads as a history modifier, so under zsh every command errored and no cwd drift or main-checkout path was ever reported. The normalizer is now plain string handling, the substrings use${s:$i:1}, and a path that normalizes to the filesystem root is/rather than//. (#6153) (#6424) /gsd-healthreports W032 when the gsd-core Claude Code plugin is enabled but no statusline feeds the context monitor — the plugin registersgsd-context-monitor.jsbut notgsd-statusline.js, the only writer of the bridge file the monitor reads, so a plugin-only install silently never shows the 35% and 25% remaining context warnings (and the opt-in hooks the npm installer registers are inactive too); the new advisory W032 names the cause and the fix (the npm installer), and an npm install, a disabled plugin or another runtime reports nothing. (#6430) (#6476)initandagent-skillsno longer crash under a runtime id GSD does not resolve — since 1.16.0 everyinitcommand exited 1 withUnknownRuntimeError(andagent-skillstoo, even with no skills configured) on any host whose runtime id is not first-party, such as an out-of-tree host plugin, so GSD could not start there; the agents check now reportsagents_installed: nullwithagents_check_reason: "unknown_runtime"instead of throwing,agent-skillsresolves its skills location only when there are skill entries, the W010 health rule and the new-project and new-milestone warnings treatnullas not-checkable, and installing under an unknown id still refuses. (#5236) (#6458)- A ROADMAP heading that only mentions a milestone's version no longer becomes that milestone's heading —
## Carried forward to v0.5.0 (inputs, not phases)was selected as the v0.5.0 heading, so every STATE.md write replaced the curatedmilestone_namewith(inputs, not phases), even when the real## v0.5.0 Search Revampheading came later. A heading now counts as a version's milestone heading only when the version token leads its text (only ✅ 📋 🚧, bold markers and the wordMilestonemay precede it), and selection and section detection read that one rule, so a mention heading is neither selected, counted as a section, nor the end of the previous milestone's window. (#6149) (#6416) /gsd-phase --insertrecords the typed description in the roadmap-evolution note without running it — the state-update step passed the description tostate.add-roadmap-evolution --noteas model-filled text inside shell double quotes, so$(...), backticks or a stray"in a description were executed or broke the command after the insert had already run; the step now takes the description and after-phase from the typed arguments and passes them as variables, and both state verbs forward--ws(it was unset in those fences). (#6195) (#6491)- A subagent no longer gets the parent session's context warning as its own — in Claude Code a subagent's hook input carries the parent's
session_id, so the context monitor read the parent's usage and told the subagentCONTEXT WARNING: Usage at N%with the parent's N, and could spend the parent's debounce or start its CRITICALrecord-sessionwrite. An input withagent_idnow exits before touching any of the session's monitor files; this holds on every event, so a subagent's PreCompact no longer clears the parent's bridge and its Stop, SubagentStop or event-less input no longer writes the parent's sentinel. Top-level sessions, includingclaude --agent, are monitored as before. (#6360) (#6365) - The isolation guard no longer tells the orchestrator to add the harness flag when a recorded degrade refused it — a flag-less executor dispatch blocked after a base-check or recorded
nonedegrade was told to addisolation="worktree", the very action the degrade had refused; the deny now names the recorded degrade and how to record a decision for the dispatch, for the Claude guard and the Cursor hook alike, while the block decision and reason code are unchanged. (#6028) (#6371) - The code-review disposition ledger no longer ignores fix-report findings under other section titles — a fix report that titled its sections
## Fixedand## Skipped(or anything but the two template titles) left every fixed findingopenwith no note.## Fixedand## Skippednow classify like## Fixed Issuesand## Skipped Issues, and any finding heading left under a section the step does not recognise is named on the verdict line with its report file. (#6126) (#6411) state update-progressandstate syncname the cause and the fix when they decline as unscoped — a project whose STATE.mdmilestone:names a version with no matching ROADMAP.md heading (for example a flat ROADMAP with no milestone headings) declined on every call with onlyphase scope is unscoped, not complete, so its counters drifted unnoticed; the warning and a newhintfield (non-raw output) now name the milestone and the fix for the actual cause (setmilestone: null, add the heading above its phases, name a milestone in STATE.md, or reword a Phase title that reads as a milestone heading). The scope classification is unchanged. (#6271) (#6472)check tdd-red-evidenceaccepts a real node:test RED fromassert.throws/assert.rejectswith a RegExp — node:test repeatserrorandstackin that test's diagnostic block; strict YAML rejected the duplicates and the whole report was refused asinvalid_record. A diagnostic block whose only defect is repeated keys is now recovered (fail-closed: interruptions, a repeatedfailureType, any other YAML error, anchors and truncated blocks still refuse). (#5819) (#5870)- The model-profiles advisor section matches its upstream sources and states the caveats — it no longer points at the closed-as-not-planned per-subagent advisor tracker as pending, gives the first release that mentions the advisor (v2.1.117) instead of a version no changelog entry supports, and now says every advisor call sends the calling agent's full transcript, that the advisor's own read is uncached by default, that advisor tokens are billed separately in
usage.iterations[], how to turn the advisor off, and that a subagent inherits the advisor only if it passes the same pairing check. (#6205) (#6447) /gsd-pr-branch origin/mainhandsghthe branch name, not the remote ref — the printedgh pr create --basehint and the sub-repo companion PR used the target verbatim, so a remote-qualified target produced--base origin/main; both now use the bare branch name derived once from the target by removing a leading configured-remote name, while git operations keep the full ref. (#5972) (#6490)- Non-Claude executor dispatch no longer breaks on apostrophes in the agent persona — an apostrophe in the persona used to end the prompt early and run the rest as shell, so the orchestrator now writes the prompt with its file tool to a file in the
.claudedirectory that the first block creates, and a second block reads it back and the prompt reaches the executor as written, trailing newlines included. The orchestrator now substitutes every plan placeholder that the blocks and the template use, and fills the template's TDD line from theTDD_APPLICABLE=value block 1 prints. A prompt holding a NUL byte halts instead, and every halt this adds exits 69. A prompt file a crashed wave left behind is swept after a day. (#5531) (#5617) - A
gaps_foundverification report whose covered files changed now readsstale—query verification statusreturnedgaps_foundbefore the covered-fingerprint check ran, so a gap closed outside a gap-closure plan never reported stale: it kept routing toplan-phase --gaps, andexecute-phasewith every plan summarized exited without re-running the verifier; agaps_foundreport with a moved fingerprint now readsstale(naming the moved files) and routes to the verifier re-run, while a matching fingerprint, a malformed one, or no fingerprint keepsgaps_found. (#6078) (#6381) - A checkpoint continuation in
harness-worktreemode keeps the paused plan's commits — the fresh isolated agent forked from the orchestrator HEAD and could not see its own plan's finished tasks, which sit on the paused executor's unmerged branch. The workflow now resumes the paused executor by its recorded agent id while its worktree exists, and otherwise passes<paused_branch>so the continuation fast-forwards onto it before verifying the previous commits. (#6118) (#6402) - Clearing the chaining flag no longer modifies a committed
.planning/config.jsonthat lacks it — every plan-phase, execute-phase and transition run clearsworkflow._auto_chain_active, and in a project created without--autothat wrote the key (false, which absent already means) and left the tracked config dirty.config-set workflow._auto_chain_active falsenow leaves the file untouched when the key is absent; clearing a staletrue, settingtrue, and every otherconfig-setstill write. (#6124) (#6407) /gsd-phase --insertpasses the phase you typed toinit.phase-opandphase.insert— the insert-phase workflow handed both verbs unset variables, so the context step searched for an empty phase and reported it as not found, and the insertion call received an empty after-phase and description; both fences now take the after-phase and description from one split of the typed arguments (skipping--wsand other flags, and stripping quotes from the after-phase). (#5961) (#6485)- The real-loader plugin test no longer starts
claude -pwith the developer's credentials — it inheritedANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKEN,CLAUDE_CODE_OAUTH_TOKENand the provider-selection variables, so a contributor with one set ran a real model turn on their account, and the plugin's SessionStart hook spawned the update worker, which queried the npm registry; the spawn now carries none of them, runs with npm offline and hooks disabled, and still reads the loader'ssystem initslash-command list. (#6091) (#6387) phases clearmessages and the CLI reference say the phase directories are archived, not deleted — the--confirmgate and the uncommitted-changes guard told operators the command would "delete" or "permanently delete" phase directories, and the CLI reference said--forcedeletes, when the command only ever moves them intomilestones/<version>-phases/; the guard now says--forcearchives uncommitted edits with the directory. (#5270) (#6459)- Headless MemPalace capture no longer starts a daemon that blocks the MCP write tools — the capture ran
mempalace mine --daemon --backgroundunconditionally, and on MemPalace 3.12--daemonauto-starts a daemon that holds the palace writer lock until someone runsmempalace daemon stop, so every MCP write tool was refused after the first headless capture; the daemon route is now used only whenmempalace daemon statusreports a running daemon, otherwise a plainmineis retried with bounded backoff and a final failure printsMemPalace capture skipped — palace locked. (#6266) (#6470) - A quoted
--wsvalue selects its workstream —--ws "feature"and--ws 'feature'were ignored by the workstream parse every workflow copies, so the command ran in the active workstream with no message; one pair of quotes around the name is now read like the bare name, and the lines that strip--wsfrom the remaining arguments remove the quoted form too. (#6218) (#6449) - Optional flags in the code-review, codebase-map, reviewer-instance and cross-runtime workflow blocks now reach the CLI under zsh —
--since,--files,--agentand--executor-runtimewere passed as one joined expansion that zsh treats as a single argument, so the option was silently dropped (the code-review scope ignored the last-review commit, the codebase map was stamped without its files, the reviewer instance ran without its agent); each is now two conditional expansions, and a scan fails any new joined flag. (#6048) (#6376) - The orphan worktree reaper finds the directories git has forgotten —
worktree.reap-orphanslisted candidates only from.git/worktrees/, so the residue a failed harness teardown leaves (anagent-a<hex>directory under.claude/worktrees/with no.gitfile and no admin entry, a fullnode_modulesinside) was invisible and the verb reportedok: true, reaped: 0; a second pass now removes such a directory only on the positive evidence ADR-5812 requires (a harness name and branch, unregistered, no tracked file or nested repository, nothing recent, nothing git lacks, no ignored secret or user-data file the harness did not copy) by renaming it to a reserved name and deleting it without following links, and the verb output carriesscansoreaped: 0from a pass that did not look is no longer an all-clear. (#4941) (#6457) roadmap validateandroadmap update-plan-progressno longer let a deleted PLAN file hide behind its ROADMAP row — deleting a plan after planning leftvalidatesilent and leftupdate-plan-progressrewriting thePlans:count from disk while keeping the missing plan's row, so the count and the list disagreed with no verb to fix it;validatenow warns (V006) about a plan row with no PLAN file and (V007) about a live PLAN file with no row in a phase that lists its plans, andupdate-plan-progressdrops the rows whose file is gone (a row that wraps onto a continuation line is kept and reported). (#6270) (#6515)- The phase evaluation scope reads the task rows gsd-executor writes for TDD tasks, and names a SUMMARY it could not read — a
**Task 1 (tracer):**or**Task 1 RED:**row and the RED and GREEN commits listed as sub-bullets under a task row now count as task commits, so their files are in the scope instead of vanishing; and a SUMMARY whose## Task Commitssection yields no commit id is reported in the newunparsedSummariesfield and printed by the code-review step, rather than leaving aresolvedscope that reads as complete. (#6215) (#6448) - Evaluation-scope resolution no longer fails when a root file is named like a commit id — the resolver's
logandrev-listcalls that take commit ids now end them with--, so a repository-root file named like a task commit's sha is no longer read as a path (git exit 128), and every gate that shares the scope resolves instead of reporting it unresolvable. (#6179) (#6444) - Installing a capability from a Git source no longer leaves its scratch clone behind silently when removing it fails once — the clone's temporary directory was removed in a single
rmSyncattempt whose failure was swallowed, so a writer still under it (a detachedgit gc --auto, an external scanner:ENOTEMPTY,EBUSY) left the clone on disk with nothing reported. Git is now told not to start automatic maintenance in the throwaway clone, the removal retries the way the clone's.gitremoval in the same function does, and a removal that still fails emits aGSD_SCRATCH_CLONE_LEFTwarning naming the directory. (#6441) (#6443) - The secret-read guard denies a secret read that
catprints from a heredoc or here-string into a shell —cat <<'EOF' | bashwithcat .envin the body,cat <<< 'cat .env' | bash,bash <(cat <<EOF …)andsource <(cat <<< '…')are scanned like the same text given to the shell directly, while the same bodies given towc -lor a barecatstay allowed. (#6182) (#6446) - The Bash secret-read guard denies
gh api -F body=@.envand httpiedata=@.envrequest items —gh api -F/--field key=@pathand httpie'skey=@path,key:=@path,key==@path,Header:@pathandkey@pathitems open the named file and send its contents, but the guard only read curl's whole-word@fileform, so each was allowed; when the resolved command isgh apiorhttp/httpsthe path after@is now tested, while-f/--raw-field,@-and commands that merely mentionhttporgh apistay allowed. (#5825) (#6539) - The Bash secret-read guard judges the operand after a lone
{or}—cat { .env,cat } .envandgrep KEY { .envwere allowed because the tokenizer took any{or}that began a word for a group separator, so the word after it was read as a new command name and never checked as a file operand; a brace now opens or closes a group only where a command may start (the start of a segment, pastthen,do,else,!, redirections and assignments, after anif/while/untilcondition or afunction,coproc,time,for,repeat,selectoralwayshead, or a closer such asesac, which zsh also gives a{body), and is an ordinary word among a command's arguments, as bash, dash and zsh read it; a}that closes an open group is always a separator (zsh closes{ echo x } always { … }there); anything unclear stays a group. Real groups such as{ cat .env; }and a brace heredoc tag are scanned as before. (#6438) (#6543) - The Bash secret-read guard reads the body of a heredoc opened in a
$( )that closed on its line as data —echo $(cat <<EOF) xfollowed by a body line with a lone quote and thencat .envwas allowed, because the span reader dropped the heredoc still waiting for its body and the top-level tokenizer read the body as shell, where the quote swallowed the read; the waiting heredoc now goes to the tokenizer's pending list (also from<( ), a double-quoted$( ), and across a line continuation), so its body is consumed where bash reads it and the read after it is denied. (#5515) (#6548) - The Bash secret-read guard reads the default of a
${…}word as a name the command can read —cat ${x:-$'.env'},cat ${x-$'.e\x6ev'},cat ${x:+a}$'.env'and (zsh)cat .env${}were allowed because the text inside${…}was never scanned, although the shell runscat .env; a word holding${name<op>WORD}(-,:-,=,:=,?,:?,+,:+) or an empty${}is now also judged with each expansion replaced by its quote-removed WORD and by nothing, since the variable is unknown. (#6132) (#6553) - The Bash secret-read guard finds the command after
watch -q N, reads\"in a backtick inside double quotes, and reads what a here-string or heredoc feedsxargs—watch -x -q 2 sh -c 'cat .env'was allowed because the guard took only-nfor an option with a separate value, so-q/--equexitshifted where it believed the watched command started (watchnow takes its value-taking options from a table, resolves getopt's unambiguous abbreviations such as--intand--equ, and stops at-d, whose optional value is attached);echo "`cat \".env\"`"was allowed because a backtick inside double quotes kept the backslash before"that the shell removes, so the scanned text was not the text the shell runs (a backtick in a heredoc body, in$(( ))inside double quotes, or seen outside quotes is scanned both ways, since dash and zsh unescape and bash does not, soecho `cat \".env\"`for a file literally named with quotes is now denied too); andxargs cat <<< .envorxargs cat <<EOFwith.envin the body was allowed because only a pipe was read as the namesxargsreceives. (#6433) (#6550) - A capability contribution declared
into: verifiernow reaches the verifier — it installed and showed in the rendered hooks but was dropped silently, including MemPalace's problem-capture instructions; contributions declared atexecute:postnow go into the verifier's prompt, and MemPalace's moved there fromexecute:wave:post, where no verifier runs. (#5984) (#6349) - The executor's TDD gate-commit lookups accept a breaking-change
!subject — afeat(01-03)!:ortest(01-03)!:plan commit counts in the TDD review checkpoint, but the RED, GREEN and REFACTOR lookups in the TDD reference anchored on):and missed it, so the executor wrote a false violation under## TDD Gate Compliance. The three lookups now accept the optional!. (#6120) (#6404) - The secret-read guard now denies reads hidden in strings that
find,xargsandwatchre-interpret —find -exec sh -c 'cat .env', a shell behind a wrapper underxargs(xargs sudo|timeout|env sh -c '…'), a quoted word such as@".env"piped intoxargs(which removes the quotes before the sub-command sees it), andwatch(which joins its operands and runs them throughsh -c) were allowed whilecat .envwas denied; each is now read as the command it becomes, the plain forms stay denied, and non-secret names near the same constructs stay allowed. (#6114) (#6397) - Five timeout tests no longer leave their stalling
sleeprunning after they pass — the test fixtures plantedsleep Nunder a shell (or undergit), so the timeout killed the shell and thesleepwas reparented and ran out its 1 to 12 seconds; each stall is nowexec'd so the killed process is the stall, the git-hook test terminates the hook-started stalls itself, and each test asserts nothing it started is still running (on POSIX hosts, wherepscan check it). (#6086) (#6382) - The executor stall check now sees a worktree executor's commits before the wave merges — with
isolation="worktree"an executor commits to its own unmerged agent branch and writes its SUMMARY there, so the${EXPECTED_BRANCH}probe read no progress and the pause (continue waiting/kill and retry/kill and switch to inline execution) fired for an executor that was committing normally; the stall surveillance now asks the evaluation-scope resolver for the plan's commits since dispatch across every local branch (a new opt-incheck evaluation-scope --all-branches, plan and quick units only, which reportslatestCommitTime) and a commit resets the no-progress clock, while sequential mode keeps its probe, the gates keep their reachable-from-ref contract, and an executor with no commits and no SUMMARY past the threshold still reaches the pause. (#6117) (#6400) execute-phasealways resumes at the verification gates for a stale report when every plan is summarized — the all-plans-summarized branch was prose the orchestrating model had to evaluate, so a stalepassedreport could be read as "already complete" and the verifier skipped on a judgment that the change was test-only; a newverification all-summarizedquery computes the decision (exit, present the owner's route, update the roadmap, or resume at the gates) from the same routing table asverification status, and the workflow branches on its output. (#6096) (#6391)/gsd-nextand/gsd-progress --nextroute to/gsd-resume-workafter a pause —/gsd-pause-workwrites.planning/HANDOFF.jsonbut neverpaused_at, so the smart-entry "paused" situation and the next workflow's Route 8 could not fire after a pause, and--nexthard-stopped only for a root-level.continue-here.md, not the phase-scoped one pause-work usually writes; the handoff file now classifies as paused (and/gsd-resume-workdeleting it routes forward again), and a new Gate 0 in the next workflow routes a recorded pause to resume before any other gate. (#6431) (#6477)- execute-phase records phase start in STATE.md — the begin-phase block passed
--phase,--nameand--plansvariables that no step set for it (each workflow fence is its own shell), sostate begin-phaseexited withInvalid --plans valueand STATE.md never recorded the active phase; the block now assigns the phase number placeholder, reads the curated name fromroadmap.get-phaseand the plan count fromfind-phase(both workstream-scoped), and stops when the plan count cannot be read. (#6258) (#6469) - A plain
query dispatch-isolationre-query no longer clobbers a degrade that mandated sequential execution, so the isolation guard stops denying the dispatch the degrade itself asked for — the #683 worktree base-check degrade is now re-derived by the resolver on every unheld call that carries no--plan, as theuse_worktreesopt-out has been since #3737, so a repo whose HEAD has diverged from its fork base keeps recordingnoneacross later plain queries that carry no--plan(#4222); and anonethat a dispatch site records with--force-isolation none, which the resolver cannot re-derive, is held by a later plain query in its scope while it is fresh (#4561). (#4904) (#6494) - The TDD gate finds a RED commit made of capitalised test files — the task router already treated
Tests/foo.rs,Foo.TEST.jsandFoo_Test.goas test files, but the gate's RED-commit search used plain git pathspecs, which are case-sensitive, so a RED commit touching only such files was invisible and the gate reported a missing RED commit; the gate now passes the same shared list behind git's:(icase)magic, so router and gate agree on letter case for the paths the gate already matches, and lowercase layouts behave as before. (#5766) (#6528) - The ship-a-reviewer-lane how-to names the approved-issue step for registry PRs — the page told an author to append a registry entry and open a PR without saying the PR needs a linked issue with a maintainer-applied approval label, so a contributor following only that page had the PR auto-closed; it now states the step and links the Submission process, and the registry-docs parity guard covers the page. (#6109) (#6468)
- The docs-update doc verifier now runs on its resolved model —
/gsd:docs-updateresolved a model forgsd-doc-verifierbut never passed it to any of its three verifier spawns, so projectmodel_profileand overrides had no effect on the verifier; a new guard fails any workflow that resolves a model it never passes to a spawn. (#5997) (#6366) - A
fix(<phase>-<plan>)GREEN commit no longer hard-stopsverify-phase-goal— undertdd_mode,tdd.review-checkpointreported a plan whose GREEN commit wasfix(<phase>-<plan>)as missing GREEN; the gate now acceptsfeatorfix, and the TDD reference, planner, and executor docs state the same rule. TheExpected commit pattern:andGREEN precedes REDlines of thetdd.review-checkpointoutput now namefix(...)besidefeat(...), and the executor halt reasonfeat_before_testis renamedimpl_before_test; scripts that match the old halt-reason token or the old hint text must change. (#5274) (#5455) --pickworks onextract-messagesandprofile-sample, and a largeprofile-sampleresult is printed as JSON —gsd-tools extract-messages <project> --pick messages_extractedandgsd-tools profile-sample --pick messages_sampledfailed with "command output was not JSON" and exit code 1, and aprofile-sampleresult over 50 KB was printed as a bare@file:<path>line instead of the JSON it names. Both commands now go through the same output handling as every other command. (#6332) (#6359)- The eval-review, execute-plan and AI-integration workflows now omit a blank or
inheritmodel instead of passing it to the agent spawn — on runtimes without native tier aliases the spawn failed, and the AI-integration phase never passed its four resolved models at all, so model profile and overrides had no effect there; the #2517 guard also now sees prose and unquoted spawns so no new site escapes it. (#5996) (#6363)
Full Changelog: v1.22.0...v1.23.0