Correct the MIME parser call to accept its three returned values. Keep the existing documented JSON-or-plain-text response policy unchanged.
Contract-Neutral: Correct parser return arity for the already documented non-executable response policy.
Change-source: pulse-maintainer
Bind JSON or plain-text media and nosniff to the actual guarded response
transport. Do not let omitted, malformed or executable downstream MIME
select HTML rendering. Preserve response bytes, statuses, other admitted
headers and current-authority checks; do not HTML-escape serialized JSON.
Cover native HTTP sniffing and header aliases, and both existing result
handlers with hostile-shaped provider text under token and session reads.
Change-source: pulse-maintainer
Retain actual successful session admission rather than ambient cookies. Recheck exact store, creation identity, principal, recovery binding and expiry at the existing protected stream and JSON writers, without extending expiry or falling back to another credential. Preserve independent job lifetimes, token and proxy policy. Cover persisted logout, independent readers, secure cookies and native consumer wire evidence in registered tests and contracts.
Change-source: pulse-maintainer
Use the existing middleware's http.Handler contract in the stale-admission regression. The first candidate proof stopped at this test compilation error before executing tests, vet or build; runtime and disclosure policy are unchanged.
Change-source: pulse-maintainer
Recheck current token identity, scope and organisation/instance authority at the existing slow execute and Kubernetes response writers, outside the analysis extension. Withhold undisclosed headers and return an authentication refusal instead of empty success, without buffering payloads or changing admitted work cancellation. Register native withdrawal, independent-reader, persisted-delete and response-writer regressions with the affected contracts.
Change-source: pulse-maintainer
Use the real CSRF store for authenticated native POST controls. Preserve the three observed 403 setup failures rather than weakening session admission or relabelling the failed suite.
Change-source: pulse-maintainer
Keep the compacted-tool-prelude sanitizer intact. The authorised chat control needs real prose rather than a long unspaced fixture marker; do not count session title requests as another execution.
Change-source: pulse-maintainer
Keep the existing initial-deadline clearing and bounded writes effective through the complete Router chain, without an unguarded writer escape. Exercise all three actual streams past a short native server deadline.
Change-source: pulse-maintainer
Revalidate each sensitive Assistant writer while preserving instance, chat scope alternatives and deadline control. Keep legacy work independent of the transport and chat request-bound. Register native withdrawal, independent-reader and persisted-delete regressions.
Change-source: pulse-maintainer
**Retain token authority throughout protected progress reads**
Guard replayed, queued and live SSE bytes at the writer for update
progress, Patrol and deployment reads. Revalidate admitted credential,
principal, selected organisation and the route's existing scope,
retaining instance authority only where the route requires it. Close
silent withdrawn readers within 15 seconds and join guarded writes
before returning; do not cancel background jobs or change session/proxy
admission. Exercise the actual router and synthetic producers, durable
deletion, independent readers and preserved job state.
Contract-Neutral: Enforce existing read admission and confidentiality
boundaries throughout SSE lifetimes; no new route, payload, scope, role,
job policy or session/proxy contract.
**Sharpen withdrawn-stream assertions and writer cleanup proof**
Expect existing invalid runtime-role authentication to refuse with 401,
not a scope-level 403. Detect a disclosed canary immediately rather than
waiting for stream timeout, and prove closure joins an in-flight
broadcaster write and rejects subsequent queued writes. Runtime and
admission policy are unchanged.
**Seed an active synthetic phase before Patrol replay checks**
The initial read matrix timed out waiting for a snapshot because its
synthetic Patrol stream was idle; idle subscriptions correctly send no
snapshot. Seed an analysing phase without starting Patrol, and retain
the failed first run as failed fixture evidence. Keep the production
repair unchanged and make the active-write closure assertion wait for
its concurrent closer.
**Join session progress writes before returning the HTTP reader**
The full-router race matrix exposed the existing update broadcaster
flushing after a session handler returned. Apply writer lifetime closure
to every admitted identity, while retaining token-only authority refresh
and leaving session/proxy admission and periodic-authentication
behaviour unchanged. Add a deterministic no-token late-write regression;
retain the failed race run rather than changing its assertions or
shutdown timing.
Contract-Neutral: Enforce existing HTTP writer ownership and read
admission; no route, wire, scope, role, job policy or session/proxy
authentication change.
---
Fleet candidate `20261101T004941Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `66349b52d6116935f5e24f6d7e23de6b7b677b21` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The full-router race matrix exposed the existing update broadcaster flushing after a session handler returned. Apply writer lifetime closure to every admitted identity, while retaining token-only authority refresh and leaving session/proxy admission and periodic-authentication behaviour unchanged. Add a deterministic no-token late-write regression; retain the failed race run rather than changing its assertions or shutdown timing.
Contract-Neutral: Enforce existing HTTP writer ownership and read admission; no route, wire, scope, role, job policy or session/proxy authentication change.
Change-source: pulse-maintainer
Keep delivery permission and SQLite available until queue workers,
admitted writes and direct fallback sends finish. Leave unclaimed rows
pending so restart and reload retain delivery work and firing receipts.
Restore shared webhook policy before persistent work is activated, including
tenant queues. Reject unreadable policy before queue creation and preserve
deployment URL locks when restoring saved installation settings.
Cover admission, concurrent stops, operator pause, channel disable,
direct fallback, restart recovery and bootstrap policy with persistent tests.
Keep API coverage of later policy replacement and revocation.
The initial read matrix timed out waiting for a snapshot because its synthetic Patrol stream was idle; idle subscriptions correctly send no snapshot. Seed an analysing phase without starting Patrol, and retain the failed first run as failed fixture evidence. Keep the production repair unchanged and make the active-write closure assertion wait for its concurrent closer.
Change-source: pulse-maintainer
Expect existing invalid runtime-role authentication to refuse with 401, not a scope-level 403. Detect a disclosed canary immediately rather than waiting for stream timeout, and prove closure joins an in-flight broadcaster write and rejects subsequent queued writes. Runtime and admission policy are unchanged.
Change-source: pulse-maintainer
Guard replayed, queued and live SSE bytes at the writer for update progress, Patrol and deployment reads. Revalidate admitted credential, principal, selected organisation and the route's existing scope, retaining instance authority only where the route requires it. Close silent withdrawn readers within 15 seconds and join guarded writes before returning; do not cancel background jobs or change session/proxy admission. Exercise the actual router and synthetic producers, durable deletion, independent readers and preserved job state.
Contract-Neutral: Enforce existing read admission and confidentiality boundaries throughout SSE lifetimes; no new route, payload, scope, role, job policy or session/proxy contract.
Change-source: pulse-maintainer
The first native matrix correctly refused a nonexistent tenant with 400 invalid_org before reaching administration. Use a multi-organisation token that can select default but cannot act for the instance, so this test reaches the intended unchanged 403 gate. The failed assertion remains retained; no runtime or authority change.
Change-source: pulse-maintainer
Correct the missing io test import found by source-551gerps before any selected tests ran. Runtime source and the export design are unchanged. Retain the failed compile as failed evidence.
Change-source: pulse-maintainer
Replace full configuration and process-environment serialization with a closed diagnostic projection. Preserve the private raw logs, existing route gates and useful polling/TLS/credential-presence facts; accept only bounded Go runtime tuning values from the environment. Share configuration ownership with log-level updates and report actual runtime identity.
Change-source: pulse-maintainer
Reuse current credential snapshots with the log route's settings-read scope and instance authority before history, queued and live lines and idle checks. Preserve independent readers and session/proxy admission. Show native connecting, reconnecting and disconnected states in the existing panel without confusing them with display pause.
Contract-Neutral: Enforces the existing instance-admin/settings:read log route and unchanged SSE format; connection status corrects the existing panel. No route, grant or public API shape changes.
Change-source: pulse-maintainer
The first race proof closed every withdrawn socket but the reconnect assertion expected only 401 or 403. Normal middleware first resolves the rebound token's nonexistent organization and returns 400 invalid_org. Assert that exact existing refusal without changing runtime authority, frames or status codes.
Change-source: pulse-maintainer
Revalidate the admitted token before every websocket data frame, queued flush and idle ping. Share the current-tenant snapshot validator without mutating a returned HTTP request. Keep session, origin, licensing and wanted monitoring reads unchanged; exercise real token deletion, client cleanup and independent subscribers.
Change-source: pulse-maintainer
The first race run reached the fixture's ten-second request deadline at 440 and 399 frames. Preserve the fixed 512-frame acceptance, context ancestry, live redaction and explicit cancellation assertions. Model a long-lived request deadline rather than imposing an unrelated throughput budget; the enclosing Go test timeout still bounds hangs.
Contract-Neutral: Test fixture deadline only; no runtime, payload, permission, cancellation or retention contract changes.
Change-source: pulse-maintainer
Keep the key-generation restriction and legacy warn-and-use collector unchanged. Distinguish their diagnostics and prove refused setup preserves existing keys, while synthetic collection still requires a usable key and strict host-key trust. No real SSH host is contacted.
Contract-Neutral: Diagnostic text, accurate comments and normal-suite regression coverage only; key setup, SSH collection, host-key verification, credentials and runtime contracts are unchanged.
Change-source: pulse-maintainer
Replace each disclosure snapshot over the original admitted request context rather than retaining the preceding refresh. Keep live token and tenant-owner checks, cancellation and scoped redaction unchanged. Exercise 512 approval/action frames per token header, scope changes, original context values and cancellation cleanup.
Change-source: pulse-maintainer
Contract-Neutral: Bounded per-stream context retention only; existing HTTP and SSE payloads, token and tenant authority, redaction and last-use updates are unchanged.
Keep existing subscriptions bound to the live credential, organisation and read scope. Refresh command visibility after scope withdrawal, and close withdrawn streams without changing event kinds or canonical evidence. Exercise durable HTTP revocation, idle expiry, tenant replacement and the shared MCP consumer through the registered route.
Change-source: pulse-maintainer
The real concurrent history HTTP proof exposed public-URL detection mutating live token scope and last-used metadata outside the authentication lock. Reuse the existing locked validator and detached snapshot at that call site. Preserve both header routes, settings-write requirements and refusals; retain the concurrent history test and add direct capture/auth race and metadata regressions.
Change-source: pulse-maintainer
Keep the existing byte-order-sensitive snapshot helper and correct this new expected snapshot to encoding/json ordering. The projection, typed facts and all other runtime source are unchanged.
Change-source: pulse-maintainer
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
Replace two whitespace-sensitive source-string checks with the compiled pointer type and exact optional JSON tag. Keep producer wiring assertions intact; adding the scoped summary must not make gofmt alignment a false contract failure.
Change-source: pulse-maintainer
Withhold full canonical results from tokens without command-disclosure authority. Return an explicitly redacted, content-free outcome summary without rewriting evidence or collapsing execution, verification and compensation truth. Scrub legacy error suffixes and verification notes, preserving known refusal prefixes and full authorized reads.
Change-source: pulse-maintainer
Preserve the existing 128-byte cap without slicing a valid code point into invented replacement characters. Keep trim/control order and intentional replacement characters, and cover byte-boundary cases, registered Community HTTP writes and persisted/list/detail/login discovery, redaction, stable IDs and presentation-only runtime reuse. Register the focused SSO management proof route.
Contract-Neutral: Restore valid UTF-8 within the existing 128-byte label cap; API shapes, byte limit, trim/control rules, IDs, credentials, authorisation and runtime-reuse contracts are unchanged.
Change-source: pulse-maintainer
Preserve the exact prior runtime repairs and current main, including the protected phone disclosure and help. Resolve only additive contract composition if needed; the rejected governance expectation will be corrected separately.
Contract-Neutral: Composition preserves the reviewed task inventory, PBS attribution and organisation-bound recovery contracts with no new runtime change.
Change-source: pulse-maintainer
The history-read day count answers whether real installs use agent
history, so demo and mock installs, which serve generated fleets, must
not add to it. The recorder skips mock mode, but no test held that: the
check could be dropped without anything failing. This test fails when
the mock check is neutralised and passes with it.
Resolve the supplied scope against an already-existing AI service and require its own organisation to match. Unknown or misbound tenants must not configure the default runtime or initialise a provider. Keep the extension callback ABI and request authorization unchanged; the private caller still needs to pass its authenticated request scope.
Exercise the public extension seam across default and two tenants, untouched peer orchestrators, retained History and thread reads, unavailable service cases and concurrent independent setup.
Change-source: pulse-maintainer
Contract-Neutral: Org-binding bug fix within existing tenant isolation; no public API, extension ABI, agent-lifecycle or storage-recovery contract change.
Adding scoped persistence made the shared orchestrator fixture enter tenant service lookup during audit reconciliation. Register the existing tenant service so the callback reaches the findings that own the run, without a nil registry or construction of an unrelated service. Keep the real finalisation, audit and History-read assertions unchanged.
Contract-Neutral: Test-only tenant-service registration; runtime and public contracts are unchanged.
Change-source: pulse-maintainer
**Verify saved MCP installers before executing them**
Replace remote-script pipelines and quarantine bypass advice with
published-release and exact-asset verification, local review, and a
matching binary version pin. Exercise each download/verification failure
without running the saved installer.
Contract-Neutral: Existing MCP installation and signature behaviour is
unchanged; this corrects operator guidance and tests its fail-stop
download recipe.
**Align onboarding contract tests with verified saved installers**
Keep the existing read-only connection contract scoped to its own
section, and verify both rendered bootstrap recipes separately. Replace
the stale one-line installer assertion without weakening signature,
access or action boundaries.
Contract-Neutral: Test-only alignment with the existing saved-installer
and read-only onboarding contract; no runtime or public API delta.
**Match the rendered installer inventory without relying on prose
wrapping**
Use the unchanged installer inventory phrase alongside the new
verification assertions. The previous intermediate assertion included a
prefix that the guide does not contain.
Contract-Neutral: Documentation-test correction only; no runtime
contract delta.
---
Fleet candidate `20261029T121550Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`355c6e9885648ee3301733fdfd68ea08be63a9bc` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
SetServiceInitializer immediately visits existing chat services. Reset the test counter after that installation before asserting one initializer call for the subsequent History read. Preserve the lock-availability assertion on every callback; runtime code is unchanged.
Change-source: pulse-maintainer
Chat dependency initializers can acquire AI service and investigation-map locks. Resolve them before taking the history load/publication lock, then recheck readiness under that lock so concurrent read retries retain the first recovered runtime.
Contract-Neutral: Internal lock ordering for the same scoped History read-recovery behaviour; no API, schema, persistence or authority change.
Change-source: pulse-maintainer
Do not publish a store after failed loading or silently substitute an unscoped memory-only store. Retry incomplete startup on an ordinary finding read under the setup lock, preserving the original org, finding and chat session without starting an investigation. Referenced current runs that are unavailable return a redacted failure rather than false absence; true absence and old occurrences remain 404.
Contract-Neutral: Restore the existing failed-read versus absence and organization-isolation contracts; no endpoint, schema, auth, execution authority or persistence format change.
Change-source: pulse-maintainer
The boundary audit correctly rejects a new production SSO path outside the shared adapter allowlist. Move the exact comparison helper into sso_config_preservation.go, retaining the existing import and paid-domain enforcement without adding an exception.
Contract-Neutral: Exact helper relocation within the existing SSO adapter; no API, policy, credential, persistence or runtime behaviour changes.
Change-source: pulse-maintainer
The agent event-record experiment is reviewed on 2027-01-27 against one
test: at least 15 install IDs on stable versions reading history on
three or more separate days in a 30-day window. No existing counter can
answer it: they count requests, fold these reads into general context,
and the activity history keeps only its newest 500 records, so a busy
agent pushes out the days it read on.
After a successful list_recent_changes or get_metric_history response,
an external-agent request now also records one content-free history_read
marker per UTC day. The marker skips Pulse's own pages, is deduplicated
in memory and on disk, and sits outside the 500-record cap. Telemetry
schema 21 reports the number of distinct marker days as
pulse_intelligence_external_agent_history_read_days_30d (0 to 30). The
per-request records are unchanged, so existing counters keep their
meaning.
Use the unchanged installer inventory phrase alongside the new verification assertions. The previous intermediate assertion included a prefix that the guide does not contain.
Contract-Neutral: Documentation-test correction only; no runtime contract delta.
Change-source: pulse-maintainer
Keep the existing read-only connection contract scoped to its own section, and verify both rendered bootstrap recipes separately. Replace the stale one-line installer assertion without weakening signature, access or action boundaries.
Contract-Neutral: Test-only alignment with the existing saved-installer and read-only onboarding contract; no runtime or public API delta.
Change-source: pulse-maintainer
Preserve the real encrypted store while failing only the write, compare equivalent nil/empty collection encodings, and clean up services created by type switches. Production implementation is unchanged.
Change-source: pulse-maintainer
Compare effective SAML and OIDC settings after credential and advanced-field preservation. Keep the enabled live service for name, display-name, icon and ordering saves; retain initialization for protocol, trust, policy, lifecycle changes and absent services.
Contract-Neutral: Corrects presentation-save continuity without changing SSO wire shapes, authentication, credential redaction, access policy or lifecycle contracts.
Change-source: pulse-maintainer
The README mentioned the MCP adapter in one unlinked sentence under Optional AI checks, which read as part of bring-your-own-model Patrol. It now has its own line saying what an agent can ask and linking the pulse-mcp quick start, and the pulse-mcp introduction leads with the read-only questions a monitoring-read token answers before the governed actions.
Agents could read current values and, since list_recent_changes, what
changed, but not how a resource's metrics moved: whether a disk filled
gradually or suddenly, whether memory climbed before a restart. Pulse
records that history for its own charts.
get_metric_history (GET /api/agent/metric-history, monitoring:read,
on the Pulse MCP surface) takes the canonical resource id the other
agent reads return, resolves the resource's metrics target through the
registry, and delegates to the chart history read. Agents and charts
therefore share tiers, fallbacks, downsampling and the licensed history
limit: a window beyond it returns the same license_required error.
The history route now accepts the registry's Kubernetes target kinds
(pod, k8s-cluster, k8s-node, k8s-deployment) as the k8s store type.
The frontend translated them client-side; any other caller passing a
target through got a 400.
The setup wizard leaves the browser authenticated with the wildcard
admin token it creates, and kiosk links authenticate with ?token=. The
UI's own GET /api/config/nodes and GET /api/ai/patrol/findings calls
therefore recorded external-agent activity, so
pulse_intelligence_external_agent_used_30d mostly measured installs
set up in the last 30 days: a third to a half of installs under 30 days
old reported it, against 2-3% of older ones. Its fall from 1,541 to
1,081 installs between September and October tracked fewer new
installs, not agents leaving.
Skip the marker when the browser marks the request Sec-Fetch-Site:
same-origin, which only a page Pulse served can produce. Scripts, MCP
adapters and dashboards on other origins still count. This is a
deliberate telemetry semantics change: expect the counter to drop on
upgraded installs.
An agent holding /api/agent/events open heard about findings, approvals
and action completions, but not about the facts it most often has to
react to: an alert firing or clearing, or a resource going down. Pulse
already records those as resource changes that list_recent_changes
reads; this publishes them live as alert.fired, alert.resolved and
resource.status_changed, so agents and Pulse MCP --emit-notifications
clients can react without polling.
The monitor adapter tells an observer about each change after the store
accepts it, with the resource ID resolved to the canonical identity it
was stored under. Registry diffs are announced after the new generation
is swapped in. Alert rows are announced only from the alert manager's
live lifecycle callback through RecordLiveChange; lifecycle replay,
active-alert reconciliation and imported history keep using RecordChange,
so a restart never re-announces old alerts. Nothing new is persisted and
nothing is read back from the store, so there are no extra disk writes.
Payloads mirror the timeline record (changeId, kind, canonical
resourceId, current name and type, from/to or alert identifier, type,
level and resolution) and never carry alert messages, change reasons or
command metadata. Only state transitions whose status field changed
count as status events. Status changes are coalesced per resource over
30 seconds: the first is immediate, later ones fold into at most one
event per window, and a flap that returns to the announced status
publishes nothing. Change events carry the recording monitor's
organization and reach only subscribers in that organization.