README: document deliver=local constraint (no gateway channel in this profile)

This commit is contained in:
sirius 2026-11-27 00:36:40 -05:00
commit b595d21bec

View file

@ -201,7 +201,8 @@ UTC day rollover. No alert is ever raised from it.
| repo | `sirius/netsec-agent` on Forgejo, cloned at `~/Projects/netsec-agent` |
| shim | `~/.hermes/scripts/netsec-scan.sh` → `exec /home/lancelot/Projects/netsec-agent/run.sh "$@"` (`chmod +x`: a non-executable shim fails with `Permission denied` **on empty stdout**, which looks exactly like a healthy silent tick) |
| scheduler shim | `~/.hermes/profiles/devops/scripts/netsec-scan.sh` → execs the canonical shim. The cron scheduler only accepts a `script` path that resolves inside `<HERMES_HOME>/scripts/`, so the profile copy exists purely for that guard; the real entrypoint stays in one place. |
| cron | Hermes job `netsec-scan`, `no_agent` script job, every 5 minutes, `workdir ~/Projects/netsec-agent`, `script netsec-scan.sh`, `deliver telegram` |
| cron | Hermes job `netsec-scan`, `no_agent` script job, every 5 minutes, `workdir ~/Projects/netsec-agent`, `script netsec-scan.sh`, `deliver local` (see below), `wrap_response off`, `catch_up false` |
| delivery | **`deliver: local` — this profile has `platforms.telegram.enabled: false`, so `deliver: telegram` fails with `no delivery target resolved for deliver=telegram`** (observed on the 00:30 run). The tick's output is therefore captured verbatim in `~/.hermes/profiles/devops/cron/output/<job_id>/<stamp>.md` and in `executions.db`. Pointing it at a real channel is a gateway/config decision (or the wake-path card), not something this sensor can fix; do not set `deliver: telegram` here without a channel, or every hit reports `delivery_outcome: failed` instead of landing in the run doc. |
| state | `~/.hermes/cron/netsec-scan-state.json` (+ `.memo.json` for degradation wording) |
| reports | `~/Projects/netsec-agent/reports/YYYY-MM-DD.json` |