fix(#341): restore next-based test gate regressions (#342)

* fix: use active-workstream resolver exported by store module

* fix: wire verify codebase-drift alias and sync inventory docs

* chore: add changeset for next gate regression fixes

* fix: normalize changeset fragment metadata for docs-lint
This commit is contained in:
Tom Boucher
2026-05-26 13:49:07 -04:00
committed by GitHub
parent de08c8cd60
commit b99dd64e02
5 changed files with 19 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 342
---
Restore next-branch gate stability by wiring `gsd-tools` to the exported active-workstream resolver, exposing `verify codebase-drift` via command aliases, and syncing inventory docs/manifests to shipped CLI surfaces.

View File

@@ -1,5 +1,5 @@
{
"generated": "2026-05-25",
"generated": "2026-05-26",
"families": {
"agents": [
"gsd-advisor-researcher",
@@ -268,6 +268,7 @@
"clusters.cjs",
"code-review-flags.cjs",
"command-aliases.cjs",
"command-arg-projection.cjs",
"command-routing-hub.cjs",
"commands.cjs",
"config-schema.cjs",

View File

@@ -362,7 +362,7 @@ The `gsd-planner` agent is decomposed into a core agent plus reference modules t
---
## CLI Modules (71 shipped)
## CLI Modules (72 shipped)
Full listing: `get-shit-done/bin/lib/*.cjs`.
@@ -376,6 +376,7 @@ Full listing: `get-shit-done/bin/lib/*.cjs`.
| `clusters.cjs` | Skill cluster definitions for the runtime surface module (ADR-0011 Phase 2) |
| `code-review-flags.cjs` | Typed flag parser for `/gsd:code-review`; exports `parseCodeReviewFlags(argv)` (→ `{ fix, all, auto, depth, files }`) and `resolveCodeReviewWorkflow(flags)` (→ `'code-review.md' \| 'code-review-fix.md'`); canonical dispatch seam for `--fix`/`--all`/`--auto` routing |
| `command-aliases.cjs` | Alias/subcommand metadata for manifest-backed family routers |
| `command-arg-projection.cjs` | Typed flag and positional argument projection helpers shared across command-family routers |
| `command-routing-hub.cjs` | Pure-result dispatch hub that centralizes mode decision (SDK vs CJS), error taxonomy, and no-throw contract for all command-family routers (#3788) |
| `commands.cjs` | Misc CLI commands (slug, timestamp, todos, scaffolding, stats) |
| `config-schema.cjs` | Single source of truth for `VALID_CONFIG_KEYS` and dynamic key patterns; imported by both the validator and the config-schema-docs parity test |

View File

@@ -170,7 +170,7 @@ const path = require('path');
const core = require('./lib/core.cjs');
const { error, findProjectRoot, ERROR_REASON } = core;
const { getActiveWorkstream } = require('./lib/planning-workspace.cjs');
const { resolveActiveWorkstreamContext, applyResolvedWorkstreamEnv } = require('./lib/active-workstream-store.cjs');
const { resolveActiveWorkstream, applyResolvedWorkstreamEnv } = require('./lib/active-workstream-store.cjs');
const state = require('./lib/state.cjs');
const phase = require('./lib/phase.cjs');
const roadmap = require('./lib/roadmap.cjs');
@@ -290,7 +290,7 @@ async function main() {
let ws = null;
let workstreamContext = null;
try {
workstreamContext = resolveActiveWorkstreamContext(cwd, args, process.env, {
workstreamContext = resolveActiveWorkstream(cwd, args, process.env, {
getStored: getActiveWorkstream,
});
ws = workstreamContext.ws;

View File

@@ -230,6 +230,14 @@ const VERIFY_COMMAND_ALIASES = [
],
"subcommand": "schema-drift",
"mutation": false
},
{
"canonical": "verify.codebase-drift",
"aliases": [
"verify codebase-drift"
],
"subcommand": "codebase-drift",
"mutation": false
}
];