Snider
303ff4e385
Use DuckDB for workspace buffers
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:28:08 +01:00
Snider
caaba5d70a
feat(scope): add scoped quota constructor
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-15 11:24:55 +01:00
Snider
9763ef7946
Align module path docs
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:22:20 +01:00
Snider
48643a7b90
docs(api): align package overview with primary constructors
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-15 11:20:30 +01:00
Snider
e5a0f66e08
Emit TTL purge events
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:17:37 +01:00
Snider
9610dd1ff2
Support medium-backed SQLite persistence
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:15:01 +01:00
Snider
9df2291d28
Align store options with RFC
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:11:46 +01:00
Snider
a8cab201b8
Align store internals with RFC
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:09:36 +01:00
Snider
a69d150883
Align store API with RFC
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 11:06:45 +01:00
Snider
b6daafe952
feat(store): DuckDB.Conn() accessor for streaming row iteration
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Conn() *sql.DB accessor on store.DuckDB. The higher-level helpers
(Exec, QueryRowScan, QueryRows) don't cover streaming row iteration
patterns that go-ml needs for its training/eval pipelines.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 16:49:59 +01:00
Snider
2d7fb951db
feat(store): io.Medium-backed storage per RFC §9
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Add WithMedium option so Store archives and Import/Export helpers can
route through any io.Medium implementation (local, memory, S3, cube,
sftp) instead of the raw filesystem. The Medium transport is optional —
when unset, existing filesystem behaviour is preserved.
- medium.go exposes WithMedium, Import, and Export helpers plus a small
Medium interface that any io.Medium satisfies structurally
- Compact honours the installed Medium for archive writes, falling back
to the local filesystem when nil
- StoreConfig.Medium round-trips through Config()/WithMedium so callers
can inspect and override the transport
- medium_test.go covers the happy-path JSONL/CSV/JSON imports, JSON and
JSONL exports, nil-argument validation, missing-file errors, and the
Compact medium route
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 12:16:53 +01:00
Snider
eef4e737aa
refactor(store): replace banned stdlib imports with core/go primitives
...
Security Scan / security (push) Has been cancelled
Test / test (push) Has been cancelled
- fmt → core.Sprintf, core.E
- strings → core.Contains, core.HasPrefix, core.Split, core.Join, core.Trim
- os → core.Fs operations
- path/filepath → core.JoinPath, core.PathBase
- encoding/json → core.JSONMarshal, core.JSONUnmarshal
- Add usage example comments to all exported struct fields
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-08 16:43:49 +01:00
Snider
79815048c3
chore: refresh go.sum
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-07 11:43:20 +01:00
Snider
345fa26062
feat(store): add Exists, GroupExists, and Workspace.Count methods
...
Security Scan / security (push) Has been cancelled
Test / test (push) Has been cancelled
Add public existence-check methods across all store layers (Store,
ScopedStore, StoreTransaction, ScopedStoreTransaction) so callers can
test key/group presence declaratively without Get+error-type checking.
Add Workspace.Count for total entry count. Full test coverage with
Good/Bad/Ugly naming, race-clean.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 08:58:26 +01:00
Virgil
72eff0d164
refactor: tighten store AX documentation
...
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
cdf3124a40
fix(store): make scoped store nil-safe
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:19:59 +00:00
Virgil
69452ef43f
docs(ax): tighten usage examples
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:13:50 +00:00
Virgil
e1341ff2d5
refactor(store): align internal lifecycle naming with AX
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Use more descriptive private lifecycle, watcher, and orphan cache field names so the implementation reads more directly for agent consumers while preserving the exported API and behaviour.\n\nCo-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:09:20 +00:00
Virgil
7fa9449778
chore(store): confirm RFC parity
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:04:41 +00:00
Virgil
fcb178fee1
feat(scope): expose scoped config snapshot
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:54:45 +00:00
Virgil
c8504ab708
docs(store): clarify declarative constructors
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Prefer the struct-literal constructors in package docs and namespace helpers.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:46:40 +00:00
Virgil
ea3f434082
feat: add scoped store watcher wrappers
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:34:25 +00:00
Virgil
8a117a361d
refactor(store): clarify compaction lifecycle names
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:29:21 +00:00
Virgil
c6840745b5
docs(store): tighten AX-facing package docs
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Fix the stale scoped-store test literal while aligning the package comment around concrete struct-literal usage.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:24:21 +00:00
Virgil
466f4ba578
refactor: align workspace and scoped store names
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Use the repo's primary store noun for internal references so the implementation matches the RFC vocabulary more closely.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:11:54 +00:00
Virgil
fb39b74087
refactor(scope): centralise quota enforcement
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:07:33 +00:00
Virgil
1c004d4d8a
refactor(store): remove redundant scoped quota constructor
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 20:03:22 +00:00
Virgil
d854e1c98e
refactor(scope): prefer scoped-store config literals
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:53:53 +00:00
Virgil
257bd520f6
docs(ax): prefer declarative config literals in examples
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:45:52 +00:00
Virgil
8b186449f9
fix(compact): normalise whitespace archive formats
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:41:58 +00:00
Virgil
4726b73ba6
feat(scope): restore scoped quota constructor
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:38:06 +00:00
Virgil
e5c63ee510
refactor(scope): remove redundant scoped quota constructor
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:34:32 +00:00
Virgil
649edea551
docs(ax): align package guidance with declarative config
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:28:47 +00:00
Virgil
4c6f2d6047
feat(scope): add scoped on-change helper
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:24:47 +00:00
Virgil
731a3ae333
fix(scope): make quota checks non-mutating
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:12:24 +00:00
Virgil
75f8702b74
feat: normalise declarative store config defaults
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:07:18 +00:00
Virgil
529333c033
fix(workspace): close partial workspaces without filesystem
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:02:35 +00:00
Virgil
7ad4dab749
refactor(store): clarify config guidance and naming
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:52:33 +00:00
Virgil
ecafc84e10
fix(store): require compact cutoff time
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:48:41 +00:00
Virgil
39fddb8043
refactor(scope): reuse shared prefix helper
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:42:19 +00:00
Virgil
efd40dd278
docs(store): reinforce AX config literal guidance
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:38:09 +00:00
Virgil
00650fd51e
feat(store): add transaction purge helpers
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:20:52 +00:00
Virgil
f30fb8c20b
refactor(test): expand AX naming in coverage stubs
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 18:15:44 +00:00
Virgil
23fb573b5d
refactor(store): rename transaction internals
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Use more descriptive internal field names in StoreTransaction to better match the AX naming guidance without changing behaviour.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:56:54 +00:00
Virgil
aa49cdab4e
feat(scope): add scoped pagination helpers
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:53:21 +00:00
Virgil
8e46ab9fdd
docs(store): align RFC examples with AX
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:48:35 +00:00
Virgil
ba997f7e6b
docs(store): align public comments with AX
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:43:55 +00:00
Virgil
d8183f26b6
fix: support scalar Flux journal filters
...
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
c2ba21342a
docs(ax): prefer scoped config literals
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:34:15 +00:00
Virgil
08e896ad4d
docs(store): clarify journal metadata
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Align the RFC text and store comments with the SQLite-backed journal implementation.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 17:27:10 +00:00