workflow bump

This commit is contained in:
ari committed 2026-11-10 14:47:10 -05:00
1 parent e72789fbb1
commit 3b44ae1354
2 files changed
+18 -15

No files matched your search

+14 -11
View File
@@ -2,24 +2,26 @@ name = "journal-triage"
description = "Collect journald warnings, triage them with Claude Opus against this repo, and write an urgency-ranked report with fixes as repo changes."
[inputs.static]
since = { type = "string", min_length = 1, default = "24 hours ago" }
priority = { type = "enum", values = ["err", "warning", "notice"], default = "warning" }
host = { type = "string", min_length = 1, default = "fwbook" }
repo = { type = "string", min_length = 1, default = "/home/ari/nixos-setup" }
since = { type = "string", description = "How far back to read the journal.", min_length = 1, default = "24 hours ago" }
priority = { type = "enum", description = "Lowest log priority to include.", values = ["err", "warning", "notice"], default = "warning" }
host = { type = "string", description = "Name of the host folder under hosts/ to trace issues to.", min_length = 1, default = "fwbook" }
repo = { type = "string", description = "Path of the NixOS config repo.", min_length = 1, default = "/home/ari/nixos-setup" }
[[step.collect]]
kind = "shell"
description = "Collects journal warnings and failed units into a digest."
cwd = "{{ inputs.repo }}"
run = ["sh .agents/workflows/journal-triage/collect.sh {{ inputs.since }} {{ inputs.priority }}"]
[step.collect.outputs]
raw_log = { type = "string" }
digest = { type = "string" }
lines = { type = "int" }
unique = { type = "int" }
raw_log = { type = "string", description = "Path of the full raw journal log." }
digest = { type = "string", description = "Path of the deduplicated digest." }
lines = { type = "int", description = "Number of raw log lines." }
unique = { type = "int", description = "Number of distinct messages." }
[[step.triage]]
kind = "agent"
description = "Has Opus triage the log against the repo and suggest fixes."
needs = ["collect"]
agent = { command = ["claude-agent-acp"], model = "opus" }
cwd = "{{ inputs.repo }}"
@@ -27,11 +29,12 @@ brief = "journal-triage/triage.md"
failover = "agent"
[step.triage.outputs]
summary = { type = "string", min_length = 1 }
issues = { type = "list", items = { title = { type = "string" }, urgency = { type = "enum", values = ["critical", "high", "medium", "low", "noise"] }, fix = { type = "string" }, files = { type = "list" } } }
summary = { type = "string", description = "Markdown report ranked by urgency.", min_length = 1 }
issues = { type = "list", description = "The issues found, with urgency, fix and files.", items = { title = { type = "string" }, urgency = { type = "enum", values = ["critical", "high", "medium", "low", "noise"] }, fix = { type = "string" }, files = { type = "list" } } }
[[step.report]]
kind = "shell"
description = "Writes the report to .tmp/journal-reports."
needs = ["triage"]
run = [
"R={{ inputs.repo }}; mkdir -p \"$R/.tmp/journal-reports\"",
@@ -39,4 +42,4 @@ run = [
]
[step.report.outputs]
report = { type = "string" }
report = { type = "string", description = "Path of the written report." }
Generated
+4 -4
View File
@@ -2204,11 +2204,11 @@
]
},
"locked": {
"lastModified": 1794324706,
"narHash": "sha256-aa8MBYatnF1OBY1D5Xy1Tj7/Eaf+bYXy19g/PiumQt8=",
"lastModified": 1794330522,
"narHash": "sha256-iwfrBtoR5303uSDY0SWeYRtd+ekB26jMXPW3rnooucg=",
"ref": "refs/heads/main",
"rev": "c7491a0ad13b4e51490a10979d98fc5966ff3d39",
"revCount": 1196,
"rev": "05afda23236f04d0b182d682b633c053cc051032",
"revCount": 1204,
"type": "git",
"url": "ssh://git@github.com/asosnovsky/nbot.git"
},