Skip to content

Retire the hosted dashboard; add agent-side notifications (v0.2.0) - #10

Merged
dabelle merged 4 commits into
mainfrom
retire-hosted-dashboard
Nov 16, 2026
Merged

dabelle merged 4 commits into
mainfrom
retire-hosted-dashboard

Conversation

@dabelle

@dabelle dabelle commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

What

Retires the hosted dashboard and makes the agent a standalone open-source tool.

  • Removed: web/ (Next.js + Supabase control plane), the hourly alert cron and nightly control-plane backup workflows, the control-plane and web CI jobs, the agent's register command, run reporting, heartbeat and repo-fingerprint lookup.
  • Added: a notify: block in agent.yaml
    • ntfy: push on failure (or every run with when: always)
    • webhook: JSON summary by POST
    • healthcheck: Healthchecks-style ping on every run (/start, then the bare URL or /fail), which replaces the dashboard's stale and silent-agent detection
  • Compatibility: --credentials and --no-report still parse as hidden, deprecated no-ops so v0.1 cron lines keep working.
  • Docs: cloud, billing and alerts pages replaced by docs/notifications.md; README, quickstart, config reference, commands and SECURITY.md updated.

Safety properties kept

  • Everything sent goes through report.RedactForTransport (DB row values and URL credentials stripped, length bounded). Tests assert this end to end.
  • Notification URLs are treated as bearer secrets: never logged, and config validation errors don't echo them.
  • Delivery is best effort with a 15s timeout and never changes the result or exit code.

Testing

  • New unit tests: internal/notify (policy, redaction, ping paths and query strings, URL-free failure logs) and internal/config (validation, no URL leakage).
  • New e2e case 5 in agent/e2e/run.sh: a real binary run against a local fake endpoint checks /start, /fail, a high-priority ntfy push, the bare-URL ping on pass, no ntfy on a pass, and that --no-report still parses.
  • config, report and notify were compiled and tested locally, including with -race. The full module, lint and e2e run in CI only, because the authoring environment couldn't fetch the full dependency set.

After merge

Tag v0.2.0 to cut a release.


Generated by Claude Code

Remove the Next.js/Supabase control plane (web/), the hourly alert cron and
nightly control-plane DB backup workflows, and the control-plane and web CI
jobs. The dashboard never had users beyond its author; the agent carries on
as a standalone open-source tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZju5nfK7jvw8QUVvhKjU2
Drop the control-plane client: the register command, run reporting, the
daemon heartbeat and the repo fingerprint lookup that only fed it.

Add a notify: block to agent.yaml:
- ntfy push and a JSON webhook on failure (or every run with when: always)
- a Healthchecks-style ping (/start, bare URL on pass, /fail on failure) so
  a dead agent or broken cron line raises an alert of its own

Everything sent goes through RedactForTransport, URLs are treated as bearer
secrets and never logged (config errors included), and delivery is best
effort: it never changes the run result or exit code.

--credentials and --no-report are still accepted as hidden, deprecated
no-ops so v0.1 cron lines keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZju5nfK7jvw8QUVvhKjU2
Replace the cloud, billing and alerts pages with docs/notifications.md,
document notify: in the config reference and quickstart, note the retired
register command and flags, and rewrite SECURITY.md's data-egress section
for notifications.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZju5nfK7jvw8QUVvhKjU2
MinIO withdrew its images from Docker Hub (Sept 11 2026) and quay.io now
answers 401 for every tag, so the pinned MinIO image no longer pulls and the
S3 e2e fails on main too. Swap in SeaweedFS (chrislusf/seaweedfs:4.22) and
use bucket creation as the readiness check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZju5nfK7jvw8QUVvhKjU2
@dabelle
dabelle merged commit 37f3b40 into main Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants