# Local operating contract: `<<required: subtree path>>`

<!--
Copy to <subtree>/AGENTS.md only when this subtree genuinely differs.
Root guidance still applies unless this file states a narrower local rule.
Do not copy the entire root AGENTS.md.
This file cannot waive a root non-waivable invariant; enforce such invariants in CI, DB, authorization policy, or another hard gate.
-->

## Scope

- Applies to: `<<required: paths/globs described in plain language>>`
- Local responsibility: `<<required: what this subtree owns>>`
- Does not own: `<<required: neighboring boundary>>`
- Maintainer/decision owner: `<<required: person or role>>`

## Local source of truth

- Contract/schema: `<<required: path or N/A with reason>>`
- Tests/fixtures: `<<required: path>>`
- Runbook/migration notes: `<<required: path or N/A with reason>>`

## Local commands

- Test: `<<required: exact command>>`
- Type/build/codegen: `<<required: exact command or N/A with reason>>`
- Integration/E2E: `<<required: exact command and prerequisites or N/A with reason>>`

These commands supplement or replace the root commands only for this subtree: `<<required: explain exactly which>>`.

## Local invariants

- `<<required: consequential local invariant>>`
- Safe path: `<<required: acceptable implementation or exception>>`
- Verification: `<<required: test/lint/query name>>`

## Local review rules

### `<<required: rule name>>`

- Flag: `<<required: unsafe behavior and scope>>`
- Safe path: `<<required: allowed alternative or exception>>`
- Trigger example: `<<required: short example>>`
- Safe counterexample: `<<required: short example>>`
- Unrelated counterexample: `<<required: short example>>`

## Boundary changes

If a change crosses this subtree's public interface, data ownership, trust boundary, or deployment unit, update `<<required: ADR/threat/contract location>>` and request review from `<<required: owner>>`.

## Instruction-change control

- Root/nested conflict check: `<<required: lint or review command>>`
- Non-waivable root invariants affected: `<<required: none, or IDs and hard-gate evidence>>`
- Owner review for this instruction change: `<<required: actor, time, exact diff SHA>>`
- Expiry/removal condition for temporary local rules: `<<required or N/A with reason>>`

If this file appears to weaken a broader invariant, treat the conflict as `PAUSE` until the root owner resolves it. Prose precedence is not an authorization boundary.
