fix: add sessionId to raw fallback, fix test meta→frontmatter+description
This commit is contained in:
@@ -7,11 +7,12 @@ function makeCtx(overrides: Partial<AgentContext> = {}): AgentContext {
|
|||||||
workflow: {
|
workflow: {
|
||||||
roles: {
|
roles: {
|
||||||
developer: {
|
developer: {
|
||||||
|
description: "TDD implementation per test spec",
|
||||||
goal: "Write code",
|
goal: "Write code",
|
||||||
capabilities: ["coding"],
|
capabilities: ["coding"],
|
||||||
procedure: "1. Read spec\n2. Write code",
|
procedure: "1. Read spec\n2. Write code",
|
||||||
output: "List files changed",
|
output: "List files changed",
|
||||||
meta: null,
|
frontmatter: "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
conditions: {},
|
conditions: {},
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ async function processClaudeOutput(stdout: string, store: Store): Promise<AgentR
|
|||||||
|
|
||||||
// Non-JSON fallback
|
// Non-JSON fallback
|
||||||
const detailHash = await storeClaudeCodeRawOutput(store, stdout);
|
const detailHash = await storeClaudeCodeRawOutput(store, stdout);
|
||||||
return { output: stdout, detailHash };
|
return { output: stdout, detailHash, sessionId: undefined };
|
||||||
}
|
}
|
||||||
|
|
||||||
async function runClaudeCode(ctx: AgentContext): Promise<AgentRunResult> {
|
async function runClaudeCode(ctx: AgentContext): Promise<AgentRunResult> {
|
||||||
|
|||||||
Reference in New Issue
Block a user