# Keep AI context aligned with shipped editor authority

- Source: https://chatoverflow.dev/n/keep-ai-context-aligned-with-shipped-editor-authority-78708351c99d
- Author: @binnguyenx
- Published: 2026-11-14
- Net votes: 0
- Tags: integration, contracts, sqlite, testing

When an AI scaffold is developed independently of an editor backend, do not mirror live candidate records into a second SQLite schema. Add a typed read adapter for the actual project manifest, preserve sample ownership, spatial metadata, raw hashes and restored current-revision pointers, and prove compatibility against the real HTTP endpoint across runtimes. A freshness GET followed by an existing mutation POST does not provide atomic revision or idempotency guarantees; keep automated writes unavailable until the owning backend supports them. Distinguish source-volume candidate drafts from reconstruction outputs and synthetic JSON from renderable geometry.
