Commit Graph

9633 Commits

Author SHA1 Message Date
rcourtman 4bca38395a Harden custom sensor test fixture permissions 2026-08-26 19:25:56 +01:00
pulse-triage[bot] 3c4b5c1c9a Record rc4 metadata repair as contract-neutral
Contract-Neutral: Aligns release-note wording with the existing keyed per-client delta contract and its existing regression assertion; no runtime or public-contract behavior changes.

Change-source: pulse-maintainer
2026-08-26 19:19:59 +01:00
pulse-triage[bot] 1625f8a8bd Fix rc4 release metadata contract
Change-source: pulse-maintainer
2026-08-26 19:16:16 +01:00
rcourtman 5194e0ca4d Prepare v6.4.0-rc.4 release 2026-08-26 19:08:28 +01:00
pulse-triage[bot] 1b754d8bfe Document keyed recovery and row identity contracts
Complete the canonical contract fanout for socket-owned delta baselines and independently reconciled logical table rows across alerts, performance, and frontend primitives.

Change-source: pulse-maintainer
2026-08-26 18:54:14 +01:00
pulse-triage[bot] 40f2c12bf4 Preserve keyed rows across snapshot reordering
Keep one independently reconciled store per logical row and reorder stable wrappers. This retains row-local drawer state without allowing nested row reconciliation to duplicate or stale sorted Docker rows.

Change-source: pulse-maintainer
2026-08-26 18:50:08 +01:00
pulse-triage[bot] 795a16fb85 Keep REST recovery out of socket delta baselines
Invalidate every keyed projection when an oversized socket snapshot is dropped. REST recovery may hydrate the display, but infrastructure and alert deltas now wait for a socket-owned baseline and request throttled recovery if one is missing.

Change-source: pulse-maintainer
2026-08-26 18:50:08 +01:00
rcourtman 9e1b8bfa1a Dedupe policy postures, AI-safe summaries, and self-alias ids in the stream
Third increment of the resource-payload-static-metadata gap, the
snapshot-side statics. Measurement first: the mock estate ships only 5
distinct non-default policy postures across 723 resources and 56
distinct templated AI-safe summary strings across the same rows
(~150KB of inline duplication per snapshot), and every canonical alias
list carries the row's own wire id verbatim.

Non-default policies and AI-safe summaries now dedupe through the same
content-addressed catalog contract as capabilities: state-level
policyCatalog and aiSafeSummaryCatalog hold the distinct blobs,
resources carry policyRef / aiSafeSummaryRef, and ingestion expands
refs back to the inline shape (default posture synthesis unchanged for
ref-less rows). The broadcast conversion returns one catalogs struct so
the next deduped field is a loop entry, and catalog changes ride the
same delta frame as the refs that need them. Alias lists stop shipping
the row's own wire id — every identity consumer unions resource.id
beside the alias spread — while the primary id stays so aliases remain
the complete live vocabulary a host is reachable by, per the
established slimming invariant.

Verified against a 1857-resource estate: zero inline policies or
summaries on the wire (743 refs resolving into 1KB + 7KB catalogs),
zero alias lists carrying the wire id, catalog-expanded postures and
summaries reaching the store byte-equivalently, and the estate
rendering clean on desktop and the 36-row phone window.

Remaining gap scope: canonicalIdentity alias/superseded history is
genuine per-resource identity data (~600KB per snapshot) with no safe
derivation shortcut, and the proxmox-facet/platformData mirror
duplication (~200KB) is deliberate canonical-merge fabric; both stay
recorded under resource-payload-static-metadata for a future owner.
2026-08-26 18:46:12 +01:00
rcourtman cba1e2abeb Reconcile delivery health and Proxmox Assistant controls 2026-08-26 18:33:41 +01:00
rcourtman 0fece386c4 Ship active alerts as per-client keyed deltas
Second increment of the resource-payload-static-metadata gap: the full
activeAlerts array (~37-75KB at mock-estate churn) re-shipped whenever
any single alert changed. Alerts now ride the generalized keyed delta
transport: the per-field keying and transition handling in the state
delta engine is a declarative keyedDeltaFields list shared with the
connected-infrastructure projection, and activeAlertsDelta carries
id-keyed merge patches, removed ids, and order. Measured on the mock
estate the per-tick alert payload drops to 184-1981 bytes.

