Virgil
3742da144e
fix(store): support Flux bucket filters in QueryJournal
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:36:42 +00:00
Virgil
2a28b5a71b
feat(store): add closed-state accessor
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:32:55 +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
5116662f41
feat(store): add database path accessor
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:23:23 +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
7d3b62086d
feat(journal): accept PRAGMA queries
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:08:21 +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
1b5f59ebc5
refactor(store): align workspace docs with AX
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 09:16:59 +00:00
Virgil
af0e677d65
refactor(store): clarify journal query naming
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 09:13:07 +00:00
Virgil
d3a97bc506
fix(journal): accept raw SQL queries
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 09:09:48 +00:00
Virgil
13db0508e0
docs(store): clarify workspace database comment
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 09:06:29 +00:00
Virgil
28b917cad6
refactor(scope): clarify watcher error contexts
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 09:02:04 +00:00
Virgil
214b024d12
refactor(scope): clarify scoped error contexts
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:58:15 +00:00
Virgil
828b55960b
refactor(store): clarify constructor naming and docs
...
Prefer struct-literal configuration in package docs and rename internal constructor helpers for clarity.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:54:19 +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
ee984818d2
feat(store): expose active configuration
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:45:44 +00:00
Virgil
799d79d4e2
docs(store): clarify pagination and orphan scan wording
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:41:20 +00:00
Virgil
7fa9843083
refactor(scope): clarify scoped store lookup
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:36:40 +00:00
Virgil
bf7b616fe1
feat(store): add paginated group reads
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:32:35 +00:00
Virgil
013a72753b
fix(store): scan workspace orphans at startup
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:27:52 +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
41eaa7c96c
feat(journal): support Flux equality filters
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:20:00 +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
aae444ac3b
fix(store): harden event shutdown
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:11:24 +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
4c33a53b67
refactor(store): remove no-op startup orphan scan
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:02:53 +00:00
Virgil
f05b205c06
docs(store): prefer declarative package example
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:58:52 +00:00
Virgil
a2294650b4
feat(workspace): restore startup orphan scan
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:53:20 +00:00
Virgil
27c945d9d4
docs(store): prefer declarative quick start
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:48:47 +00:00
Virgil
f8b7b23da6
docs(store): prefer declarative configuration examples
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:44:28 +00:00
Virgil
66d05a1822
refactor(store): remove no-op startup orphan scan
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:40:19 +00:00
Virgil
841e7b8936
fix(store): harden background purge interval
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:35:20 +00:00
Virgil
acad59664d
fix(store): close watcher channels on shutdown
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:30:50 +00:00
Virgil
a9ab1fd2ee
refactor(store): move options onto config
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:27:04 +00:00
Virgil
a2067baa5a
feat(store): scan orphan workspaces on startup
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:22:12 +00:00
Virgil
79581e9824
docs(store): tighten workspace AX comments
...
Align workspace public comments with the AX guidance by using more concrete examples and clearer phrasing.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:17:46 +00:00
Virgil
3a8cfcedf9
feat(store): add prefix cleanup helpers
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:14:22 +00:00
Virgil
2ef3c95fd5
docs(store): clarify workspace recovery flow
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:08:33 +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
c12aba4145
feat(scope): support scoped wildcard watchers
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:00:35 +00:00
Virgil
303b75444d
feat(scope): add scoped event delegation
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:55:37 +00:00
Virgil
406825917b
refactor(store): tighten AX workspace naming
...
Align workspace and journal comments with the current contract while keeping the API stable.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:51:49 +00:00
Virgil
aad8dded6b
feat(store): add declarative store config
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:47:39 +00:00
Virgil
f9a7e542bf
docs(store): clarify workspace lifecycle comments
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:39:35 +00:00
Virgil
2d9c5b2b49
refactor(store): clarify backing store names
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:35:23 +00:00
Virgil
bff79c31ca
fix(store): add nil-safe guards
...
Add nil/closed checks across the store, scoped store, workspace, journal, event, and compact entry points so agent callers get wrapped errors instead of panics.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:31:35 +00:00
Virgil
a2adbf7ba6
refactor(store): tighten AX doc comments
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:23:51 +00:00
Virgil
0ce6014836
docs(store): align agent-facing file layout docs
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:20:04 +00:00
Virgil
fd3266306a
feat(store): expose journal configuration snapshot
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:15:45 +00:00