Files
MyAiConfiguration/shared/rules/definition-of-done.md
T
Julian LechnerandClaude Opus 5.5 b74357b586 docs(rules): unify remote write approval and sharpen cross-cutting rules
The microsoft rule now covers every connected remote system: Azure
DevOps, Teams, SharePoint and Microsoft 365, SQL Server, Confluence,
Grafana, and other connectors. A direct request that names the action,
target, and content counts as confirmation. Deletions, irreversible and
bulk changes, and access changes always need confirmation. Database
writes show the statement and expected row count first. Definition of
Done now defers to this rule instead of contradicting it.

The decision rule adds how to ask, what to do when no one can answer,
and naming a concrete risk once before following a user decision.

Refactoring guidance is language neutral, Definition of Done accepts
documented shortcut: comments, and both point to the proportional
verification rule that actually exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:41:35 +01:00

31 lines
2.3 KiB
Markdown

# Definition of Done
A task is only considered done when all applicable requirements below are fulfilled.
## Requirements
* Every requirement in the work item description and every acceptance criterion is implemented or otherwise resolved; none is left partially implemented.
* Requirements are checked against the actual implementation and the relevant code paths, not assumed to be complete.
* Any deviation from the description or acceptance criteria has been explicitly approved by the user.
* No known unresolved blocker, defect, or regression introduced by the change remains.
## Verification
* Verification is sufficient for the change's risk and scope, following the proportional verification rule in the general rules. A build, test run, new test, or independent review is not required for every change.
* Checks selected on that basis, and checks explicitly required by the user or project, have passed. Material gaps and pre-existing failures are reported without claiming unverified success.
* Any delegated research, review, or verification is complete and its relevant findings are resolved or reported.
* External technology claims MUST pass the verification checkpoint in `technical-research`. Required unsupported assumptions or missing execution evidence leave affected criteria unverified; a Context7 call alone does not establish completion.
## Code
* The implementation follows the project's coding, architecture, security, and performance guidelines and handles errors and edge cases appropriately.
* No unrelated changes are included.
* No temporary code, debug output, commented-out code, placeholders, or TODOs remain unless explicitly intended. A `shortcut:` comment that documents a known limit and when to upgrade counts as intended.
* Directly affected documentation and comments are updated; other documentation or comments are added only for a concrete need.
## Work item state
* Do not mark, close, resolve, or otherwise change the state of a work item automatically. A task may be technically complete without changing its remote work item state.
* Perform Azure DevOps and other remote writes only under the remote-system rules (`rules/microsoft.md` / `rules-microsoft`).
* If completion is unclear, requirements conflict, or something is missing, ask the user instead of deciding autonomously.