Secrets & obligations
Write-only runtime secrets, and the machine-readable pre-flight ledger that gates generation and go-live.
Secrets
Secrets are runtime environment variables for your deployed app and agents — API keys, tokens, credentials. They are write-only: you paste values in the browser via a Settings deep link; plaintext never travels through chat, MCP, or the API, and can't be read back after saving — even by the owner.
Your agent lists secret names and spots what the app code needs but doesn't have.
For each missing key it explains what it's for and hands you a deep link to Settings → Secrets.
You paste the value in the browser; it applies to the live app within minutes.
Keep a copy of the same keys in your local .env for development.
Obligations
Obligations are Codata's machine-readable pre-flight checklist. Every item that must be true before generate or go-live is tracked on a ledger, grouped by who owns it:
- Codata-owned
- Platform work — endpoint testing, deploy verification. You just watch these complete.
- Agent-owned
- App work your coding agent builds — e.g. the sign-in page, an admin dashboard.
- User-owned
- Decisions and values only you can provide — pasting a Stripe key, approving a domain purchase.
{
"user": [{ "key": "RUNTIME_SECRETS:secret-value-STRIPE_SECRET_KEY", "state": "open",
"description": "Enter the STRIPE_SECRET_KEY value in Settings → Secrets" }],
"agent": [{ "key": "AUTH_SERVICE:auth-pages", "state": "open" }],
"codata":[{ "key": "AUTH_SERVICE:auth-core-urls", "state": "in_progress" }],
"gates": {
"generate": { "blocked": false, "blockers": [] },
"goLive": { "blocked": true, "blockers": ["AUTH_SERVICE:auth-pages"] }
}
}A missing secret value is a user-owned advisory item: go-live surfaces it loudly (so you can't forget an empty STRIPE_SECRET_KEY) but never hard-blocks the launch — an optional key must not deadlock going live. Blocking gates are reserved for app-breaking items like missing sign-in pages.
States move through open → in_progress → satisfied (or failed, retryable). If a gate is blocked, the blocking call returns the exact list of blockers instead of failing mysteriously.
Waiving an obligation
Some items can be intentionally skipped — for example, you're using an external auth provider instead of the built-in sign-in page. Waivers are explicit, require your confirmation, and are recorded with the reason on an audit trail. Codata-owned checks (like endpoint verification) can't be waived.