registering nbot wf
This commit is contained in:
1 parent
d337d7605e
commit
dfd4ca06a2
6 files changed
+27
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: nbot-wf
|
||||
description: When anything to do with workflows comes up, use the nbot-wf MCP tools; if they are not available, run nbot-wf install and restart the session.
|
||||
---
|
||||
|
||||
When anything to do with workflows comes up, use the nbot-wf MCP tools; if they are not available, run `nbot-wf install` and restart the session.
|
||||
|
||||
The `get_workflow_guide` tool explains how to find, run, watch, answer, stop, resume, write and update a workflow.
|
||||
@@ -5,7 +5,7 @@ nbot-wf workflow 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 `~/journal-reports/<host>-<date>.md`.
|
||||
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.
|
||||
|
||||
@@ -34,8 +34,8 @@ issues = { type = "list", items = { title = { type = "string" }, urgency = { typ
|
||||
kind = "shell"
|
||||
needs = ["triage"]
|
||||
run = [
|
||||
"mkdir -p \"$HOME/journal-reports\"",
|
||||
"S={{ steps.triage.outputs.summary }}; H={{ inputs.host }}; f=\"$HOME/journal-reports/$H-$(date +%Y-%m-%d-%H%M).md\"; printf '%s\\n' \"$S\" > \"$f\"; echo \"report=$f\" >> \"$NBOT_WF_OUTPUTS\"; echo \"Report written to $f\"",
|
||||
"R={{ inputs.repo }}; mkdir -p \"$R/.tmp/journal-reports\"",
|
||||
"S={{ steps.triage.outputs.summary }}; H={{ inputs.host }}; R={{ inputs.repo }}; f=\"$R/.tmp/journal-reports/$H-$(date +%Y-%m-%d-%H%M).md\"; printf '%s\\n' \"$S\" > \"$f\"; echo \"report=$f\" >> \"$NBOT_WF_OUTPUTS\"; echo \"Report written to $f\"",
|
||||
]
|
||||
|
||||
[step.report.outputs]
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[mcp_servers.nbot-wf]
|
||||
command = "nbot-wf"
|
||||
args = ["mcp"]
|
||||
@@ -45,3 +45,6 @@ docs
|
||||
|
||||
# Zed local settings (machine-local MCP tokens live here)
|
||||
.zed/settings.local.json
|
||||
|
||||
|
||||
.nbot-wf
|
||||
Reference in new issue
Block a user