Repository navigation
Install
npm i @opengsd/gsd-core@1.24.0
# or
npm i @opengsd/gsd-core@latestWhat's Changed
Added
- Opt-in advisor pre-filter before review gates — with
workflow.advisor_prefilteron, the orchestrator asks the Claude Code session advisor whether the phase output is final and consistent before the next review gate, so a reviewer subagent no longer spends its pass on output that changed after the last review. Off by default; a silent no-op when no advisor is configured. (#4795) (#6722) /gsd-healthwarns about project skills that defeat the scoped discovery read (W033) — a skill in.claude/skills/or.agents/skills/with no frontmatterdescriptionis read in full on every agent spawn, and aSKILL.mdover 500 lines is loaded in full whenever it is relevant. Health now names each such skill, the cause and the fix. (#0) (#6744)- A generated documentation coverage matrix now lists every command,
gsd-toolsverb, config key, agent, hook, template and installer flag with where it is documented and which options are not —docs/reference/coverage-matrix.mdis produced byscripts/gen-coverage-matrix.cjsfrom each surface's own source, andnpm run lint:generated-syncfails when the committed page is stale. (#6771) (#6792) - A seed can now be closed with
/gsd-capture --seed --close—--promoted <REQ-ID>,--built <PHASE>or--dropped "<why>"setsstatus: closedand records what the seed became asoutcome_kind,outcome_refandoutcome, andlist-seedsreturns those fields./gsd-new-milestonenow offers onlydormant,activeandtriggeredseeds, the same set the milestone-close audit treats as open, so a delivered idea stops coming back as scope. (#4647) (#6675) - The secret-read guard can fail closed on its own failure — with
GSD_SECRET_READ_GUARD_ON_CRASH=denyin the runtime's environment, a hook error, a shell reading that fails on a command no scan blocked, or a stdin that does not close within 3 s is blocked asguard-error, with acausefield naming which (hook-error,reading-failedorstdin-stall), instead of allowed, so a host that registers the guard withonFailure: "block"no longer has a failure path that lets a read through. Unset, or any other value, keeps the fail-open default. (#5784) (#5813) state session-resume,state sessionsandstate record-session --sessiontrack pause per session — two sessions on one.planning/can now each keep a handoff, resume only their own, and see who is paused, instead of sharing one project-wide handoff. A session id comes from--sessionor a runtime key (never a terminal), a role survives/clear, andrecord-sessionwithout--sessionis unchanged. (#6796) (#6815)/gsd-pause-workand/gsd-resume-worknow pause and resume per session — pausing with--role <text>writesHANDOFF.latest.<role_id>.jsonand.continue-here.latest.<role_id>.md, and a session without a role writes its ownHANDOFF.<session_id>.json; nothing is written topaused_atorstatus: paused. Resuming claims a role handoff by atomic rename before reading it, restores the role and removes the consumed files, so a second session resuming the same role finds no handoff instead of taking the first session's./gsd-nextroutes to resume only for the session's own handoff, and a legacyHANDOFF.jsonstays readable. (#6798) (#6823)- The statusline and
/gsd-nextfollow per-session pause — the statusline showspausedwhen your own session holds a handoff and⏸Nfor handoffs other sessions hold, and/gsd-nextroutes to resume only for a handoff your session owns, so one paused session no longer marks every other session on the same.planning/as paused. The context monitor's exhaustion breadcrumb is attributed to the session that ran out of context. (#6797) (#6819) - A
type: tddplan can run its RED gate on a different model than GREEN and REFACTOR — setmodel_overrideskeysgsd-executor:tdd-redandgsd-executor:tdd-green-refactor(or the same keys for a specialist executor) andexecute-phasedispatches the executor once for RED and once for GREEN/REFACTOR, each on its own model. With neither key set, dispatch is unchanged. (#4696) (#6682)
Changed
- Committing verbs take the resolved project context and run git in the worktree you are in —
commit,commit-to-subrepo,pr-subrepo,check-commit,commit-docs-guardandstatsnow read their git root from the same resolved context as every other verb instead of re-deriving a directory string, souat complete-sessionrun from a linked worktree no longer commits its UAT file into the main checkout (it reportscommitted: falsewith the refusal reason, exit 0, since the UAT file itself is written),statscounts commits in the checkout you are in, and a project nested inside the worktree commits its own.planning/files instead of an empty path. (#6821) (#6881) - The remaining git-running verbs take the resolved project context and run git in the worktree you are in —
verify summary,verify plan-structure --replay,verify commits,stamp-codebase-map,validate health,init new-project,init ingest-docs,init onboard,phases clearandgraphify statusnow read their roots from the same resolved context as every other verb instead of re-deriving a directory string:verify summary,verify plan-structure --replay,verify commitsandstamp-codebase-mapcheck, replay and stamp against the HEAD of the worktree they run in (previously the checkout the dispatcher remapped to), while theinit,phases clear,validate healthandgraphify statusverbs keep reading the project root and now name it from the context. A caller that passes a plain path instead of a context fails with an error naming the verb. (#6879) (#6894) npm run lint:generated-syncnow fails the build when any documented surface has a documentation gap, not only when the generated page is stale — the coverage matrix's--strictcheck joined the CI chain, and the generated page's header states the stronger gate; the matrix currently reports zero gaps, so the check goes red the moment a command, verb, config key, agent, hook, template or installer flag loses its documentation. (#6776) (#6804)- An OpenCode install now points agents at
.opencode/skills/and tells you to reinstall with--opencode --global— the installed agents, skills, workflows and the installedgsd-core/commands|agentscopies named the Claude-only.claude/skills/project-skills path, a launcher error hint of--claude --localand~/.claudeincludes, and the post-install leak scan skipped the copies and reported neither new form. They are rewritten at install time for OpenCode only (the copies get path text only, so a refresh still converts them), and the scan now reports any that remain. (#4779) (#6777) - Agents read each project skill's frontmatter before its body — the 21 agents that discover
.claude/skills/or.agents/skills/now read only eachSKILL.mdnameanddescriptionand open the whole file when the description fits the task (or is missing), instead of reading every fullSKILL.mdon every spawn. A skill that was not read stays available, and the files aSKILL.mdreferences load on demand. All 21 agents and 15 compact variants share one instruction, and the non-Claude converters no longer strip an AGENTS.md sentence, which left an empty numbered item on Codex, Copilot, Antigravity, Kimi, OpenCode and Kilo. The execute, plan and quick spawn prompts still ask for every SKILL.md; that part is tracked in #5248. (#4649) (#6717) roadmap upgrade --convention bracketnow rewrites phase labels inSTATE.mdandPROJECT.md— after a bracket migration those two files no longer sayPhase 3:for a phase directory that was renamed; each unambiguous label becomes the canonical[GSD.02] 01:display. A label whose number exists in more than one milestone is left as written and listed undercrossRefSkippedin the dry-run plan. (#4751) (#6702)- Worktree and base-branch verbs take the resolved project context and run git in the worktree you are in —
worktree create,cleanup-wave,reap-orphans,record-agent,worker-record|status|complete,base-check,set-base-ref,git base-branchandcheck verify-codebase-driftnow read their git root from the same resolved context as every other verb instead of re-deriving a directory string, so started from a subdirectory of a project they act on the project's worktree root and.planningfiles (previously the subdirectory itself), and a caller that passes a plain path instead of a context fails with an error naming the verb. (#6878) (#6891) - Spawned executor, planner and phase researcher read project skills by description — the project-skills line in the execute-phase, plan-phase and quick spawn prompts and the research plan-pre fragment now asks for each SKILL.md's frontmatter first and the full file only when its description fits, matching the shared discovery reference instead of contradicting it. (#5248) (#6720)
- Serply is now an opt-in web-discovery research provider. Set
SERPLY_API_KEYor create~/.gsd/serply_api_key, register the Serply MCP server asserply, and the researcher agents reach it throughmcp__serply__google_search, after Brave and before the built-inwebsearchfallback.serply_searchoverrides the auto-detection like the other provider flags. Projects without a Serply key see no change. (#4942) (#6672) - A fifth configuration-precedence copy now fails lint —
local/no-adhoc-config-mergeflags reading a config layer file by a hand-built path, spread-merging parsed configs, and walking layers by hand, with an empty exemption list. Every layer file location now comes from one owner module per execution context (the loader and planning workspace, and a hook-side mirror). (#6555) (#6555) - The state, phase and milestone write verbs take the resolved project context — the
stateverbs, thephaseverbs (add,add-batch,insert,remove,complete,next-decimal,list-plans,uat-passed,mvp-mode,tdd-applicable),requirements mark-complete|ready-ids|revert-phase,milestone completeandmilestone quick-archivenow read the root they write under from the same resolved context as every other verb instead of re-deriving a directory string, so a caller that passes a plain path instead of a context fails with an error naming the verb; CLI behavior is unchanged. (#6896) (#6901) - Agents list project skills through
skill-manifestinstead of reading skill files — the 21 agents that discover.claude/skills/or.agents/skills/now rungsd_run skill-manifest --skills-dir <dir>for each directory that exists and open aSKILL.mdbody only when its description fits the task or is empty, so the size of the listing no longer depends on how long the skill bodies are; the frontmatter-only read stays as the fallback when the command fails.skill-manifestnow lists a skill that is installed through a directory symlink, which it used to skip without a message, anddocs/CLI-TOOLS.mddocuments its real flags (--write,--skills-dir) instead of a--outputflag that does not exist. (#6719) (#6721) model_overrides.<agent>accepts a runtime-keyed object — one committed.planning/config.jsoncan now pin{ "claude": "opus", "codex": "gpt-6-astra" }for an agent and each host resolves its own entry, instead of a Codex id reaching Claude Code and failing at spawn. A runtime with no key falls through to tier resolution, an object value no longer prints as[object Object], and the install-time baking for Codex, OpenCode and Kilo and the orchestrator-worktree pin select by the runtime being installed or dispatched to. String entries are unchanged; the one adjacent fix is that an agent named like anObject.prototypemember (toString) no longer resolves an inherited function at install time. (#4669) (#6680)
Fixed
docs/ARCHITECTURE.mdno longer repeats the package legitimacy gate's threat model, provenance, coverage and degradation text — the section keeps the layer table and the supply-chain threat-model row and links to the security model, which already explains the rest. (#6853) (#6875)docs/ARCHITECTURE.mdno longer carries the install-layout and runtime-contract tables inside its explanation — the installed file layout, the per-runtime install contract matrix and its upstream sources moved todocs/reference/runtime-install-contracts.md, and the.planning/trees moved intodocs/reference/planning-artifacts.md, which also gained the directories the architecture page documented and corrected the codebase-map file names; the architecture page keeps the design narrative and links to both. (#6794) (#6799)- The autonomous-mode design discussion moved from the FEATURES catalog to an explanation page —
docs/explanation/autonomous-decision-classification.mdcarries why most discuss questions stop being prompts, why the tie-breaks lean toward asking, and why there is no confirmation gate; theautonomous-modefragment keeps the requirement contract and links, anddocs/FEATURES.mdwas regenerated. (#6807) (#6809) - A "Depends on" line that starts with Nothing/None no longer blocks the phase with the phases it names in passing —
init managermined the whole field forPhase Nreferences, soNothing (independent of Phases 1 and 3)reported the phase as blocked by phases 1 and 3; a leadingNothing/Nonenow resolves to no dependencies under both the numeric and bracket conventions, and the roadmapper, add-phase and edit-phase guidance states the machine-read rule where the line is written. (#6507) (#6703) - The roadmap agent can now edit roadmap files in place where its own directives say "Edit" — gsd-roadmapper instructed "(Edit, not rewrite from scratch)" while its tools list withheld Edit, so the directive was unexecutable and whole files got rewritten; both the canonical and compact roadmapper now carry the Edit grant and the Pi mirror is regenerated. (#6508) (#6707)
- The Bash secret-read and debugger-spawn guard now reads the command inside an
env -Sstring —env -S 'cat .env'andenv -S 'claude --agent gsd-debugger'were allowed, because the string was skipped as the option's value; they are now denied however GNU, macOS/FreeBSD or uutils env splits the string, including with an unset${NAME}in it, and a string nested more than three levels deep is denied assplit-string-too-deep. A shell reserved word in front ofenv -Sstill hides the string from the guard (if true; then env -S 'cat .env'; fi,! env -S 'cat .env'; #6138). (#5514) (#5649) - The CLI reference now documents the drift-guard, workstream, UAT, todo and stats verbs —
docs/CLI-TOOLS.mdomitteddrift-guard authority|severity|phase-status,workstream status|complete,uat render-checkpoint|complete-session,todo match-phaseandstats json, so their arguments, verdict tables, scoring rules and output fields could only be found in source. (#6731) (#6732) docs/CONFIGURATION.mdno longer carries a second copy of the commit-docs pre-commit guard walkthrough — the section keeps what the guard blocks and the two commands, and links to the keep-planning-docs-private how-to, which already documents the three refusals, the marker line and the linked-worktree case. (#6849) (#6875)docs/CONFIGURATION.mdno longer carries mechanism narrative between its key tables — the dual-injection seams, the decision-gate behavior and the capability-overlay composition moved todocs/explanation/agent-skills-dual-injection.md,docs/explanation/decision-coverage-gates.mdand the existing overlay-model page, each replaced by a link. (#6800) (#6801)- The context-monitor page no longer mixes the steps for moving the warning thresholds into its explanation — the fire-point steps now live in
docs/how-to/tune-the-context-monitor.md, anddocs/context-monitor.mdkeeps why the defaults exist and how an unusable value degrades. (#6790) (#6791) - The cross-AI review design arguments moved from
docs/FEATURES.mdinto an explanation page —docs/explanation/cross-ai-review-decisions.mdholds the refuse-instead-of-trim and record-the-model reasons unchanged, and feature 42 keeps its behavior and a link. (#6861) (#6875) - The MemPalace curator agent can now actually call its MemPalace MCP tools — its instructions told it to use the
mempalace_*MCP tools but itstools:allowlist never granted them, so on tool-allowlist runtimes every instructed MCP call was silently unexecutable (the capability'sonError: skiphid the gap); the shipped agent now carriesmcp__mempalace__*in both variants, a static check pins that any agent namingmempalace_*calls grants the MemPalace server, and the settled server name is documented. (#6455) (#6676) - The custom phase ID rules moved from
docs/CONFIGURATION.mdinto a reference page —docs/reference/custom-phase-ids.mdholds the accepted and refused IDs, the.phase-idmarker and the markerless-directory resolution unchanged, and the configuration section keeps the key, the example and a link. (#6851) (#6875) - Documentation pages now follow the Diátaxis compass —
FEATURES.md,USER-GUIDE.md,CONFIGURATION.md,ARCHITECTURE.mdandTESTING-SUITES.mdcarried explanation and procedure inside orientation and reference text, so a reader looking up a fact met an argument and a reader looking for the argument found it in a table row. The reasoning moved to new explanation pages, the procedures to how-to pages and the long option prose to reference pages, each linked from where it was. (#6774) (#6882) - Config commands refuse unsupported preview flags — config-ensure-section, config-set-model-profile, and migrate-config now reject --dry-run, --pick, --default, --json, --force, --workstream (
--wsremains supported), repeated --cwd / --project-dir, other unknown flags, and extra positional arguments with a usage error before creating or rewriting config.json; supported --raw and ordinary mutations retain their behavior. (#5403) - The effort and fast_mode test strategy moved from
docs/TESTING-SUITES.mdinto an explanation page —docs/explanation/effort-fast-mode-test-strategy.mdholds the pyramid, the eight invariants, the coverage targets and the known gaps unchanged, and the testing page keeps a heading and a link. (#6869) (#6875) docs/reference/environment-variables.mdnow lists the environment variables GSD reads and the state files it writes — config-directory overrides for all 18 runtimes, theGSD_*switches of the installer,gsd-tools, hooks and Pi, the session identifiers behind the workstream pointer, and the format of.gsd-profile,gsd-file-manifest.json,gsd-install-state.json,.gsd-surface.jsonanddefaults.json; the page is linked from the docs index. (#6773) (#6779)- The agent tool-permissions matrix now matches the agents' frontmatter —
docs/reference/agents.mdshowed no Edit fordoc-writer,phase-researcher,plannerandui-researcher, no MCP access forexecutor, Write and Edit for the read-onlysecurity-auditor, and had no row fordom-verifier. (#6737) (#6738) docs/issue-driven-orchestration.mdnow explains the issue-driven loop instead of repeating its steps — the page mixed a numbered procedure (already indocs/how-to/drive-gsd-from-a-tracker-issue.md) with the rationale, so the steps lived in two places; it is now the explanation the how-to links to, and the docs index and user guide point readers to the how-to for the steps. (#6788) (#6789)- The code-review pipeline's design discussion moved from the generated feature catalog to an explanation page —
docs/explanation/review-pipeline-design.mdnow carries why depth escalation is whole-review, why matching takes directory prefixes only, why the ledger replaces an undecided row silently, the carried-marker exception and why the disposition record is a sibling file; thecode-review-pipelinefragment keeps the facts and links, anddocs/FEATURES.mdwas regenerated. (#6805) (#6806) - The installer now has a flag reference, and
--no-legacy-cleanup,--dry-run,--both,--devin-desktopand nine runtime flags are documented — flags were scattered across three guides,--no-legacy-cleanupappeared in none, and the runtime table indocs/manual-update.mdlisted 9 of the installer's 18 runtime flags.docs/reference/installer-flags.mdlists every option, alias and exit status, including that--geminiis retired and exits 1. (#6739) (#6740) - 22
gsd-toolsverbs, six sets of flags and four config keys that the reference pages left out are now documented —docs/CLI-TOOLS.mdgains the dispatch, isolation, execution, prompt-budget, review-lane, loop-hook, assumption-delta, commit-guard, workstream and helper verbs with every flag, anddocs/CONFIGURATION.mdgains table rows foragent_tools,commit_docs,resolve_model_idsandship.pr_body_sections. (#6781) (#6782) - The procedure for a
no-controlreport fromlint:ciis now a how-to —docs/how-to/add-a-gate-positive-control.mdholds the four steps, titled by the goal, anddocs/TESTING-SUITES.mdkeeps the ratchet reference and links to it. (#6865) (#6875) - The install how-to now covers Hermes Agent —
docs/how-to/install-on-your-runtime.mdhad a section for every runtime flag except--hermes, anddocs/README.mdcounted 16 runtimes where the installer has 18. (#6765) (#6766) - The hook safety properties in
docs/ARCHITECTURE.mdnow match the hook sources — the stdin timeout is 3 s, 5 s, 8 s or 10 s depending on the hook rather than 3 s for all, enforcement hooks take a declared crash policy instead of always exiting silently, and the hooks table states thehooks.communityopt-in and the injection scanner's WebFetch and WebSearch scope. (#6755) (#6756) - Docs no longer point at files that do not exist — the
docs/TESTING-SUITES.mdexamples, thedocs/INVENTORY.mdroster-lock test, thedocs/json-errors.mderror-code module (src/io.cts, notcore.cjs), twogsd-core/src/source paths and one model-catalog path now name real files. (#6761) (#6762) - plan-phase's stall watch now waits for the planner and plan-checker to actually return — it no longer reports them finished at its first check because their own prompt or definition mentions the return markers, and a finished plan revision now continues instead of always ending in the stall menu. Each watched spawn writes its complete return (marker line first) to a per-dispatch return receipt under the phase's gitignored
.gsd-returns/, renamed into place so it is never half-written, and plan-phase routes on that file without waiting for the host's completion result; the plan-checker writes its receipt through its shell and keeps its read-only tool set, so no host's tool grants change. No receipt is created unless the phase directory and the project root are absolute paths in the form plan-phase's init emits (no empty,.or..component, no trailing separator (a project root at the filesystem root aside), no quote,$, backtick,<,>or ASCII control character, and no backslash in the phase directory), and none for a symlink, dangling or not, at the phase directory or at any path component from the phase directory up to and including its nearest existing ancestor (a link above that ancestor is accepted only when the resolved path stays under the project root and outside.git); one that resolves outside the project root plan-phase resolved (for example through a symlinked parent), or a project root or ancestor that does not resolve; the project root itself; anything inside.gitbelow the project root, in any letter case and under the names Windows reads as.git(a trailing dot or space,GIT~1); or a.gsd-returnsdirectory or its.gitignorethat is a symlink, resolves elsewhere, is not a regular file or not exactly the*line plan-phase writes, or cannot be created, read or written. A one-line stderr reason names the refusal, and the watch then ends on the agent's own completion result or as stalled. Where a sandbox refuses the checker's shell write (Codexread-only), the checker's watch ends the same way. (#5182) (#6661) - A symlinked Codex
config.tomlkeeps its link when GSD content is stripped from it — uninstall, and an install whose profile registers no Codex agent roles, deleted a GSD-onlyconfig.toml, which removed the dotfiles link and left the GSD block in the file it pointed at. WithGSD_ALLOW_SYMLINKED_DEST=1the link now stays and its target is emptied, and a later uninstall leaves an emptied target alone. Without the opt-in both refuse a symlinkedconfig.tomlthey would write, and they refuse before changing anything else, so a refused run leaves the install as it was. With the opt-in, uninstall also refuses up front a link whose target file is read-only, instead of failing after removing GSD's files. (#5716) (#5959) - A TDD-mode phase blocked at the end-of-phase review can now be released by a recorded, attributed acceptance — the "Phase blocked" message named
--force-mvp-gate, but no parser accepted it and the review gate had no acceptance input, so a phase whose violations were all accepted deviations could never reachphase.complete;--force-mvp-gate "<reason>"now records one attributed deviation per violating plan in the phase'sTDD-DEVIATIONS.md(reason, author, timestamp — the same shape as verification overrides), the gate releases recorded acceptances while keeping the FAIL rows visible, and an unreadable record fails closed. (#6451) (#6673) - Seven documentation links that resolved to nothing now resolve —
docs/FEATURES.mdlinked a sibling fragment file,docs/docs/CONFIGURATION.md, and fourgsd-core/references/files with the wrong number of../, anddocs/USER-GUIDE.mdlinked../explanation/security-model.md; the fragments underdocs/features/are corrected andFEATURES.mdregenerated. (#6741) (#6742) uat render-checkpointaccepts a UAT file under a symlinked planning store — with.planningsymlinked into a separate repository (the layoutgsd-planning-out-of-repo.mdprescribes) the command refused the file with "Path escapes allowed directory"; planning artifacts are now contained against the planning store while every other path keeps the project-root check. (#6820) (#6824)- The install how-tos and the two tutorials now state the Node.js floor the package enforces — they said 18 or 22;
engines.nodeis>=24.0.0. (#6775) (#6780) - The Nyquist validation layer and
/gsd-validate-phasenow have an explanation page instead of living as two subsections ofdocs/USER-GUIDE.md—docs/explanation/nyquist-validation.mdholds both explanations unchanged, and the user guide keeps a paragraph and a link for each. (#6847) (#6848) docs/CONFIGURATION.mdnow lists thehooks.communitykey — the key that switches on the session-state, commit-validation and phase-boundary hooks had no row in the hooks table. (#6757) (#6758)- The merge-queue
Testsrun no longer fails on a stalledbashstart in the #3829 padding tests — they spawned about 80bashprocesses, so one stalled start on a loaded macOS runner spent the whole 15 s probe bound; they now run each fence's derivation for every id inside onebash, so a stall has two chances to land instead of about 80. (#6784) (#6786) docs/CONFIGURATION.mdno longer repeats the parallel reviewer lanes walkthrough — the section keeps thereview.parallel_lanesrow and the warning about unbounded concurrency, and links to the enable-parallel-reviewer-lanes how-to, which already carries the rationale, the steps and what the key does not change. (#6871) (#6875)- The backlog, seed and thread procedures now have a how-to instead of living as command listings in
docs/USER-GUIDE.md—docs/how-to/park-an-idea-for-later.mdchooses between the three tools and walks through parking, reviewing, promoting and closing; the user guide keeps a short orientation and links to it. (#6833) (#6875) - The hooks table in
docs/INVENTORY.mdnow states which hooks are opt-in —gsd-validate-commit.sh,gsd-phase-boundary.shandgsd-session-state.shdo nothing unlesshooks.communityistrue, the commit validator blocks with exit 2, and the injection scanner covers WebFetch and WebSearch results as well as Read. (#6753) (#6754) - The CLI reference now documents the knowledge store, research cache and resolver verbs —
docs/CLI-TOOLS.mdomittedlearnings list|query|copy|prune|delete,research-plan,research-store get|put,classify-confidence,resolve-package-manager,resolve-granularity,user-story.validateandproject-instruction-file, so their arguments, defaults, output fields and errors could only be found in source. (#6729) (#6730) - The design arguments for verify-command path grounding and the stated failing direction moved from
docs/FEATURES.mdinto an explanation page —docs/explanation/plan-verify-command-checks.mdholds both unchanged, and features 161 and 167 keep their behavior and a link. (#6859) (#6875) - The planner is now shown
verify.plan-structure's rules before it writes a plan — the validator flags quantitative-criteria shapes (R1-R6 and the B1/B2 baseline notation; R4 and the bare-git diffR6 shape as warnings) and refusesexecutor_runtime/agent_hintfrontmatter combinations that were documented nowhere the planner loads, so plans kept failing validation on rules the planner had never been told about; the planner-loaded guidance reference now names every rule id with its corrected form, theplan-criteria-allowexit and its required reason, and the frontmatter refusals, and the preconditions reference no longer reads as a complete description of the validator. (#6464) (#6678) - The schema arguments for
planning inspectand the.planning/state.jsoncontract moved fromdocs/FEATURES.mdinto an explanation page —docs/explanation/planning-surface-schemas.mdholds both unchanged, and features 163 and 166 keep their behavior and a link. (#6857) (#6875) - The quick-task archive's design arguments moved from
docs/FEATURES.mdinto an explanation page —docs/explanation/archive-quick-tasks.mdholds the three reasons (opt-in, one bucket, index built from disk) unchanged, and feature 160 keeps the behavior, the known limits and a link. (#6855) (#6875) - The command reference now lists
/gsd-inboxand every flag the commands accept, and no longer documents two flags that do not exist —docs/COMMANDS.mdomitted/gsd-inboxand the--chain,--text,--gaps-only,--interactive,--tdd,--skip-ui,--chunked,--force,--cycle-summaryand--wsflags the workflows parse, while/gsd-extract-learningslisted--alland--format, which its workflow never reads. (#6725) (#6726) worktree record-agent/worktree createnow reject comma-joined--files/--deletionslists instead of recording them as one bogus path —--files "a,b,c"was whitespace-split into the single patha,b,c, recorded ok:true, and silently matched nothing at cleanup-wave scope time; the verbs now fail closed with reasoncomma_joined_scopeand a hint naming the whitespace separator, writing nothing. (#6510) (#6705)- Settings string values containing
,}or,]are no longer silently corrupted on read — the JSONC trailing-comma cleanup ran after comment stripping, where a comma inside a string is indistinguishable from a structural trailing comma, so{"a":"x,}y"}parsed as{a:"x}y"}in the installer, the shared config reader, and JSONC config edits; the cleanup now happens inside the string-aware strip pass itself. (#5989) (#6667) - A surface-pruned install no longer reports the agents
/gsd:surfaceremoved as missing —validate health(W010) derived the expected agents from the.gsd-profilemarker alone, but/gsd:surfacere-stages agents from the surface-resolved skills and deletes the rest, so disabling a cluster or removing skills left W010 listing every pruned agent as missing; it now derives the expected set from.gsd-surface.jsonwhen one exists, and an unmodifiedfullsurface still expects every agent. (#6716) (#6716) - The host-integration how-to no longer cites a
/gsd-surface --materializeflag —/gsd-surfacehas no such flag, so the note now names theprofile,enable,disableandresetsubcommands that re-stage the surface. (#6759) (#6760) - The per-hook security rules moved from
docs/USER-GUIDE.mdinto a reference page —docs/reference/security-hooks.mdnow holds the prompt, workflow, write and secret-read guard specifications, bypasses and documented gaps unchanged, and the user guide keeps a four-line summary that links to it. (#6837) (#6875) audit-openno longer hides every open seed when one seed has a barestatus:ortitle:line, andlist-seedsreads CRLF seeds — a barestatus:made the whole seeds category collapse into one scan error and report zero seeds, a baretitle:put a raw object into the JSON, and a seed saved with CRLF line endings listed asdormantinlist-seedswhileaudit-openalready read its real status. (#4647) (#6675)quick-batch createrefuses a non-object--options— an array, string, number or boolean--optionsis now a usage error before anything is written, instead of creating a batch that every laterresume,updateorcompleterefused.--options nullstill stores{}. (#6655) (#6659)- Codex cleanup preserves user configuration — Uninstall and full-to-core profile changes keep MCP servers, plugins, project trust, marketplaces and user agent tuning added after the GSD marker while removing only managed content. Markerless cleanup now preserves trailing user comments, removes the legacy injected keys only inside
[features], and drops a managed table only when its body is empty, so a key after a blank line or a same-named key in another table survives; marker text that is not a standalone marker line no longer claims ownership of the file. Install and update likewise recognize only a standalone marker line and remove whitespace-padded ownership lines before regenerating the managed block. (#5395) - The procedure for a red workflow or agent size check is now a how-to —
docs/how-to/fix-a-workflow-or-agent-size-failure.mdholds the four steps, titled by the goal, anddocs/TESTING-SUITES.mdkeeps the guard description and reference table and links to it; the how-to also corrects two internal cross-references (the "entry below" and "step 3" that pointed at the wrong places). (#6863) (#6875) - Parsing a malformed PLAN.md no longer slows quadratically on unclosed
<tasktags or whitespace after<objective>—parsePlanDocumentre-scanned the rest of the document for every unclosed<taskopening and for the whitespace run after<objective>, so a file with 100,000 repetitions took 18 s to parse and grew quadratically; both scans are now single linear passes, and every input returns exactly the same result as before. (#6420) (#6669) - Settings files with an unterminated block comment are now rejected instead of silently truncated — the installer, the shared config reader, and JSONC config edits walked past the end of the file looking for a block comment's closing
*/without verifying one existed, so a settings.json truncated mid-comment parsed as valid and everything after the dangling/*was dropped. (#5990) (#6668) - The CLI reference now documents the commit-selection, sub-repo and reviewer-flag verbs —
docs/CLI-TOOLS.mdomittedselect-revert-commits,commit-to-subrepo,pr-subrepo,quick-tasks-migrateandreview-lane explicit-from-argv, so their flags, scope-matching rules, outputs and failure modes could only be found in source. (#6733) (#6734) - A correct core or standard install no longer reports degraded health, and the
intelcapability now claimsgsd-intel-updater—validate health(W010) expected every catalog agent even when the install profile deliberately stages only the agents its skills spawn, so an untouched tiered install listed the omitted agents as missing; it now expects only the agents the.gsd-profilemarker stages, a full install still reports a genuinely missing agent, and the agent theinteldescription names is now listed in that capability'sagentsarray so the registry matches. (#6714) (#6714) docs/reference/templates.mdnow documents every shipped template — each file undergsd-core/templates/is listed with the artifact it produces and what references it, together with howtemplate selectpicks a summary size and whattemplate fillwrites; the page is linked from the docs index. (#6772) (#6778)/gsd-resume-workclaims a role handoff exclusively on Windows — two sessions resuming the same role could both claim it, because two renames of one file can both succeed there, and one session then failed reading a file the other had moved; the claim now first creates an exclusive marker.planning/.handoff-claim.<role_id>, so exactly one session wins on every platform, and a marker left by a crash is swept after a day. (#6820) (#6824)- The configuration reference now lists
workflow.specless_probe_fallbackandhooks.commit_types, and says whichparallelizationkeysconfig-setaccepts —docs/CONFIGURATION.mdhad no row for either key, and its parallelization table did not say thatconfig-set parallelization.max_concurrent_agentsis refused (only the flatparallelizationshorthand is settable; sub-keys are set by editing.planning/config.json). (#6735) (#6736) - The plan-time API-coverage checkpoint detects external-API integrations on global installs again — the plan:pre detector call was cwd-relative (
node gsd-core/bin/lib/api-coverage.cjs), so in a project without a localgsd-core/folder node failed, the error was swallowed, and the checkpoint silently skipped itself asprobe_unavailable; the snippet now resolves the shippedlib/api-coverage.cjsthrough thegsd_runlauncher's own lookup (PATH-resolved, symlinks followed,$GSD_TOOLSas the same-shell shortcut) and prints a visible error naming the path when no install is reachable, instead of a silent skip. (#6503) (#6704) - The timing-table regeneration procedure is now a how-to —
docs/how-to/regenerate-the-timing-table.mdholds the command and the reasoning for taking the max across lanes, anddocs/TESTING-SUITES.mdlinks to it the way it already does for the win32 table. (#6867) (#6875) docs/CONFIGURATION.mdnow says 36 shipped agents have tier assignments — the note said 33; the model catalog andagents/both hold 36. (#6763) (#6764)- The installer flag reference no longer says
--helplists the retired--gemini—docs/reference/installer-flags.mdnow states that--helpomits it, matching the output after #6743. (#6751) (#6752) - Counts and installer sample output in the tutorials and two how-tos now match the repository — the first-project and onboarding tutorials showed 71 and 86 installed items and a final line the installer does not print, the model-profile how-to said 33 agents (there are 36), and the unreachable-workflow how-to called 19 install-tree fixtures 19 runtimes (18 runtimes plus the Claude local install). (#6769) (#6770)
docs/CONFIGURATION.mdno longer explains the trusted-roots mechanism inside its key reference — thePurposeandHow It Workssubsections ofagent_skills_security.trusted_global_rootsmoved to a new section ofdocs/explanation/agent-skills-dual-injection.md, and the reference keeps the key, its default, the accepted forms, the example and the CLI line. (#6825) (#6826)- The artifact registry now names the commands that write
NN-UAT.md,NN-VALIDATION.mdandCLAUDE.md—gsd-core/templates/README.mdcredited/gsd:validate-phasewith the UAT file (it writesNN-VALIDATION.md), omitted/gsd:execute-phaseas a writer ofNN-UAT.mdand/gsd:plan-phaseas a writer ofNN-VALIDATION.md, and pointed at/gsd-profile, which is not a command. (#6787) (#6793) - The graphify and intel capability-gate rule now sits in their
graphify.enabledandintel.enabledconfiguration rows, anddocs/USER-GUIDE.mdlinks to it instead of carrying a second copy — the installed, surfaced and config-enabled conditions and the{ disabled: true }troubleshooting step are stated where a reader looks up the key, and the compact-content subsection shrinks to a summary linking the configuration row and ADR-4139. (#6841) (#6875) docs/USER-GUIDE.mdno longer repeats the/gsd-code-reviewflag listing and the external reviewer-lane paragraph — the chapter keeps the phase sequence and links to the command reference and the cross-AI review how-to, which already carry the flags and the lanes. (#6843) (#6875)docs/USER-GUIDE.mdno longer repeats themodels,model_overridesanddynamic_routingwalk-throughs and the MCP audit in its troubleshooting chapter — the cost entry keeps the budget-profile answer and the MCP settings example and links to the model-profiles how-to, the configuration reference and the context-budget reference, which already carry the rest. (#6829) (#6875)docs/USER-GUIDE.mdno longer re-explains the plan drift guard in its usage examples — the entry keeps the two/gsd-settingscommands and a one-paragraph summary, and links to theplan_review.*configuration rows and ADR 22, which already state what the guard checks and why. (#6835) (#6875)docs/USER-GUIDE.mdno longer restates the assumptions-mode and decision-coverage-gate details that other pages own — the two subsections keep a one-paragraph orientation and the toggle, and link to the discuss-a-phase how-to, the decision-coverage-gates explanation and theworkflow.context_coverage_gateconfiguration row. (#6839) (#6840)docs/USER-GUIDE.mdno longer retells the reasoning for headings over drawn borders — the subsection keeps what a reader needs (the wrapping failure, the unchanged tokens, how to report a host where the heading form reads worse) and links togsd-core/references/ui-brand.md, which already states the convention and why it is unconditional. (#6845) (#6846)docs/USER-GUIDE.mdno longer retells the package legitimacy gate's threat and pipeline stages — the section keeps its anchor, theRESEARCH.mdaudit-table example and the verdict table, and links to the security model, which already explains the threat, the three stages, the ecosystem coverage and the degraded-registry behavior. (#6831) (#6832)docs/USER-GUIDE.mdno longer restates the install steps and the project file tree it used to carry inline — the per-runtime and prerelease install subsections collapse to a link to the install how-to, the manual no-Node.js section keeps a stub pointing at the same page (its anchor stays live for the translated pages), and the.planning/tree moved intodocs/reference/planning-artifacts.md, which gained thereports/, spike and sketch layout the user guide documented. (#6802) (#6803)docs/USER-GUIDE.mdno longer restates the OpenCode, Codex and Qwen install detail that other pages own — the non-Claude runtime section keeps the model-assignment example and links to the install how-to, the OpenCode 1.x to 2.x how-to and the architecture section; the Codex flex-tier scheduling note moved into the install how-to, and the OpenCode agent-isolation and LSP gaps into the upgrade how-to's comparison table. (#6827) (#6875)- The docs index now links every English page — 29 pages (a tutorial, eleven how-to guides, nine reference pages, four explanation pages and four related pages) were reachable only by guessing the file name;
docs/README.mdlists each under the quadrant its content serves. (#6767) (#6768) - Installer
--helpnow lists the flags the installer accepts — it advertised the retired--geminiand omitted--dry-run,--both,--devin-desktopand--skills-root. (#6743) (#6750)
Full Changelog: v1.23.0...v1.24.0