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