Commit graph

136 commits

Author SHA1 Message Date
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
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
1f4d1914c8 refactor(workspace): mirror orphan aggregation in cleanup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:04:39 +00:00
Virgil
4e8f0a0016 refactor(store): clarify workspace and archive naming
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 06:01:00 +00:00
Virgil
07500561fd docs(store): sharpen AX usage comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:57:40 +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
bbbcb1becf docs(store): restore AX usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:49:31 +00:00
Virgil
bc578265a8 refactor(scope): make scoped helpers explicit
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:45:24 +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
b6b29b50ce feat(store): add configurable purge interval
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:35:22 +00:00
Virgil
33571be892 refactor(store): align wrapper naming with RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:32:46 +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
07bd25816e refactor(store): simplify OnChange callback API
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:25:42 +00:00
Virgil
69cf03e69d docs(store): expand package examples for workspace flow
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:21:35 +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
387d1463fb feat(store): add RFC-scoped helpers and callbacks
Add the RFC-named scoped helpers, AllSeq iteration, and group-filtered change callbacks.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:13:46 +00:00
Virgil
016e2c3777 refactor(store): remove legacy alias entry points
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:05:53 +00:00
Virgil
d7f03d5db0 fix(store): make Close idempotent
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 05:00:56 +00:00
Virgil
c2f7fc26ff refactor(store): make orphan recovery deterministic
Align the watcher examples with the current API and sort recovered workspaces for predictable output.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 04:56:08 +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
5c7e243fc0 feat(store): align public API with RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 04:44:45 +00:00
e6d3001f76 Merge pull request '[agent/codex:gpt-5.4] Implement docs/RFC-STORE.md using docs/RFC-CORE-008-AGENT-EX...' (#29) from agent/implement-docs-rfc-store-md-using-docs-r into dev
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-03-30 21:08:06 +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
d4c6400701 Merge pull request '[agent/codex:gpt-5.4] Implement docs/RFC-STORE.md using docs/RFC-CORE-008-AGENT-EX...' (#28) from agent/implement-docs-rfc-store-md-using-docs-r into dev
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m44s
2026-03-30 20:59:34 +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
165aecabf8 Merge pull request '[agent/codex:gpt-5.4] Implement docs/RFC-STORE.md using docs/RFC-CORE-008-AGENT-EX...' (#27) from agent/implement-docs-rfc-store-md-using-docs-r into dev
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 2m38s
2026-03-30 20:53:38 +00:00
Virgil
d983760445 feat(store): add zstd archive support
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:53:12 +00:00
af40581e5e Merge pull request '[agent/codex:gpt-5.4] Implement docs/RFC-STORE.md using docs/RFC-CORE-008-AGENT-EX...' (#26) from agent/implement-docs-rfc-store-md-using-docs-r into dev
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m34s
2026-03-30 20:47:17 +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
a0b81cc0d0 Merge pull request '[agent/codex:gpt-5.4] Implement docs/RFC-STORE.md using docs/RFC-CORE-008-AGENT-EX...' (#25) from agent/implement-docs-rfc-store-md-using-docs-r into dev
All checks were successful
Security Scan / security (push) Successful in 16s
Test / test (push) Successful in 2m29s
2026-03-30 20:03:59 +00:00
Virgil
134853e6df fix(store): tighten scoped purge and delete events
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:03:19 +00:00
Snider
4f257cee6f feat(store): 5.4 AX implementation pass — scope, events, coverage
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m44s
Code-only changes from 5.4 RFC implementation. Scope helpers,
event test coverage, store test coverage, doc.go improvements.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:41:22 +01:00
Virgil
9cd7b9b1a7 fix(store): stabilise AX iteration behaviour
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 19:39:54 +00:00
Virgil
68e7d1e53a fix(store): tighten AX docs and scoped constructor validation
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 19:29:48 +00:00
Virgil
a0ee621ba4 refactor(store): align AX terminology in docs and comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 19:18:20 +00:00
Snider
94559e4f37 docs: add AX + store RFCs for agent dispatch
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m44s
Temporary — specs needed in-repo until core-agent mount bug is fixed.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:14:42 +01:00
Virgil
77345036ad feat(scope): add namespace-local helper methods
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 20:14:42 +01:00