fabro/lib
Bryan Helmkamp c98785d84a
Pin pebble a39f43e and refuse an older stored session record clearly
Pebble main a39f43e26effdf99635eaf343f095c17157c9c93 (pebble #22) carries
an assistant turn's usage as Usage in the session record and moves the
record format to version 5. CodingRuntime::from_record refuses a record
in another format with UnsupportedRecord { version, supported } before
it reads the route. Fabro persists those records in SQLite for Ask Fabro
resume, and old runs get no migration, so a record written by an older
build is read back as stored and refused on the next turn.

Two tests pin that down. The store reads pebble's own version 4 fixture
back through get without a parse error and reports it unsupported. A
resumed Ask Fabro session whose stored record declares the previous
format fails its next turn with the agent_error code and the message
"session record format version 4 is not supported (this build requires
5)", runs no turn, and leaves the stored record in place.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 12:58:31 -06:00
..
apps Pin pebble a39f43e and refuse an older stored session record clearly 2026-09-14 12:58:31 -06:00
components Pin pebble a39f43e and refuse an older stored session record clearly 2026-09-14 12:58:31 -06:00
foundation Carry usage as lithos-llm's Usage and rename billing to usage 2026-09-14 12:31:34 -06:00
packages/fabro-api-client Regenerate the TypeScript API client for the usage schemas 2026-09-14 12:31:34 -06:00