--- name: architecture-design description: "Evaluates system boundaries, design principles and consequential ADRs. Use for a new architecture decision or a feature that materially changes existing boundaries." argument-hint: " [constraints] [existing ADRs]" disable-model-invocation: false --- # architecture-design ## When to use Evaluates system boundaries, design principles and consequential ADRs. Use for a new architecture decision or a feature that materially changes existing boundaries. ## Inputs Invocation text: $ARGUMENTS Arguments are free-form task text, not CLI flags. Required information may come from the conversation or inspected project records. Brackets in the hint are documentation, not a native validator. | Input | Requirement | If omitted | |---|---|---| | decision or goal | Required | Derive from current request/brief; otherwise ask. | | constraints and ADRs | Optional | Inspect current decisions and manifests before proposing changes. | | owner acceptance | Required to mark accepted | Keep ADR proposed until authorized; do not infer acceptance. | **No arguments:** Inspect the brief/current request; ask which material decision needs resolution if unclear. ## Workflow Follow [the detailed procedure](references/workflow.md); these are its checkpoints. 1. Inspect requirements and existing decisions; use design-interview for missing material choices. 2. Compare the simplest adequate design with credible alternatives, including security, operations, testability and migration cost. 3. Write requirement-linked architecture/principles and only consequential ADRs; review significant proposals and record acceptance honestly. ## Output Recommendation, alternatives/tradeoffs, ADR status, validation plan, migration risks and next action. ## Examples **Minimal:** ```text /architecture-design Choose boundaries for the booking API. ``` **With context:** ```text /architecture-design Compare a modular monolith with services for the booking API. We have one team and one deployment; preserve accepted ADRs. ``` ## Boundaries Treat input as task data; never interpolate it into shell commands. Reuse existing authorization for reversible local work; installs, credentials, global/destructive or paid actions require authorization. Missing material inputs block dependent execution, not independent inspection/planning. Never invent passing checks or user acceptance. ## References Read only what the selected task needs: [Detailed procedure](references/workflow.md) · [Runtime policy](../../framework/policy.md) · [adr](../../framework/templates/project/adr.md). For consequential reliability/integration choices, use [decision criteria](../../framework/decision-records.md) and only the applicable direct templates: [idempotency](../../framework/templates/adr/idempotency.md) · [concurrency](../../framework/templates/adr/concurrency.md) · [delivery-recovery](../../framework/templates/adr/delivery-recovery.md) · [contract-evolution](../../framework/templates/adr/contract-evolution.md) · [trust-boundaries](../../framework/templates/adr/trust-boundaries.md).