feat: adopt local SQLite engineering memory and quality gates
This commit is contained in:
@@ -12,11 +12,12 @@ Existing free-form discussionId threads remain valid and appear as implicit topi
|
||||
an empty Work presents implicit topic `main`. Formal topics can reference original
|
||||
discussion entries without rewriting those entries.
|
||||
|
||||
Records reside in Work-local `topics/`, `surveys/`, `dispositions/` and `agent-runs/`.
|
||||
Prose uses Markdown bodies with documentVersion 2 and schemaVersion 1 metadata.
|
||||
Topic and survey revisions preserve complete prior files with SHA-256 links under
|
||||
their `.history/` directories, following decision/plan conventions. New files are
|
||||
published before Work references; interrupted cross-file writes are diagnosed.
|
||||
SQLite stores these records and their revisions as typed data. Related publication
|
||||
and Work references commit together. Legacy directories/Markdown and `.history`
|
||||
remain supported on the explicit file backend; migration preserves original bytes.
|
||||
SQLite RUN application rolls back the full proposal on failure, then records a short
|
||||
failure diagnostic without reverted references. Legacy failed publication can retain
|
||||
partial applied references for deliberate repair.
|
||||
|
||||
A survey owns immutable question definitions and append-only answers. QST and ANS
|
||||
IDs are survey-local. Each question identifies a topic and nonempty options numbered
|
||||
|
||||
Reference in New Issue
Block a user