# 4. Definition of done — every page, component and capability

The checklist we apply before a page, component or capability counts as done. A roadmap task is only checked when every item that applies to it holds.

- [ ] Real service implementation; mock data restricted to tests, fixtures and clearly labeled demos.
- [ ] Consistent domain model, typed input validation, persisted state and migration coverage where applicable.
- [ ] Appropriate authorization and policy checks for every entry point.
- [ ] GUI accessibility, responsive layout, keyboard interaction and visual consistency.
- [ ] Honest loading, success, error, empty, cancellation and unsupported states.
- [ ] GUI/REST/MCP capability matrix updated with rationale for restrictions or unavailable features.
- [ ] Unit, integration, contract and end-to-end tests as appropriate.
- [ ] Negative tests for scope denial, revoked permissions, cross-vault access and malformed data.
- [ ] Security review for credential handling, data exports, untrusted content and resource consumption.
- [ ] Performance checks for realistic data volumes and documented resource limits.
- [ ] User documentation, release notes and upgrade behavior updated.
- [ ] Browser/screenshot review for visual features; backend tests for behavioral claims.
