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
Implement the exclusive temporary-descriptor seam on the monitoring metadata filesystem and assert its interface at compile time. The existing WriteFile barrier still proves metadata is persisted before new guest coordinates are published. This repairs the containing CI compilation failure without changing runtime code or weakening the barrier.
Contract-Neutral: Adapt the guest publication test double to the reviewed FileSystem interface; no production behaviour or subsystem contract changes.
Change-source: pulse-maintainer
Use an actual synthetic OIDC provider in the stale-path migration regression. Empty providers are intentionally omitted by the existing serializer; keep exact decrypted JSON equality and also verify the loaded secret instead of asserting an unsupported empty-list spelling.
Contract-Neutral: Strengthen the new migration fixture only; serialization, provider behaviour and production persistence are unchanged.
Change-source: pulse-maintainer
Bind the synthetic token to its existing default organisation. Loading it must not trigger an unrelated legacy-authority migration that replaces the backup after the import transaction has already committed. Keep exact ciphertext and live-state assertions unchanged.
Contract-Neutral: Correct the new test fixture only; production persistence and authority rules are unchanged.
Change-source: pulse-maintainer
Lead the Backups page with a verdict and grouped exceptions
The Backup health strip answered "is everything backed up?" with a
coloured bar and six posture counts. On a real install it read
"0 protected, 38 attention", and finding out why meant opening drawers
one guest at a time: the cause lived only in each explanation sentence.
The protection posture now carries a server-owned reason code, set in
DeriveProtectionPostureAt beside the explanation it summarizes, so a
surface can group guests by cause without parsing sentences. The strip
states one verdict ("47 of 49 protected") and lists one line per cause
with its count ("No successful backup 2"). A line opens Coverage
filtered to
exactly those guests through a new ?reason= URL filter. Postures stored
before reasons existed, or carrying a reason this build lacks, group
under their state instead of being dropped.
The posture bar and per-posture count toggles are removed; the inline
posture pills still filter by posture. No posture, freshness or
protection rule changes.
This stacks on #3706, which keeps re-read backups protected when one
storage is unreadable and names that storage once.
Keep the concurrent atomic-publication regression safe on failure: collect all twelve completion results before an assertion can end the fixture and remove its temporary directory.
Contract-Neutral: Test cleanup only; production persistence and contract are unchanged.
Change-source: pulse-maintainer
Adapt the API and agent-token filesystem fixtures to exclusive temporary creation. Preserve their original write errors, blocking points, counts and all authority/rollback assertions.
Contract-Neutral: Registered test-fixture adapters only; no additional runtime or contract change.
Change-source: pulse-maintainer
Time the legacy libvirt rate test across both receipts
TestApplyHostReportLegacyLibvirtRatesStayOnReceiptTime failed on main
(run 41335069897) with a rate below its lower bound. The bound divides
the counter delta by wall time measured from after the first report was
applied, but the monitor stamps receipt inside the apply. A slow first
apply under the race detector made the real receipt interval longer
than the measured wall time, so a correct receipt-time rate looked too
low.
Start the clock before the first report, so the wall time always spans
both receipt stamps. The bound still separates receipt time from
CollectedAt by four orders of magnitude.
Exercise encrypted credential saves, API-token metadata, legacy environment updates and SSO migration against stale local files, links and directories. Require private replacement files and preservation of unrelated synthetic state.
Contract-Neutral: Registered filesystem regressions only; no runtime or contract change.
Change-source: pulse-maintainer
Use the existing private storage writer for setup-token ciphertext instead of reusing .bootstrap_token.tmp. Stale links must not redirect writes into unrelated local state, and stale directories must not block token persistence or plaintext migration.
Cover all stale-path kinds, encrypted reload and key preservation, failed replacement cleanup and concurrent writes with an established key. Keep the encryption format, token and authentication policy unchanged.
Change-source: pulse-maintainer
The synthetic REST responder used its own later wall-clock second, so
valid version and trust checks could lose every sample as future-dated.
Use the admitted query end without changing production freshness,
transport or authentication. A fixed-window regression exercises two
requests through the unchanged filter instead of waiting for a lucky
rollover.
Contract-Neutral: Test-fixture clock correction only; production
telemetry, transport and trust contracts are unchanged.
---
Fleet candidate `20261101T193900Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `ae04cf9a7f73279f5bcf5dc6c548802f75d8b2ea` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The Backup health strip answered "is everything backed up?" with a
coloured bar and six posture counts. On a real install it read
"0 protected, 38 attention", and finding out why meant opening drawers
one guest at a time: the cause lived only in each explanation sentence.
The protection posture now carries a server-owned reason code, set in
DeriveProtectionPostureAt beside the explanation it summarizes, so a
surface can group guests by cause without parsing sentences. The strip
states one verdict ("47 of 49 protected") and lists one line per cause
with its count ("No successful backup 2"). A line opens Coverage filtered to
exactly those guests through a new ?reason= URL filter. Postures stored
before reasons existed, or carrying a reason this build lacks, group
under their state instead of being dropped.
The posture bar and per-posture count toggles are removed; the inline
posture pills still filter by posture. No posture, freshness or
protection rule changes.
This stacks on #3706, which keeps re-read backups protected when one
storage is unreadable and names that storage once.
The synthetic REST responder used its own later wall-clock second, so valid version and trust checks could lose every sample as future-dated. Use the admitted query end without changing production freshness, transport or authentication. A fixed-window regression exercises two requests through the unchanged filter instead of waiting for a lucky rollover.
Change-source: pulse-maintainer
Contract-Neutral: Test-fixture clock correction only; production telemetry, transport and trust contracts are unchanged.
TestApplyHostReportLegacyLibvirtRatesStayOnReceiptTime failed on main
(run 41335069897) with a rate below its lower bound. The bound divides
the counter delta by wall time measured from after the first report was
applied, but the monitor stamps receipt inside the apply. A slow first
apply under the race detector made the real receipt interval longer
than the measured wall time, so a correct receipt-time rate looked too
low.
Start the clock before the first report, so the wall time always spans
both receipt stamps. The bound still separates receipt time from
CollectedAt by four orders of magnitude.
Keep the existing configuration-transfer admission and recovery policy while rechecking the admitted token or local session at output. The recovery route records its own successful session admission because ordinary CheckAuth does not run there. Preserve encrypted backups, source state and independent readers.
Contract-Neutral: Retain existing configuration export authority through output; no route, grant, backup format, import lifetime or recovery policy change.
Change-source: pulse-maintainer
**Withhold audit evidence after credential withdrawal**
Keep the admitted token or local session current at every audit response
write, after the existing permission, admin-session, licence and
audit:read gates. Preserve signed evidence, independent readers, storage
work and admission activity. Restrict CSV to the audit-export transport
without widening JSON, reports or ZIP.
Contract-Neutral: Enforces existing audit confidentiality and admission
policy; no route, grant, payload schema, signing, retention or
storage/job lifetime changes.
**Pin audit endpoint replacement disclosure boundaries**
Exercise authorised, withdrawn and already-started replacement reads
through the registered audit routes. Keep HTML inert, preserve admitted
prefixes and withhold attachment/count metadata on refusal. Align the
shared authority test imports with goimports.
---
Fleet candidate `20261101T152013Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `fae89ed5d63701ced327be937e9ee3b6d9842e65` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
One enabled but unreachable PBS storage on one PVE node marked the whole
connection's backup history partial, and posture then refused Protected
to every guest on it. On a real instance that showed 47 of 49 guests as
"attention" although their fresh, verified backups sat on storages that
read fine, and the Backups page never said which storage was the cause.
A partial collection still confirms what it re-read: collectors renew a
point's evidence only for rows the poll returned, stamped with that poll's
observation time. Posture now counts a point as supported under partial
history when its evidence is no older than the latest observation for its
provider scope. A point retained from an unread scope keeps its older
evidence and may have been pruned since, so it still never supports
protection; neither do backfilled migration evidence or denied,
unavailable or unknown history. A supported current backup is no longer
withdrawn because another source is partial, matching the existing rule
for unreadable sources.
PVE and PBS observations now also name what went unread (node, storage,
datastore namespace discovery, namespace), persisted on the observation
row and carried on each provider state. Explanations name the scopes, and
the Backups page shows one line naming the unreadable storage and what to
check. The names explain the gap only; confirmation never depends on them.
Tests that asserted "no guest is protected under a partial poll" now
assert that only guests whose backup the poll re-read are protected, with
partial coverage, and that retained points from unread scopes never are.
Buffered reports can arrive milliseconds apart even though their counters
were collected seconds apart. Measure sequenced agent counter intervals on
their collection clocks while retaining receipt-time freshness and history.
Carry the optional host IO counter timestamp through collection and reports,
use libvirt inventory time for CPU and IO, rebase incomparable clocks, and
omit unknown Docker network history. Preserve unsigned libvirt CPU counters
and legacy report compatibility. Register the counter, wire and producer
regressions under the existing subsystem proof routes.
Exercise authorised, withdrawn and already-started replacement reads through the registered audit routes. Keep HTML inert, preserve admitted prefixes and withhold attachment/count metadata on refusal. Align the shared authority test imports with goimports.
Change-source: pulse-maintainer
Keep the admitted token or local session current at every audit response write, after the existing permission, admin-session, licence and audit:read gates. Preserve signed evidence, independent readers, storage work and admission activity. Restrict CSV to the audit-export transport without widening JSON, reports or ZIP.
Contract-Neutral: Enforces existing audit confidentiality and admission policy; no route, grant, payload schema, signing, retention or storage/job lifetime changes.
Change-source: pulse-maintainer
Keep single-resource GET/POST, fleet and VM-inventory downloads bound to their admitted token or session at each output write, including extension renderers. Reuse the synchronous response guard without adding instance-wide administration or cancelling background schedules. Keep report PDF/CSV and JSON errors separate from Assistant JSON and diagnostic ZIP media policies.
Cover persisted token deletion and logout through all four native HTTP journeys, independent readers, prefix withholding, expiry, identity, scope and organization changes, closed media choices and returned-writer closure.
Contract-Neutral: Enforce existing report confidentiality during credential withdrawal; preserve routes, organization-admin/settings-read grants, licensing, PDF/CSV data and background work.
Change-source: pulse-maintainer
**Stop withdrawn credentials reading private diagnostic ZIPs**
Recheck the admitted settings-read token or browser session at each
actual
support-bundle transport write. Reuse the synchronous response boundary,
selecting only ZIP or the existing JSON media policy; preserve private
log
bytes, attachment names, the allowlisted summary and independent
readers.
Refuse an undisclosed withdrawn archive with a generic 401 and no ZIP
headers;
after an admitted prefix stop later bytes without appending an error.
Cover real Router downloads held during persisted token deletion/logout,
independent downloads, both token transports, session/identity/scope
changes
between compressed writes and unchanged non-executable Assistant media.
Contract-Neutral: Enforce existing instance-admin/settings-read
confidentiality on the existing diagnostic ZIP without API shape,
grants, agent-lifecycle or storage-recovery contract changes.
**Admit an actual administrator in the bundle session fixture**
The native session case must configure its local administrator before
opening the held download. An empty session principal correctly fails
the existing admin gate and cannot exercise withdrawal during ZIP
generation. Preserve that gate; change only this test identity.
---
Fleet candidate `20261101T120028Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `0f256089ae629fc840d4a3cc9decaebd2bfb732e` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The native session case must configure its local administrator before opening the held download. An empty session principal correctly fails the existing admin gate and cannot exercise withdrawal during ZIP generation. Preserve that gate; change only this test identity.
Change-source: pulse-maintainer
Recheck the admitted settings-read token or browser session at each actual
support-bundle transport write. Reuse the synchronous response boundary,
selecting only ZIP or the existing JSON media policy; preserve private log
bytes, attachment names, the allowlisted summary and independent readers.
Refuse an undisclosed withdrawn archive with a generic 401 and no ZIP headers;
after an admitted prefix stop later bytes without appending an error.
Cover real Router downloads held during persisted token deletion/logout,
independent downloads, both token transports, session/identity/scope changes
between compressed writes and unchanged non-executable Assistant media.
Contract-Neutral: Enforce existing instance-admin/settings-read confidentiality on the existing diagnostic ZIP without API shape, grants, agent-lifecycle or storage-recovery contract changes.
Change-source: pulse-maintainer
Keep restored collectors running after helper rollback with their error
status. Require typed post-replacement restart failure before handing over
to the service manager. Sync executable bytes and mode before an atomic
POSIX replacement and apply the same barriers to persistent copies.
Make helper startup evidence authoritative, including an explicit absence,
so recovered and later helper starts cannot consume stale local markers.
Carry updater evidence through the canonical agent facet and host snapshot
with owned status and timestamp copies for fleet diagnostics.
Keep fleet diagnostic rows keyed by connection identity so refreshed
update evidence does not discard an open disclosure or its keyboard focus.
**Keep Assistant result responses non-executable**
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.
**Read the response media parser's parameter result**
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.
---
Fleet candidate `20261101T093848Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `fd1bf52833c47a5e44ecbcfc159df8841de88b99` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)