Skip to article
CogniTech.Docs

Strategy persistence and versions

Wallet-owned JSONB drafts, revisions, snapshots and encrypted local inputs.

On this page

Drafts and concurrency

Strategy metadata and the working normalized graph are owned by the authenticated wallet in Neon. Autosave sends a revision. A mismatched revision is rejected rather than overwriting a newer draft. Refresh and reconcile intended edits before saving again. Creation uses a request ID to support idempotency.

Checkpoints and test history

Creation snapshots, explicit version checkpoints, tests and restored versions are tracked in strategy_versions and associated records. Restoring a version creates current graph state without treating old results as new test results. A run points to the version it tested; status rows and counts describe evaluation, not private values or a transaction.

Protected parameters

Private inputs are stored encrypted on the current device using the unlocked vault’s local key. Graph sync carries the definition but not the confidential values it references. Reopening on another browser can produce requires_input until those fields are entered locally. Share public graph definitions with this distinction in mind.

See Neon schema and browser encryption.