Pulse/pkg/server
rcourtman e4e43c3f11 feat(telemetry): attribute approved-action failures to cause buckets
The 30d window said 18 of 26 approved action attempts failed but
carried zero cause information. Every approved attempt that is not a
verified success now lands in exactly one content-free bucket:

- pre_dispatch: terminally refused before dispatch (plan drift, expiry,
  emergency stop, policy authorization)
- execution: dispatched execution failed or ended inconclusive
- unverified: execution succeeded but outcome verification was not
  confirmed (reads as success in the UI, counted as failure here)
- stuck_executing: still executing over an hour after dispatch

plus one sanitized machine reason code for the most recent failure.
Successes, failure buckets, and recent in-flight attempts partition the
attempt count, so the next window explains its own gap.

RefuseActionExecution now persists the specific refusal code
(plan_drift, action_plan_expired, ...) as the canonical execution
reason code instead of the generic pre_dispatch_refused, so audit truth
and telemetry distinguish refusal causes without message parsing.

Privacy disclosures updated in both PRIVACY.md copies; the adoption
report script surfaces the new counters.

Contract-Neutral: additive content-free telemetry counters + specific pre-dispatch refusal reason codes; privacy disclosures updated in-commit per security-privacy extension point
2026-07-17 23:39:34 +01:00
..
metrics_port.go Fix security scan findings 2026-07-01 09:55:35 +01:00
metrics_port_test.go Fix security scan findings 2026-07-01 09:55:35 +01:00
metrics_test.go Fix security scan findings 2026-07-01 09:55:35 +01:00
server.go Fix patch-release follow-up regressions 2026-07-04 18:37:59 +01:00
server_helpers_test.go Harden remaining CodeQL security boundaries 2026-07-09 19:46:40 +01:00
server_test.go Add optional dedicated agent-ingest listener (PULSE_AGENT_INGEST_PORT) 2026-05-28 22:55:38 +01:00
telemetry_pulse_intelligence.go feat(telemetry): attribute approved-action failures to cause buckets 2026-07-17 23:39:34 +01:00
telemetry_pulse_intelligence_test.go backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00