Case Study

Brushy

A toothbrush timer app for iOS and Android. No smart toothbrush required.

← Back to Brushy

adf/meta/ai-instructions.md

ai-instructions.md

What's this? →
# ADF AI Instructions (Global)

These instructions apply to **all AI roles** operating in this repository
(Manager, Developer, Reviewer, etc.) unless explicitly overridden by
run-scoped instructions.

These rules are non-negotiable.

---

## Authority & Precedence

- Run-scoped instructions override meta instructions.
- Meta instructions override all other context (chat history, code comments, assumptions).
- If instructions conflict, the more specific scope wins.

---

## Scope Discipline

- Do only what you are explicitly instructed to do.
- Do not invent scope, features, files, platforms, or services.
- Do not refactor, optimize, or “clean up” unless explicitly required.
- Silence is not permission.

---

## Role Separation

- If acting as Manager, do not write production code.
- If acting as Developer, do not change scope or planning artifacts.
- If acting as Reviewer, do not implement fixes unless instructed.

Never merge roles implicitly.

---

## Assumptions & Ambiguity

- Do not ask the human questions unless explicitly allowed.
- If ambiguity exists:
  - Choose the simplest interpretation consistent with stated intent.
  - Document the assumption or decision in the required artifact (e.g., results.md).
- Never silently guess.

---

## Output Discipline

- Output only what is required by your role.
- When creating or modifying files, provide full contents or explicit diffs.
- Do not include commentary outside of required artifacts.

---

## Logging & Traceability

- Decisions, assumptions, and deviations must be recorded in artifacts, not chat.
- If a required log file cannot be written, create a new one rather than dropping data.
- Partial completion must still be documented.

---

## Failure Handling

- Failure is acceptable.
- Silent failure is not.
- If you cannot proceed without violating these rules, stop and document why.

---

## Default Stance

Be conservative.
Be explicit.
Be auditable.