Commit graph

17 commits

Author SHA1 Message Date
Virgil
3bd0ee531b refactor(store): align workspace naming with AX
Rename the workspace database field for clearer agent-facing semantics and improve one public usage example.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:43:54 +00:00
Virgil
4bd6b41d78 fix(workspace): preserve orphan aggregates during recovery
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:23:05 +00:00
Virgil
37500c56ae refactor(store): clarify SQLite handle names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:04:56 +00:00
Virgil
28ea397282 fix(workspace): normalise orphan recovery paths
Handle the documented .core/state/ form the same as the default cache key and add a regression test for cached orphan recovery.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:28:07 +00:00
Virgil
7a4997edd9 feat(workspace): add explicit orphan-preserving close
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:17:20 +00:00
Virgil
e1cb275578 fix(store): preserve orphan files for recovery
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:12:29 +00:00
Virgil
1c92e47b24 fix(store): cache orphan workspaces during startup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 07:57:24 +00:00
Virgil
a616a21c04 refactor(store): expose workspace database path
Add a semantic accessor for the workspace backing file and cover it with a test.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:49:45 +00:00
Virgil
5af3f90e2d fix(workspace): leave orphaned workspaces recoverable
Stop New() from eagerly discarding orphaned workspace files so callers can recover them explicitly through RecoverOrphans().

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:23:31 +00:00
Virgil
757e973097 feat(workspace): restore startup orphan cleanup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:15:01 +00:00
Virgil
3e450fdc35 feat(store): expose workspace names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:07:32 +00:00
Virgil
abf8fc20af refactor(workspace): keep orphan recovery explicit
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:04:33 +00:00
Virgil
0accc6e85e feat(store): clean up orphaned workspaces on startup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:18:05 +00:00
Virgil
5c7e243fc0 feat(store): align public API with RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 04:44:45 +00:00
Virgil
4c44cfa336 fix(store): harden RFC journal and workspace flows
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:07:30 +00:00
Virgil
4ab2d26b74 feat(store): align workspace query with RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:59:09 +00:00
Virgil
d9fad2d6be feat(store): implement RFC workspace and journal surfaces
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:46:43 +00:00