mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-12 19:55:19 +02:00
New @x/core module (src/agent-loop) — groundwork for replacing the JSONL event runtime. Development-only; not wired into the app yet. - Durable unit is a turn: append-only fact logs (messages, permission requests/decisions, started/dispatched tools) + set-once error/completedAt; status is derived from facts, never stored - advance() reducer drives the loop purely from persisted state; crash recovery = resumeTurn() re-entering the reducer - Permission gating as data: batched requests, user/classifier decisions with reasons, denials materialized as ToolMessages - TurnHandle API per entry point: stream events or await the rest state - Kysely migration (agent_loop_turns) + SqliteTurnStore with zod-parsed reads; InMemoryTurnStore for tests - VercelModelAdapter over the existing createProvider()/streamText - 33 vitest tests: reducer, permissions, classifier, crash recovery, abort, concurrency, SQLite round-trips Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| shared | ||