From 4e6a97c1192d833f635f640d69ea4b11d0f85968 Mon Sep 17 00:00:00 2001 From: Virgil Date: Sat, 4 Apr 2026 10:29:56 +0000 Subject: [PATCH] docs(store): clarify declarative constructor guidance Co-Authored-By: Virgil --- doc.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index 5923983..7a03255 100644 --- a/doc.go +++ b/doc.go @@ -5,8 +5,9 @@ // Workspace files are created under `.core/state/` and can be recovered with // `RecoverOrphans(".core/state")`. // -// Prefer `store.NewConfigured(store.StoreConfig{...})` when constructing a -// store from an agent-written configuration literal. +// Use `store.NewConfigured(store.StoreConfig{...})` when the database path, +// journal, and purge interval are already known. +// Keep `store.New(..., store.WithJournal(...))` for incremental assembly. // // Usage example: //