github open-gsd/gsd-core v1.23.0

50 minutes ago

Install

npm i @opengsd/gsd-core@1.23.0
# or
npm i @opengsd/gsd-core@latest

What's Changed

Added

  • Run a plan on another runtime — a plan that declares executor_runtime is executed by that runtime's own CLI in a GSD-created worktree when workflow.cross_runtime_execution is 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:pre loop point lets an enabled capability add reviewer-targeted guidance to the single prompt /gsd-review (and every /gsd-plan-review-convergence cycle) 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_verify and /gsd-verify-work first 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_phases widens it beyond UI phases (#3858). (#6378)
  • Plan-review convergence can run unattended — /gsd-plan-review-convergence --on-escalation exit ends a non-converged run with a CONVERGENCE_STATUS line (converged, open_conflicts, stalled, max_cycles) instead of asking, and /gsd-review --cycle-summary returns the CYCLE_SUMMARY counters on its own, so a caller with no person attached no longer re-implements the counting rules. (#4617) (#6493)
  • gsd-tools project-context reports how it found the git layout, and most commands no longer start git to find the project — provenance.layout is filesystem when the checkout, the main checkout and the shared git dir were read from .git, gitdir and commondir, and git when git rev-parse was 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 one git process (two in a linked worktree) from every gsd-tools call 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-phase now 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-argument CONCAT()). 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-check now reports which settings layer supplied worktree.baseRef — resolveEffectiveBaseRef reads the value through the family-B config resolver and returns its producing layer, and the base-check result carries it as baseRefLayer (runtime-local, runtime-shared, runtime-user, or null). Verdicts are unchanged: head from any layer is trusted under the harness as #4588 measured, and a settings layer whose baseRef is not a string is still skipped. (#6031) (#6529)
  • query dispatch-isolation answers none while it holds a sequential degrade an earlier dispatch step recorded — for up to ten minutes after a step records none with --force-isolation, a plain query whose --phase and --plan, where it passes non-empty ones, equal the record's prints none, not the runtime's isolation capability. Under --json it marks that answer held: true with decidedAt, when the held decision was made; a query that is not holding gives held: false, and so does inspect-dispatch-isolation, which is never held. The ten minutes run from when the degrade was decided: a dispatch step that follows a held none re-records it with the new --renew-held <decidedAt> option, which does not extend the hold. A step that decides a sequential degrade itself (an execute-plan Pattern B segment run, the gate's orchestrator-worktree fallback) records a new none with its own ten minutes, so such steps run less than ten minutes apart keep a query that names no phase or plan answering none. 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 that none can 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 .gsd directory the process cannot write and search, a linked .gsd/.gitignore). The isolation sentinel gains a decided_by field (caller or resolver) naming who recorded the decision and a decided_at field recording when. This changes the output contract of query dispatch-isolation: during a hold its stdout and its --json isolation report none and its harnessFlag and exec are cleared, so a script that reads them as the runtime's capability should read inspect-dispatch-isolation instead. A plan that declares executor_runtime (#6303) and is dispatched to that runtime keeps that answer during a hold, held: true beside 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 (flat v*-phases and ws-* 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 N refuses instead of silently dropping the count — on a STATE.md with no Total Plans in Phase: field and no Plan: 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 kept total_plans: 0); it now exits non-zero with the typed reason plans_no_line before any write, and behaves as before when either place can hold the count or --plans is 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}" to state planned-phase with 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 from roadmap.get-phase and the plan count from find-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 named gsd_role and gsd_role_prompt, which Hermes's delegate_task does 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 only goal, context and role, with the role prompt's full contents in context and the plan as the child's own first read. (#6066) (#6379)
  • ~/.gsd/defaults.json now merges per key inside a project — a global default such as model_profile or effort.agent_overrides is honored whenever the project config does not set that key, instead of being dropped for the whole project because a .planning/config.json exists. A key the project sets still wins, a present non-object project section still blocks the global value, and the install-stamped runtime never 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 upgrade rollback 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 low routes every tier to the provider's cheapest model — the anthropic and anthropic-fable presets sent opus-tier agents (the quality-profile planner and executor) to claude-opus-4-5, which collapses to the current Opus on Claude, under the budget the settings table documents as haiku in every column. The opus low cell is now claude-haiku-4-5 in both presets, and the same disagreement is fixed for openai (gpt-5.6-luna) and qwen (qwen3-coder-next). A test now fails when a preset's low cells 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 holding enabled, max_concurrent_threads_per_session, default_subagent_model or default_subagent_reasoning_effort now passes the post-write schema check and is kept through an install, and dotted assignments such as multi_agent_v2.<key> = … under [features] stay in [features] instead of being relocated into the table above it. (#6165) (#6429)
  • Codex install writes one agent .toml per role from the canonical source — the Codex emit no longer renders the gsd-*.compact.md alternates, 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 --agent value as written, so bash brace expansion ({gsd-debugger,x}, gsd-{debugger,x}, --agent={x,gsd-debugger}, a plugin-namespaced alternative) hid a gsd-debugger launch 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 .env inside four bash -c layers (or five nested "$( )", backticks, process substitutions, eval, xargs or git -c scripts) 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 code nesting-too-deep, the way an over-length command is blocked as command-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 ### Resolution heading 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.showSignature says — with the setting on, a signed commit's gpg: lines landed before its record in the resolver's git log output, so the log parser dropped the commit silently (a gate's scope narrowed or came back empty) and a git show --name-only listed the gpg: text as file names; every git log and git show whose 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.realpathSync results, which keep the caller's letter case on a case-insensitive volume, so one install reached through two spellings wrote two export 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 with realpathSync.native on both sides of every comparison, and the symlink-escape checks are unchanged. (#6107) (#6395)
  • /gsd-code-review --files reviews exactly the listed files on macOS and zsh, and fails closed — the comma split used bash-only read -a in a different block from the one that used it (zsh: bad option: -a, so the list was empty), the repository check used GNU realpath -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 through node, 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 --hard exception 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 lists git reset --hard as 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-only read -ra and 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-health reports W032 when the gsd-core Claude Code plugin is enabled but no statusline feeds the context monitor — the plugin registers gsd-context-monitor.js but not gsd-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)
  • init and agent-skills no longer crash under a runtime id GSD does not resolve — since 1.16.0 every init command exited 1 with UnknownRuntimeError (and agent-skills too, 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 reports agents_installed: null with agents_check_reason: "unknown_runtime" instead of throwing, agent-skills resolves its skills location only when there are skill entries, the W010 health rule and the new-project and new-milestone warnings treat null as 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 curated milestone_name with (inputs, not phases), even when the real ## v0.5.0 Search Revamp heading 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 word Milestone may 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 --insert records the typed description in the roadmap-evolution note without running it — the state-update step passed the description to state.add-roadmap-evolution --note as 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 subagent CONTEXT WARNING: Usage at N% with the parent's N, and could spend the parent's debounce or start its CRITICAL record-session write. An input with agent_id now 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, including claude --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 none degrade was told to add isolation="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 ## Fixed and ## Skipped (or anything but the two template titles) left every fixed finding open with no note. ## Fixed and ## Skipped now classify like ## Fixed Issues and ## 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-progress and state sync name the cause and the fix when they decline as unscoped — a project whose STATE.md milestone: names a version with no matching ROADMAP.md heading (for example a flat ROADMAP with no milestone headings) declined on every call with only phase scope is unscoped, not complete, so its counters drifted unnoticed; the warning and a new hint field (non-raw output) now name the milestone and the fix for the actual cause (set milestone: 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-evidence accepts a real node:test RED from assert.throws/assert.rejects with a RegExp — node:test repeats error and stack in that test's diagnostic block; strict YAML rejected the duplicates and the whole report was refused as invalid_record. A diagnostic block whose only defect is repeated keys is now recovered (fail-closed: interruptions, a repeated failureType, 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/main hands gh the branch name, not the remote ref — the printed gh pr create --base hint 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 .claude directory 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 the TDD_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_found verification report whose covered files changed now reads stale — query verification status returned gaps_found before the covered-fingerprint check ran, so a gap closed outside a gap-closure plan never reported stale: it kept routing to plan-phase --gaps, and execute-phase with every plan summarized exited without re-running the verifier; a gaps_found report with a moved fingerprint now reads stale (naming the moved files) and routes to the verifier re-run, while a matching fingerprint, a malformed one, or no fingerprint keeps gaps_found. (#6078) (#6381)
  • A checkpoint continuation in harness-worktree mode 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.json that lacks it — every plan-phase, execute-phase and transition run clears workflow._auto_chain_active, and in a project created without --auto that wrote the key (false, which absent already means) and left the tracked config dirty. config-set workflow._auto_chain_active false now leaves the file untouched when the key is absent; clearing a stale true, setting true, and every other config-set still write. (#6124) (#6407)
  • /gsd-phase --insert passes the phase you typed to init.phase-op and phase.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 --ws and other flags, and stripping quotes from the after-phase). (#5961) (#6485)
  • The real-loader plugin test no longer starts claude -p with the developer's credentials — it inherited ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN and 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's system init slash-command list. (#6091) (#6387)
  • phases clear messages and the CLI reference say the phase directories are archived, not deleted — the --confirm gate and the uncommitted-changes guard told operators the command would "delete" or "permanently delete" phase directories, and the CLI reference said --force deletes, when the command only ever moves them into milestones/<version>-phases/; the guard now says --force archives 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 --background unconditionally, and on MemPalace 3.12 --daemon auto-starts a daemon that holds the palace writer lock until someone runs mempalace daemon stop, so every MCP write tool was refused after the first headless capture; the daemon route is now used only when mempalace daemon status reports a running daemon, otherwise a plain mine is retried with bounded backoff and a final failure prints MemPalace capture skipped — palace locked. (#6266) (#6470)
  • A quoted --ws value 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 --ws from 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, --agent and --executor-runtime were 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-orphans listed candidates only from .git/worktrees/, so the residue a failed harness teardown leaves (an agent-a<hex> directory under .claude/worktrees/ with no .git file and no admin entry, a full node_modules inside) was invisible and the verb reported ok: 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 carries scan so reaped: 0 from a pass that did not look is no longer an all-clear. (#4941) (#6457)
  • roadmap validate and roadmap update-plan-progress no longer let a deleted PLAN file hide behind its ROADMAP row — deleting a plan after planning left validate silent and left update-plan-progress rewriting the Plans: count from disk while keeping the missing plan's row, so the count and the list disagreed with no verb to fix it; validate now 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, and update-plan-progress drops 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 Commits section yields no commit id is reported in the new unparsedSummaries field and printed by the code-review step, rather than leaving a resolved scope 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 log and rev-list calls 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 rmSync attempt whose failure was swallowed, so a writer still under it (a detached git 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 .git removal in the same function does, and a removal that still fails emits a GSD_SCRATCH_CLONE_LEFT warning naming the directory. (#6441) (#6443)
  • The secret-read guard denies a secret read that cat prints from a heredoc or here-string into a shell — cat <<'EOF' | bash with cat .env in the body, cat <<< 'cat .env' | bash, bash <(cat <<EOF …) and source <(cat <<< '…') are scanned like the same text given to the shell directly, while the same bodies given to wc -l or a bare cat stay allowed. (#6182) (#6446)
  • The Bash secret-read guard denies gh api -F body=@.env and httpie data=@.env request items — gh api -F/--field key=@path and httpie's key=@path, key:=@path, key==@path, Header:@path and key@path items open the named file and send its contents, but the guard only read curl's whole-word @file form, so each was allowed; when the resolved command is gh api or http/https the path after @ is now tested, while -f/--raw-field, @- and commands that merely mention http or gh api stay allowed. (#5825) (#6539)
  • The Bash secret-read guard judges the operand after a lone { or } — cat { .env, cat } .env and grep KEY { .env were 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, past then, do, else, !, redirections and assignments, after an if/while/until condition or a function, coproc, time, for, repeat, select or always head, or a closer such as esac, 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) x followed by a body line with a lone quote and then cat .env was 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 runs cat .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 feeds xargs — watch -x -q 2 sh -c 'cat .env' was allowed because the guard took only -n for an option with a separate value, so -q/--equexit shifted where it believed the watched command started (watch now takes its value-taking options from a table, resolves getopt's unambiguous abbreviations such as --int and --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, so echo `cat \".env\"` for a file literally named with quotes is now denied too); and xargs cat <<< .env or xargs cat <<EOF with .env in the body was allowed because only a pipe was read as the names xargs receives. (#6433) (#6550)
  • A capability contribution declared into: verifier now reaches the verifier — it installed and showed in the rendered hooks but was dropped silently, including MemPalace's problem-capture instructions; contributions declared at execute:post now go into the verifier's prompt, and MemPalace's moved there from execute:wave:post, where no verifier runs. (#5984) (#6349)
  • The executor's TDD gate-commit lookups accept a breaking-change ! subject — a feat(01-03)!: or test(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, xargs and watch re-interpret — find -exec sh -c 'cat .env', a shell behind a wrapper under xargs (xargs sudo|timeout|env sh -c '…'), a quoted word such as @".env" piped into xargs (which removes the quotes before the sub-command sees it), and watch (which joins its operands and runs them through sh -c) were allowed while cat .env was 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 sleep running after they pass — the test fixtures planted sleep N under a shell (or under git), so the timeout killed the shell and the sleep was reparented and ran out its 1 to 12 seconds; each stall is now exec'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, where ps can 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-in check evaluation-scope --all-branches, plan and quick units only, which reports latestCommitTime) 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-phase always 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 stale passed report could be read as "already complete" and the verifier skipped on a judgment that the change was test-only; a new verification all-summarized query computes the decision (exit, present the owner's route, update the roadmap, or resume at the gates) from the same routing table as verification status, and the workflow branches on its output. (#6096) (#6391)
  • /gsd-next and /gsd-progress --next route to /gsd-resume-work after a pause — /gsd-pause-work writes .planning/HANDOFF.json but never paused_at, so the smart-entry "paused" situation and the next workflow's Route 8 could not fire after a pause, and --next hard-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-work deleting 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, --name and --plans variables that no step set for it (each workflow fence is its own shell), so state begin-phase exited with Invalid --plans value and STATE.md never recorded the active phase; the block now assigns the phase number placeholder, reads the curated name from roadmap.get-phase and the plan count from find-phase (both workstream-scoped), and stops when the plan count cannot be read. (#6258) (#6469)
  • A plain query dispatch-isolation re-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 the use_worktrees opt-out has been since #3737, so a repo whose HEAD has diverged from its fork base keeps recording none across later plain queries that carry no --plan (#4222); and a none that 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.js and Foo_Test.go as 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-update resolved a model for gsd-doc-verifier but never passed it to any of its three verifier spawns, so project model_profile and 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-stops verify-phase-goal — under tdd_mode, tdd.review-checkpoint reported a plan whose GREEN commit was fix(<phase>-<plan>) as missing GREEN; the gate now accepts feat or fix, and the TDD reference, planner, and executor docs state the same rule. The Expected commit pattern: and GREEN precedes RED lines of the tdd.review-checkpoint output now name fix(...) beside feat(...), and the executor halt reason feat_before_test is renamed impl_before_test; scripts that match the old halt-reason token or the old hint text must change. (#5274) (#5455)
  • --pick works on extract-messages and profile-sample, and a large profile-sample result is printed as JSON — gsd-tools extract-messages <project> --pick messages_extracted and gsd-tools profile-sample --pick messages_sampled failed with "command output was not JSON" and exit code 1, and a profile-sample result 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 inherit model 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

Don't miss a new gsd-core release

NewReleases is sending notifications on new releases.