3.4 KiB
3.4 KiB
Monaco OPC Architecture Redesign (Codex Plan)
Purpose
This documentation set is a comprehensive redesign plan to align the current MOPC platform with the exact Monaco Ocean Protection Challenge flow you defined:
- Startups + Concepts in one competition lifecycle
- AI eligibility filtering
- Purpose-bound main juries as explicit entities (custom-labeled per program; often Jury 1 / Jury 2 / Jury 3)
- Round-specific submission bundles
- Special award routing modes
- Mentoring collaboration layer with promotion to official submissions
- Live finals control + final confirmation/lock workflow
- Full admin override and auditability
- End-to-end integration across all platform functions (including member invitation/onboarding/team flows)
The plan is intentionally designed to reduce current ambiguity and complexity while maximizing customizability through typed policies and explicit workflow entities.
Scope Of This Plan
This plan covers:
- Current-state architecture audit (schema, services, routers, UI surfaces)
- Target-state architecture mapped 1:1 to Monaco flow
- Gap analysis and simplification decisions
- Typed domain model and policy contracts
- Platform-wide integration matrix (all major functions/pages)
- Implementation roadmap and migration/cutover strategy
- QA, observability, release gates
- Open decisions/questions for flow owners
This plan does not implement code changes. It is an implementation-ready architecture and delivery blueprint.
Guiding Principles
- Keep the stage engine; remove ambiguity around stage purpose.
- Move critical competition behavior from loosely-typed
configJsoninto typed models/policies. - Preserve admin override authority everywhere, but formalize override intent and audit structure.
- Make jury/award/mentoring/finals flows first-class entities instead of inferred behavior.
- Keep UX simple by exposing only context-relevant controls at each stage.
- Ensure every user-facing workflow is backed by the redesigned architecture contract.
Document Index
01-current-platform-architecture-audit.md02-monaco-flow-target-architecture.md03-gap-analysis-and-simplification-decisions.md04-unified-domain-model-and-config-contracts.md05-platform-wide-integration-matrix.md06-implementation-roadmap-and-migration-plan.md07-testing-observability-and-release-gates.md08-open-questions-for-flow-owners.md
Recommended Reading Order
- Read
02-monaco-flow-target-architecture.mdfor the desired end state. - Read
03-gap-analysis-and-simplification-decisions.mdto understand what must change and why. - Read
04-unified-domain-model-and-config-contracts.mdfor schema/API/behavior contracts. - Read
05-platform-wide-integration-matrix.mdto see exact surface-level impact. - Read
06-implementation-roadmap-and-migration-plan.md+07-testing-observability-and-release-gates.mdfor execution. - Resolve items in
08-open-questions-for-flow-owners.mdbefore Phase 1 starts.
Success Criteria
The redesign is successful when:
- The platform can run your full Monaco flow without workarounds.
- Admins can configure and override all required decisions transparently.
- Judges, mentors, applicants, and audience each see role-appropriate, stage-aware UX.
- Invite/onboarding/team management, assignment, judging, mentoring, and finals workflows all reference the same underlying competition model.
- Audit evidence can reconstruct every advance/reject/override/winner decision.