One boundary held deliberately fixed: alert application timing does not
change. The client applies alert deltas to an isolated baseline and
feeds the exact same applyActiveAlerts path immediately on arrival,
input-active or not — alert lifecycle truth never waits for the
operator-input idle gate (alerts subsystem boundary, documented in
6ecdc81d1), and the pending-acknowledgment safeguards see byte-
equivalent records. Alerts handed to the store are cloned so it never
adopts baseline-owned objects. Deltas without a baseline are ignored
and heal on the next full payload; unkeyable entries fall back to
whole-field diffing.

Remaining gap scope unchanged: snapshot-side static metadata
(canonicalIdentity alias history ~609KB per snapshot, and the partially
regressed aiSafeSummary/policy omissions) stays open under
resource-payload-static-metadata.
2026-08-26 18:23:50 +01:00
rcourtman f3d3434652 Ship the infrastructure projection as per-client keyed deltas
First increment of the resource-payload-static-metadata gap: the
connected-infrastructure reporting projection was re-shipped whole
(~55-60KB at 50-node scale) on every realtime broadcast even though
measurement showed the only field that ever changes tick-to-tick is
lastSeen, and the client deep-reconciled all 69 rich items per tick —
the dominant reactive cost inside every websocket message after the
resource merge itself.

The projection now rides the same per-client keyed delta engine as
resources. buildClientStateSnapshot keys it by id beside the resource
map, and buildClientStateDelta emits connectedInfrastructureDelta with
id-keyed JSON merge patches, removed ids, and order through one shared
keyed-array builder. Measured on the mock estate the per-tick payload
drops from ~55-60KB to 0.7-4KB of timestamp patches. Entries that
cannot key by id fall the whole field back to plain whole-payload
diffing, and keyed/unkeyed baseline transitions re-ship the full array
once, so the keyed path can never corrupt the projection.

The client mirrors the resource baseline pattern: full payloads
establish an isolated raw baseline, deltas apply as merge patches
through the now-generic keyed apply helper, and the store sync hands
reconcile reference-stable objects for untouched items so a tick
reconciles only what changed instead of deep-walking the projection.
Deltas without a baseline are ignored and heal on the next full
payload; the operator-input deferral gate carries the pending changed
ids across a gesture and flushes them in the same coalesced batch.

The remaining gap scope (snapshot-side static metadata such as
canonicalIdentity alias history, ~609KB per snapshot) stays open under
resource-payload-static-metadata.
2026-08-26 18:09:34 +01:00
rcourtman 20503086ff Fix Docker history state across filtered refreshes
Contract-Neutral: Behavioral regression fix only; no public API, subsystem boundary, or extension-point contract changes.
2026-08-26 18:06:03 +01:00
pulse-triage[bot] 6ecdc81d1c Preserve live alert truth during input deferral
Document the alert-side ownership boundary for the shared websocket input gate: resource projections may wait for idle, while active and resolved alert lifecycle updates remain immediate.

Change-source: pulse-maintainer
2026-08-26 17:52:36 +01:00
rcourtman 7d34e27b30 Gate realtime tick deferral on all operator input, not just scroll
A tick landing while the operator types in a filter, presses a pointer,
or spins the wheel delayed that interaction's response by the same
200-560ms the scroll path used to pay. The deferral gate now keys on a
shared input-activity window fed by scroll, wheel, pointerdown, and
keydown through one window-level capture registration. Bare pointer
movement deliberately does not gate: a resting hand on the mouse must
not starve data freshness, and the flush recheck still lands deferred
ticks within ~550ms of the last deliberate input.

Verified on the 929-guest mock estate: zero long frames during a 12s
simulated typing burst spanning multiple realtime ticks, one coalesced
flush ~520ms after the last keystroke, and live data continuing to land
on desktop and narrow viewports.
2026-08-26 17:34:11 +01:00
pulse-triage[bot] 99afae02b1 Align windowing guardrail with runway policy
Update the architecture assertion to protect the dead-band runway constant introduced by the large-estate scrolling fix.

Change-source: pulse-maintainer
2026-08-26 17:26:32 +01:00
rcourtman b262f24c54 Defer realtime tick application while the operator scrolls
The remaining scroll hitch on large estates was the realtime websocket
tick: every few seconds a delta landed mid-gesture and blocked the main
thread for 200-560ms. The scroll path itself was already clean after the
windowing fixes, so the tick was the one thing still hitting the wheel.

