Keep PULSE_TOKEN out of the direct-token flag default. Refuse an unreadable or empty selected file instead of silently borrowing other credentials, while preserving enrolled runtime-token restarts and implicit token-optional startup.
Cover actual flag loading and a synthetic host issuer, private installer-writer, compiled agent and trusted HTTPS lookup/report journey. This repairs an independent source-selection defect; it does not establish the cause or recovery of Discussion #2769.
Change-source: pulse-maintainer
Use the same Compose configuration before and after best-effort evaluation issuance. Preserve two-client unsigned evaluation, signed renewal restarts, explicit invalid-file refusal and the Pulse-hosted licence requirement.
Add real release-daemon restart/readback controls and secret-free hosted Compose acceptance for the actual placeholder and licensed mounts.
Change-source: pulse-maintainer
Accept exact Delivery commits with retained source-z6bm51cn installer, race, vet and real-embed proof. Active forward and restored service acceptance now require stable MainPID and matching process bytes; uncertainty retains the backup without a new restart or rollback grant. Native containing-source follow-through remains separate.
Change-source: pulse-maintainer
Preserve all reviewed local maintenance commits while incorporating the current published main. Upstream removes unused Assistant handlers; local updater, guest admission and help changes remain additive.
Change-source: pulse-maintainer
An installed target version and active service can conceal an old managed executable. Compare the actual process bytes between complete bounded MainPID observations before accepting an update or restored active service. Retain the backup and current service on uncertainty without an automatic restart or rollback grant. Register real owned-process and conditional transaction controls; keep synthetic/native and customer acceptance distinct.
Change-source: pulse-maintainer
pulse_control only plans typed resource actions into Pulse Actions
(executeControlResource -> typedActionPlanner). The handlers that sat
behind the retired model-authored command, file and container paths
stayed in the tree with no production caller: run command, guest
control, app-container control, Docker control and container update,
Kubernetes scale/restart/delete-pod/exec, and file append/write.
registerFileTools was never called either, so pulse_file_edit is not
registered at all; calls to it are denied by the mutation registry
before any tool lookup.
A whole-program reachability run over cmd/... lists each of them as
unreachable, and so is everything only they used: approval-record and
preflight authoring, the command and native-action audit lanes with
their remediation-lock gate and plan-hash helpers, the Docker host
resolvers, and the file write verification. The executor's autonomous
flag, whose only readers were those handlers, goes with them (the
executor's SetAutonomousMode and the flag argument of SetContext).
Delete them with their tests and the constants, types and test helpers
they stranded. The contract prose that described the removed broker now
says that plan freshness and the operator remediation lock are enforced
by internal/actionlifecycle. Two source pins that named deleted code go
(the publishActionCompleted dispatch sites and the pulse_file_edit
declaration), the standards tests drop their expectations of an
ActionPlan construction in action_audit.go and of the legacy app_container
rejection in the deleted file-edit test, and the RA35 evidence entry for
the deleted run-command test goes with them.
Left alone on purpose: the saved autonomous control level and its
entitlement and approval-admission checks, which stay as legacy
compatibility, Service.SetAutonomousMode and the chat clamp,
SetOnActionCompleted and its router wiring (no dispatcher is left, the
contract prose says so), and the protected-guests plumbing.
Rebuilt on current main: the first version had 213 commits of drift.
Two conflicts, both on code this change deletes. tools_control.go takes
the deletion over the Protected guests cleanup that landed inside
executeRunCommand. action_audit_remediation_lock_test.go goes with the
audit lanes, including the test added for the dispatch gate's read
through a succession; that gate is deleted here, and
TestLockMovedBySuccessionStillRefusesTheIDThePreviousGenerationLists in
internal/actionlifecycle covers the same refusal on the live path.
Preserve the exact Delivery candidate and its retained normal, race, parent-control and embedded-build evidence. This repairs hidden logger failures, not the reported LXC stop cause.
Change-source: pulse-maintainer
IPv4-mapped IPv6 and literal IPv4 reach the same numeric guest channel. Share only per-VM admission so another spelling cannot bypass an in-flight or uncertain command. Preserve the previous certificate origin identity, URL, proxy and first-use trust behaviour.
Change-source: pulse-maintainer
Preserve the exact Core candidate commits and their retained source proof. Learn OS through existing metadata before optional Linux memory polling while retaining filesystem-first ordering and guest-command safety. Native Pro/PVE restart recovery and containing-release availability remain separate.
Change-source: pulse-maintainer
Conditional Bash callers hid a failed logger write behind successful stdout. Attempt both sinks, return the first failed sink, and exercise the unchanged draining collector and recovery path with the real log primitive and confined external logger. Preserve the distinction between observed pipeline completion and native or customer recovery.
Change-source: pulse-maintainer
Keep filesystem collection first, then use ordinary metadata to bootstrap and refresh the existing Windows exclusion. Do not send an inapplicable meminfo command that perpetually fences cold or expired OS discovery. Preserve operation locks, shared-channel and in-flight exclusion, unknown completion, non-replay, evidence ages and independent memory sources. Validate real direct/cluster clients, both collectors, fresh processes, History and Linux/unknown/replacement controls.
Change-source: pulse-maintainer
Distinguish cancelled or timed-out probes from certificate faults before classifying error text. Replace verification-bypass advice with endpoint, chain and independently verified fingerprint checks across PVE and PBS diagnostics, including scheduler errors and support JSON.
Exercise real loopback trust refusal and operator-supplied pin recovery without changing stored trust, credentials or scheduler authority.
Contract-Neutral: Restore existing TLS/timeout diagnosis and safe recovery guidance; errorKind/schema, saved trust enforcement/settings, agent lifecycle and scheduler/recovery authority remain unchanged.
Change-source: pulse-maintainer
The source-bound hosted receipt stops before any native phase because its new ephemeral signer is mode 0644. Establish owned regular-file and verified 0600 mode before signing, without adopting existing keys or relaxing OpenSSH. Keep Linux ELF execution in both native Linux jobs; macOS still runs the portable signer/admission/recovery controls, and the bridge requires the exact platform verdict instead of staging Mach-O as Linux.
Change-source: pulse-maintainer
Preserve every reviewed maintenance commit while incorporating the current published Alert History table and its layout controls. Existing PR2817 remains unchanged pending its recorded CI repair; this composition stays local for the next verified batch.
Change-source: pulse-maintainer
Alerts > History is where an operator looks back at what happened, and its
table hid the answer. At a 1024px window the card is 600px wide and the Message
column got about 110px, so rows read "Docker servi…" and "Last reading…". Three
action buttons stacked on three lines made every row 75-105px tall, while
Duration, Status and Actions held wide, mostly empty tracks. The row has no
disclosure of its own, so the only way to read the message was to hover.
- Resource and Message now wrap inside a line-clamp-2 wrapper below an 80rem
card (the wrapper sets whitespace-normal itself, because .table-fixed td
forces nowrap) and return to a one-line clamp from 80rem, where the message
track is wide enough and the old 39px row is kept.
- The four density blocks are re-derived from measured natural widths
("08:27 AM" in a 14px monospace, the Resource/Severity/Duration headers, a
119px "acknowledged" badge, three one-line actions at 177px, Type and Node)
at the narrowest card each density serves. The time column is headed "Time",
as on the phone card, because "Timestamp" needed 93px.
- Message keeps a two-line minimum height. The windowing hook sizes its
spacers from one measured row; scrolling a 600-row history in 60px wheel
steps moved a tracked row exactly the scroll distance with uniform 49px rows
and showed 46 jumps up to 20px once rows were 39px and 49px.
Measured in a real browser against an unpatched build of the same tree, at nine
windows from 1024px to 2000px with a 12-hour locale: messages ending in an
ellipsis fell from 82 of 88 rows to 24 of 90 at 1024px, 54 to 17 at 1280px, 24
to 8 at 1440px and 32 to 4 at 1700px; the median row fell from 75px to 49px
from 1280px to 1700px; no time cell or header ended in an ellipsis at any
width. The phone card list is untouched, and Timeline and Resource open and
close as before. Cards under 600px stay cramped; a container-driven switch to
the card list is the remaining fix.
Proofs: the row test pins the wrapper classes, Alerts.helpers pins the header
and class constants, App.architecture asserts the pixel minimums per density,
the 18% Message floor and that each block sits inside its 50rem, 64rem or
80rem container query. Putting the base row markup, header, widths or 50rem
switch point back fails the matching proof.
Replace the copyable guessed stop/run sequence with mounted-data backup and original-deployment recreation guidance. Quote the pull target as one literal shell argument, retaining manual-only and private-image boundaries. Add real-shell controls and a real handler-path check; no Docker daemon or installed recovery claim.
Change-source: pulse-maintainer
Refuse redirect scheme, host, port and userinfo changes before any redirected request. Preserve same-origin proxy paths, canonical default ports and IPv6 literals, zone identity, the ten-redirect budget and existing CA/pin/explicit-opt-out policy. PVE and PBS password/token/ticket controls reproduce the previous exposure on actual synthetic sockets.
Change-source: pulse-maintainer
Keep explicit URL defaults aligned with the API client and join IPv6 socket addresses correctly. Preserve the legacy bare-host port and credential-free capture without weakening any established pin or verification choice. Cover endpoint parsing, actual IPv4/IPv6 leaves and invalid-authority rejection.
Change-source: pulse-maintainer
Preserve Core's exact initialization repair and additive corrections. Retained final-source normal/race ownership controls, complete normal API population, genuine embed build and vet support source acceptance; installed behavior and reported baseline relief remain separate.
Change-source: pulse-maintainer
The latest daily advisory watch passes main and fails only retained release branches, then recommends backports that no longer have a delivery route. Keep the complete strict main audit, read-only/cache-free execution and security proof, remove obsolete line discovery and give accurate main repair and containing-release guidance. Add fixed-main recipe, retired-branch refusal and preserved strict-audit controls.
Change-source: pulse-maintainer
Preserve every reviewed commit while incorporating current upstream main additively before exact final-source publication checks.
Change-source: pulse-maintainer
Capture store, tenant and provider selection once across source ownership, records and consume-once changes. Keep provider callbacks outside locks, refuse replaced collections, and order non-queueing read refreshes with ingest. Preserve admitted history and leave skipped changes pending.
Contract-Neutral: Internal dependency/publication ownership only; resource schemas, tenant authorization, notification policy, thresholds, retention and shutdown semantics are unchanged.
Change-source: pulse-maintainer
A VM that Pulse can only read through Proxmox's own memory value (no guest
agent, no Pulse agent inside it) shows a cache-inclusive percentage that can
sit near 100% on a healthy guest. Patrol already treats those sources as "may
include cache" for pressure and recovery; the Workloads row and drawer gave no
hint, so the red bar read as memory pressure (#2762, #2639).
A current reading from status-mem, status-freemem, cluster-resources or
derived-total-minus-used keeps its numbers, colour and thresholds, and is now
qualified: VM rows show "May include cache" ("Cache?" in compact layouts), the
bar tooltip and the drawer's "About this reading" explain it, and the drawer
says what can supply the guest's own figure (a Pulse agent in the guest, or
the QEMU guest agent on a Linux VM, worded as "can" because source selection
does not guarantee a replacement). Every running container reads the cgroup
value, so containers carry the note in the tooltip and drawer only, not a
label on every row. Retained, unknown and unavailable readings keep their own
labels and are never called current.
Mock guests now carry memory provenance and a refreshed observation time;
before, every mock VM and container read "Freshness unknown", which hid this
cue from the demo and from screenshots. Windows VMs never claim Linux meminfo
provenance, and scenario-stopped guests read powered-off.
Refs #2762, #2639
Repair candidate preflight's two registry failures without weakening the audit: declare the native harness as deployment-installability runtime and order its exact dedicated proof paths. Add live-route and adverse drift regression controls, and record canonical ownership in the contract.
Change-source: pulse-maintainer
The checkout label alone cannot establish source bytes after frontend preparation. Require an unchanged tracked tree before compiling the private pair; the exact recipe control now rejects dirty source before either compiler or root command and preserves all existing failure propagation.
Contract-Neutral: Implements existing exact-source admission on tracked bytes; native runtime, input and completion contracts are unchanged.
Change-source: pulse-maintainer
Use the existing BIND_ADDRESS setting in the fixed fixture environment, alongside telemetry opt-out. The connected production-function control verifies this exact private profile and persistence across all seven phases; no product default or native manager safeguard changes.
Contract-Neutral: Fixed local fixture environment only; source/native admission and transaction-completion contracts are unchanged.
Change-source: pulse-maintainer
Exercise real systemd and signed local current-source replacement/recovery in the existing real-embed job for #2785. Preserve service masks, persistent bytes, backups and owned cleanup; source controls do not claim published or LXC recovery.
Change-source: pulse-maintainer
Preserve exact Web candidate bd6e21ca40. Retained focused and current-byte browser controls cover complete availability replacement, source withdrawal, mounted stale evidence, held attention and vSphere table naming. No new product surface or installed recovery claim.
Change-source: pulse-maintainer
Replace complete availability records instead of restoring withdrawn failure fields after recovery. Age held metric readings and availability views on the existing shared clock, and name expired Settings evidence Stale rather than Online. Keep the vSphere VM table named in kiosk and filtered-empty views.
Adapt these repairs to current source-withdrawal and page-owned state without importing old branches. The wider timestamp sweep remains separate; authentication, polling and notification recovery policy are unchanged.
Change-source: pulse-maintainer
Apply saved notification policy before initial resource publication, batch supplemental bindings and retain explicit withdrawals for existing and future tenants. Serialize complete router initialization and refuse old binding collections before ordered writes; preserve admitted alert joins without clearing active alerts. Keep native and demo provider records separated across the mock-switch hook gap.
Contract-Neutral: Internal resource dependency wiring and publication ordering only; existing resource/API schemas, authorization and tenant boundaries, alert thresholds, retention and shutdown policy are unchanged.
Change-source: pulse-maintainer
Supersedes #2808 and the earlier #2806: the same change as one commit on
current `main`. #2808's checks were green, but a peer's addition to the
contract's proof list conflicted with this note, and a conflicted merge
cannot pass the commit hooks. The proof lead-in line is now left
unchanged so such an addition does not conflict again.
## What
Records, in the unified-resources contract and a registry-level test,
that a physical disk's operator-state row (retirement, muting,
maintenance window, criticality, note) does not follow the disk when its
canonical ID changes. No runtime code changes.
A disk keyed by a serial that two machines report is re-keyed in place
from the unscoped serial ID to a machine-scoped ID
(`rekeyPhysicalDiskLocked`), and takes the unscoped ID again on the
rebuild after the other copy goes away. The alert, Patrol, resources-API
and agent-context readers resolve the disk's reference to its current
canonical ID and read that ID's row, so:
- at the split the disk reads no posture (unless a row already sits on
its scoped ID), and is eligible to alert again;
- after the return the original row applies again, over anything the
operator wrote on the scoped ID in between (that row stays stored, but
resolving the live disk's reference does not select it).
Reproduced with a probe on both stores before deciding.
## Why the row is not carried
- The registry cannot tell one disk seen from two machines (a
dual-ported SAS shelf, where carrying to every copy is right) from two
disks behind one serial (fixed-serial USB bridges, cloned VMs with an
explicit serial, where it is wrong).
- The two outcomes differ in kind. A split exclusion that reaches an
extra copy only costs an extra row; a retirement or mute that reaches a
disk the operator never silenced can hide that disk's failure alerts. A
row left behind makes the disk eligible to alert again.
- A copy that keeps the original would bring back a row the operator
cleared unless a durable record says it was made (a clear deletes the
row); a move needs a policy for the return; a read-side fallback needs
no record but spreads one disk's posture to unrelated disks and cannot
be cleared per copy.
- Not a remediation-lock hole: no producer gives a physical disk an
action capability, pinned by
`TestPhysicalDiskResourcesAdvertiseNoActionCapability` and the TrueNAS
counterpart.
- No report of a posture lost this way is known; #1516 and #1654 concern
missing and duplicated disks.
The contract states the quiet outcome it accepts (the return case above,
when the operator had written a row that suppresses less) and what would
reopen the decision: a report of a lost or resurrected disk posture, or
a disk gaining an action capability.
## Proof
`TestPhysicalDiskOperatorStateIsNotCarriedAcrossASerialSplit` runs on
MemoryStore and SQLite, drives the monitor adapter's rebuild and reads
as alert intent does (resolve the PVE disk alert alias, then read that
ID's row). Rows are compared as JSON, so every persisted field counts.
It fails when the row is copied to the incoming copy, copied on re-key,
copied into empty scoped IDs at the adapter rebuild, a re-keyed
sibling's scoped row copied onto the incoming copy, moved on re-key,
partly copied back on return (its note, or its `SetBy`), carried forward
only while a window is active, or replaced by the scoped row on return.
It does not run the API write path, Patrol's provider or the other
readers; the contract says so.
Full `internal/unifiedresources` package, `go vet` and the TrueNAS
tripwire pass.
A physical disk keyed by a serial that two machines report is re-keyed
in place to a machine-scoped ID, and the unscoped ID returns on the
rebuild after the other copy goes away. No operator-state row moves with
those changes: after the split the disk reads no posture (unless a row
already sits on its scoped ID), and after the return its original row
applies again, over anything written on the scoped ID in between.
Whether to carry the row has been open since the remediation-lock fix
chipped it. The registry cannot tell one disk seen from two machines
(right to carry to every copy) from two disks behind one fixed serial
(wrong: a carried retirement or mute can hide an unrelated disk's
failure alerts), and a copy that keeps the original would bring back a
row the operator cleared unless a durable record says it was made. No
report of a posture lost this way is known, and a row left behind makes
the disk eligible to alert again, so the rows stay where the operator
put them.
Pin that in registry_test.go on both stores, driving the monitor
adapter's rebuild and reading as alert intent does, with rows compared
on every persisted field and the second machine's copy checked for a
stray row at every step. Copying the row to the incoming copy, on
re-key or into empty scoped IDs at the rebuild, copying a re-keyed
sibling's scoped row onto it, moving the row, carrying a single field
back (its note, its SetBy) or an active window forward, and letting the
scoped row win on return all fail it. Replace the contract's "not
carried" with the decision, its reason, the quiet outcome it accepts and
what would reopen it, keeping the proof lead-in line unchanged so a
peer's addition to the proof list above it does not conflict.
Drain the installer pipe after a failed log write, retain its first observed failure across later successes and collect an unterminated final line. Reuse the guarded restoration path without changing signed-input, service-state, mask or prior-activity safeguards; bind the regression controls to package acceptance.
Change-source: pulse-maintainer
Preserve both exact candidate commits and the 63 normal/race history controls. This bounds discarded-row backing storage without claiming reported process-memory attribution.
Change-source: pulse-maintainer
Preserve the exact candidate and its parent-bound browser receipt. Focused source, static and desktop/phone browser controls support the bounded existing-flow repair.
Change-source: pulse-maintainer
A Retry or Dismiss response could outlive Overview or Notifications, publish a global toast over its replacement and start new health/activity reads. Retire pending health and queue-action completions, scheduled activity work and exposed handlers with their mounted owner, without cancelling or undoing already-issued requests. Preserve active-view confirmations, read ordering and persistent failure feedback.
Cover both actions and health/callback disposal in focused and connected source tests. Retain immutable-parent adverse controls and parent-bound desktop Chromium/phone WebKit browser evidence. Full source-suite, lint, production-build and installed-delivery acceptance remain separate.
Change-source: pulse-maintainer
Count surviving rows before allocating expiry, deduplication and removal results. Keep unchanged history and preserve occurrence/evidence and primary, backup and retired-JSON recovery semantics. The parent retains original-sized arrays after sparse compaction; capacity and connected loader controls discriminate without forced GC or process profiles.
Contract-Neutral: Application alert-history backing storage only; retention windows, occurrence identity, ordering, evidence, persistence/recovery authority and public response shapes are unchanged.
Change-source: pulse-maintainer
## What changed and why
Keep server updates recoverable and notification settings and History
trustworthy.
- Server installers and unattended updates select an exact, bounded
service inventory. Ambiguous, failed or incomplete discovery stops
before service mutation or installer handoff. Recovery requires complete
manager observations: uncertain state preserves verified backups rather
than replacing or restarting an unconfirmed executable. Existing masks,
consent, signatures and prior-active safeguards remain.
- Notification settings require a successful saved-policy read. Policy
and destinations save together; newer drafts survive older
acknowledgements and rejected saves. Webhook forms, toggles and deletion
use one acknowledged writer. Partial acceptance preserves accepted
changes and stops without automatic retry or rollback.
- Alert History now distinguishes a failed read from an empty result.
Same-range saved entries remain explicitly incomplete; another range's
snapshot is excluded. Frequency/severity summaries are withheld on
failure, live alerts remain visible, and one pending read-only retry
ignores retired-context replies.
- Failed-upgrade intake separates attempted versions, failing runtimes
and later recovery. Help explains timer-only containment without
stopping Pulse or cancelling an active update, preserving evidence,
backups and known schedule state.
- Updater logs retain installer and log-collector exits separately
without attributing a past host interruption. Ordinary Frontend CI now
requires backend compilation and server/API vet with that checkout's
actual, byte-matching production embed; unavailable checkout identity
stops before compilation.
Related to #2785
The report prompted service-discovery investigation, but these
reproduced defects do not establish why its LXC stopped. Native signed
update/restoration and the stop cause remain separate. Notification
editing and read-failure controls do not establish ordinary notification
delivery.
## Included source
Complete unpublished range against observed current upstream:
`0c3a17694bb7939022f9c55946b6776222bbc9ab..3610313fd3ac0d6ad7de925b2fb73938a6f25488`.
Previously proposed reviewed source at
`c15f7554724b20f3e2130bd228257780b1ac31d7` is retained:
- Discovery: `3c9a102e83f558463d186e84c494fc7bdbdd7d27`,
`4e79e047f4d9daf2a8749b4e3490bde994d38931`.
- Guarded recovery: `9060dbd54de372cd4d83d7390f4e42caf00938e6`;
behavioral regression correction
`a9fa251b784cfe270c12463e7699955bffcf6d57`. Earlier additive
reconciliation `eebef3559f43a89ef5c2d2d2516bd187dffeff00` remains in
ancestry; its bare-call spelling assertion is superseded by the
behavioral wrapper.
- Notification editing: `8c9c137ef755b7e393f218b9ba909561eecd73e6`,
`63f8e40e7ef7b1c430b8efb2a67b8c93c1088621`,
`c9bcb74200851d6c37061311d1aa68f1375fc2a3`,
`d359c8433c91342500b0dae00ba7e0a15422bf0e`, preserving composition
`5f434bcd09b81731d7dce3f0fff6e86ce89df2dd`.
- Intake/help: `6809ca2b23173145f3e43b3e5e55e52ecde14088`,
`f2acf2f114c158687b1a8db13c18057c5e77bd49`.
New reviewed integrations through starting tip
`c6967e947feabb2fe1e4f2f8d5dc021a78da6676`:
- History repair `eaa51d38fe2c0b5e79665d8fed91089b38b6874a`, integrated
by `c2fd6079d25b96e7939bf7a0c6aff73efec0ad84`.
- Pipeline observations and real-embed CI:
`74a8d0d05ac260397e8a316a77c7c541c68ff992`,
`8195090415ca88b34122a28c2571460a3656cca9`,
`7a509b33316922293f7222fa6424ab2c868525ba`, integrated by
`c6967e947feabb2fe1e4f2f8d5dc021a78da6676`.
Publication correction `34fbcced8f480c228732589f5cf6f557df1e0c3f`
reconciles the versioned installer URL fixture with guarded recovery.
Completed checks on the prior proposal cannot land independently: Build
and Test `38054465854` and Unified Agent Native Verification
`38054465853` fail
`TestPulseAutoUpdatePerformUpdateUsesVersionedInstallerURL` because its
extracted updater omits `read_update_service_state`. The fixture now
runs the real reader/restart helpers against a complete synthetic active
manager observation; both versioned installer and signature URL
assertions remain. No production behavior or check threshold changes. An
unchanged-head retry would not repair this deterministic defect.
Additive full-SHA merge `3610313fd3ac0d6ad7de925b2fb73938a6f25488`
incorporates current published upstream, including PR2807's Workloads
state cleanup. It does not replace the reviewed starting tip or rewrite
any accepted commit, author or ancestry. Upstream work is already
published, not a new candidate here.
## Validation and remaining limits
- Retained reviewed recovery evidence: 143 Go identities across 17
roots, 16 discovery methods and 10 updater smoke controls; behavioral
wrapper controls and earlier failure evidence remain. Confined doubles
do not qualify native systemd installation.
- Retained notification evidence: 75 focused passes and desktop/narrow
browser controls. Reviewed History outcome records 55 focused passes
plus desktop/phone error, retry, range, context and disposal controls.
Final changed bytes remain matched after upstream composition.
- Retained guidance evidence: eight copied-command recipe controls and
nineteen connected documentation checks.
- New confined fixture checks: five real-embed recipe tests and ten
updater manager/pipeline methods pass. These use compiler/manager
doubles, not actual compilation or installed recovery. The committed
versioned-URL fixture's shell passes with a complete active observation;
omission of its reader reproduces the failure, and an empty observation
refuses before installer download. This executes shell bytes, not the Go
test suite.
- Final provenance, clean-tree/ancestry, whitespace, Bash syntax, new
per-commit canonical checks, contract/registry audits and browser
coverage pass. All 13 changed user-visible frontend files have matching
in-range receipts; no unchanged browser rerun was needed.
- On the prior proposal head, Frontend, script smoke/build, API shards
and all eight Core E2E shards pass. These are evidence for that source,
not the new head or the newly added real-embed phase. The failed backend
rest-0 and four native Unix jobs are retained above; Windows and FreeBSD
pass separately.
- Both aggregate VM requests before composition and both exact
final-source requests were refused before execution, client exit 2 /
`proof-capacity-low`. Commands were the full installer suite with
updater/real-embed recipes, and frontend offline
install/type-check/lint/test/build. There is no executed receipt or
aggregate pass. The preparation-feedback helper was also unavailable;
direct supported lightweight checks are not a full helper verdict.
- Earlier Docker URL-edit failure/three skips, incomplete-output proof,
planning-doc Git permission failure and driver exit 143 remain
historical adverse evidence. Focused checks do not erase them. Exact
new-head containing CI must supply and assess whole-source results,
including actual real-embed compilation/vet.
This source proposal is suitable for independent review and exact-head
CI, not permission to land failed checks. Required administrative review
and exact-head checks remain necessary. No release, deployment,
installed recovery or issue closure is claimed.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Follow-up to #2793.
## What was wrong
The mock-mode unified view caches its linked build keyed on
`sameManualLinks`, which compared each link's resource pair and primary
and said link metadata, time included, does not change a fold. After
#2793, among otherwise equal candidates, a chain of links folds into the
primary of the earliest-created link (`linkChainRootLocked`), so that is
false for `CreatedAt`: a link list that differs only in a creation time
can leave a different row standing.
In a cycle of a Proxmox storage, a TrueNAS VM and a vSphere VM the
TrueNAS VM keeps its row while its link is older than the vSphere VM's,
and the vSphere VM keeps it once it is newer. With the fixture data
version and link order unchanged and only a `CreatedAt` replaced, the
cached mock view kept serving the old row while the live rebuild, which
reloads the links from the store, served the new one.
## What changes
- `sameManualLinks` also compares `CreatedAt` (`time.Time.Equal`). It
has three readers and all take the fix: the data-version cache hit and
the keep-previous-freshness decision on publication in
`currentUnifiedStateView`, and `cachedMockStructureView` (the structure
view behind `currentStructureUnifiedStateView`). The comment no longer
says time cannot change a fold.
- `TestMockUnifiedViewFollowsALinkCreationTimeChange` replaces the
TrueNAS VM's link with one that differs only in its time, with no
fixture tick, and expects the surviving row a
`mock.UnifiedResourceSnapshotWithLinks` build keeps: through the
structure view and the data-version view when the time moves later, and
through the data-version view when it moves back. It also asserts the
two link lists differ in exactly one creation time, in the same order,
and that the fixture data version did not move.
- The monitoring and unified-resources contracts ("Mock-mode unified
view applies operator links") say the key includes each link's creation
time; the agent-lifecycle contract gets the owner note for `monitor.go`.
## Verification
Run on pulse-dev:
- The new test and the ten neighbouring `TestMockUnifiedView*`,
`TestMockMetricsTarget*` and `TestMockStructure*` tests pass.
- `go test ./internal/monitoring/ ./internal/mock/` passes in full.
- Negative controls, each failing the new test: removing the
`CreatedAt.Equal` term; reverting only the data-version cache hit;
reverting only the freshness-keep decision; reverting only the structure
view's comparison.
Accept the exact Core candidate with retained normal/race monitoring proof and discriminating complete-window controls. Optional copies are bounded without truncating source windows; no installed RSS relief or broad fleet acceptance is claimed.
Change-source: pulse-maintainer
## What
An operator split of a reporter from a sibling that reports the same
machine could be erased by pin succession. A source the operator split
(unlink or report-merge records the exclusion `(sibling's ID, source's
source-specific ID)`) pins the shared machine key on its own
source-specific ID while the sibling is present. With the sibling
absent, the source mints the sibling's ID, and pin succession read the
source's pin as that ID's earlier era. Applying the pair rewrote the
exclusion into one of the ID from itself, so the sibling's return merged
the two.
Unforced rebuild sequence {agent + Docker host, Docker host only, agent
+ Docker host}: 2, 1, 1 agents in 37 of 40 trials on `main`, 2, 1, 2 in
40 of 40 with this change.
## Change
`PersistIdentityPins` (`internal/unifiedresources/canonical_id_pins.go`)
now:
- refuses a succession whose retired ID the operator excluded from its
successor (the registry owns the check, beside the observed-ID check, so
a rebuild that could not read its decisions guards the split from the
exclusions it carried);
- drops the successions of one batch that would retire two IDs the
operator split from each other onto one successor
(`withoutSplitFanInLocked`; only each predecessor's first declaration
counts, as in both stores).
A split that pairs the retired ID with a third resource still follows
the succession. The stores are unchanged; the reporter-era skip from
#2800 and record-declared eras are unchanged.
## Boundary
With the sibling absent the split source is listed under the sibling's
ID, and an operator lock set on its candidate ID does not cover it until
the sibling returns. Before this change the lock was carried onto the
sibling's ID and the split erased; in the other pin-holder state the gap
already existed, and the reporter-era skip in #2800 accepts the same
boundary. The unified-resources contract records it, with the limits of
the check (chains through stale carried decisions, a split recorded
after the registry read its decisions, an already-recorded predecessor
counting toward a fan-in). Keeping a split reporter on its candidate ID
in the sibling's absence would close the gap but renames every currently
split reporter whose sibling is absent; that is a separate decision.
## Proof
`TestPinSuccessionKeepsASplitSourceApart` (both stores): key held by the
split source or by the sibling, a rebuild that cannot read its decisions
(with a control that records the succession through the same store), the
fan-in batch with controls (no split; a stored self-pair exclusion), the
narrowness control (a split of a superseded ID paired with a third
resource still follows), and the filter's own table. Mutation controls
run on pulse-dev: pair check removed, blanket rule, wrong pair, previous
exclusions not carried, fan-in filter not applied, self pair counted,
suppression when decisions were unreadable (with and without an
exclusion), later declarations weighed, whole group dropped, every batch
dropped. Each fails its intended subtests. Full
`internal/unifiedresources` and `internal/monitoring` suites pass on
pulse-dev on the rebased tree, `internal/alerts` on the tree before the
last rebase. `internal/api` there had two failures that are not this
change: `TestServerInfoEndpointReportsDevelopment` (the rsynced tree has
no `.git`) and `TestContainerBootstrapFailuresStopAndClean/hangup` (a
load flake: 5 of 5 alone, and the `configapi` package 2 of 2).
Reuse only the independent window-retention repair from ed1b561d on the identical cache parent. Do not import the broader fleet conversion or sealed getters. Bound optional copies before allocation and release accounting on replacement, expiry and Reset. Add connected complete-window controls at both ceilings, preserving measured zero, timestamps, fresh live-tail authority and ownership. This is not attribution or installed relief for issue #1803.
Contract-Neutral: Only optional in-process window retention changes. Persistent history, complete returned windows, the 30-second hit expiry, live-tail authority, alert calculations and public API/wire contracts are unchanged.
Cache-repair-source: ed1b561d8b435a64c43fc87a5240aff4d9f70bd0
Change-source: pulse-maintainer