docs adr 011 operations and android gate - AlexandreZanata/Abastevo GitHub Wiki

ADR-011: Recoverable VPS deployment and backend completion gate

Status: Adopted for planning. Date: 2026-09-28. Scope: planned platform; implementation evidence required by roadmap gates.

Context

The user wants complete backend and infra before app improvements; “complete” needs a bounded measurable definition.

Decision

Compose/Caddy with API/worker/PostGIS on one VPS, private storage and off-host encrypted backups. G09 requires tested deployment/rollback, restore, security/privacy, load/metrics, catalog/community/identity and contracts. Initial RPO 24 h/RTO 4 h are proposals to verify/accept. Only after that P10 starts; paid products are outside MVP completeness.

Alternatives

Immediate Kubernetes; Android UI parallel to infra; treating compile success as release-ready.

Consequences

Single host failure accepted within tested recovery objectives; hosting/domain/provider choices remain operational decisions. Gate cannot be marked by documentation alone.

Validation and follow-up

Use the owning tasks in ROADMAP, specifications in docs index and decision log. Record tested policy/tool versions before marking a release gate complete.

2026-09-30 amendment: ADR-014 supersedes only the production-before-mobile ordering. G09-LOCAL integrated local backend opens app work; real G09 waits for functional G18. Operational release safeguards remain.