Merge branch 'codex/goal-commands' into codex/ralph-tool

# Conflicts:
#	docs/module-graph.md
This commit is contained in:
Tianyi Cui
2026-07-20 23:15:34 +08:00
122 changed files with 3640 additions and 394 deletions

View File

@@ -142,7 +142,7 @@ describe('deriveReplayScript', () => {
it('keeps a finish-error chunk in the derived entry (replays naturally)', () => {
const errChunks: StreamChunk[] = [
{ type: 'block-start', index: 0, blockType: 'text' },
{ type: 'finish', reason: { kind: 'error', message: 'boom', code: 'X' } },
{ type: 'finish', reason: { kind: 'error', failure: { message: 'boom', code: 'X' } } },
]
const events = errChunks.map((c, i) => chunkEvent(i + 1, 1, 1, c))
expect(deriveReplayScript(events)).toEqual([{ kind: 'chunks', chunks: errChunks }])