Use when editing this repo's conf/agent-settings.toml, symlinks/apm/ files, or cli/src/domains/ai/apm implementation. Not for general skill-writing advice, audience/placement decisions, or unrelated agent behavior.
Use for ConfigValidator aggregation, domain validate() functions, diagnostic codes/severity, test-command validation tasks, or cli/tests/config_drift.rs. Not for ordinary TOML parsing alone.
Use when deciding where Stuart's reusable agent customization belongs: public dotfiles vs private overlay, dot-agent vs dot-skill, APM target compatibility, or plugin/config-fragment structure. Not for repo Rust details.
Use for task graph and execution changes in cli/src/engine/, command task membership, dependencies, startup task discovery, restart boundaries, Operation plans, ProcessMode, or task/resource parallelism. Not for a standalone Resource.
Use for private overlay path resolution, SectionLoader overlay merging, overlay script resources, or dynamic OverlayScriptTask discovery. Not for ordinary repository scripts or public config alone.
Use for .github/workflows/, CI guard scripts, release tags/assets, Docker publishing, action pinning, or ci-success gating. Not for ordinary local test selection.
Use after changes to cli/src/, dotfiles.sh, or dotfiles.ps1 to select the canonical Linux/Windows checks. This is validation guidance, not an implementation-pattern skill.
Use for error propagation, dry-run ordering, idempotency, TaskResult, or ResourceChange semantics in cli/src/. Not for scheduler topology or console formatting alone.