docs(vault): first-proof runbook for the spawn->provision chain #103
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "docs/vault-first-proof-runbook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
A first-proof runbook (
docs/VAULT-PROVISION-FIRST-PROOF.md) for driving the spawn → vault-provision →.envchain live on osa — continuing an osa-agent investigation (verified againstorigin/main).Why it matters
The chain is wired and unit-tested, but not CLI-drivable yet. The runbook surfaces that honestly and gives the working interim path:
register-tenantcommand → tenant row via raw SQLite (step 3)--jailon spawn CLI → jailed spawn via raw socket JSON (step 4)It also documents the exact resolution semantics so setup is correct: the hook calls
provision(&tenant.tenant_id, …), so the Vaultwarden collection must be named = tenant_id = jail name, and the storedjail_root_pathmust match the spawned root.Guardrails baked in
provider.env; only the resolved.enventers the jail.Related
Documents the interim path for #101/#102; references #92 (path hardening) and #100 (crate bw hardening) as land-before-promotion items.
🤖 Generated with Claude Code