Commit Graph

4 Commits

Author SHA1 Message Date
pulse-triage[bot]
49db768487 Retain reader authority across delayed agent snapshots
Apply the existing response-lifetime guard to resource context, capability and fleet snapshots and both Patrol status routes. Keep command-disclosure authority as well as monitoring-read for resource context, sharing the history guard without changing its behaviour. Current readers retain the same projections and redaction; withdrawn admissions receive no delayed result or resource-specific error.

Contract-Neutral: Restores existing credential-withdrawal confidentiality for existing agent snapshot reads; no route, JSON schema, scope grant, collection, retention or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-03 02:51:11 +00:00
pulse-triage[bot]
e30c14bffd Retain current reader authority for requested history
Restore the held history disclosure repair on top of the landed backup-job work, preserving its route and tests. Monitoring and command-reading authority must still be present at disclosure; fresh monitoring-only reads remain redacted and usable.

Contract-Neutral: No storage-recovery or agent-lifecycle contract delta: shared route registration only composes the existing response guard for an external history read; collection, retention, stored evidence and agent work lifetime are unchanged. The owning API and security contracts and executable regressions are included.
Change-source: pulse-maintainer
2026-11-02 11:05:50 +00:00
pulse-triage[bot]
b3c1016e8f Keep execution text out of monitoring-readable change history
Project command and runbook history from typed, kind-specific facts instead of trusting metadata key names or trimming stored reason strings. Preserve canonical evidence and existing executor/session reads; cover ordinary builders, malformed legacy values, authenticated concurrent HTTP and the real MCP text/structured consumer.

Change-source: pulse-maintainer
2026-10-31 14:18:32 +00:00
rcourtman
32d8fd308e Let agents read what changed across the fleet
Pulse keeps 30 days of observed resource changes, but the agent
capability manifest, and so Pulse MCP, only exposed the five most recent
changes per resource inside get_resource_context. An assistant asked
"what happened overnight?" had no tool to answer it.

list_recent_changes (GET /api/agent/changes, monitoring:read) reads the
existing change store with since/before/resourceId/kind/sourceType
filters, a limit capped at 200 and a truncated flag. It writes nothing,
so it adds no disk load. Each change carries the resource's current name
and type, and history for removed resources stays readable.

The raw /api/resources/timeline route returns command text and output
excerpts to read-only tokens. This route instead applies the agent
redaction rule: without ai:execute, command and runbook changes keep only
allowlisted metadata and the command is cut from the reason.

The shared projection now forwards integral JSON numbers as query
parameters, so manifest integer filters such as limit reach GET routes
through MCP instead of being dropped.
2026-10-29 06:41:57 +00:00