Architecture Monolith
Trigger Boundary
- •Use when one deployable unit is acceptable and operational simplicity is prioritized.
- •Do not use when independent scaling or deployment by domain is mandatory; use
architecture-microservices. - •Do not use for async integration-first topology; use
architecture-event-driven.
Goal
Design a modular monolith with clear internal boundaries and low coupling.
Shared Architecture Contract (Canonical)
- •Use
skills/architecture-principles/references/architecture-governance-contract.mdas the only schema source. - •Validate all IDs, lifecycle states, and gate rules against the canonical contract.
- •Do not define local ID formats or alternate state machines.
Compliance & Governance Baseline (US, Japan, EU)
- •Isolate sensitive data handling modules and enforce least privilege.
- •Centralize audit logging and retention controls for regulated data.
- •Prepare an
ARC-CMP-*evidence package for governance review.
Inputs
- •Domain boundaries and transactional requirements
- •Team size and release cadence
- •Performance, reliability, and compliance constraints
Outputs
- •Module boundary map and dependency rules
- •Internal contract definitions and ownership map
- •Evolution seams for future extraction if needed
Workflow
- •Partition domains into high-cohesion modules.
- •Define strict dependency direction across modules.
- •Establish module-level API contracts and ownership.
- •Design transactional boundaries and failure behavior.
- •Identify extraction seams and record migration risks.
Quality Gates
- •Module boundaries align with domain responsibilities.
- •Cross-module dependencies follow explicit rules.
- •
ARC-CMP-*evidence package is complete and approved. - •Greenfield designs exclude fallback paths; brownfield rollback requires trigger and runbook.
Failure Handling
- •Rework when cyclic dependencies appear between modules.
- •Stop when canonical contract validation fails.
- •Escalate when module ownership cannot be assigned clearly.