> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 2.5 Architecture Decisions

The entries below record choices in the approved design guide. The guide does not provide a separate dated decision log. Where the rationale or alternatives are absent, the child page keeps an owner-input placeholder.

| Decision | Design choice | Status | Detail |
| - | - | - | - |
| AD-001 Durable orchestration | Use Azure Durable Functions for long-running state, retries, timers, and approval waits. | Approved design | Source sections 1 and 14. |
| AD-002 Bounded AI authority | Use the agent graph only for assessment; keep approval and payment outside the model. | Approved design | Source sections 1 and 13. |
| AD-003 Quarantine-first evidence | Scan, validate, and process evidence before promotion. | Approved design | Source sections 11 and 12. |
| AD-004 Claim-partitioned persistence | Partition claim aggregate data by claim ID in Cosmos DB. | Approved design | Source sections 6 and 8. |
| AD-005 Cost-bounded hosting | Use scale-to-zero and serverless services with quotas and budget alerts. | Approved design | Source sections 1, 8, and 22. |
| AD-006 Role-based access | Use Customer, Reviewer, and Admin roles with claim ownership checks. | Approved design | Source sections 10 and 15. |
| AD-007 Test payment and idempotency | Use Stripe test mode, reviewer approval, signature-verified webhooks, and claim-keyed idempotency. | Approved design | Source section 16. |

Dates are not present in the plan and are not inferred. Each decision detail page marks missing alternatives and decision dates explicitly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.