Skip to content

v1.24.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 19:28
· 2 commits to next since this release

Install

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

What's Changed

Added

  • Opt-in advisor pre-filter before review gates — with workflow.advisor_prefilter on, 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-health warns about project skills that defeat the scoped discovery read (W033) — a skill in .claude/skills/ or .agents/skills/ with no frontmatter description is read in full on every agent spawn, and a SKILL.md over 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-tools verb, config key, agent, hook, template and installer flag with where it is documented and which options are not — docs/reference/coverage-matrix.md is produced by scripts/gen-coverage-matrix.cjs from each surface's own source, and npm run lint:generated-sync fails 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>" sets status: closed and records what the seed became as outcome_kind, outcome_ref and outcome, and list-seeds returns those fields. /gsd-new-milestone now offers only dormant, active and triggered seeds, 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=deny in 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 as guard-error, with a cause field naming which (hook-error, reading-failed or stdin-stall), instead of allowed, so a host that registers the guard with onFailure: "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 sessions and state record-session --session track 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 --session or a runtime key (never a terminal), a role survives /clear, and record-session without --session is unchanged. (#6796) (#6815)
  • /gsd-pause-work and /gsd-resume-work now pause and resume per session — pausing with --role <text> writes HANDOFF.latest.<role_id>.json and .continue-here.latest.<role_id>.md, and a session without a role writes its own HANDOFF.<session_id>.json; nothing is written to paused_at or status: 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-next routes to resume only for the session's own handoff, and a legacy HANDOFF.json stays readable. (#6798) (#6823)
  • The statusline and /gsd-next follow per-session pause — the statusline shows paused when your own session holds a handoff and ⏸N for handoffs other sessions hold, and /gsd-next routes 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: tdd plan can run its RED gate on a different model than GREEN and REFACTOR — set model_overrides keys gsd-executor:tdd-red and gsd-executor:tdd-green-refactor (or the same keys for a specialist executor) and execute-phase dispatches 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-guard and stats now read their git root from the same resolved context as every other verb instead of re-deriving a directory string, so uat complete-session run from a linked worktree no longer commits its UAT file into the main checkout (it reports committed: false with the refusal reason, exit 0, since the UAT file itself is written), stats counts 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 clear and graphify status now 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 commits and stamp-codebase-map check, replay and stamp against the HEAD of the worktree they run in (previously the checkout the dispatcher remapped to), while the init, phases clear, validate health and graphify status verbs 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-sync now fails the build when any documented surface has a documentation gap, not only when the generated page is stale — the coverage matrix's --strict check 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 installed gsd-core/commands|agents copies named the Claude-only .claude/skills/ project-skills path, a launcher error hint of --claude --local and ~/.claude includes, 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 each SKILL.md name and description and open the whole file when the description fits the task (or is missing), instead of reading every full SKILL.md on every spawn. A skill that was not read stays available, and the files a SKILL.md references 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 bracket now rewrites phase labels in STATE.md and PROJECT.md — after a bracket migration those two files no longer say Phase 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 under crossRefSkipped in 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-branch and check verify-codebase-drift now 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 .planning files (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_KEY or create ~/.gsd/serply_api_key, register the Serply MCP server as serply, and the researcher agents reach it through mcp__serply__google_search, after Brave and before the built-in websearch fallback. serply_search overrides 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-merge flags 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 state verbs, the phase verbs (add, add-batch, insert, remove, complete, next-decimal, list-plans, uat-passed, mvp-mode, tdd-applicable), requirements mark-complete|ready-ids|revert-phase, milestone complete and milestone quick-archive now 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-manifest instead of reading skill files — the 21 agents that discover .claude/skills/ or .agents/skills/ now run gsd_run skill-manifest --skills-dir <dir> for each directory that exists and open a SKILL.md body 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-manifest now lists a skill that is installed through a directory symlink, which it used to skip without a message, and docs/CLI-TOOLS.md documents its real flags (--write, --skills-dir) instead of a --output flag that does not exist. (#6719) (#6721)
  • model_overrides.<agent> accepts a runtime-keyed object — one committed .planning/config.json can 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 an Object.prototype member (toString) no longer resolves an inherited function at install time. (#4669) (#6680)

Fixed

  • docs/ARCHITECTURE.md no 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.md no 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 to docs/reference/runtime-install-contracts.md, and the .planning/ trees moved into docs/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.md carries why most discuss questions stop being prompts, why the tie-breaks lean toward asking, and why there is no confirmation gate; the autonomous-mode fragment keeps the requirement contract and links, and docs/FEATURES.md was 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 manager mined the whole field for Phase N references, so Nothing (independent of Phases 1 and 3) reported the phase as blocked by phases 1 and 3; a leading Nothing/None now 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 -S string — env -S 'cat .env' and env -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 as split-string-too-deep. A shell reserved word in front of env -S still 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.md omitted drift-guard authority|severity|phase-status, workstream status|complete, uat render-checkpoint|complete-session, todo match-phase and stats json, so their arguments, verdict tables, scoring rules and output fields could only be found in source. (#6731) (#6732)
  • docs/CONFIGURATION.md no 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.md no longer carries mechanism narrative between its key tables — the dual-injection seams, the decision-gate behavior and the capability-overlay composition moved to docs/explanation/agent-skills-dual-injection.md, docs/explanation/decision-coverage-gates.md and 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, and docs/context-monitor.md keeps why the defaults exist and how an unusable value degrades. (#6790) (#6791)
  • The cross-AI review design arguments moved from docs/FEATURES.md into an explanation page — docs/explanation/cross-ai-review-decisions.md holds 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 its tools: allowlist never granted them, so on tool-allowlist runtimes every instructed MCP call was silently unexecutable (the capability's onError: skip hid the gap); the shipped agent now carries mcp__mempalace__* in both variants, a static check pins that any agent naming mempalace_* calls grants the MemPalace server, and the settled server name is documented. (#6455) (#6676)
  • The custom phase ID rules moved from docs/CONFIGURATION.md into a reference page — docs/reference/custom-phase-ids.md holds the accepted and refused IDs, the .phase-id marker 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.md and TESTING-SUITES.md carried 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 (--ws remains 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.md into an explanation page — docs/explanation/effort-fast-mode-test-strategy.md holds 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.md now lists the environment variables GSD reads and the state files it writes — config-directory overrides for all 18 runtimes, the GSD_* 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.json and defaults.json; the page is linked from the docs index. (#6773) (#6779)
  • The agent tool-permissions matrix now matches the agents' frontmatter — docs/reference/agents.md showed no Edit for doc-writer, phase-researcher, planner and ui-researcher, no MCP access for executor, Write and Edit for the read-only security-auditor, and had no row for dom-verifier. (#6737) (#6738)
  • docs/issue-driven-orchestration.md now explains the issue-driven loop instead of repeating its steps — the page mixed a numbered procedure (already in docs/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.md now 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; the code-review-pipeline fragment keeps the facts and links, and docs/FEATURES.md was regenerated. (#6805) (#6806)
  • The installer now has a flag reference, and --no-legacy-cleanup, --dry-run, --both, --devin-desktop and nine runtime flags are documented — flags were scattered across three guides, --no-legacy-cleanup appeared in none, and the runtime table in docs/manual-update.md listed 9 of the installer's 18 runtime flags. docs/reference/installer-flags.md lists every option, alias and exit status, including that --gemini is retired and exits 1. (#6739) (#6740)
  • 22 gsd-tools verbs, six sets of flags and four config keys that the reference pages left out are now documented — docs/CLI-TOOLS.md gains the dispatch, isolation, execution, prompt-budget, review-lane, loop-hook, assumption-delta, commit-guard, workstream and helper verbs with every flag, and docs/CONFIGURATION.md gains table rows for agent_tools, commit_docs, resolve_model_ids and ship.pr_body_sections. (#6781) (#6782)
  • The procedure for a no-control report from lint:ci is now a how-to — docs/how-to/add-a-gate-positive-control.md holds the four steps, titled by the goal, and docs/TESTING-SUITES.md keeps the ratchet reference and links to it. (#6865) (#6875)
  • The install how-to now covers Hermes Agent — docs/how-to/install-on-your-runtime.md had a section for every runtime flag except --hermes, and docs/README.md counted 16 runtimes where the installer has 18. (#6765) (#6766)
  • The hook safety properties in docs/ARCHITECTURE.md now 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 the hooks.community opt-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.md examples, the docs/INVENTORY.md roster-lock test, the docs/json-errors.md error-code module (src/io.cts, not core.cjs), two gsd-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 .git below 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-returns directory or its .gitignore that 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 (Codex read-only), the checker's watch ends the same way. (#5182) (#6661)
  • A symlinked Codex config.toml keeps its link when GSD content is stripped from it — uninstall, and an install whose profile registers no Codex agent roles, deleted a GSD-only config.toml, which removed the dotfiles link and left the GSD block in the file it pointed at. With GSD_ALLOW_SYMLINKED_DEST=1 the link now stays and its target is emptied, and a later uninstall leaves an emptied target alone. Without the opt-in both refuse a symlinked config.toml they 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 reach phase.complete; --force-mvp-gate "<reason>" now records one attributed deviation per violating plan in the phase's TDD-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.md linked a sibling fragment file, docs/docs/CONFIGURATION.md, and four gsd-core/references/ files with the wrong number of ../, and docs/USER-GUIDE.md linked ../explanation/security-model.md; the fragments under docs/features/ are corrected and FEATURES.md regenerated. (#6741) (#6742)
  • uat render-checkpoint accepts a UAT file under a symlinked planning store — with .planning symlinked into a separate repository (the layout gsd-planning-out-of-repo.md prescribes) 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.node is >=24.0.0. (#6775) (#6780)
  • The Nyquist validation layer and /gsd-validate-phase now have an explanation page instead of living as two subsections of docs/USER-GUIDE.md — docs/explanation/nyquist-validation.md holds both explanations unchanged, and the user guide keeps a paragraph and a link for each. (#6847) (#6848)
  • docs/CONFIGURATION.md now lists the hooks.community key — 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 Tests run no longer fails on a stalled bash start in the #3829 padding tests — they spawned about 80 bash processes, 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 one bash, so a stall has two chances to land instead of about 80. (#6784) (#6786)
  • docs/CONFIGURATION.md no longer repeats the parallel reviewer lanes walkthrough — the section keeps the review.parallel_lanes row 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.md chooses 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.md now states which hooks are opt-in — gsd-validate-commit.sh, gsd-phase-boundary.sh and gsd-session-state.sh do nothing unless hooks.community is true, 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.md omitted learnings list|query|copy|prune|delete, research-plan, research-store get|put, classify-confidence, resolve-package-manager, resolve-granularity, user-story.validate and project-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.md into an explanation page — docs/explanation/plan-verify-command-checks.md holds 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 diff R6 shape as warnings) and refuses executor_runtime/agent_hint frontmatter 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, the plan-criteria-allow exit 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 inspect and the .planning/state.json contract moved from docs/FEATURES.md into an explanation page — docs/explanation/planning-surface-schemas.md holds 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.md into an explanation page — docs/explanation/archive-quick-tasks.md holds 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-inbox and every flag the commands accept, and no longer documents two flags that do not exist — docs/COMMANDS.md omitted /gsd-inbox and the --chain, --text, --gaps-only, --interactive, --tdd, --skip-ui, --chunked, --force, --cycle-summary and --ws flags the workflows parse, while /gsd-extract-learnings listed --all and --format, which its workflow never reads. (#6725) (#6726)
  • worktree record-agent/worktree create now reject comma-joined --files/--deletions lists instead of recording them as one bogus path — --files "a,b,c" was whitespace-split into the single path a,b,c, recorded ok:true, and silently matched nothing at cleanup-wave scope time; the verbs now fail closed with reason comma_joined_scope and 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:surface removed as missing — validate health (W010) derived the expected agents from the .gsd-profile marker alone, but /gsd:surface re-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.json when one exists, and an unmodified full surface still expects every agent. (#6716) (#6716)
  • The host-integration how-to no longer cites a /gsd-surface --materialize flag — /gsd-surface has no such flag, so the note now names the profile, enable, disable and reset subcommands that re-stage the surface. (#6759) (#6760)
  • The per-hook security rules moved from docs/USER-GUIDE.md into a reference page — docs/reference/security-hooks.md now 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-open no longer hides every open seed when one seed has a bare status: or title: line, and list-seeds reads CRLF seeds — a bare status: made the whole seeds category collapse into one scan error and report zero seeds, a bare title: put a raw object into the JSON, and a seed saved with CRLF line endings listed as dormant in list-seeds while audit-open already read its real status. (#4647) (#6675)
  • quick-batch create refuses a non-object --options — an array, string, number or boolean --options is now a usage error before anything is written, instead of creating a batch that every later resume, update or complete refused. --options null still 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.md holds the four steps, titled by the goal, and docs/TESTING-SUITES.md keeps 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 <task tags or whitespace after <objective> — parsePlanDocument re-scanned the rest of the document for every unclosed <task opening 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.md omitted select-revert-commits, commit-to-subrepo, pr-subrepo, quick-tasks-migrate and review-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 intel capability now claims gsd-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-profile marker stages, a full install still reports a genuinely missing agent, and the agent the intel description names is now listed in that capability's agents array so the registry matches. (#6714) (#6714)
  • docs/reference/templates.md now documents every shipped template — each file under gsd-core/templates/ is listed with the artifact it produces and what references it, together with how template select picks a summary size and what template fill writes; the page is linked from the docs index. (#6772) (#6778)
  • /gsd-resume-work claims 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_fallback and hooks.commit_types, and says which parallelization keys config-set accepts — docs/CONFIGURATION.md had no row for either key, and its parallelization table did not say that config-set parallelization.max_concurrent_agents is refused (only the flat parallelization shorthand 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 local gsd-core/ folder node failed, the error was swallowed, and the checkpoint silently skipped itself as probe_unavailable; the snippet now resolves the shipped lib/api-coverage.cjs through the gsd_run launcher's own lookup (PATH-resolved, symlinks followed, $GSD_TOOLS as 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.md holds the command and the reasoning for taking the max across lanes, and docs/TESTING-SUITES.md links to it the way it already does for the win32 table. (#6867) (#6875)
  • docs/CONFIGURATION.md now says 36 shipped agents have tier assignments — the note said 33; the model catalog and agents/ both hold 36. (#6763) (#6764)
  • The installer flag reference no longer says --help lists the retired --gemini — docs/reference/installer-flags.md now states that --help omits 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.md no longer explains the trusted-roots mechanism inside its key reference — the Purpose and How It Works subsections of agent_skills_security.trusted_global_roots moved to a new section of docs/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.md and CLAUDE.md — gsd-core/templates/README.md credited /gsd:validate-phase with the UAT file (it writes NN-VALIDATION.md), omitted /gsd:execute-phase as a writer of NN-UAT.md and /gsd:plan-phase as a writer of NN-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.enabled and intel.enabled configuration rows, and docs/USER-GUIDE.md links 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.md no longer repeats the /gsd-code-review flag 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.md no longer repeats the models, model_overrides and dynamic_routing walk-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.md no longer re-explains the plan drift guard in its usage examples — the entry keeps the two /gsd-settings commands and a one-paragraph summary, and links to the plan_review.* configuration rows and ADR 22, which already state what the guard checks and why. (#6835) (#6875)
  • docs/USER-GUIDE.md no 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 the workflow.context_coverage_gate configuration row. (#6839) (#6840)
  • docs/USER-GUIDE.md no 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 to gsd-core/references/ui-brand.md, which already states the convention and why it is unconditional. (#6845) (#6846)
  • docs/USER-GUIDE.md no longer retells the package legitimacy gate's threat and pipeline stages — the section keeps its anchor, the RESEARCH.md audit-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.md no 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 into docs/reference/planning-artifacts.md, which gained the reports/, spike and sketch layout the user guide documented. (#6802) (#6803)
  • docs/USER-GUIDE.md no 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.md lists each under the quadrant its content serves. (#6767) (#6768)
  • Installer --help now lists the flags the installer accepts — it advertised the retired --gemini and omitted --dry-run, --both, --devin-desktop and --skills-root. (#6743) (#6750)

Full Changelog: v1.23.0...v1.24.0