docs(arch): #1793 workspace-placement RFC — formalize org-per-EC2 architecture #1819
Reference in New Issue
Block a user
Delete Branch "docs/issue-1793-workspace-placement-rfc"
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?
Summary
Closes #1793. Formalizes the org-per-EC2 architecture that has been implicit since the post-2026-05-06 GitHub-suspension rebuild and was the basis for the 2026-05-24 memory v1→v2 migration.
Core contract: every Molecule org runs as a fully isolated tenant on its own EC2, with workspace-server + memory plugin + Postgres + Redis + canvas co-located. The platform (controlplane on Railway) handles provisioning, billing, and DNS — never tenant data.
What the RFC covers
MOLECULE_ORG_ID+MOLECULE_PLATFORM_URL; runtime is agnostic to hosted vs self-hosted platformCross-links
docs/architecture/molecule-technical-doc.md§3 now opens with a note linking to the RFCdocs/architecture/memory.mdHMA intro now makes the physical tenant-isolation enforcement explicit, linking to the RFCMemory pointer
Saved
reference_workspace_placement_rfcin the auto-memory index so future Claude sessions encountering architectural design work see the contract before proposing.Acceptance criteria (from #1793)
docs/architecture/docs/architecture/molecule-technical-doc.mdanddocs/architecture/memory.mdreference_workspace_placement_rfc)SOP Checklist (RFC #351)
1. Comprehensive testing performed
N/A — pure architecture documentation. Diagram + prose verified for internal consistency.
2. Local-postgres E2E run
N/A.
3. Staging-smoke verified or pending
N/A.
4. Root-cause not symptom
The root cause of architectural drift is undocumented decisions becoming implicit. This document removes that surface — anyone proposing a platform-side aggregation of functional state can be pointed at this RFC during review.
5. Five-Axis review walked
Walked solo. Product framing merits Cui's sign-off post-merge (added as acceptance criterion).
6. No backwards-compat shim / dead code added
Pure addition: +198 LOC across 1 new doc + 2 small cross-link edits.
7. Memory/saved-feedback consulted
reference_post_suspension_pipeline— context for why per-tenant SSOT became the post-suspension architecturefeedback_no_single_source_of_truth— this RFC encodes the rule at the architecture level🤖 Generated with Claude Code
Approving PR #1819: docs-only RFC formalizing the org-per-EC2 architecture. Acceptance criteria all met except Cui sign-off (called out, async-mergeable). CTO-bypass 2026-05-24.
Approving PR #1819: docs-only RFC formalizing the org-per-EC2 architecture. Acceptance criteria all met except Cui sign-off (called out, async-mergeable). CTO-bypass 2026-05-24.