Commit graph

232 commits

Author SHA1 Message Date
Virgil
9dc0b9bfcf refactor(scope): make scoped group access explicit
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 16:37:56 +00:00
Virgil
d682dcd5dc docs(scope): prefer explicit scoped examples
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 16:31:38 +00:00
Virgil
a2a99f6e9b docs(store): clarify package surface
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 16:28:07 +00:00
Virgil
06f6229eaf feat(store): expose workspace state directory config
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 16:24:27 +00:00
Virgil
dfbdace985 feat: add scoped store transactions
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 16:09:14 +00:00
Virgil
1fb8295713 feat(store): add scoped store config constructor
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 16:06:43 +00:00
Virgil
cae3c32d51 refactor: add AX config validation helpers
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 15:47:56 +00:00
Virgil
32e7413bf4 feat(store): make workspace state paths declarative
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 14:43:42 +00:00
Virgil
caacbbd1c1 docs(store): clarify SQLite journal implementation
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 14:36:40 +00:00
Virgil
b43eb4e57a docs(store): make public comments example-driven
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 14:23:29 +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
c8261c5eb2 docs(store): prefer config literals in examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 13:37:27 +00:00
Virgil
019a72d152 docs(store): clarify AX examples for options
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 13:25:19 +00:00
Virgil
168c94d525 refactor(scope): centralise namespace quota checks
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 13:16:24 +00:00
Virgil
772a78357c fix(store): avoid compact archive filename collisions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 13:10:33 +00:00
Virgil
85bef185e8 refactor(store): clone cached orphan slice
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 13:07:36 +00:00
Virgil
dd4c9a2585 refactor(store): clarify workspace summary prefix naming
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 12:13:08 +00:00
Virgil
f6a602f064 docs(store): improve agent-facing examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 12:08:14 +00:00
Virgil
11b23b99c0 docs(store): refine AX-oriented comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 12:05:00 +00:00
Virgil
a2ddacb27b fix(store): wrap orphan cleanup errors
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 12:01:39 +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
ed51aa021d refactor(store): rename parent store fields
Use parentStore in the scoped and workspace wrappers so ownership reads more clearly for agents.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:47:49 +00:00
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
a1ceea8eea refactor(store): clarify compact archive entry names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:40:29 +00:00
Virgil
2f23e8ef0d chore(store): clarify AX config guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:37:06 +00:00
Virgil
c6c359e1c7 docs(store): add ax-oriented usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:33:32 +00:00
Virgil
57da334a1d docs(store): tighten AX API guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:30:13 +00:00
Virgil
0ea38777d7 refactor(store): use descriptive configuration names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:26:16 +00:00
Virgil
2ff98991a1 fix(store): require explicit database path in config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:22:50 +00:00
Virgil
edf9162c21 docs(store): clarify workspace query support
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:19:22 +00:00
Virgil
4031b6719f docs(ax): prefer declarative store configuration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:13:36 +00:00
Virgil
38638268c7 refactor(transaction): use descriptive example names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:09:35 +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
6ba5701955 refactor(config): validate declarative store options
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:46:46 +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
aa83e59b69 fix(scope): enforce quotas in scoped transactions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:36:57 +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
4e6a97c119 docs(store): clarify declarative constructor guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:29:56 +00:00
Virgil
089f80c087 refactor(store): clarify key-value terminology
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:25:34 +00:00
Virgil
21ce2938c8 refactor(workspace): clarify shared cleanup error context
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:23:00 +00:00
Virgil
7238871a3a refactor(scope): use groups helper for quota counting
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:17:28 +00:00
Virgil
7c59f9d011 fix(store): allow discard after workspace close
Make workspace cleanup idempotent so a closed workspace can still be discarded and removed from disk later. Also clarify the configuration comments for AX-oriented usage.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:13:27 +00:00
Virgil
9d6420d37f test(events): cover re-entrant callback subscriptions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:09:25 +00:00
Virgil
7874f6eda8 feat(scope): add scoped transaction wrapper
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:03:41 +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
039260fcf6 test(ax): enforce exported field usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:48:02 +00:00
Virgil
09c78e13f4 fix(store): require complete journal configuration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:43:27 +00:00
Virgil
50d368f1ae feat(scope): add declarative scoped constructor
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 09:34:54 +00:00