원클릭으로
stale-management
Rules for detecting and managing stale issues and PR reviews.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rules for detecting and managing stale issues and PR reviews.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Detect and prevent product-specific terminology contamination across skills/ and prompts/. Run after any bulk content update, skill import from another project, or agent config change. Applied as a shared skill across all agents.
When and how Architect delegates tasks to AO, Mechanic, and Designer.
Checklist and rules for reviewing deployment requests. Architect assesses but NEVER executes.
Rules for triaging new issues, classifying severity, and routing to the correct agent.
How to classify and respond to CI/pipeline failures.
When Designer reviews vs builds. Clear boundaries for autonomous action.
| name | stale-management |
| description | Rules for detecting and managing stale issues and PR reviews. |
| metadata | {"version":"1.0.0","type":"procedure"} |
Covers the
stale_issue_sweepcron task. A safety-net that catches issues missed by real-time event triggers (github:issue_opened,github:issue_labeled) and reconciles stalein-progresslabels left behind by failed AO sessions.
This is a SIMPLE label filter. Do NOT infer activity. Do NOT check comments, branches, or commits. Do NOT use assignee as a signal.
ao:status. If AO is degraded, queue depth > 5, or unavailable, stop immediately. Return "AO not ready, skipping sweep."repo:list to get all registered repos. For each healthy repo, call github:list_issues with state: open.in-progress that was updated more than 3 hours ago (check updated_at), the AO session likely failed without a callback. Remove the in-progress label via github:remove_label so the issue becomes eligible again. Log a warning: "Removed stale in-progress from #N (last updated {time})."in-progress), evaluate eligibility using ONLY labels:
bug, QA, or ao-eligible (match emoji-prefixed variants)needs-human, coordination, UI, security-sensitive, or in-progressgithub:get_issue, create a structured directive (same format as evaluate_and_delegate), publish architect:build_directive via event:publish."Delegated N issues: #X, #Y, #Z" or "No eligible issues found" or "AO not ready, skipping.". Include any stale in-progress labels that were removed.In addition to issues, Architect is responsible for chasing down its own stale PR feedback.
| Age | Action |
|---|---|
| 2h | Re-dispatch the architect:build_directive with the original feedback |
| 4h | Escalate via strategist:architect_directive asking Strategist to reassign |
| 8h | Close the PR with comment: "Closed due to stale review. Please reopen with the requested changes." |
Do NOT "re-approve" a PR with unresolved review feedback just because it's old. Old + unresolved = closer to closing, not closer to merging.
issue-triage/SKILL.md — the real-time path that this sweep backs updelegation-policy/SKILL.md — for directives published during the sweeppipeline-health/SKILL.md — AO health check that gates the sweep