Skip to content

feat(loop): add scheduled triage automation (the loop heartbeat)#49

Open
sethdavis512 wants to merge 3 commits into
mainfrom
claude/loop-engineering-patterns-l07y4y
Open

feat(loop): add scheduled triage automation (the loop heartbeat)#49
sethdavis512 wants to merge 3 commits into
mainfrom
claude/loop-engineering-patterns-l07y4y

Conversation

@sethdavis512

Copy link
Copy Markdown
Contributor

No description provided.

claude added 3 commits June 9, 2026 01:04
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants