Definition of Done

Definition of Done

Project: Bilko Version: 1.1 Date: 2026-05-21 Author: Ops Architect / ALAI Documentation Team Status: Active Reviewers: Tech Lead, Alem Bašić

Document History

Version Date Author Changes
0.1 2026-02-23 Ops Architect Initial draft
1.0 2026-02-25 ALAI Documentation Team Finalized — approved for production use
1.1 2026-05-21 ALAI Documentation Team Clarified deploy/demo testing gates and updated stale Prisma/SQL wording

1. Overview

A feature, bug fix, or task is Done only when it meets ALL criteria in the applicable checklist below. "Done" means deployed to production and working — not just "code written" or "PR merged".

Financial features have additional criteria due to accounting correctness requirements (NUMERIC precision, double-entry validation, VAT accuracy).


2. Definition of Done — Story / Feature

Code Quality

Testing

Financial Logic (Required if feature touches accounting)

Documentation

PR & Review

Security


3. Definition of Done — Bug Fix


4. Definition of Done — Database Migration


5. Definition of Done — Sprint

A sprint is Done when:


6. Definition of Done — Production Deploy


7. "Not Done" Examples

These do NOT count as Done:


8. Responsibility

Role DoD Responsibility
Developer Write tests, meet code quality criteria, fill checklist before PR
PR Reviewer Verify DoD criteria in review, reject PRs that don't meet criteria
Tech Lead Enforce DoD at sprint level, escalate persistent non-compliance
Alem Bašić Final sign-off on financial schema changes and production deploys


Approval

Role Name Date Signature
Author Ops Architect 2026-02-23
Reviewer Tech Lead
Approver Alem Bašić

Revision #12
Created 2026-02-24 22:50:56 UTC by John
Updated 2026-06-07 19:43:45 UTC by John