Mid-gesture ticks now cost ~1ms: the resource delta queues unapplied in
arrival order (even the baseline patch walks the whole estate), and the
reporting projection plus the lastUpdate tick token defer latest-wins
alongside it. Holding the token matters as much as holding the data —
it is what unified resource projections and workload remaps key on, so
deferring it keeps every downstream consumer quiescent through the
gesture. Everything drains as one coalesced batch at scroll idle,
through the same deferral set and flush the hidden-tab path uses.

Ordering and lifecycle guards: a non-empty queue keeps queueing so
deltas never apply out of order, hidden-tab ticks drain the queue before
applying in place, a full snapshot supersedes and clears the queue, and
connection resets drop all pending deferral state. Alert application
stays live mid-gesture.

Verified on the 50-node/929-guest mock estate: zero websocket long
frames across 16-20s continuous scrolls (previously one 200-560ms block
per tick), one coalesced flush ~300-450ms after gesture end, and the
Last refresh footer still advancing on desktop and narrow viewports.

This is a scheduling boundary, not a cost reduction: the per-tick
reconciliation cost itself remains owned by the
resource-payload-static-metadata coverage gap.
2026-08-26 17:18:51 +01:00
rcourtman c154fa7aed Eliminate large-estate scroll hitches in windowed tables
Wheel scrolling the Proxmox overview on a 929-guest estate hitched for
200-260ms per runway rebalance. Four compounding causes, all fixed:

- The windowing runway policy rebalanced in ~53-row jumps inside a
  non-passive wheel listener, so the compositor waited on a multi-frame
  remount. Both windowing owners now keep a symmetric runway topped up
  in dead-band batches (one bounded mutation frame per ~8 rows of
  travel), every windowed-page listener is passive, and only a viewport
  that leaves the mounted window entirely re-centers it in one jump.
- The Workloads viewport-sync effect tracked the windowing signals its
  own measurement pass moves, so every shift re-ran row measurement
  (two forced reflows) and listener binding. The measurement pass is
  now untracked, matching the unified-resource sync owner; the platform
  and storage windowing owners had the same latent tracking and are
  untracked too.
- WorkloadPanel built its guest-id lookup from the windowed slice, so a
  shift re-validated every mounted row's memo chain. The lookup now
  derives from the full group and only changes when data changes.
- The CPU/memory/disk bar hooks read offsetWidth in onMount, forcing a
  full-table reflow per mounted bar during every top-up. Width now
  comes solely from the ResizeObserver's initial pre-paint delivery.

Prewarmed-but-hidden platform tabs also ran viewport sync per scroll
event and paid the visible surface's layout flush; hidden surfaces now
skip sync via a shared checkVisibility guard.

Measured on the 50-node/929-guest mock estate at 2560x1240: a 4-row
top-up fell from ~230ms to ~7ms, scroll-jitter oscillation produces
zero frames over 25ms, and sustained fast scrolling holds native frame
cadence with one bounded mutation frame per dead-band. The remaining
scroll-time long tasks are realtime websocket merge ticks, which the
realtime-merge lane already owns.
2026-08-26 16:07:28 +01:00
pulse-triage[bot] 8d573cd0ac Make formatting-only governance deterministic in CI
Change-source: pulse-maintainer
2026-08-26 16:03:27 +01:00
pulse-triage[bot] 02d6df9317 Fix Proxmox network detail formatting gate
Change-source: pulse-maintainer
2026-08-26 15:57:35 +01:00
pulse-triage[bot] 2db7f8c373 Promote qualified offline-node E2E
Change-source: pulse-maintainer
2026-08-26 15:47:58 +01:00
pulse-triage[bot] 176268ca63 Record Proxmox network browser proof
Change-source: pulse-maintainer
2026-08-26 15:32:23 +01:00
pulse-triage[bot] 75b6655d6e Restore Proxmox node network details
Refs #1716

Change-source: pulse-maintainer
2026-08-26 15:17:12 +01:00
pulse-triage[bot] 9e9c3413a8 Promote qualified E2E specifications
Change-source: pulse-maintainer
2026-08-26 14:27:39 +01:00
rcourtman 74d0895e6e Fix mock storage history continuity
Contract-Neutral: Storage history behavior is documented in the staged API and storage contracts and covered by staged focused regressions; shared router references do not change agent-lifecycle, performance, or security contracts, and the proof allowlists do not yet name the focused test files.
2026-08-26 13:54:55 +01:00
pulse-triage[bot] 5fcb0d6655 Document pfSense agent service recovery
Refs discussion #1781

