Skip to content

STD-PRD-002: Module Lifecycle (Definition of Done)

1. Context

To prevent "90% Done" syndrome. A module is not "Complete" until it is Sovereign—fully robust, documented, and tested.

2. The Standard (The Floor)

  • [MUST] The Golden Criteria: A module is Stable ONLY when:
  • Code: All features implemented and lint-clean.
  • Tests: Unit tests pass (vitest) and E2E Smoke Test passes (playwright).
  • Data: A DataSeeder exists to populate it.
  • Docs: A walkthrough.md exists proving functionality.
  • Safety: A Threat Model check is complete.
  • Ops: Observability Hooks (Logs/Metrics) are verified.
  • Release: A Rollback Plan is defined.
  • [MUST] The Analog Twin (Stewardship): You MUST reconcile the "As-Built" reality back into the System's Analog Twin:
  • Specs: Update 01_architecture/blueprints/.
  • Rules: Update 06_product/rules/.
  • Personas: Update 06_product/personas/.
  • Manuals: Update documentation/manuals/.
  • [MUST] Accessibility: No Critical WCAG violations.

3. Best Practices (The Path)

  • [SHOULD] Visual Regression: "Golden Workbenches" should have a snapshot test.
  • [SHOULD] Persona Verification: Verify the module works for ALL intended Personas, not just Admin.

5. Version History

Version Date Author Change
1.0 2026-01-25 AI Established Definition of Done

Version History

Version Date Author Change
0.1.0 2026-01-26 Antigravity Initial Audit & Metadata Injection