When someone restarts, starts, stops or updates a Docker container from
Pulse, the result dialog showed raw fact dumps such as "Container
lifecycle: phase=verify; mutation started=true; ... after=running/
unhealthy" under "Outcome contradicted". About one in five of these
actions ends unconfirmed, almost always because the container really is
still unhealthy, and nothing on screen said so.
The execution and verification summaries are now plain sentences built
from the same typed facts, for example "Docker restarted the container."
and "The container restarted, but its health check is failing. Check its
logs." They describe what Docker reports using the state and running flag
together, say "Pulse could not get its health information" when the agent
receipt carries none, and keep missing, unchanged and older start times
apart. The raw facts stay on the evidence records and the legacy output,
and the action dialog shows that output in a collapsed "Agent details"
section, so nothing a power user could see before is lost.
The verification detail lines drop "trust domain" and "intended state"
wording. Verdicts, reason codes, evidence and API fields are unchanged.
Contract-Neutral: Rewords existing ActionResultV2 summaries for Docker container actions and the verification detail copy; no field, status, reason code, evidence or API shape changes
A PBS sync that failed after a successful backup left Pulse all green
and raised nothing (#1815). This treats a failed PBS sync, verify, prune
or garbage-collection run as a problem with the datastore, not the
guest.
**What changes**
- Each PBS datastore resource carries a `pbs_job_failed` incident per
job whose newest run failed on it. The existing unified-incident
pipeline turns that into a warning `backup-storage-incident` alert on
the datastore, for example "Sync job s-1 failed on datastore offsite
(copying from pbs-main)". It clears when the job's newest run succeeds.
The storage disable switch and overrides apply.
- Backup health lists the same failures under a **Datastore jobs**
heading, one row per failed family with the datastore names; the row
scrolls to Backup servers. Guest counts are unchanged, so in the #1815
case the guest stays protected and the failed copy shows on its own.
- The PBS poller carries a job's last completed failure through polls
that report no newer outcome (run in progress, overdue, unreadable,
failed read), so the alert does not flap or clear early. Jobs are keyed
by family plus id, and a failed last run now outranks overdue.
- Mock PBS servers report job results, with one failed sync on the
secondary.
Only failures pinned to a datastore count; storeless task history never
raises an alert.
**Not in this PR:** durable PBS task history, a Tasks view, offsite-copy
lag, and PBS jobs in the 14-day Backup jobs chart (that chart is PVE
backup history only).
Verified in mock mode at 1024px and 375px (receipt included). Go:
unifiedresources, alerts, models, mock and monitoring packages pass;
frontend Proxmox and routing tests pass.
A PBS outage removed the datastore from a poll and stored the instance
without job results, so every failed-job alert cleared and fired again
when PBS returned. Job incidents now need two polls that see success
before recovering, so a missing datastore reads as unknown, and a failed
poll keeps the last job results so the carry survives the outage.
Only a failed job-list read now makes a family unreadable; task-history
trouble no longer keeps a removed job's failure alive. Recovery is judged
from the run's own status, so a success first seen after its next
schedule passed still clears the carry. Carried failures stay in memory:
a restart forgets them until PBS reports the job again.
The infra-update handlers were built once with the default monitor and
read state, so in multi-organization mode a request for any organization
listed the default organization's container updates and queued update
checks on the default organization's agents. Scheduler health likewise
always reported the default monitor.
Both now resolve the request organization's monitor and read state per
request. An organization whose monitor cannot be resolved gets no
updates, no queued command and a 503 for scheduler health, never the
default organization's data. A routed test fails if the router goes back
to wiring the handlers to a fixed monitor.
Contract-Neutral: Response payloads are unchanged; the api-contracts note records the tenant-resolution rule. The agent-lifecycle, security-privacy and storage-recovery boundaries are untouched: no new agent, credential, storage or recovery path.
PBS records a failed run as the bare error message. Matching substrings called "broken pipe" a success, which also cleared a carried failure, and left failures without "fail" or "error" in them unknown, so they never alerted. Exactly OK is success, a WARNINGS: prefix a warning, unknown unknown, and any other status a failure, as in proxmox-widget-toolkit parse_task_status.
Reserve both loopback addresses for notification fallback tests
Allocate the healthy loopback listener first, then reserve the stalled address at the same port. Retry only EADDRINUSE during paired reservation and retain both sockets for the test lifetime. This removes the cross-address allocation race without replacing the real dial path or replaying HTTP requests.
Contract-Neutral: Linux-only test fixture allocation changes. Production notification delivery, HTTP fallback semantics, permission boundaries and subsystem contracts remain unchanged.
Community-scripts containers stopped being recognised as ProxmoxVE LXC
installs. Since September 2026 community-scripts/core writes
`/usr/bin/update` as a generic bootstrap that names the app only through
`export UPDATE_SCRIPT_NAME="pulse"`, and it rewrites older direct-pull
helpers on every update. `GetDeploymentType` looked for `pulse.sh` in
that file, so these containers fell through to `systemd` and lost the
ProxmoxVE update guidance.
- Detection now also matches the bootstrap's export line (anchored, so
`pulsechain` or other apps don't match). A table test covers the current
bootstrap, the legacy direct pull, Pulse's own helper and non-Pulse
scripts. Removing the new match makes the test fail.
- Settings → Security "restart required" used to tell ProxmoxVE users to
type `update`. That helper exits without restarting Pulse when no newer
release exists, and the update banner tells the same users not to use
it. The card now shows `systemctl restart pulse` and mentions the older
`pulse-backend` unit. The wording doesn't say "LXC", because Pulse's own
installer helper also puts native hosts in this class.
- The card now renders the presenter's label and command once for every
deployment type, replacing the hand-written block per type. Source and
unknown types get the generic hint instead of an empty box.
Verification: the updates package Go tests plus vitest for the
presenter, settings architecture and read-only panels, with type-check,
eslint and prettier, all on pulse-dev. A browser pass ran on an embedded
mock build at 1440 and 390 for proxmoxve, systemd, docker, source and
unset deployment types (receipt included).
Out of scope, noted for follow-up: the community-scripts `CLEAN_INSTALL`
path wipes `/opt/pulse` before extracting the new archive
(community-scripts/core `lib/forge.func`), so a failed extract leaves no
binary to restart.
A PBS sync that failed after a successful backup left everything green
and raised nothing (#1815). A failed sync, verify, prune or GC run is a
problem with the datastore, not the guest, so each PBS datastore now
carries a pbs_job_failed incident per job whose newest run failed. The
existing incident pipeline turns it into a warning alert on that
datastore. Backup health lists the same failures under a Datastore jobs
heading, and guest counts are unchanged.
The poller now carries a job's last completed failure through polls
that report no newer outcome (a run in progress, an overdue job, a
failed read), so the alert neither flaps nor clears early. Jobs are
keyed by family as well as id, and a failed last run outranks overdue.
Mock PBS servers report job results, with one failed sync.
Allocate the healthy loopback listener first, then reserve the stalled address at the same port. Retry only EADDRINUSE during paired reservation and retain both sockets for the test lifetime. This removes the cross-address allocation race without replacing the real dial path or replaying HTTP requests.
Contract-Neutral: Linux-only test fixture allocation changes. Production notification delivery, HTTP fallback semantics, permission boundaries and subsystem contracts remain unchanged.
Since September 2026 community-scripts writes /usr/bin/update as a
generic bootstrap that names the app only through
`export UPDATE_SCRIPT_NAME="pulse"`, and rewrites older helpers on
every update. GetDeploymentType looked for "pulse.sh" in that file, so
these containers fell through to "systemd" and lost the ProxmoxVE LXC
update guidance. Match the bootstrap's export as well.
The Security "restart required" card told ProxmoxVE users to type
`update` in the console. That helper exits without restarting Pulse
when no newer release exists, and the update banner tells the same
users not to use it. Show `systemctl restart pulse` instead, noting the
older pulse-backend unit and no longer naming the LXC, since Pulse's own
installer helper also classifies native hosts as proxmoxve. Render
the card from the shared restart instruction for every deployment type
rather than one hand-written block per type, so source and unknown
types get the generic hint instead of an empty box.
A tenant monitor's Start goroutine assigned discoveryService in
startModeRuntime without holding m.mu, while request handlers such as
auto-register read it through GetDiscoveryService. The race detector
flagged the pair intermittently in
TestTenantProxmoxInstallTokenGrantLivesOnInstanceRecord and failed
unrelated pull requests.
startModeRuntime now chooses and assigns the service under m.mu, and
GetDiscoveryService reads it under the read lock, matching
StartDiscoveryService and StopDiscoveryService. The org ID is read
directly because GetOrgID would take the read lock again. A new race
proof calls startModeRuntime and GetDiscoveryService from two
goroutines with no ordering between them.
Contract-Neutral: Locking fix for an existing monitor field; no API, schema, discovery behavior or subsystem contract change.
The focused race attempt passes 43 groups, including all read-withdrawal cases, but the source route inventory cannot classify a local auth helper. Inline the same established auth/scope/response guards in each registration instead of adding bare-route exceptions or weakening the inventory check. Keep the failed aggregate and its completed proofs.
Contract-Neutral: Expresses the same response guard through existing explicit route gates; no route, JSON schema, scope grant, collection or retention changes.
Change-source: pulse-maintainer
The pre-repair HTTP comparison returned null recentChanges with count zero. Accept that unchanged empty-array representation instead of requiring a schema change in this confidentiality repair. Retain the adverse first fixture result.
Contract-Neutral: Corrects only an empty-timeline regression expectation; no runtime, route, schema or grant changes.
Change-source: pulse-maintainer
A healthy storage summary reports one storage subject, not its name in the incident list. Preserve the failed expectation and assert that actual aggregate. Cover the read-only report entrance and every mixed operator/verification mutation gate as well.
Contract-Neutral: Corrects a test expectation and extends admission regressions for existing queries; no runtime, route, schema or grant changes.
Change-source: pulse-maintainer
Reuse the established response-authority guard for unified inventory, detail, summary, facet and timeline queries, plus read-only operator state and maintenance evidence. Withhold delayed results and handler errors after credential withdrawal; leave mutation gates and work lifetime unchanged.
Contract-Neutral: Restores existing credential-withdrawal confidentiality on existing read routes. No route, JSON schema, scope grant, collection, retention or subsystem contract changes.
Change-source: pulse-maintainer
Pause real registered inventory reads after admission, withdraw token or session authority, and preserve independent readers, resource content, errors and read-only gates. Store-only entrances retain their admission/envelope checks without artificial database locks.
Contract-Neutral: Adds regression proof for existing resource read confidentiality and unchanged query contracts; no runtime, route, schema or grant changes.
Change-source: pulse-maintainer
Keep the strict generic denial assertion for admitted requests only. Initial authentication retains its existing error format. Give the approval fixture detached per-request summaries, matching the production adapter, so a monitoring-only read cannot redact the next reader's fixture. Preserve the failed comparison and all observed old-route disclosures.
Contract-Neutral: Corrects regression-fixture ownership and initial-auth expectations only; no runtime, route, schema, grant or subsystem contract changes.
Change-source: pulse-maintainer
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
Pause the real inventory provider through all five registered context and Patrol status routes. Persisted token deletion, changed authority, session withdrawal and command-scope removal must not disclose delayed snapshots; independent current readers keep their data and redaction.
Contract-Neutral: Regression tests for existing credential lifetime and unchanged agent snapshots; no runtime, route, schema, grant or subsystem contract changes.
Change-source: pulse-maintainer
The initial lifetime assertions correctly reject old admissions, but a replacement credential ID or principal still holding monitoring-read may make a new request. Verify the fresh result instead of incorrectly expecting denial. Keep the earlier failed run as evidence; the runtime guard is unchanged.
Contract-Neutral: Corrects only a regression-test expectation for existing current-identity admission; no runtime, protocol, data model, grant or subsystem contract changes.
Change-source: pulse-maintainer
Keep the existing monitoring-read response-authority check around the complete batch read, including POST body admission. Revoked or changed tokens and withdrawn browser sessions cannot receive delayed history or handler-specific errors; current readers retain the existing result and entitlement gates.
Contract-Neutral: Restores existing credential-withdrawal confidentiality on the availability history route; no endpoint, JSON schema, stored history, scope grant, collector, entitlement or subsystem contract changes.
Change-source: pulse-maintainer
Exercise the registered route with real persisted history and admitted requests paused at their body read. Token deletion, changed authority and logout must withhold results and errors while an independent reader keeps its batch evidence.
Contract-Neutral: Regression tests for the existing monitoring-read lifetime and unchanged history response; no runtime, protocol, data model, grant or subsystem contract changes.
Change-source: pulse-maintainer
Recheck every contributing tenant-local provider after the last native read. A connection removed or replaced during a later peer read must not leave its earlier result in the batch; source disable withdraws the whole native result. Keep surviving providers and fresh reads intact, without holding the poller lock across I/O.
Contract-Neutral: Restores the existing tenant-local native-history provider lifetime boundary for batch chart reads; no route, payload, permission, retention, identity, TLS or subsystem contract changes.
Change-source: pulse-maintainer
Native TrueNAS hosts expose an agent-shaped facet keyed by the
configured connection. Do not let hostname coalescing fold two such
identities into one host or redirect their pools and history. Exercise
distinct per-disk trajectories through pinned CORE collection,
persistence and scoped HTTP reads alongside separate host totals.
Contract-Neutral: Restore the existing connection-scoped TrueNAS
identity contract through presentation; no contract delta.
---
Fleet candidate `20261102T214024Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `e5a99e74c638f9e2e087681008c52f0f57f26d97` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Pin non-executable transport media at protected result and stream writes
and key process-local configuration-import replay fingerprints. Harden
installer fixtures and scope security proofs to their owning runtime files.
Verify the full backend race-test shards, frontend checks, native
HTTPS/signature regressions, governance and CodeQL before landing.
The delivery log runs every error through the webhook URL redactor. When
the text held no http(s) URL, the redactor parsed the whole message as a
single URL. Queue errors start with prose like `process queued apprise
notification "...": ...`, and a colon before the first slash is not a
valid relative URL, so every Apprise CLI, SMTP and other URL-free failure
reached the UI as "[invalid webhook URL]".
A Pro user whose image lacked the apprise binary saw exactly that: the
delivery warning fired, but the log row pointed at a URL problem instead
of "executable file not found in PATH".
Text without an http(s) URL now has only its URL-shaped words (those
containing "/" or "?") parsed and redacted. A malformed one still fails
closed, and path and query credentials in schemeless words are still
masked.
Contract-Neutral: bug fix; URL-free delivery-log error prose is no longer parsed as one URL, and the documented redaction and fail-closed rules are unchanged
Native TrueNAS hosts expose an agent-shaped facet keyed by the configured connection. Do not let hostname coalescing fold two such identities into one host or redirect their pools and history. Exercise distinct per-disk trajectories through pinned CORE collection, persistence and scoped HTTP reads alongside separate host totals.
Change-source: pulse-maintainer
Contract-Neutral: Restore the existing connection-scoped TrueNAS identity contract through presentation; no contract delta.
Pin non-executable media at guarded HTTP write and flush boundaries so
protected output cannot become executable through missing or unsafe types.
Preserve payload bytes and existing credential-withdrawal semantics.
Key configuration-import replay fingerprints per guard rather than retain
unkeyed passphrase-derived digests. Limit installer fixture redirects to
fixed assets, require TLS 1.2, and make dependency-test expectations explicit.
Prevent stale reload consumers from rebuilding a monitor after its owner stops, including cached reads during incomplete cleanup. Keep saved state, canonical credentials and the existing tenant-unavailable response; a fresh manager alone owns replacement runtimes. Add lifecycle, reload and HTTP-consumer regressions without changing the human-held monitor.go.
Change-source: pulse-maintainer
Pixel review found that marking a mixed stored/native response as memory tells the user the history store has no data, despite preserved CPU and capacity samples. Omit the existing optional source hint for that mixed reply; keep pure stored responses unchanged and assert both cases.
Contract-Neutral: Uses the existing optional history source hint without adding values or changing metrics, grants, windows or aggregation.
Change-source: pulse-maintainer
The read-backoff fixture can time out during its cold handshake before reaching the read it asserts. Prepare an authenticated session first, retain the exact 200 ms read budget and one-session/one-read/no-REST assertions, and report stage counters on failure. Handshake and login deadline fixtures remain separate and unchanged.
Contract-Neutral: Test stage isolation only; production timeout and transport behavior are unchanged.
Change-source: pulse-maintainer
Qualify requested chart coverage per series and fill only missing host I/O directions after a successful store read. Select the current tenant-local TrueNAS host before native I/O; preserve stored series, complete simultaneous totals, zeros and withdrawal boundaries. Exercise CORE collection, canonical ingestion and the authenticated persisted-history route.
Contract-Neutral: Restores existing host-history fallback and series coverage; no route, payload, grant, identity, retention or aggregation contract changes.
Change-source: pulse-maintainer
The monitor publishes its first resource view while the fixture is being constructed. Hold only request-owned provider reads, so construction cannot consume the request barrier.
Change-source: pulse-maintainer
Reuse the existing response-authority guard around both chart and canonical agent history reads. Revalidate the admitted token or session at disclosure without cancelling provider work or requiring execution/settings scopes. Cover real provider waits, persisted withdrawal and independent authorised readers.
Contract-Neutral: Enforce existing monitoring-read authority on both metric-history entry points; no route, grant, payload, mapping or retention contract changes.
Change-source: pulse-maintainer
**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.
**Validate agent URL policy before replacing an installation**
Use the verified staged agent's production primary URL policy before
changing services, installed binaries, saved credentials or safe-profile
authority. The URL-only mode performs no credential reads, enrollment,
logging or state writes. Unsupported or unexecutable validation fails
closed, and TLS bypass never becomes plaintext consent.
Contract-Neutral: No deployment-installability or security-privacy
contract delta: this enforces the existing agent URL/HTTPS policy before
Unix replacement, without new transport permissions, service profiles or
installation routes. The owning agent lifecycle contract and real-CLI
installer regressions are included; the shared deployment contract
remains untouched while human PR3756 holds it.
**Keep URL admission independent of inherited credentials**
Defer the environment-token read until ordinary configuration
resolution. Prove the URL-only path never reads it, ordinary startup
retains its fallback, and unsupported or unexecutable validators refuse
before admission.
Contract-Neutral: The existing read-only URL admission contract is
unchanged; defer an unused credential default and cover its no-read and
fail-closed boundaries without changing startup permissions or installed
state.
**Bind agent URL admission tests to the installer source manifest**
PR3767's canonical-governance job failed because the installer
qualification binary compiles agent_url_admission_test.go but its
source-attestation manifest omitted it. Include that existing compiled
input so installer receipts hash it. Keep the manifest completeness and
hash checks unchanged.
Contract-Neutral: Add an already-compiled installer test to the existing
exact-source attestation boundary; no runtime, qualification policy,
credential, transport or rendered behaviour changes.
**Count API Ceph standby managers as running**
Keep manager standby roles healthy in the authoritative Proxmox service
map without masking stopped managers or MON/OSD warnings. Cover both
API/agent arrival orders and summary-only fallback through actual
polling and accepted reports.
Refs #1626
---
Fleet candidate `20261102T133922Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `d888d384d22869df3e084d6fb340abd63fd33ff9` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Pin the runtime guide to the immutable ancestor that contains the procedure, rather than drifting with main. Include both helper maintenance commands in the executable recipe inventory and exercise the fixed runtime help target. The returned candidate failed both repository checks; preserve those guards and the unchanged maintenance procedure.
Refs: #3754
Contract-Neutral: Keeps the existing collector-only update and installer-managed helper lifecycle; repairs help identity and documentation verification only.
Change-source: pulse-maintainer
Keep manager standby roles healthy in the authoritative Proxmox service map without masking stopped managers or MON/OSD warnings. Cover both API/agent arrival orders and summary-only fallback through actual polling and accepted reports.
Refs #1626
Change-source: pulse-maintainer
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
Report collector-only automatic update scope once when the typed helper-backed updater starts, and give operators the existing preflight/update procedure without widening helper authority or misclassifying healthy monitoring. Exercise the output and the copied, saved-state update commands with credential-free fixtures.
Refs: #3754
Contract-Neutral: Clarifies existing collector-only update scope and installer-managed helper maintenance; no wire, privilege, activation or recovery contract changes.
Change-source: pulse-maintainer
Show 14 days of backup job outcomes beside Backup health
The Backups page could not answer "did last night's backups run, and is
that normal?". The only history on it was a chart of restore points per
day, which counts what exists rather than what failed, and the live
/api/backups/pve task list spans just the latest collection window, so
it cannot show two weeks either.
GET /api/backups/jobs summarizes PVE backup job outcomes for the last
24 hours and each of the last 14 local days with
recovery.BuildBackupHealth
over retained pve-task history, the authority behind the backup health
report. Multi-guest jobs count through attributed guest results, stale
running observations are not counted as running, and every day carries
its collection state, so days Pulse did not fully observe never read as
clean. Unreadable history is "unavailable", never zero failures.
A Backup jobs card shows the last 24 hours as outcome pills in its
header strip and one stacked bar per day, in the same table-card
vocabulary as Backup health, beside it from xl. It is a page-owned
section passed into ProxmoxBackupsTable, so the table keeps exactly its
PVE and PBS inventory reads, and it renders nothing until backup task
history exists.
The Backups page could not answer "did last night's backups run, and is
that normal?". The only history on it was a chart of restore points per
day, which counts what exists rather than what failed, and the live
/api/backups/pve task list spans just the latest collection window, so
it cannot show two weeks either.
GET /api/backups/jobs summarizes PVE backup job outcomes for the last
24 hours and each of the last 14 local days with recovery.BuildBackupHealth
over retained pve-task history, the authority behind the backup health
report. Multi-guest jobs count through attributed guest results, stale
running observations are not counted as running, and every day carries
its collection state, so days Pulse did not fully observe never read as
clean. Unreadable history is "unavailable", never zero failures.
A Backup jobs card shows the last 24 hours as outcome pills in its
header strip and one stacked bar per day, in the same table-card
vocabulary as Backup health, beside it from xl. It is a page-owned
section passed into ProxmoxBackupsTable, so the table keeps exactly its
PVE and PBS inventory reads, and it renders nothing until backup task
history exists.
Count active and standby managers at collection and normalize older agent
rows at ingest so healthy clusters do not show a false manager shortage.
Keep unavailable-manager and genuine MON/OSD evidence unchanged.
Keep explicit health status and its details together at canonical state
merge so recovery cannot inherit an earlier incident. Treat normalized ERR
as critical in the shared Ceph table classification, including empty manager
reports, so rows, filters and drawer headers agree with provider health.
Preserve source priority and unrelated topology/count fallback. Pin the
producer, ingest, recovery and critical-rendering contracts with regressions.
Refs #1626
A blocked webhook can dead-letter both the persisted notification and the
delivery-health alert it raises. Counting exactly one dead-letter entry
makes the bootstrap-policy test depend on polling timing.
Wait for the seeded notification's identity and expected delivery outcome.
Keep the installation-policy denial and actual provider receipt assertions.
The containing API shard exposed a wrong parameter name in the added source assertion. Pin the existing d.next delegate; the runtime redirect guard and all other assertions stay unchanged. Retain the failed full-shard result before validating this final source.
Contract-Neutral: Correct a test source fragment only; the existing runtime and API contracts are unchanged.
Change-source: pulse-maintainer
Align the MCP/SSE adapter contract with the reviewed redirect-origin repair. Require the shared guard in the MCP wrapper, SSE transport and agent HTTP substrate rather than restoring the unsafe helper to satisfy a stale source assertion.
Contract-Neutral: Test-only alignment with the existing agent redirect-origin contract; no runtime or API contract delta.
Change-source: pulse-maintainer
Guard standard clients without mutating caller policy or transport. Apply the same boundary to manifest discovery, capabilities, workflow activity and MCP event streaming so tokens and replayable bodies do not follow off-origin redirects. Preserve same-origin requests and report a fixed final-base-URL diagnostic.
Change-source: pulse-maintainer
Reuse the shared exclusive-descriptor writer for per-organisation billing state and migration. Preserve encryption, integrity, entitlement rules and migration policy while preventing stale temporary paths and independent stores from corrupting or exposing state.
Change-source: pulse-maintainer
Exercise both default and named organisations with encrypted synthetic state, stale temporary paths, destination links, migration, rename failure and independent writers. Preserve exact unrelated files and require private recoverable signed state.
Contract-Neutral: Registered filesystem regression tests only; no runtime or contract change.
Change-source: pulse-maintainer
Block the final inventory rename instead of a predictable temporary path that the private writer no longer uses. Preserve the original synthetic inventory through restart and require the exact fail-closed response, durable retry credential and temporary-file cleanup before proving a successful retry. The monitoring control checks the actual rename error, not any incidental failure.
Contract-Neutral: Restore existing uninstall failure injection for the private writer and strengthen the same rollback and restart assertions; no production behaviour or subsystem contract changes.
Change-source: pulse-maintainer