Change-source: pulse-maintainer
2026-08-26 13:28:46 +01:00
pulse-triage[bot] 5a78231607 Add manual workload column sizing
Refs #1746

Change-source: pulse-maintainer
2026-08-26 13:12:29 +01:00
rcourtman 3414a5abda Use host history for explicit Docker targets 2026-08-26 12:45:53 +01:00
rcourtman 08b8144fcf Use canonical history catalogs in storage drawers 2026-08-26 12:28:43 +01:00
rcourtman 5d46e7d0e7 Complete mock drawer history coverage
Contract-Neutral: restores existing metricsTarget identity and complete mock history fallback contracts without changing their public shape
2026-08-26 12:11:10 +01:00
pulse-triage[bot] 18b74c0adb Expose stable webhook message keys
Add a language-neutral condition key and explicit resource context to generic alert payloads so receivers can translate notifications without parsing English text.

Refs #1779

Change-source: pulse-maintainer
2026-08-26 12:04:43 +01:00
Richard Courtman 4d457159fc Synchronize transparency document mirror 2026-08-26 11:25:09 +01:00
Richard Courtman 55192bf835 Clarify continuous maintenance provenance 2026-08-26 11:23:05 +01:00
rcourtman 1943a1e97f Fix workload drawer history metrics targeting
Contract-Neutral: restores existing metricsTarget identity and mock history fallback contracts without changing their public shape
2026-08-26 11:17:41 +01:00
rcourtman e27585b0a2 Align history lock boundary assertion
Change-source: pulse-maintainer
2026-08-26 11:16:51 +01:00
rcourtman 420368e8e2 Allow standing triage disclosure link
Change-source: pulse-maintainer
2026-08-26 11:11:04 +01:00
rcourtman 4442322d2a Repair API scope browser verification receipt
Record the exact verified parent and the required narrow viewport evidence for the landed API Access change.

Change-source: pulse-maintainer
2026-08-26 10:55:11 +01:00
rcourtman 2d26eb8ba4 Expose agent lifecycle scope in API access
Align manually created Agent tokens with the runtime lifecycle minimum, expose agent:manage in custom create/edit flows, and document the backend-owned scope boundary.

Change-source: pulse-maintainer
2026-08-26 10:49:16 +01:00
rcourtman 09b1171976 Name the license plan boundary in history range lock copy
The guest and node drawer history lock panel and the shared history
chart lock overlay said a range was 'not enabled on this instance'
without saying why. Both now state that longer ranges require a higher
license plan, and the drawer panel keeps the current plan's retained
days. Refs #1717
2026-08-26 10:46:35 +01:00
rcourtman b727bc62e4 Improve desktop drawer detail layout 2026-08-26 10:33:33 +01:00
rcourtman a8e84b4011 Bound legacy demo bootstrap workload 2026-08-26 10:27:58 +01:00
rcourtman ad4c82c34e Enable sorting for workload IDs 2026-08-26 10:22:00 +01:00
rcourtman 3b866458f6 Fix workload table header alignment 2026-08-26 10:09:15 +01:00
Richard Courtman af370a8dda Route triage comments through dedicated identity 2026-08-26 09:59:10 +01:00
rcourtman 881d6dba02 Clarify development transparency policy 2026-08-26 09:24:57 +01:00
rcourtman c7930be1c0 Move GitHub AI disclosure to the document level
Per-comment stamps at continuous-automation volume made the machinery
louder than the maintenance. The standing disclosure is this page: it
now says plainly that day-to-day activity may be automated and
unstamped, that the tracker's pace is part of what is disclosed, and
that asking gets a straight human answer. Support email keeps its
per-message Pulse Triage identity.
2026-08-26 08:41:49 +01:00
rcourtman 8837bf21bd Return flaky offline-node E2E to probation
Change-source: pulse-maintainer
2026-08-26 08:32:51 +01:00
rcourtman a445f23753 Promote five repaired E2E specifications
Change-source: pulse-maintainer
2026-08-26 07:41:34 +01:00
rcourtman 95f57f446a Filter Proxmox backups by repository
Change-source: pulse-maintainer
2026-08-26 06:46:33 +01:00
rcourtman 52a3373ae6 Cover delayed Proxmox E2E hydration
Change-source: pulse-maintainer
2026-08-26 05:43:48 +01:00
rcourtman 83ac6a1bea Stabilise Proxmox backups E2E readiness
Change-source: pulse-maintainer
2026-08-26 05:16:18 +01:00