feat(loop): add scheduled triage automation (the loop heartbeat)#49
Open
sethdavis512 wants to merge 3 commits into
Open
feat(loop): add scheduled triage automation (the loop heartbeat)#49sethdavis512 wants to merge 3 commits into
sethdavis512 wants to merge 3 commits into
Conversation
Adds the missing "heartbeat" pillar of a loop-engineered workflow on top of the existing Ralph loop, sub-agents, skills, and connectors: - .github/workflows/triage.yml — weekday cron that runs the triage skill on Sonnet, discovers work, and files actionable items (discovery only, never fixes). - .claude/skills/triage/SKILL.md — the loop's brain: reads recent commits, latest CI, and open issues; records findings; files triage-labeled issues. - docs/loop/state.md — durable memory that survives between runs. - docs/loop/README.md — how the loop fits together and how to steer/disable it. https://claude.ai/code/session_016JcSoq1xtvEVV5sMZC5oHH
A markdown state file isn't queryable, merge-conflicts under parallel runs, and forces the agent to rewrite it whole each run. GitHub Issues is already queryable, merge-safe, human-visible, and wired up — and makes the loop naturally idempotent (it dedups by searching open issues before filing). - Delete docs/loop/state.md. - Rewrite the triage skill around GitHub Issues: dedup against open `triage` issues, file/comment/close via gh, read operator steering from a `triage-meta` issue instead of a file section. Run produces zero file changes. - triage.yml: drop the state-file commit machinery (git identity step, contents:write → contents:read). - README: explain why Issues over a file, with a note that beads is the upgrade path if autonomous multi-agent execution is turned on later. https://claude.ai/code/session_016JcSoq1xtvEVV5sMZC5oHH
format:check ran `prettier --check .` over the whole tree with no ignore file, so ~120 vendored agent/spec-kit scaffolding files (.agents, .claude, .specify, .github/agents, skills-lock.json) failed the check and broke CI. Ignore those tool-generated trees and format the genuinely project-owned docs that remained (CLAUDE.md, docs/loop/README.md, scripts/ralph/*). https://claude.ai/code/session_01Kn2TP2U1WdkfWAi3YXidBz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.