fix: pre-landing review fixes

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-11-03 15:30:22 +00:00
1 parent 0c714d6617
commit 7458ae67fa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ export function dispatchEventRewriter(artifacts: string, substituted: (phase: Di
pending = events.pop()!;
return events.map(e => take(e + '\n\n')).join('');
},
end: (): string => { const rest = pending; pending = ''; return rest; },
end: (): string => { const rest = (held ? held.raw.join('') : '') + pending; held = null; pending = ''; return rest; },
};
}
+1 -1
View File
@@ -32,7 +32,7 @@ describeIfSelected('autoplan publication guard live PTY', ['autoplan-guard-pty']
const s = prepareGuardSession(process.env.ANTHROPIC_API_KEY);
const relay = startDispatchRelay(path.join(s.project, '.gstack', 'tmp', 'autoplan'));
const session = await launchClaudePty({ permissionMode: null, model: MODEL, cwd: s.project, env: { ...s.env, ANTHROPIC_BASE_URL: relay.url },
timeoutMs: 540_000, observeScreen: true });
timeoutMs: 540_000, observeScreen: true }).catch(error => { relay.stop(); throw error; });
const started = performance.now();
const prompts: string[] = [];
let phase1Ms: number | null = null;