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:
@@ -234,9 +234,10 @@ function checkAgentsInstalled(config?: { runtime?: unknown }): { agents_installe
|
||||
*/
|
||||
export const docsInit: QueryHandler = async (_args, projectDir) => {
|
||||
const config = await loadConfig(projectDir);
|
||||
const configExists = existsSync(join(projectDir, '.planning', 'config.json'));
|
||||
const docModelResult = await resolveModel(['gsd-doc-writer'], projectDir);
|
||||
const docWriterData = docModelResult.data as Record<string, unknown>;
|
||||
const doc_writer_model = (docWriterData?.model as string) || 'sonnet';
|
||||
const doc_writer_model = configExists ? ((docWriterData?.model as string) || '') : '';
|
||||
|
||||
const agentStatus = checkAgentsInstalled(config as { runtime?: unknown });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user