Rental isolation

<aside> ✅ Doc status: ADR-0010 is Accepted / on main (bz-platform-context #127 merged). ADR-0009 is superseded (history only). Code extract: rental #5 + booking #919 also MERGED.

</aside>

<aside> 👤 Who should read: anyone touching rental↔booking references, lockers, or sister-stack infra. Current rule is ADR-0010 on main (zero runtime dependency). ADR-0009 is history only.

</aside>

How to use: read the ADR-0010 summary first; open full ADR bodies only when implementing. Next: Repo registry · Open PRs / status · Start here.

Rental (rental-api-server) and insurance (insurance-ecosystem-frappe) are sister Frappe stacks — separate VPC/RDS/ECS from BookingZone. Current rule is ADR-0010 on main (zero runtime dependency). ADR-0009 is retained as history.

Current decision summary (ADR-0010)


ADR-0010 (Accepted — current)

Source: adrs/0010-zero-dependency-rental-booking.md @ cursor/zero-dep-rental-booking-c717 (aerospace-apps/bz-platform-context)


ADR-0010: Zero Runtime Dependency Between Rental and Booking

Status: Accepted Date: 2026-09-05 Deciders: Anil Kumar Pandey (approved), Staff Architect Impacted Repos: rental-api-server, reservation-api-server Supersedes: ADR-0009

Context

ADR-0009 established that rental-api-server runs as an isolated Frappe stack with its own VPC, RDS, and ECS cluster. Cross-references to BookingZone entities were stored as Data fields (string IDs) and resolved via HTTPS calls to reservation-api-server.

After operating under this model, several concerns emerged: