Remove ntfy: notifications go only through the app notification stream
Server: drop ntfy publishing (stage hooks, run outbox, chat attention, chat tool notify, auto-switch and schedule notices), the chat push outbox (its table is dropped at startup), ntfy status/endpoints and PIPELINES_NTFY_*. The app_notifications stream, subscribe/clear and kinds are unchanged. Notification settings keep run_finished/chat_needs_you/chat_reply_finished; ntfy_enabled is accepted and ignored and its stored row is never read. Stage type=ntfy is rejected: "ntfy stages were removed; notifications go to the Pipelines apps — use the stage notify hook". The notify hook remains. Installer: no ntfy build, accounts, config or supervisor child; manifest gets top-level "mode" (legacy ntfy.mode still read). Reinstall retires an old ntfy (safe PID-file stop, deletes binary, config, data dir, token, log, with a note in logs/install.log); uninstall cleans leftovers. App: ntfy settings section replaced by "Notification events"; texts updated. Docs: docs/ntfy.md folded into docs/notifications.md; install, docker, cli, author skill references updated; security review M1 marked resolved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+10
-18
@@ -78,20 +78,15 @@ the sum of the per-run totals `inspect` shows. Only usage rows whose recorded
|
||||
step still exists are counted, so rows orphaned by an old history wipe are ignored
|
||||
(not deleted). `pipelines stats --json` exposes these aggregates.
|
||||
|
||||
Use `:status` on any TUI page to open server and ntfy information. Scroll with
|
||||
Use `:status` on any TUI page to open server information. Scroll with
|
||||
arrows or `j/k`, PgUp/PgDn; `r` refreshes and Esc closes without changing the page.
|
||||
`pipelines status [--json]` returns the same server data, including hostname,
|
||||
start/uptime, the connected server endpoint/port, active interface IPs, ntfy
|
||||
publishing health, public phone URL/topic/port and candidate URLs. It does not
|
||||
start services or send a notification. The ntfy health probe has a two-second
|
||||
deadline; it checks the publishing server, not phone reachability.
|
||||
start/uptime, the connected server endpoint/port, active interface IPs and
|
||||
candidate URLs. It does not start services or send a notification.
|
||||
|
||||
IPs belong to the **server computer or container**, not necessarily the client.
|
||||
Candidate IP/port combinations are not reachability checks: loopback bindings,
|
||||
firewalls, container port mapping and TLS can prevent access. ntfy candidates
|
||||
are only derived when a configured endpoint identifies this computer; remote
|
||||
ntfy hosts are not misrepresented as local. Publishing URLs and credentials are
|
||||
never returned. Missing public phone configuration is labeled explicitly.
|
||||
firewalls, container port mapping and TLS can prevent access.
|
||||
`pipelines service status` remains the separate OS autostart status command.
|
||||
|
||||
## Search
|
||||
@@ -334,7 +329,7 @@ Submitting activates included schedules, so review them before publishing.
|
||||
| Resume a run parked for a usage limit | `resume ID --yes --json` |
|
||||
| Default whole-run budget | `run-budget [USD\|off] --json` |
|
||||
| Connection and phone settings | `connection --json`, `ping --json` |
|
||||
| Server/ntfy status popup | `status --json` |
|
||||
| Server status popup | `status --json` |
|
||||
| Usage statistics/charts | `stats --json` |
|
||||
| Run-history retention | `retention report --keep N --json`, `retention apply --keep N --yes` |
|
||||
| Retire an unused pipeline | `archive NAME --yes`, `unarchive NAME`, `list --archived` |
|
||||
@@ -359,13 +354,12 @@ optional `kind` and `limit`) and returns a `search_results` response whose ranke
|
||||
and matched field. `list_runs` also returns all-history `usage`
|
||||
aggregates. `attention_acks` reads and `ack_attention` adds to the operator's
|
||||
shared in-app acknowledgements (dismissed Needs-you entries and chat read
|
||||
watermarks; see [ntfy.md](ntfy.md#clearing-notifications-across-devices)); other
|
||||
watermarks; see [notifications.md](notifications.md#clearing-notifications-across-devices)); other
|
||||
connections receive an `attention_acks_changed` push. `subscribe_notifications`
|
||||
(optional `after` cursor) streams the same notifications the server publishes to
|
||||
ntfy as `notification` pushes, `clear_notifications` (`ids`) clears them on every
|
||||
device, and `notifications_cleared` reports clears; `ntfy_enabled` in the
|
||||
notification settings turns the ntfy publish off without stopping the stream (see
|
||||
[ntfy.md](ntfy.md#app-notification-stream-no-ntfy-app-needed)).
|
||||
(optional `after` cursor) streams the operator's notifications as `notification`
|
||||
pushes, `clear_notifications` (`ids`) clears them on every device, and
|
||||
`notifications_cleared` reports clears (see
|
||||
[notifications.md](notifications.md#app-notification-stream-protocol)).
|
||||
|
||||
Every run summary (`list_runs` rows, `get_run`, subscribe snapshots and terminal
|
||||
`run_event` frames) carries `size_bytes`: bytes on disk for the run (artifact tree
|
||||
@@ -1176,8 +1170,6 @@ or that has no tools block never replays admitted tool work or invalid results.
|
||||
Budget failures always stop. Cleanup must be confirmed before another attempt.
|
||||
Existing explicit `retries=0` settings remain unchanged. The old 30-minute run deadline no longer truncates
|
||||
stage timeouts; the 30-step and five-visits-per-stage limits still apply.
|
||||
Native ntfy stages also accept `timeout` (default `1h`), but never automatically
|
||||
retry potentially delivered notifications and do not accept model budgets.
|
||||
|
||||
Pinned definitions contain the configured limits. Run transcripts retain limits,
|
||||
attempt counts and reported budget usage, also shown in the TUI's Evidence pane.
|
||||
|
||||
Reference in New Issue
Block a user