Skip to content

Releases

v0.11.0 — the assistant tier: modes, triage, routing matrix, MCP, a11y doctrine

Choose a tag to compare

@gotoplanb gotoplanb released this 12 Jul 20:28

v0.11 — the assistant tier arrives: watch starts running its own operations manual.

  • Operating modes (ADR-035): highway/race as audited domain state (actor, reason, all-clear) — every automated decision takes mode as an input from day one.
  • Check→incident bridge + T1 triage (ADR-036): failing session checks open provenance-linked incidents (subject-keyed dedupe — flapping corroborates, never floods). AI classifies, code disposes: the pluggable assistant (stub|bedrock|conduct) returns classification only; dispositions are deterministic; every decision is an append-only, gradeable TriageDecision. False positives auto-resolve in highway mode; assistant failures soft-fail with the SLA engine as backstop.
  • Declarative routing matrix (ADR-037): triage-matrix.yaml — the document humans review IS the config code executes. Status/origin → responsibility × fault_domain; race column encodes "internal faults during a release auto-escalate T1→T2." AI becomes the fallback for unmatched evidence only. Exposed + fixed a latent Tempo select() gap. Verified live across all five paths.
  • Watch as an MCP server (ADR-038): nine uniform tools, tier authz enforced server-side per call with instructive denials; derived wm_ key + a minimal OAuth 2.0 AS (PKCE, user-bound tokens) for claude.ai connectors; manage.py mcp (same image, different command). Verified live incl. the full browser OAuth flow.
  • UI doctrine + gate (ADR-039): mobile-first, Tailwind-only, WCAG 2.1 AA at zero violations — enforced by axe-core in the tiered e2e suite (pre-commit locally, staging Smoke in the pipeline), plus a no-horizontal-scroll floor at 390px.
  • DX: make dev hot-reloads (OTel gated to the serving process).

Migrations 0018–0020 · coverage 98.4% · Sonar green. Lockstep with platform v0.11.0 + watchtower v0.11.0 — attested by today's three-topology lifecycle validation (three full estates created, health-verified, torn down clean).

Full detail: docs/releases/v0.11.md

🤖 Generated with Claude Code

https://claude.ai/code/session_01EpWgQBNxh5zr2dSZ9VJHHb

v0.10.0 — AI-drafted RCA (Bedrock + Conduct) + estate cutover

Choose a tag to compare

@gotoplanb gotoplanb released this 11 Jul 15:03

v0.10 — AI-drafted RCA, plus the estate cutover that made room for it.

Two threads land together.

AI-drafted RCA. The RCA assembly from v0.8 (rca_markdown → clean, reviewable Markdown) always earmarked an LLM follow-up to draft the narrative a human otherwise hand-writes. v0.10 delivers it behind the rca_ai_draft flag, and as a pluggable provider rather than a single vendor binding:

  • bedrock — Claude Sonnet on Amazon Bedrock, the cloud backend, keeping the model call inside the account IAM/VPC/CloudWatch boundary (no third-party API key). ADR-033.
  • conduct — local models (Ollama) via the sister conduct project over synchronous HTTP, the local-dev backend: no AWS, no model-access grant, iterate today. ADR-034.
  • stub — deterministic, marked, no-network draft; the default and what hermetic tests use.

One instruction prompt (rca_ai.SYSTEM_PROMPT), owned by Watch, is handed byte-identical to whichever backend runs. Provenance names the model that actually ran (e.g. gemma4:e4b); any failure is a soft-fail — a flash, document untouched, never a 500. Verified end-to-end locally against a real Conduct gemma draft.

Estate resilience. New Org member accounts hit account-verification holds (CloudFront) and a CodeBuild quota that blocked the frontend and CD. The whole estate was cut over to a pair of fallback member accounts — which surfaced and fixed four latent pipeline bugs the old CodeBuild hold had masked (artifact-CMK kms:Decrypt on build/DAST/Smoke, a staging-only Lambda promote, the checks-webhook secret), got CD green to the prod-approval gate, repointed the GitHub-Actions CI plane, and added a local AWS access portal (make portal). Teardown-to-non-billing re-verified clean across both accounts.

No schema change — latest migration stays 0017. Unit tests green at 98.89% coverage (the three new AI-RCA provider modules at 100%); SonarQube gate green.

Full detail: docs/releases/v0.10.md · decisions: ADR-033 / ADR-034

🤖 Generated with Claude Code

v0.9.0 — lifecycle reliability + delivery-path doctrine

Choose a tag to compare

@gotoplanb gotoplanb released this 07 Jul 22:10

