loop-triage
L1 daily loop triage for the orchestrator template. Cache is king: load manifest + lean cache before any source or gh deep-dive. Synthesise priorities into STATE.md and reports/loops/. Report-only; no
SKILL.md.copilot/skills/loop-triage/SKILL.md
GitHubLoop Triage (L1, cache-first)
Cache is king. This loop does not explore the codebase. It reads cached knowledge and minimal host snapshots.
Mandatory load order (do not skip)
.github/project-manifest.yamlor.claude/project-manifest.yaml—paths,token_policy,loop_policyLOOP.md— confirm level L1 for this runloop-budget.md— respect max cache files and zero source files at L1STATE.md— resume open queue; do not duplicate done itemsdocs/codebase/README.md+docs/codebase/.codebase-scan.txt— staleness only- ≤3 targeted sections from
docs/codebase/CONCERNS.md,ARCHITECTURE.md, orCONVENTIONS.md(grep headings; no full-file read unless small) - Latest
TODO/*.md— open items in ≤5 bullets .copilot/memories/INDEX.md— ≤2 memories if relevant
Optional host snapshot (after cache only)
Only if needed for the report; cap at 3 commands:
git branch --show-current+git status --shortgh pr list --limit 5(ifghavailable)gh run list --limit 3(ifghavailable)
Do not run grep/find across source trees at L1.
Produce (L1)
- Write
reports/loops/YYYY-MM-DD-triage.mdwith:- Cache cited: list every file/section used
- Priorities: ≤5 bullets from cache + TODO
- Risks: numbered CONCERNS items touched
- Host snapshot: branch, open PRs (if fetched)
- Next: 1–3 human actions (no auto-fix)
- Update
STATE.md— Cache used, Open/Done, Last session - Append one row to
loop-run-log.md - Stay ≤120 words in the executive summary at top of report
Chain verifier
Invoke .github/skills/loop-verifier/SKILL.md on the report artifact before marking run complete.
Anti-patterns
- Reading
app/,src/, or large trees before cache load - Auto-commits, auto-PRs, or fixes at L1
- Pasting large cache paragraphs into the report (cite by section only)