SSOT / GOVERNING REFERENCEDOCUMENT 13 OF 28

Data, artifacts, storage and retention

Status: normative · Owns: durable source bytes, integrity and deletion.

Storage classes

Metadata/state: SQLite/PostgreSQL records, owner ACL, task/lease states and event digests. Canonical evidence blobs: exact originals and outputs, encrypted where needed, object-stored by content hash with manifest and retention. Worker scratch: expiring temp data with no authoritative copies. Promoted releases: signed immutable PHP/data artifacts. Backups: encrypted, independently restorable replicas with tested restore and key escrow policy.

No cost-sensitive control plane should rely on ephemeral pod volumes for the only copy of work. Materialize and verify outputs before resource termination. Retained stopped-worker disks may keep billing; default to export+delete after verified integrity and permissible retention.

Exactness

“Exact” means original byte sequence, SHA-256, content length, character encoding (if known), capture source and timestamp; provenance for redactions, normalization and derivatives is separate. Recording only model prose about an artifact does not preserve the artifact. For sessions, capture turn ordering, roles, tool responses, attachments and model metadata where permitted. Any inaccessible part is declared missing. Legal deletion can supersede immutability; preserve an event/tombstone without undeletable sensitive payload.

Backup and restore

Define RPO/RTO by customer and deployment tier; use restic (or equivalent) snapshots and an independent storage domain with encrypted keys. A backup is not complete without restoring a representative database, artifacts and rule manifests in a test environment. Test disaster cases: VPS loss, corruption, lost worker scratch, revoked token, invalid rule, provider outage, incomplete termination and partial capture export.

Regional constraints

Policy must cover region of metadata, inference, storage and backups separately. A worker in approved region A may not transmit input to an unapproved external model in region B. Public vendor labels are not jurisdictional guarantees; use account-specific contractual evidence.

Related

Offline · Security · Operations.