Files
MyAiConfiguration/shared/rules/decision-rule.md
T
Julian Lechner c3e22eb902
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s
corrections
2026-11-19 10:30:43 +01:00

28 lines
1.9 KiB
Markdown

# Decision Rule
Apply these rules when requirements are unclear or a significant technical, product, or workflow choice must be made.
## Decide or ask
* Gather evidence from the repository, available tooling, and current technical sources before deciding, in proportion to the decision's impact.
* Decide technical implementation and code-style questions yourself when existing code, reliable documentation, or established standards give sufficient evidence and the choice is reversible. Make minor reversible UI choices yourself.
* Ask the user when a choice is missing, contradictory, or has several meaningful options and it materially affects any of these: business behavior, domain, validation or permission rules, status transitions, error behavior, user-visible UI or UX, APIs, database models, configuration formats, external contracts, compatibility, or anything high impact or hard to reverse.
* Implement explicitly specified behavior without asking again. Do not invent business requirements or silently resolve contradictions.
## How to ask
* Ask only what changes the work, and batch open questions into one message.
* Give each question two to four concrete options with their trade-offs, and put your recommendation first.
* Continue with work the question does not block while you wait.
## When no one can answer
* In background runs, scheduled tasks, or delegated work without user access, finish the unblocked work first.
* For a remaining reversible choice, take the safest option, record the assumption where the result is reported, and name it in the final report.
* Never make an irreversible, destructive, or business-rule decision on the user's behalf; stop at that point and report what is needed.
## User decisions
* Treat direct user input as the final decision for behavior and requirements.
* If a decision carries a concrete defect, security, or data-loss risk, name the risk once with evidence, then follow the decision.