|
| 1 | +--- |
| 2 | +applyTo: "**" |
| 3 | +--- |
| 4 | + |
| 5 | +<!-- Generated by `scripts/sync_agent_context.py`. Edit `../docs/agent-os/README.md` and rerun the generator. --> |
| 6 | + |
| 7 | + |
| 8 | +## Tool substitution — mandatory |
| 9 | + |
| 10 | +| Use this | Instead of | Why | |
| 11 | +|---|---|---| |
| 12 | +| `mcp__atelier__read` | `Read` / `Bash(cat ...)` | outline-first, 80-95% fewer tokens on large files | |
| 13 | +| `mcp__atelier__search` | `Grep` / `Glob` / `Bash(grep/rg ...)` | ranked, budget-capped, ~280k tokens saved vs naive scan | |
| 14 | +| `mcp__atelier__edit` | `Edit` / `Write` | atomic multi-file, snapshot/rollback, diff recorded | |
| 15 | +| `mcp__atelier__shell` | `Bash(...)` | ANSI-stripped, line-truncated, token-compact | |
| 16 | +| `mcp__atelier__code op=search` | `Bash(grep -rn symbol ...)` | SCIP-indexed, zero subprocess cost | |
| 17 | + |
| 18 | +**Bash is only for git commands and process management.** Do NOT use `Bash(cat file)`, `Bash(grep ...)`, or `Bash(find ...)` — use the atelier equivalents above. |
| 19 | + |
| 20 | +Treat this file as a thin entrypoint. The live source of truth is: |
| 21 | + |
| 22 | +- [Agent OS](../docs/agent-os/README.md) |
| 23 | +- [Workflow](../docs/agent-os/workflow.md) |
| 24 | +- [Taste invariants](../docs/agent-os/taste-invariants.md) |
| 25 | +- [Validation matrix](../docs/agent-os/validation-matrix.md) |
| 26 | +- [Architecture](../docs/architecture/README.md) |
| 27 | +- [Quality scorecard](../docs/quality/scorecard.md) |
| 28 | +- [Plans](../docs/plans/README.md) |
| 29 | +- [Decisions](../docs/decisions/README.md) |
| 30 | + |
| 31 | +## Budget optimizer |
| 32 | + |
| 33 | +- Before changing files, name the deliverable and summarize the smallest viable plan. |
| 34 | +- Keep context narrow: use only the current goal, relevant files, failing command/output, and known constraints. |
| 35 | +- Restate working context in under 10 bullets before editing or after compaction. |
| 36 | +- If more than 10 minutes pass without an edit, name the expected deliverable or check with the user. |
| 37 | +- If the same approach fails twice, call `rescue` or change approach; do not retry a third time. |
| 38 | + |
| 39 | +## Native fallback |
| 40 | + |
| 41 | +If an Atelier MCP tool returns `noop`, is hidden, or is unavailable, use Copilot or VS Code native file reads, workspace search, shell `rg`, or `grep`. |
| 42 | +Always return findings instead of waiting for tool availability to improve. |
| 43 | + |
| 44 | +## Validation |
| 45 | + |
| 46 | +See [Validation matrix](../docs/agent-os/validation-matrix.md) for the minimum checks by change surface. Use the VS Code tasks for repeatable preflight, worktree, and runtime evidence loops. |
0 commit comments