v0.9 — the reliability release. Hard-won knowledge from a build-mode incident turned into guardrails and doctrine.

On 2026-07-07 a full day of churn hit the local lifecycle scripts — a teardown that silently ran as the management identity because account-id env vars weren't loaded; a background brew upgrade to OpenTofu 1.12 whose new resource-identity check broke cross-account destroy; and partial-apply orphans that quietly billed. None of it touched production traffic (that only changes through the CI/CD pipeline), but it showed how much day-to-day safety rode on an operator's shell being exactly right. v0.9 makes the scripts fail loud instead of failing wrong, and writes down why the scary day was a build-tool problem, not a production one.

Six threads (substance lands in platform; watch carries the decision + process):

  1. Pin the toolchain (#46). OpenTofu pinned to 1.11.11 via repo-local .bin/tofu + .opentofu-version, single-sourced across the scripts and both CI workflows so they can't drift.
  2. Fail-fast guardrails (#43/#46). lib/preflight.sh aborts before any mutation on a bad AWS identity, missing/malformed member account IDs, or a missing DNS token; lib/tofu.sh refuses a drifted toolchain. teardown.sh now loads .env unconditionally.
  3. Drift detection + reviewed force-clean. make doctor (#44) — cross-account orphan + ghost sweep. make nuke (#45) — dependency-ordered last-resort clean with a PERSIST allowlist + typed confirmation.
  4. Doctrine — ADR-032. Two delivery paths, two guarantees: production rides the pipeline; the lifecycle scripts are a build-velocity tool, differently safe by design.
  5. Structural symmetry. Staging DNS split into dns (API) + dns-status (CloudFront), mirroring prod — a CloudFront hold blocks only the status page, never the API by name.
  6. Continuity. Written release process, a major-release checklist mandating an ADR/doc audit + aggressive dependency pinning, and a CLAUDE.md operating-mode section re-emitted by a SessionStart hook.

No application code or schema changed — latest migration stays 0017; 284 unit tests green. A pure reliability + doctrine bump on top of v0.8.

Full detail: docs/releases/v0.9.md · decision: ADR-032

🤖 Generated with Claude Code

v0.8.0 — generic ops records (Problem/RCA/links) + ops ingest + credential hardening

Choose a tag to compare

@gotoplanb gotoplanb released this 07 Jul 01:08

v0.7 opened Watch to the outside — a public self-service report surface and unguessable, per-user paging. v0.8 is the operational-depth release: it grows Watch from "incidents + checks" into a small ServiceNow-task-style record set, gives ops a real per-user ingest + credential story, and hardens the session/password surface that the public tunnel exposed.

Three threads land together:

  1. Generic ops-record model (ADR-031). Incidents stay rich and escalation-bearing; Problem and RCA arrive as thin records that share one generic timeline (a GenericForeignKey, so notes/system/AI events attach to any record) and one generic RecordLink table (Jira-style, cross-record links between anything). RCA documents are assembly-seeded from an incident's annotated timeline and then hand-edited. Every record gets a human number (INC-/PRB-/RCA-) and a shared /ui detail shell. No table sprawl, and the Incident keeps its relational machinery (SLA, tiers, dedupe, paging) untouched.

  2. Per-environment ops ingest + per-user credentials (ADR-028/029/030). A schema-less status + digest ingest/display per environment, authenticated by per-user API keys that replace the old shared secret, with a per-user rotation seed so one knob rolls every derived credential (API key + paging topic) at once.

  3. Session & credential hardening (ADR-008). Long rolling sessions, session revocation (self-service "sign out everywhere" + admin force-sign-out), split, configurable seed passwords (no more universal admin/admin), a self-service password-change UI, and the standard password-strength validators.

Plus the dev-loop work that made the public demo reachable and the gates dependable: a second ngrok tunnel for the status page with a cross-origin edge exemption, opt-in Playwright browser install (kills the macOS pre-commit hang), and release demo-video storyboards.

Delivered: ADR-028, ADR-029, ADR-030, ADR-031, plus ADR-008 session/password hardening and the ADR-027 tunnel exemption — 23 commits since v0.7.0, five DB migrations (0013–0017), every commit landed with ≥90% coverage + a green SonarQube gate + a passing Playwright smoke.

Full detail: docs/releases/v0.8.md.

🤖 Generated with Claude Code

v0.7.0 — public reporting + paging hardening

Choose a tag to compare

@gotoplanb gotoplanb released this 05 Jul 18:15

Demos

Public report form (status page, ADR-027):

https://github.com/gotoplanb/watch/releases/download/v0.7.0/demo-status-report-form.mp4

Per-user paging subscription (/ui/settings/, ADR-013):

https://github.com/gotoplanb/watch/releases/download/v0.7.0/demo-paging-settings.mp4

(Recorded with shot-scraper video from versioned storyboards in storyboards/; the paging topic shown is a throwaway local-dev one, since rotated.)


Public self-service report surface (ADR-027)

  • Report from the status page, no sign-in. The read-only React status SPA gains a small two-tab form: report an incident or submit a session id for a trace check. Two new AllowAny endpoints (/api/report/incident, /api/report/check) reuse the same services as the authenticated paths — so a public report is a real incident / check, not a shadow. Source is stamped server-side (never client-trusted); the anonymous write surface is bounded by a per-IP throttle (10/min, env-tunable via PUBLIC_REPORT_THROTTLE) + tight input validation; no verdict leaks to the submitter ({id,status} only); CORS JSON-POST preflight handled. This is the system's first anonymous write path — deliberate: it reads nothing sensitive back, and an exposed surface is a monitorable place to build security controls.

Paging: unguessable topics + self-service subscription (ADR-013)

  • Salted topic names. Paging topics were fully derivable from the (public) source — anyone could subscribe to snoop pages or publish to spoof them, since on ntfy the topic name is the access control. NTFY_TOPIC_SECRET is now HMAC-SHA256'd with each target's identity into a 12-hex suffix (watch-<env>-user-<id>-<hmac>): each topic is independently unguessable and the secret never appears in the string. Empty secret → plain topics (back-compatible). manage.py paging_topics lists the live topics.
  • Per-user subscription page. A logged-in user clicks their username → a new /ui/settings/ page shows their own paging topic (+ full ntfy URL, copy-to-clipboard) and the tier fallback topic(s) for their tier (a rota gap pages the tier). Strictly scoped to the requester — no other user's topic ever renders.

Quality

  • Every change held to ≥90% unit coverage (98.5%) + green SonarQube; both UI surfaces verified in a real browser (Playwright) — the public form drove a live incident through intake→escalation over SSE, and the settings page confirmed correct per-user scoping.

Follow-up

  • Prod parity: wire NTFY_TOPIC_SECRET as an SSM secret in platform (like NTFY_TOKEN) so cloud topics are salted too — pending the current AWS holds.

Versioned in lockstep with platform + watchtower v0.7.0 (a compatible set; all substantive changes this cycle are in watch).

v0.6.0

Choose a tag to compare

@gotoplanb gotoplanb released this 05 Jul 16:29

Escalation paging (ADR-013) + rollout modes (ADR-014)

  • Page the on-call via ntfy on a real tier entry — a new incident at T1, or escalate to T2/T3, never on ACK. Per-user topic watch-<env>-user-<id>, tier-topic fallback on a rota gap. One hook in services, deferred to after-commit — fire-and-forget, so a paging failure never blocks escalation. Best-effort with a Page audit row per attempt. Demoed live: a T1→T2→T3 ladder buzzed three targeted pages on a phone; ACK correctly did not page.
  • rollout.active(name, key) — the flag seam generalized to on | off | sample:R (deterministic hash(key) < R, stable per entity). paging_enabled is a permanent operational toggle.

Session Check trace store — vendor providers (ADR-026)

  • Three read-only providers behind find_error_spans, each normalizing to one span dict: Grafana Cloud (Tempo + basic auth), Datadog (v2 spans search), Sumo Logic (async Search Job API). grafana_cloud is Watch's own prod telemetry; datadog/sumologic are query-only adapters onto existing work telemetry (Watch-as-SRE-tool). Live-validation of the DD/Sumo dialects against real accounts is tracked in #34.

Telemetry / sampling

  • Regression test asserting session.id/session.user land on the exported OTel span (resolved the #33 misdiagnosis — it was tail-sampling, not a tagging bug).
  • ADR-016 §3: the authenticated tail-sampling policy recorded (keep every session-bearing trace).

Versioned in lockstep with platform + watchtower v0.6.0.

v0.5.0

Choose a tag to compare

@gotoplanb gotoplanb released this 05 Jul 12:17

Dev experience

  • ngrok dev tunnel usable end-to-end. make dev now pulls TUNNEL_DOMAIN from .env into DJANGO_ALLOWED_HOSTS + CSRF_TRUSTED_ORIGINS, so requests through the tunnel (make tunnel-up) pass Django's host/CSRF checks instead of a DisallowedHost 400. The real Host is preserved (not rewritten to localhost), so redirects/absolute URLs use the public tunnel domain and the /ui login flow works through it. No-op when no tunnel is configured.

Versioned in lockstep with platform + watchtower v0.5.0.