mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
No behavior change — all 67 turn tests pass untouched. The ~620-line advance method becomes an internal TurnAdvance class holding the per-invocation context, with one named method per spec phase (applyInput, closeInterrupted*, evaluatePermissions, classifyBatch, denyUnresolvedWithoutHuman, executeAllowedTools, suspendIfPending, completeIfFinished, failIfExhausted, runModelStep, cancel). The main loop now reads as a direct transcription of the design doc's §18 algorithm; TurnRuntime itself is reduced to construction and createTurn/getTurn/advanceTurn plumbing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||