1.1 KiB
1.1 KiB
CODEX.md
This repository uses the same working conventions described in CLAUDE.md.
Keep the two files aligned.
AX Notes
- Prefer descriptive names over abbreviations.
- Public comments should show real usage with concrete values.
- Keep examples in UK English.
- Prefer
StoreConfigandScopedStoreConfigliterals over option chains when the configuration is already known. - Do not add compatibility aliases; the primary API names are the contract.
- Preserve the single-connection SQLite design.
- Verify with
go test ./...,go test -race ./..., andgo vet ./...before committing. - Use conventional commits and include the
Co-Authored-By: Virgil <virgil@lethean.io>trailer.
Repository Shape
store.gocontains the core store API and SQLite lifecycle.events.gocontains mutation events, watchers, and callbacks.scope.gocontains namespace isolation and quota enforcement.journal.gocontains journal persistence and query helpers.workspace.gocontains workspace buffering and orphan recovery.compact.gocontains cold archive generation.docs/contains the package docs, architecture notes, and history.