Repository navigation
Closed
Labels
area:parserParserarea:pipelinePipelinearea:qaQAarea:storageStoragephase:migrationIncremental migration toward target architecturetheme:semantic-proofSemantic, structural, trace, and provider proof obligationstheme:verifiabilitySchema-native proof and evidence architecturetype:testTests
Description
Parent
Part of #330.
Context
The consolidated plan expands proof subjects beyond CLI/schema/provider paths into archive structure, crash consistency, interruption behavior, and error semantics. These are too broad for #332/#333 and too concrete to leave only in the umbrella.
Scope
Add proof obligations over structural graph and operational failure semantics.
Structural graph subjects:
- raw rows;
- core rows: conversations, messages, content blocks, attachments, attachment refs;
- derived products: conversation stats, session profiles, work events, phases, tag rollups, work threads, day/week summaries, action events;
- operational rows: runs;
- search/vector state: FTS, embeddings metadata, stale/missing provenance.
Effect-driven crash/interruption claims:
DbWrite: atomic, rollback safe, idempotent, interrupt resumable, no partial visible state.FileWrite: temp-then-rename, parent exists, partial file not consumed, orphan temp cleanup.Destructive: preview target set matches execution target set, dry-run evidence exists, interruption leaves state explainable.
Error semantics subjects:
- user-facing error type;
- machine-readable error envelope;
- parser quarantine reason;
- readiness/degraded-state report;
- repair/maintenance failure;
- structured diagnostic event.
Acceptance criteria
- At least one structural graph invariant proves raw/core/derived consistency beyond conversations/messages.
- At least one interruption/resume or crash-consistency claim is exercised on a synthetic archive.
- Parser quarantine errors preserve source/provider/path context without leaking private payload fragments.
- Repair/maintenance failure evidence states whether data was unchanged, partially changed, or rolled back.
- Error claims produce machine-readable evidence and user-facing context checks.
Metadata
Metadata
Assignees
Labels
area:parserParserarea:pipelinePipelinearea:qaQAarea:storageStoragephase:migrationIncremental migration toward target architecturetheme:semantic-proofSemantic, structural, trace, and provider proof obligationstheme:verifiabilitySchema-native proof and evidence architecturetype:testTests
Activity
Sinity commentedon Apr 22, 2026
Starting #340 after completing the deployment-readiness sequence and #336. I’m intentionally deferring #337-#339 for now per the sequencing note; they depend on proof/lab command moves being better grounded.
Initial #340 tactic:
Sinity commentedon Apr 22, 2026
Checkpoint for #340:
test: add structural error proof evidence).artifact.path.dependency_closuremaintenance.repair.crash_consistencyparser.quarantine.context_redactionerror.machine_user_contextdevtools verifypassed; pre-pushdevtools verify --quickalso passed.One incidental baseline fix is included in #351: markdown message body lines starting with
##are escaped so they cannot masquerade as renderer message section headers.test: add structural error proof evidence
test: add structural error proof evidence (#351)
test: add structural error proof evidence (#351)
test: add structural error proof evidence (#351)
test: add structural error proof evidence (#351)