converting loops

This commit is contained in:
ari committed 2026-11-17 14:22:28 -05:00
1 parent 956158729e
commit a1ebcfb6aa
5 files changed
+15 -15

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# .agents/looprails
Looprail files for this repo.
## journal-triage
`journal-triage.toml` reads the journald log of this machine, has Claude Opus triage it
against this repo, and writes a report ranked by urgency to `.tmp/journal-reports/<host>-<date>.md` (gitignored).
- `journal-triage/collect.sh`: pulls warnings (and worse), failed units and a digest of
unique messages into the run folder.
- `journal-triage/triage.md`: the brief for Opus. It reads `GUIDELINES.md`, traces each issue to
`hosts/<host>/` or `modules/`, and suggests fixes as repo changes. It only reads and suggests:
no edits, no builds, no sudo.
- Inputs: `since` (default `24 hours ago`), `priority` (`err`, `warning`, `notice`),
`host` (default `fwbook`), `repo` (default `/home/ari/nixos-setup`).
Run: `looprail run .agents/looprails/journal-triage.toml`, or ask the agent to run it.