Deepen query dispatch seam with Command Topology Module (#3078)

* Deepen query dispatch seam with command topology module

* Stabilize SDK parity defaults and integration test gating

* docs(architecture): record pre-project config policy and e2e gate

* refactor(query): stop injecting native adapter in CLI dispatch path

* fix(config): align workflow auto-chain typing and docs
This commit is contained in:
Tom Boucher
2026-05-03 18:11:38 -04:00
committed by GitHub
parent 9c92c32f6e
commit 5e21bf7567
27 changed files with 260 additions and 121 deletions

View File

@@ -341,7 +341,7 @@ export const stateUpdate: QueryHandler = async (args, projectDir, workstream) =>
return content;
}, workstream);
return { data: { updated, field, value: updated ? value : undefined } };
return { data: { updated } };
};
/**
@@ -1250,9 +1250,15 @@ function parseNamedArgs(
const result: Record<string, string | boolean | null> = {};
for (const flag of valueFlags) {
const idx = args.indexOf(`--${flag}`);
result[flag] = idx !== -1 && args[idx + 1] !== undefined && !args[idx + 1].startsWith('--')
? args[idx + 1]
: null;
if (idx === -1) {
result[flag] = null;
continue;
}
const value = args[idx + 1];
if (value === undefined || value.startsWith('--')) {
throw new GSDError(`missing value for --${flag}`, ErrorClassification.Validation);
}
result[flag] = value;
}
for (const flag of booleanFlags) {
result[flag] = args.includes(`--${flag}`);