11. Projects, sessions, and versioning
- Project: the app definition, assets, schemas, tests, permissions, versions, exports.
- Session: conversation, current view, selection, editor state, pending jobs, checkpoints, undo history.
- Build: immutable manifest of component versions, toolchain, test results, artifacts, timestamps.
- Release: a validated installable artifact with a semantic version and provenance.
Required: autosave, append-only audit log of agent actions and builds (without secrets), crash recovery, resumable jobs, session restoration, project export/import, backup/restore. Test corruption and interrupted-publish scenarios.