Build specification
Implementation Guide#
Recommended runtime#
Modular monolith plus workers: PostgreSQL, version-pinned Apache AGE, pgvector, object storage, Graph Command Service, Ally/Actor orchestration, ingestion, outbox/reconciliation, and privacy-safe observability. One graph per Ecosystem; Organization boundaries are policy and RLS, not isolated databases.
Build sequence#
- Load schemas, registries, IDs, palette/material/isometric rules.
- Implement identity/session and the four state layers.
- Implement named reads, ActionRequest/authorization/confirmation/Command/Record spine.
- Implement renderer from immutable SceneRenderState plus semantic-tree bridge.
- Ship Arrival → Lantern → private Pitch → Compass receipt as vertical slice.
- Add role quests, family Actor cycle, honest messages, and safe solo fallbacks.
- Add Apiary Table, Project create/join, WorkItems, Contributions, acceptance.
- Add Ally weaving and bounded Actor delegation.
- Add sandbox ledger/resources/funding signals and governed decision.
- Add Underways, movable Portal, Second Bell, and ARG opt-in.
- Add Workshop/Compound expansion, sharding, crowd aggregation, return-session change.
- Run full QA, privacy adversaries, accessibility, load, recovery, and art insertion tests.
Non-negotiable tests per slice#
Expected-version conflict; idempotent replay; reconnect; unauthorized read; secret preview; keyboard/screen reader; reduced motion; solo population; 1,000+ presence load; actor acts while Source absent; external operation never says complete before settlement.