Commit graph

27 commits

Author SHA1 Message Date
Virgil
72eff0d164 refactor: tighten store AX documentation
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:29:27 +00:00
Virgil
d8183f26b6 fix: support scalar Flux journal filters
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:39:45 +00:00
Virgil
c2c5cecd7d refactor(store): unify journal configuration storage
Keep the exported JournalConfiguration type as the single in-memory representation.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 14:19:28 +00:00
Virgil
5587e301bd refactor(store): copy journal result maps
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 14:15:53 +00:00
Virgil
92db4b72ff docs(store): clarify shared journal flow
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:57:37 +00:00
Virgil
9450a293cf refactor(store): rename journal write helper
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:54:03 +00:00
Virgil
f2e456be46 refactor(store): clarify journal helper names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:05:48 +00:00
Virgil
80bd9b59a4 docs(journal): sharpen query usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:40:37 +00:00
Virgil
05c34585db refactor(store): clarify helper naming
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:33:25 +00:00
Virgil
4415c35846 fix(journal): stabilise journal ordering
Order journal queries and archive compaction by committed_at, entry_id so rows with identical timestamps are returned predictably.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:54:03 +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
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
7d3b62086d feat(journal): accept PRAGMA queries
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 08:08:21 +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
41eaa7c96c feat(journal): support Flux equality filters
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 08:20:00 +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
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
12809c8d64 refactor(store): clarify journal configuration names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:11:38 +00:00
Virgil
f4492b1861 feat(store): surface journal configuration on store
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:08:16 +00:00
Virgil
0c1b51413f feat(store): broaden journal query handling
Improve Flux measurement parsing, make orphan cleanup flow explicit, and align the CLAUDE watch example with the current API.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:53:56 +00:00
Virgil
619e82a459 refactor(store): rename slice helper for clarity
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:40:53 +00:00
Virgil
294a998282 refactor(store): rename journal config fields
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:28:57 +00:00
Virgil
2353bdf2f7 fix(store): honour Flux range stop bound
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 04:50:26 +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
d9fad2d6be feat(store): implement RFC workspace and journal surfaces
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:46:43 +00:00