Includes triggers for the new Changelog Drafter pattern (daily or on tags). See changelog-drafter.yml.
Event-driven and scheduled loops without a TUI session. These workflows:
- Gather context (CI, merges, failures)
- Update state files
- Delegate to your agent harness in the "Invoke agent" step
Replace the placeholder run: steps with one of:
| Approach | When |
|---|---|
| Codex CLI / API | Headless Codex in CI |
repository_dispatch |
External runner with Grok/Claude |
| Custom script | Rule-based triage only (L0) |
The state file schema and skills are tool-agnostic — only the invocation step differs.
| File | Trigger | Pattern |
|---|---|---|
| daily-triage.yml | Cron weekdays | Daily Triage |
| ci-sweeper.yml | workflow_run failure |
CI Sweeper |
| post-merge-cleanup.yml | Push to main + nightly | Post-Merge Cleanup |
- Use
GITHUB_TOKENwith minimum permissions - No secrets in workflow logs
- See safety.md