Automation

Checks and maintenance run mechanically instead of being remembered each time.

39 items in this guidance cluster.

Tagged guidance

Agent workflow rules

Boundary rules

Change shape rules

Performance rules

Rust rules

Testing rules

VCS rules

Pattern items

Code is memory of processCode accumulates the history of decisions, shortcuts, and workflows that produced it. When changing it, preserve useful operational memory while removing obsolete process scars that no longer serve readers.Garbage collect agent driftAgent-generated notes, plans, and assumptions can outlive their usefulness and mislead later work. Periodically remove, update, or promote them so durable guidance stays current and temporary scaffolding does not become false context.Keep automations repo ownedCritical checks and generation steps become fragile when they live only in personal scripts or local memory. Put repeatable automation in the repository so agents and humans can run the same workflow.Make bad output mechanically hardRepeated review failures usually belong in a tool, type, schema, template, lint, or checklist instead of another reminder. Encode stable rejection criteria early, but keep escape hatches when legitimate exceptions are common.Practice agent workoutsHigh-risk or repeated agent workflows are unreliable when first exercised during real work. Build safe practice tasks with explicit win conditions so the workflow, skill, or runbook can improve before pressure arrives.Prefer tools over promptsProse instructions are weak guardrails for repeatable constraints because agents can forget or apply them too late. Use tools, tests, templates, and checks for mechanical preferences, while reserving prompts for judgment and tradeoffs.Teach agents through toolsRepeated agent confusion often means the repo lacks a command, fixture, wrapper, or check rather than another instruction. Convert repeatable setup, inspection, validation, and remediation into tools when they will improve future runs.Turn feedback into guidanceRepeated steering can expose missing, unclear, unreached, or ignored guidance. Diagnose the failure, fix the current artifact, and repair the instruction or delivery mechanism that should prevent recurrence.Verify with canaries before cutoverAutomation is risky when production cutover is the first real proof. Use a canary path, rollback plan, and human approval for operations with remote access, credentials, production data, or long-lived service impact.

Principle items

Mechanism items

Agent item