Commit Graph

6277 Commits

Author SHA1 Message Date
pulse-triage[bot]
8925065c5c Keep mixed host history from claiming a single source
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
2026-11-02 17:14:50 +00:00
pulse-triage[bot]
c9712a5dd5 Exercise the RPC read retry after session setup
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
2026-11-02 17:11:26 +00:00
pulse-triage[bot]
495c0cc6ab Keep native host I/O visible beside stored CPU history
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
2026-11-02 16:44:50 +00:00
pulse-triage[bot]
76b5088144 Arm history withdrawal fixtures after initial publication
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
2026-11-02 15:21:52 +00:00
pulse-triage[bot]
8a6bce1395 Keep requested metric history with its current reader
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
2026-11-02 15:18:10 +00:00
pulse-triage[bot]
d59d727399 Retain current reader authority for requested history (#3770)
**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)
2026-11-02 15:03:11 +00:00
pulse-triage[bot]
c7cda13f46 Repair helper guidance link and recipe coverage
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
2026-11-02 13:39:01 +00:00
pulse-triage[bot]
d888d384d2 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

Change-source: pulse-maintainer
2026-11-02 13:29:18 +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]
b87c182407 Explain the typed helper's separate update lifecycle
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
2026-11-02 10:48:07 +00:00
rcourtman
3a57ee56d9 Show 14 days of backup job outcomes beside Backup health (#3753)
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.
2026-11-02 10:17:52 +00:00
rcourtman
c9c668bb60 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.
2026-11-02 09:18:53 +00:00
rcourtman
59bc124755 fix(ceph): correct manager counts and health projection
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
2026-11-02 08:56:15 +00:00
rcourtman
2d380af658 test(monitoring): await the accepted startup notification
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.
2026-11-02 08:33:58 +00:00
pulse-triage[bot]
48bf5f5229 Match the MCP wrapper's guarded delegate in its contract
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
2026-11-02 05:24:49 +00:00
pulse-triage[bot]
55e109aabc Require guarded agent HTTP execution in the API contract
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
2026-11-02 04:57:47 +00:00
pulse-triage[bot]
6219669809 Keep agent HTTP redirects within the configured origin
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
2026-11-02 03:55:42 +00:00
pulse-triage[bot]
3f0f7938de Exercise agent redirect credential boundaries
Pin off-origin refusal across capability reads and writes, manifest discovery, MCP stdio, workflow activity and live events. Keep same-origin redirects and existing client policies working.

Contract-Neutral: Registered redirect regression tests only; no runtime or contract change.
Change-source: pulse-maintainer
2026-11-02 03:47:48 +00:00
pulse-triage[bot]
e220fb037d Publish billing state through owned private temporary files
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
2026-11-02 02:30:44 +00:00
pulse-triage[bot]
1e0b0bf83c Reproduce unsafe billing-state temporary-file reuse
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
2026-11-02 02:24:54 +00:00
pulse-triage[bot]
4fc752b424 Exercise uninstall rollback at the credential publication boundary
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
2026-11-02 00:59:17 +00:00
pulse-triage[bot]
ed5ffe4f03 Keep guest publication fixtures on the private file seam
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
2026-11-01 23:42:17 +00:00
pulse-triage[bot]
83160dadcc Compose reviewed private credential-save repair with current main
Change-source: pulse-maintainer
2026-11-01 23:41:31 +00:00
pulse-triage[bot]
051b6055a7 Exercise SSO migration with populated secret-bearing state
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
2026-11-01 22:31:55 +00:00
pulse-triage[bot]
a2f1d8d4bb Give the import staging fixture canonical token authority
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
2026-11-01 22:10:59 +00:00
rcourtman
d24b89fc36 Lead the Backups page with a verdict and grouped exceptions (#3715)
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.
2026-11-01 22:05:59 +00:00
pulse-triage[bot]
113bb4149b Drain every independent configuration writer before asserting results
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
2026-11-01 22:02:31 +00:00
pulse-triage[bot]
748707ca9e Keep consumer persistence-failure fixtures on the owned descriptor
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
2026-11-01 21:58:30 +00:00
rcourtman
0f78f0298a Time the legacy libvirt rate test across both receipts (#3713)
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.
2026-11-01 21:55:06 +00:00
pulse-triage[bot]
b1caf96846 Keep configuration credentials off stale temporary and backup paths
Publish complete private files from exclusive temporary descriptors for shared configuration writes, credential backups and legacy environment updates. Preserve import staging, encryption, exact backup bytes and ordinary error policy.

Retain write-failure injection at the descriptor seam. Cover partial writes, close and rename refusal, cleanup reporting, independent concurrent publication and staged import recovery.

Change-source: pulse-maintainer
2026-11-01 21:55:02 +00:00
pulse-triage[bot]
ae4954b40b Reproduce unsafe reuse of configuration temporary and backup paths
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
2026-11-01 21:51:28 +00:00
rcourtman
3c61a2c629 Merge remote-tracking branch 'origin/main' into feat/backup-verdict 2026-11-01 21:31:05 +00:00
pulse-triage[bot]
0f786322f9 Keep bootstrap persistence off stale temporary paths
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
2026-11-01 20:49:06 +00:00
pulse-triage[bot]
7deae44356 Bind the TrueNAS memory fixture to its requested reporting range (#3716)
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)
2026-11-01 20:37:51 +00:00
rcourtman
e571019423 Merge branch 'main' into fix/backup-unread-scopes 2026-11-01 20:01:50 +00:00
rcourtman
36badcbfb0 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.
2026-11-01 19:58:15 +00:00
pulse-triage[bot]
ae04cf9a7f Bind the TrueNAS memory fixture to its requested reporting range
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.
2026-11-01 19:46:54 +00:00
rcourtman
0be163acef 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.
2026-11-01 18:58:15 +00:00
pulse-triage[bot]
1168ebb397 Withhold configuration backups after credential withdrawal
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
2026-11-01 17:05:27 +00:00
pulse-triage[bot]
5cbcb05330 Withhold audit evidence after credential withdrawal (#3705)
**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)
2026-11-01 16:54:05 +00:00
rcourtman
c86ca8d308 Keep re-read backups protected when one storage is unreadable
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.
2026-11-01 16:39:20 +00:00
rcourtman
6dd202276c fix(monitoring): use collection clocks for agent counter rates
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.
2026-11-01 15:38:42 +00:00
pulse-triage[bot]
fae89ed5d6 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.

Change-source: pulse-maintainer
2026-11-01 15:34:52 +00:00
pulse-triage[bot]
ffa96dd81e 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.
Change-source: pulse-maintainer
2026-11-01 15:25:23 +00:00
pulse-triage[bot]
b4c317d0ae Withhold report downloads after credential withdrawal
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
2026-11-01 13:49:41 +00:00
pulse-triage[bot]
ebc573a5b1 Stop withdrawn credentials reading private diagnostic ZIPs (#3694)
**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)
2026-11-01 13:25:36 +00:00
pulse-triage[bot]
0f256089ae 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.

Change-source: pulse-maintainer
2026-11-01 12:24:00 +00:00
pulse-triage[bot]
19fe353fbd 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.
Change-source: pulse-maintainer
2026-11-01 12:17:33 +00:00
rcourtman
be6ef6cf41 fix(agent): retain update outcomes through recovery
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.
2026-11-01 12:02:41 +00:00
pulse-triage[bot]
1655845bae Keep Assistant result responses non-executable (#3689)
**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)
2026-11-01 11:52:41 +00:00