Containing CI correctly rejected stale string assertions that required the removed full-fleet copy and repeated summary work. Exercise list and stats HTTP responses and generation-summary reuse in the existing native cache test instead; retain page/live-health/concurrency and PMG ownership coverage. Lower only the retired source-read baseline entry.
Contract-Neutral: Test-only replacement of obsolete implementation-shape pins with executable endpoint/cache assertions; runtime source, wire contracts, rendered state and performance budgets are unchanged.
Change-source: pulse-maintainer
Retain the original application repair unchanged while correcting the containing hot-path guardrail that still requires full-fleet copying.
Change-source: pulse-maintainer
**Keep complete audit webhook destinations beside their controls**
Show each saved receiver without ellipsis, name removal controls by
their exact URL and keep phone targets reachable. Compact phone spacing
preserves the existing page information and controls; retain comparable
browser proof and selected-endpoint transport regressions.
Contract-Neutral: Audit webhook endpoint presentation and accessible
names only; no change to saved URLs, permissions, HTTP contracts,
confirmation behavior or audit delivery.
**Use supported exact-name role queries for webhook regression tests**
Testing Library already matches string role names exactly. Remove the
unsupported exact query option reported by containing TypeScript
validation, preserving the same destination-specific assertions and all
browser-tested runtime content.
Contract-Neutral: Test query option correction only; exact
accessible-name matching remains the default, with runtime and browser
content unchanged.
---
Fleet candidate `20261110T041155Z-web-product` from the `web-product`
lane. Reviewed tip `ebf89bd8c586da92f016aceabbd9f28bf1078829` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Read cold and warm list/stats paths from 24 readers with distinct allowed/refused contexts, preserving page-local health and complete generation-owned counts.
Change-source: pulse-maintainer
A profiled 500-node resource query spends most of its cold registry work repeatedly walking later ID rewrites for each saved remediation-lock group. Materialize each suffix substitution once and preserve the exact application-order groups for both existing store callers. Keep all SQL statements, transactions, remediation-lock policy and History unchanged; compare exhaustively with the original algorithm.
Contract-Neutral: Same ordered canonical ID succession, remediation-lock group membership, stored state and History semantics; only the transient batch group-settlement algorithm changes.
Change-source: pulse-maintainer
Reuse structural aggregations only within the existing tenant presentation generation, stream facet counts through the shared filter predicate, and evaluate live health and action readiness on request-owned returned rows. Keep query, freshness, identity, history and authorization semantics intact.
Contract-Neutral: Unchanged REST fields, query semantics, tenant isolation, canonical identities, policy summaries and live per-request readiness; only transient computation and generation-owned structural aggregates are reused.
Change-source: pulse-maintainer
Testing Library already matches string role names exactly. Remove the unsupported exact query option reported by containing TypeScript validation, preserving the same destination-specific assertions and all browser-tested runtime content.
Contract-Neutral: Test query option correction only; exact accessible-name matching remains the default, with runtime and browser content unchanged.
Change-source: pulse-maintainer
Show each saved receiver without ellipsis, name removal controls by their exact URL and keep phone targets reachable. Compact phone spacing preserves the existing page information and controls; retain comparable browser proof and selected-endpoint transport regressions.
Contract-Neutral: Audit webhook endpoint presentation and accessible names only; no change to saved URLs, permissions, HTTP contracts, confirmation behavior or audit delivery.
Change-source: pulse-maintainer
**Prepare notification routing policy once per batch**
Avoid rebuilding an identical destination filter for every alert, and
reject ineligible severity before parsing tags. Preserve exact recipient
matching, caller ownership, occurrence order and receipt-owned recovery.
Cover the old allocation cost, compatibility, shared inputs and ordinary
queued HTTP firing/recovery.
Contract-Neutral: Internal batch policy preparation only; destination
selection, tag and severity rules, config formats, payloads, receipt
obligations and rendered values are unchanged.
**Pass resolved alert events through the native routing fixture**
The first exact-source build identified the fixture's wrong event type.
Supply the existing ResolvedAlert wrapper and resolved time; no
production behavior, recipient rule or test deadline changes. Retain
that build failure and rerun the same containing proof on this additive
correction.
Contract-Neutral: Test event type binding only; production routing,
public formats and receipt semantics are unchanged.
**Assert the existing generic webhook payload shapes**
The native receiver correctly got its selected recipients, but the
fixture incorrectly expected an event field on generic grouped firings.
Assert their existing grouped/count fields and absent event, plus the
resolved event on recoveries; keep exact recipient, settlement and
no-extra-delivery checks. Preserve the complete failed proof and
production code unchanged.
Contract-Neutral: Fixture expectations follow existing generic firing
and recovery payloads; no production, recipient or format change.
---
Fleet candidate `20261110T010429Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `8ad8e397b137a9aae7f6d95a83f282cfab903691` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The native macOS Intel safety fixture timed out in the complete
successful-removal caller. Its closed manager models already selected
the containing interpreter without site initialization, but the
production inline validators still resolved an ambient PATH interpreter
and its site hooks on each fresh inventory read. Apply the same
selected, isolated stdlib interpreter to those validators without
changing production, reads, refusal semantics or deadlines. Exercise
real launchers, quoted arguments, interpreter flags and ambient-hook
exclusion through the repository-discovered fixture controls.
Contract-Neutral: Test-fixture interpreter selection only; installer
behavior, safety contracts, observations and deadlines are unchanged.
---
Fleet candidate `20261110T005841Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`5bd4553c96a546b4954b1fabd8aa305651f02a35` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The native receiver correctly got its selected recipients, but the fixture incorrectly expected an event field on generic grouped firings. Assert their existing grouped/count fields and absent event, plus the resolved event on recoveries; keep exact recipient, settlement and no-extra-delivery checks. Preserve the complete failed proof and production code unchanged.
Contract-Neutral: Fixture expectations follow existing generic firing and recovery payloads; no production, recipient or format change.
Change-source: pulse-maintainer
Wrap saved principals within the existing membership table and reserve
its role column on narrow screens. Compact noninteractive phone cells
keep the overview and all four fixture roles at a glance; desktop layout
and access behavior stay unchanged. Check exact identity, role and date
pairings through reordered saved rows.
Contract-Neutral: Restore existing overview membership identity and role
visibility on narrow screens; no API, permission, state, or action
contract changes.
---
Fleet candidate `20261110T004023Z-web-product` from the `web-product`
lane. Reviewed tip `1afe2d0a728a3d47cf49c6633a0dbd4c656955d0` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The metrics table is clustered by resource, so every commit rewrites the
newest leaf page of each resource it touches. With a 5-second flush each
30-second agent sample landed in its own commit: about 1.9 WAL pages per
sample, 34 times the row data, and about 6.6 GiB/day for 270 resources.
Flush the write buffer every 60 seconds instead (buffer ceiling 10,000
rows) and name the raw rollup age so the flush stays well inside it.
Readers keep 5-second freshness: a Query* read whose own series has a
buffered sample older than 5 seconds flushes the buffer first, exactly
as
Flush does and bounded by the existing 2-second write wait, and
concurrent
readers wait for that flush. QueryCommitted skips the flush for the
alert
metric window and the storage capacity trend, which merge their own
fresh
in-memory tail; through a flushing read the alert path committed the
buffer
about ten times a second. Minute batches are up to 20 times larger, so
the
write queue is also bounded by samples, at the old worst case of 50,000.
The full-buffer detach, flush tick, Flush and shutdown drain are
otherwise
unchanged. With the nightly watch's agent estate on pulse-dev, total
Pulse
writes fell from about 4.9 to 1.4 GiB/day with identical committed rows,
every report accepted, and memory and CPU unchanged. pkg/metrics passes,
also under -race, as do the monitoring history, alert window, chart,
reporting and Assistant tool tests.
TestStoreIdentityMigrationDeduplicatesLegacyRows
fails 2 of 20 runs on unchanged main and passed 20 of 20 with this
change.
The first exact-source build identified the fixture's wrong event type. Supply the existing ResolvedAlert wrapper and resolved time; no production behavior, recipient rule or test deadline changes. Retain that build failure and rerun the same containing proof on this additive correction.
Contract-Neutral: Test event type binding only; production routing, public formats and receipt semantics are unchanged.
Change-source: pulse-maintainer
`pulse_read` runs diagnostic commands on monitored hosts for Patrol
investigations and Pulse Mobile chat without a per-call approval. This
keeps that path to local, non-secret reads.
- Database and network clients go through the governed control path.
`ping` stays for bounded probes of IP addresses.
- The sensitive-path check parses each command word by word and covers
more credential stores and process-environment output. `ps -e` is
refused on targets where it prints environments.
- Redaction recognises more secret shapes, such as prefixed
environment-style keys and credentials in any URL scheme.
- The agent runs Pulse-issued commands without its own `PULSE_*`
configuration in their environment. Unapproved reads also drop
credential-named variables.
Contract notes are in `ai-runtime.md` and `agent-lifecycle.md`.
Verification: `go vet` and the unit suites for `internal/ai/...`,
`internal/hostagent` and `internal/agentexec` pass.
Avoid rebuilding an identical destination filter for every alert, and reject ineligible severity before parsing tags. Preserve exact recipient matching, caller ownership, occurrence order and receipt-owned recovery. Cover the old allocation cost, compatibility, shared inputs and ordinary queued HTTP firing/recovery.
Contract-Neutral: Internal batch policy preparation only; destination selection, tag and severity rules, config formats, payloads, receipt obligations and rendered values are unchanged.
Change-source: pulse-maintainer
The metrics table is clustered by resource, so every commit rewrites the
newest leaf page of each resource it touches. With a 5-second flush each
30-second agent sample landed in its own commit: about 1.9 WAL pages per
sample, 34 times the row data, and about 6.6 GiB/day for 270 resources.
Flush the write buffer every 60 seconds instead (buffer ceiling 10,000
rows) and name the raw rollup age so the flush stays well inside it.
Readers keep 5-second freshness: a Query* read whose own series has a
buffered sample older than 5 seconds flushes the buffer first, exactly as
Flush does and bounded by the existing 2-second write wait, and concurrent
readers wait for that flush. QueryCommitted skips the flush for the alert
metric window and the storage capacity trend, which merge their own fresh
in-memory tail; through a flushing read the alert path committed the buffer
about ten times a second. Minute batches are up to 20 times larger, so the
write queue is also bounded by samples, at the old worst case of 50,000.
The full-buffer detach, flush tick, Flush and shutdown drain are otherwise
unchanged. With the nightly watch's agent estate on pulse-dev, total Pulse
writes fell from about 4.9 to 1.4 GiB/day with identical committed rows,
every report accepted, and memory and CPU unchanged. pkg/metrics passes,
also under -race, as do the monitoring history, alert window, chart,
reporting and Assistant tool tests. TestStoreIdentityMigrationDeduplicatesLegacyRows
fails 2 of 20 runs on unchanged main and passed 20 of 20 with this change.
The native macOS Intel safety fixture timed out in the complete successful-removal caller. Its closed manager models already selected the containing interpreter without site initialization, but the production inline validators still resolved an ambient PATH interpreter and its site hooks on each fresh inventory read. Apply the same selected, isolated stdlib interpreter to those validators without changing production, reads, refusal semantics or deadlines. Exercise real launchers, quoted arguments, interpreter flags and ambient-hook exclusion through the repository-discovered fixture controls.
Contract-Neutral: Test-fixture interpreter selection only; installer behavior, safety contracts, observations and deadlines are unchanged.
Change-source: pulse-maintainer
pulse_read runs diagnostic commands on monitored hosts for Patrol
investigations and Pulse Mobile chat without a per-call approval, so
keep it to local, non-secret reads.
Database clients and network clients now go through the governed
control path; ping stays for bounded probes of IP addresses. The
sensitive-path check parses each command word by word and covers more
credential stores and process-environment output, and ps -e is refused
on targets where it prints environments. Redaction recognises more
secret shapes, such as prefixed environment-style keys and credentials
in any URL scheme. The agent runs Pulse-issued commands without its own
PULSE_* configuration in their environment, and unapproved reads also
drop credential-named variables.
Contract notes in ai-runtime.md and agent-lifecycle.md.
Wrap saved principals within the existing membership table and reserve its role column on narrow screens. Compact noninteractive phone cells keep the overview and all four fixture roles at a glance; desktop layout and access behavior stay unchanged. Check exact identity, role and date pairings through reordered saved rows.
Contract-Neutral: Restore existing overview membership identity and role visibility on narrow screens; no API, permission, state, or action contract changes.
Change-source: pulse-maintainer
Allocate private same-directory stages for all updater assets, reject
redirected or non-regular destinations, preserve effective masks and
publish with exact atomic renames. Retain preferences and optional setup
policy, and report partial publication without claiming rollback.
Exercise the real installer and both consumers with temporary filesystem
fault controls.
Contract-Neutral: Private staging and exact-file publication preserve
the existing updater unit contents, schedule, permissions, consent,
preference, API and service lifecycle contracts; only unsafe filesystem
destinations and failed writes are refused.
---
Fleet candidate `20261109T231948Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`5a092fea89cb41fd2ea2f6d2b6dbfc3e3f0d1d94` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Keep saved share access roles visible on phones**
Show each incoming and outgoing share's existing role beneath its
organization name on narrow screens, without widening the tables or
changing desktop columns. Protect saved-role labels through reordered
refreshes and read-only sessions.
Contract-Neutral: Phone-only metadata repeats the existing saved share
role and normalization; organization sharing authorization, payloads,
state ownership and action behavior are unchanged.
**Verify both saved share-role presentations in creation tests**
The complete affected source proof found eleven creation cases using a
singular row-wide text query after phone metadata began repeating the
existing desktop role. Assert the exact saved role in the Access cell
and its phone metadata independently, retaining every transport,
payload, identity and no-replay check. Runtime presentation and its
parent-bound browser proof are unchanged.
Contract-Neutral: Test-only assertion scopes cover both existing
responsive presentations; organization sharing contracts, runtime source
and actions are unchanged.
---
Fleet candidate `20261109T231948Z-web-product` from the `web-product`
lane. Reviewed tip `a62b697e3411f2ae72bafec96e810bf74aaada72` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Keep scope decisions and legacy wildcard/alias compatibility unchanged
without replacing the admitted record's scope slice on every read.
Shared context readers no longer write to each other's snapshot, and
repeated permission checks avoid normalization allocations. Keep
canonicalization at load and mutation boundaries; cover decision
equivalence, byte/backing-slice stability, concurrent readers and
allocation cost.
Contract-Neutral: Scope predicates preserve authorization decisions,
transport, stored formats and rendered state; only query-time mutation
and allocation are removed.
---
Fleet candidate `20261109T232001Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `6510cd6b95c34692d535404f8c025c331e86f394` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The footprint watch ends each agent load driver with SIGTERM once its
sampling loop finishes. The driver's own deadline was the same length,
so
it could expire as the signal arrived; Python then exited by the signal
(143) instead of handling it, and a run with every report accepted
failed
as "agent load failed". Seen on pulse-dev with both builds at 360 of 360
reports. Give the driver two minutes of headroom so the harness signal
always ends it.
The footprint watch ends each agent load driver with SIGTERM once its
sampling loop finishes. The driver's own deadline was the same length, so
it could expire as the signal arrived; Python then exited by the signal
(143) instead of handling it, and a run with every report accepted failed
as "agent load failed". Seen on pulse-dev with both builds at 360 of 360
reports. Give the driver two minutes of headroom so the harness signal
always ends it.
The race-enabled backend tests in the v6.8.0 release run failed in
`TestAPITokenJSONRejectsFailedReadsWithoutDisclosure`. The test replaced
the process-global logger with one writing to its own `bytes.Buffer`. An
alerts save goroutine left running by an earlier monitor test logged
into that buffer while the test's own fixture was logging, and the race
detector failed the package.
`internal/api` already keeps one synchronized sink installed for the
whole test process. This test now captures through `captureTestLogs`
like the other log assertions, and it asserts that the decode failure
was captured so the disclosure check cannot pass on an empty buffer.
Test-only. Verified on pulse-dev with `go test -race -count=1 -run
'TestContract_PlatformMockToggleRebindsRuntimeConnectionsAndResources|TestAPITokenJSON'
./internal/api`.
The complete affected source proof found eleven creation cases using a singular row-wide text query after phone metadata began repeating the existing desktop role. Assert the exact saved role in the Access cell and its phone metadata independently, retaining every transport, payload, identity and no-replay check. Runtime presentation and its parent-bound browser proof are unchanged.
Contract-Neutral: Test-only assertion scopes cover both existing responsive presentations; organization sharing contracts, runtime source and actions are unchanged.
Change-source: pulse-maintainer
Keep scope decisions and legacy wildcard/alias compatibility unchanged without replacing the admitted record's scope slice on every read. Shared context readers no longer write to each other's snapshot, and repeated permission checks avoid normalization allocations. Keep canonicalization at load and mutation boundaries; cover decision equivalence, byte/backing-slice stability, concurrent readers and allocation cost.
Contract-Neutral: Scope predicates preserve authorization decisions, transport, stored formats and rendered state; only query-time mutation and allocation are removed.
Change-source: pulse-maintainer
The v6.8.0 release run's race-enabled backend tests failed in
TestAPITokenJSONRejectsFailedReadsWithoutDisclosure. The test replaced
the process-global logger with one writing to its own bytes.Buffer, and
an alerts save goroutine left running by an earlier monitor test logged
into that buffer while the test's fixture was logging too.
internal/api already keeps one synchronized sink installed for the whole
test process so background goroutines can log safely. Use its
captureTestLogs helper here like the other log assertions do, and assert
that the decode failure was captured so the disclosure check cannot pass
on an empty buffer.
Contract-Neutral: Test-only log capture repair; production source and subsystem contracts are unchanged.
Show each incoming and outgoing share's existing role beneath its organization name on narrow screens, without widening the tables or changing desktop columns. Protect saved-role labels through reordered refreshes and read-only sessions.
Contract-Neutral: Phone-only metadata repeats the existing saved share role and normalization; organization sharing authorization, payloads, state ownership and action behavior are unchanged.
Change-source: pulse-maintainer
Allocate private same-directory stages for all updater assets, reject redirected or non-regular destinations, preserve effective masks and publish with exact atomic renames. Retain preferences and optional setup policy, and report partial publication without claiming rollback. Exercise the real installer and both consumers with temporary filesystem fault controls.
Contract-Neutral: Private staging and exact-file publication preserve the existing updater unit contents, schedule, permissions, consent, preference, API and service lifecycle contracts; only unsafe filesystem destinations and failed writes are refused.
Change-source: pulse-maintainer
Repeat existing system, reported version and full last-seen facts in the
narrow expanded-row summary. Keep every warning, detailed fact and
repair control in place so multiple independent findings do not obscure
the affected installation.
Contract-Neutral: Mobile Doctor repeats existing System, Version and
Last seen facts; status, grants, API, lifecycle and command contracts
are unchanged.
---
Fleet candidate `20261109T211639Z-web-product` from the `web-product`
lane. Reviewed tip `bf54c44ad1e4ae4703a67f00db86a2006962ee04` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
`/api/auto-register` accepts `agent:report` tokens so a Proxmox agent
can refresh the API token Pulse holds for its own node when that
connection stops working. Every monitored host holds such a token,
including Docker-only and Kubernetes-only hosts, and nothing an agent
says about itself proves which connection is its own.
## What changed
The proof is now the install grant. An admin-issued, first-host-bound,
expiring grant may still adopt or create a source, and spending it
records the connection's address on the token.
Without an available grant, an agent token may refresh the credentials
of an existing PVE or PBS connection, or a cluster member, only at that
recorded address. The match is on the same port as well as the same
host. The stored address and TLS pin stay as they are, and any other
request gets a 403 that changes nothing. These don't count as proof:
- `serverName`
- candidate addresses
- a rebindable bound hostname
- host reports
The registration check also changed:
- It reports `canRegister` on the same terms, so an agent doesn't rotate
a credential it can't register.
- When it spends a grant on an existing source, it records that source's
own address rather than the agent's first candidate.
The handler also stops logging the raw request body when auto-register
JSON fails to parse.
## Unchanged
Setup-token registration, and creating or adopting a source through the
install grant.
## Behaviour change
An agent whose token never spent a grant keeps its current connection
rather than replacing it. Reinstalling the agent from a fresh install
command, or re-running the node setup, refreshes it.
## Tests
Seven new tests in `config_handlers_canonical_auto_register_test.go`:
- Refusals:
- four token kinds against PVE, cluster-member and PBS targets;
- a second connection on another port;
- no moved address or foreign pin.
- Heals:
- a recorded node, a primary and a non-primary cluster member, and a
legacy PBS record;
- a grant spent through a fallback candidate.
- The check's `canRegister`.
Five of them fail against the previous handler.
`./internal/api/configapi` and `./internal/api -run
'AutoRegister|AgentToken'` pass.
Closes#4190
Repeat existing system, reported version and full last-seen facts in the narrow expanded-row summary. Keep every warning, detailed fact and repair control in place so multiple independent findings do not obscure the affected installation.
Change-source: pulse-maintainer
Contract-Neutral: Mobile Doctor repeats existing System, Version and Last seen facts; status, grants, API, lifecycle and command contracts are unchanged.
The newly landed agent estate can accept every report while its
WebSocket never connects or carries state. Require an initial state and
a subsequent nonempty update on one connection, keep arbitrary frames
distinct from verified state in the retained summary, and reassemble
fragmented messages without counting ping/pong traffic. Exercise
rejected, idle, heartbeat-only, welcome-only, missing-baseline and
unusable-state dashboards while retaining accepted-report statistics.
Contract-Neutral: Diagnostic load-driver admission and evidence accuracy
only; no runtime, frontend, auth, release qualification or performance
threshold changes.
---
Fleet candidate `20261109T200349Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`036e58c6dafbe578b74a1a98d398130b435345e0` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Measure scoped token validation across saved inventories**
Retain first-match rejection, exact saved-hash semantics and read-only
metadata controls alongside a fixed first/last/missing benchmark matrix.
The containing change will remove repeated bearer hashing without
replacing ordered constant-time comparisons.
Contract-Neutral: Baseline authentication tests and benchmarks only; no
production behavior or authorization contract changes.
**Hash each API bearer once per saved-inventory validation**
Both read-only and metadata-updating validation were recomputing and
hex-encoding the same SHA3 digest for every saved credential, including
while the shared configuration lock is held. Reuse the digest within one
call only and preserve constant-time stored-hash comparisons, ordered
first-match rejection and the writer-time recheck. Empty inventories
still avoid hashing.
Contract-Neutral: Computational reuse only; saved hash format, token
inventory order, first-match expiry and runtime-role checks,
organization/scopes, validation results and accepted-record metadata
effects remain unchanged.
**Keep agent-auth guide checks aligned with literal digest validation**
The saved-token optimization preserves whole-bearer equality but
replaces CompareAPIToken inside the inventory loop. Update the
documentation-source check to verify one exact raw-bearer digest before
the loop and a constant-time saved-hash comparison before LastUsedAt.
In-memory negative controls retain rejection of normalized bearers,
hint-only comparisons, non-constant-time equality, premature metadata
and per-record hashing. Runtime, docs and existing native benchmark
inputs are unchanged.
Contract-Neutral: Documentation-source verification only; production
authentication decisions, source and rendered content are unchanged.
---
Fleet candidate `20261109T191749Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `aaba85bc8347ca90e0a600f1284195bbe88a821a` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
/api/auto-register accepts agent:report tokens so a Proxmox agent can
refresh the API token Pulse holds for its own node when that connection
stops working. Every monitored host holds such a token, including
Docker-only and Kubernetes-only hosts, and nothing an agent says about
itself (serverName, candidate addresses, its bound hostname, which a
command-enabled agent may rebind) proves which connection is its own.
The proof is the install grant. An admin-issued, first-host-bound,
expiring grant may still adopt or create a source, and spending it
records the connection address on the token. Without an available grant,
an agent token may now refresh the credentials of an existing PVE or PBS
connection, or a cluster member, only at that recorded address, and the
stored address and TLS pin stay as they are. Anything else is a 403 that
changes nothing. The registration check reports canRegister on the same
terms, so an agent does not rotate a credential it cannot register.
Setup-token registration and install-grant creation and adoption are
unchanged. An agent whose token never spent a grant keeps its current
connection instead of replacing it; reinstalling the agent from a fresh
install command, or re-running the node setup, refreshes it.
The handler also stops logging the raw request body when auto-register
or auto-unregister JSON fails to parse, and logs its size instead.
Contract-Neutral: authorization fix inside /api/auto-register; request and response shapes unchanged; api-contracts records the rule
Every host report, accepted or rejected, rewrote host_continuity.json in
full. The journal holds one entry per host and every host reports every
30 seconds, so its write volume grew with the square of the fleet. An
strace of a Pulse fed by 30 synthetic agents put it at about 1.5
GiB/day,
the largest writer after metrics.db.
ObserveReport now writes a new host, and any identity, credential, link,
legacy, tombstone or report-stream change, before the report returns, as
before. A change confined to receipt times, the accepted time and the
sequence within the same stream updates memory at once and reaches disk
within 15 seconds, at the next synchronous write, or when Monitor.Stop
closes the store. Ordering decisions read memory, so a running process
behaves as before, and restarts and upgrades resume from the exact
watermark. Only a crash can lose up to 15 seconds of sequence advance;
the
journal was never fsynced, so a crash could already lose the last
rewrite.
The Docker report-order journal keeps writing per report, because a
failed
write there deliberately rejects the report.
Measured on pulse-dev with the nightly watch's agent estate, main
against
main plus this change: disk writes 6.3 -> 5.0 GiB/day, with memory, CPU
and accepted reports unchanged. internal/config, internal/monitoring and
the host agent internal/api tests pass.
**Use current Patrol action facts in summaries and finding rows**
Keep typed pending, ready, approved, running and terminal action states
distinct from the saved fix_queued outcome. Only a live matching legacy
request counts as needing approval; unavailable reads keep their
existing uncertainty. Preserve open-issue counts, resource scope, review
controls and action authority.
Contract-Neutral: Correct Patrol presentation within the existing
typed-action and approval-read contracts; no schema, authority,
execution or navigation change.
**Record paired browser proof for current Patrol action states**
Bind the three final runtime files to the actual App fixture at desktop
and narrow viewports, in both themes. Retain the separate unresolved VM
source-proof outcome; browser evidence does not claim it passed.
**Keep approval test states within the API status type**
Retain literal pending and approved fixture states so the current-action
cases pass the containing TypeScript check as well as their runtime
assertions.
**Preserve Patrol workflow shape when sharing action facts**
Return only the established workflow fields from the shared typed-state
presentation. Keep unsupported states reviewable without treating object
prototype keys as known states. The four existing strict workflow tests
and new unknown-state cases exercise the repair.
Contract-Neutral: Preserve the existing workflow result shape and
unknown-state fallback; no API, authority, execution or navigation
delta.
**Keep completed-action guidance within the copy contract**
Use separate sentences for the verification caveat. The still-open
finding and completed-action semantics are unchanged.
Contract-Neutral: User-copy punctuation repair only; preserve the
existing action workflow and authority contracts.
**Bind Patrol action-state pixels to the repaired final source**
Retain the original readiness failures and source-test timeouts.
Complete the44 comparable page states with19 initial and25
compiler-prepared cases, without changing the per-page deadline or
repeating passing cases for selection.
**Wait for settled approval reads before suggesting Patrol recovery**
Distinguish initial and refreshing reads from a successful empty list.
Keep retained approvals visibly last known and typed action facts
independent across the summary, row and workflow, including organisation
resets.
Contract-Neutral: Repair frontend read-state presentation only; preserve
existing API, action authority, resource scope, navigation and
persistence contracts.
**Keep approval read-state classes and test signals correctly typed**
The independent static check found string read states passed to boolean
class switches and false-literal fixture accessors. Use explicit pending
predicates and boolean accessor returns without changing the
delayed-read state model.
Contract-Neutral: Correct frontend class predicate and test types only;
preserve the action and API contracts.
**Bind delayed approval-read pages to final source**
Retain 40 comparable page pairs and exact current runtime hashes, with
the invalid fixture attempt and source validation gaps explicit. Keep
the no-false-approval assertion and check initial queued attention
before the read settles.
Contract-Neutral: Browser evidence and regression assertions only; no
additional runtime or contract delta.
**Repair the delayed-read receipt UTC timestamp format**
The browser guard rejected the UTC +00:00 suffix, which must be Z.
Normalize the recorded instant and bind this repaired receipt to its own
parent with identical browser-verified frontend bytes; no merge-only
rebinding or new pixel claim.
Contract-Neutral: Repair browser receipt metadata only; no frontend or
subsystem contract change.
---
Fleet candidate `20261109T194717Z-web-product` from the `web-product`
lane. Reviewed tip `0196e117a69113873dd364456290e4fdee9113c0` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Monitor.stop logged a failed final continuity flush and still reported a
clean stop. Tenant and full reloads then discarded the runtime that held
the newest report watermark, and the replacement could accept a replay of
an already accepted report. Return the flush error with the guest metadata
drain error, as that drain already does, so the reload guards keep the
runtime and a later stop can retry the write.
Every host report, accepted or rejected, rewrote host_continuity.json in
full. The journal holds one entry per host and every host reports every
30 seconds, so its write volume grew with the square of the fleet. An
strace of a Pulse fed by 30 synthetic agents put it at about 1.5 GiB/day,
the largest writer after metrics.db.
ObserveReport now writes a new host, and any identity, credential, link,
legacy, tombstone or report-stream change, before the report returns, as
before. A change confined to receipt times, the accepted time and the
sequence within the same stream updates memory at once and reaches disk
within 15 seconds, at the next synchronous write, or when Monitor.Stop
closes the store. Ordering decisions read memory, so a running process
behaves as before, and restarts and upgrades resume from the exact
watermark. Only a crash can lose up to 15 seconds of sequence advance; the
journal was never fsynced, so a crash could already lose the last rewrite.
The Docker report-order journal keeps writing per report, because a failed
write there deliberately rejects the report.
Measured on pulse-dev with the nightly watch's agent estate, main against
main plus this change: disk writes 6.3 -> 5.0 GiB/day, with memory, CPU
and accepted reports unchanged. internal/config, internal/monitoring and
the host agent internal/api tests pass.
The saved-token optimization preserves whole-bearer equality but replaces CompareAPIToken inside the inventory loop. Update the documentation-source check to verify one exact raw-bearer digest before the loop and a constant-time saved-hash comparison before LastUsedAt. In-memory negative controls retain rejection of normalized bearers, hint-only comparisons, non-constant-time equality, premature metadata and per-record hashing. Runtime, docs and existing native benchmark inputs are unchanged.
Contract-Neutral: Documentation-source verification only; production authentication decisions, source and rendered content are unchanged.
Change-source: pulse-maintainer
The newly landed agent estate can accept every report while its WebSocket never connects or carries state. Require an initial state and a subsequent nonempty update on one connection, keep arbitrary frames distinct from verified state in the retained summary, and reassemble fragmented messages without counting ping/pong traffic. Exercise rejected, idle, heartbeat-only, welcome-only, missing-baseline and unusable-state dashboards while retaining accepted-report statistics.
Contract-Neutral: Diagnostic load-driver admission and evidence accuracy only; no runtime, frontend, auth, release qualification or performance threshold changes.
Change-source: pulse-maintainer
Promote v6.8.0-rc.1 to stable after its 24-hour soak. Only release metadata changes.
Contract-Neutral: Release-only v6.8.0 version, release notes and distribution metadata; no public install or runtime contract changes.
Change-source: pulse-maintainer
Both read-only and metadata-updating validation were recomputing and hex-encoding the same SHA3 digest for every saved credential, including while the shared configuration lock is held. Reuse the digest within one call only and preserve constant-time stored-hash comparisons, ordered first-match rejection and the writer-time recheck. Empty inventories still avoid hashing.
Contract-Neutral: Computational reuse only; saved hash format, token inventory order, first-match expiry and runtime-role checks, organization/scopes, validation results and accepted-record metadata effects remain unchanged.
Change-source: pulse-maintainer
The browser guard rejected the UTC +00:00 suffix, which must be Z. Normalize the recorded instant and bind this repaired receipt to its own parent with identical browser-verified frontend bytes; no merge-only rebinding or new pixel claim.
Contract-Neutral: Repair browser receipt metadata only; no frontend or subsystem contract change.
Change-source: pulse-maintainer