Read the installed release only from a successful, bounded version probe. Validate every numeric component of both versions before Bash compares them, and refuse unknown or unorderable versions before the existing install is touched. Keep deliberate recovery by exact pin or interactive choice.
Contract-Neutral: Enforces the existing newer-only non-interactive server installer contract; published release discovery, explicit recovery, signature verification and service handling are unchanged.
Change-source: pulse-maintainer
The tests use source and locked dependencies. Queue one unit runner as
soon as changes are classified, without waiting for a built bundle or
four additional workers. The separate native proof still verifies the
validated build. All three jobs remain required for the Frontend check.
**Audit account portal dependencies daily**
The account portal has a separate npm graph, but its unchanged lockfile
was only checked in the full weekly scan. Run the existing strict audit
daily on the exact scheduled main manifests, without installing code or
displacing the pull request and main embed check.
**Match npm audit fixture output without a pipe**
The staged audit test reported that text was missing while printing the
very same text. Under pipefail, grep -q can stop reading after a match
and fail the writer. Match the captured string literally in Bash,
preserving every expected exit and output check.
**Keep the account advisory watch independent of runner changes**
The shared audit runner already fails closed for scheduled callers.
Reuse it unchanged and explain strict mode in the account job, so a
wording change to the shared runner does not couple new account coverage
to the existing product lockfile repair. Keep the test for an
unavailable registry and the normal product and portal checks.
---
Fleet candidate `20261118T170002Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`3a11822b439f73e1a340cbb44be5333ccf3d637a` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
GitHub can retain the previous base in the event while testing a merge
against newer main. A backend revert can then disappear from the event
diff. Check the raw first parent before admitting a component-only PR,
including when Actions has fetched a single commit.
The selector imports a shared module between fixture commits. Mirror the
repository's bytecode ignore rule so generated cache files cannot turn a
component-only fixture into a mixed diff on a clean runner.
Component edits ran all backend race and benchmark shards even when the
Go inputs were unchanged. Keep the frontend, embed and script checks, and
run the Go suites that read components or browser evidence. Mixed changes
and main pushes retain their existing coverage.
The staged audit test reported that text was missing while printing the very same text. Under pipefail, grep -q can stop reading after a match and fail the writer. Match the captured string literally in Bash, preserving every expected exit and output check.
Change-source: pulse-maintainer
Keep inherited package rows visible without attributing the underlying advisory to every tool. Treat npm's suggested versions as unverified and point to the smallest compatible lock repair against the existing floors.
Contract-Neutral: Clarifies diagnostics only; the strict main audit, trusted inputs, verdict, qualification requirements and delivery semantics are unchanged.
Change-source: pulse-maintainer
The Intel macOS native job timed out twice at the same unchanged fixture subprocess bound. Its root can already run beside another Go test process; cap the inner parallel controls only for this subprocess-heavy root. Keep exact-root discovery, verdicts and all installer and fixture deadlines unchanged. Check the actual Go test binary receives the bounded setting.
Contract-Neutral: Native CI scheduling for one existing fixture only; no change to installer behavior, coverage, deadlines, or release qualification.
Change-source: pulse-maintainer
Follow the recovery-session admission wrapper into the shared direct-loopback and constant-time IP predicate. Check separately that live recovery reads use the same predicate on the original request and freshly checked binding, so the documentation guard keeps verifying the real restrictions after the allocation refactor.
Change-source: pulse-maintainer
Community installs already stored 90 days of daily metric averages and
366 days of availability history, but the chart, availability and agent
history reads refused anything past seven days, and lapsed paid installs
had history past seven days purged 60 days after a downgrade. Locking
users out of data on their own disk is the kind of limit that drew the
loudest complaints before (the monitored-system cap, SSO), and it is not
what people pay for: 12 of 88 covered paid installs read past seven days
in the last 30 days.
The history routes now serve every supported range on every plan, and
storage retention alone decides how far back the answer goes.
long_term_metrics moves into Community as a compatibility key with no
upgrade reason. TierHistoryDays, max_history_days and the downgrade
purge (DowngradeRetentionState, the metrics store commercial ceiling and
the generated-report purge) are removed, so nothing deletes history or
reports because a plan ended. The chart and drawer lock panels, the
history plan link, the billing summary row and the plan copy that sold
history go with them. Paying users lose nothing.
The public pricing pages and licence server copy in pulse-pro change
when the release carrying this ships.
**Keep SSO provider read recovery in the keyboard flow**
Anchor explicit provider inventory checks in a stable named busy region,
including checks that release an uncertain draft or deletion
confirmation. Cancel the old warning-focus timer without a
response-driven focus effect, preserving deliberate focus departure and
existing read/write admission. Exercise real-client saved, empty,
failed, read-only, uncertain-change and reader-withdrawal paths.
Contract-Neutral: Restore keyboard continuation for existing SSO
inventory reads without changing authority, transport, saved
configuration, IdP behavior or shared-dialog contracts.
**Use supported exact-name provider recovery test queries**
Remove six unsupported ByRoleOptions.exact properties found by the
containing TypeScript check. Literal accessible names already match
exactly by default, so the twelve executed regressions retain their
selection and assertions. Runtime and browser-verified content are
unchanged.
Contract-Neutral: Type-only test-query repair; no runtime, behavioral,
transport or authority contract change.
**Follow the read-only SSO recovery callback in guide checks**
Bind the guide consistency check to the visible Check saved providers
control and follow its named read callback instead of requiring the old
inline spelling. Preserve inventory and detail no-write checks, and
reject mutation delegates, direct API writes and duplicate reads with
five negative controls. Runtime and existing browser proof are
unchanged.
Contract-Neutral: Repair source-consistency verification for an existing
read-only recovery control; no runtime, documentation, API or authority
contract change.
---
Fleet candidate `20261117T154029Z-web-product` from the `web-product`
lane. Reviewed tip `b787f192be549ab33d0e3022d0665fafa76046b3` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
A missing documented PULSE_MCP_BIN_DIR currently spends all three verified asset downloads, then fails to allocate its publication stage. Create the requested directory without changing existing modes or contents and admit the unique destination-filesystem stage before transport. Keep signature, digest, copied-byte checks, final destination admission and atomic rename unchanged. Registered signed fixtures cover new nested destinations, blocked paths, early allocation refusal, retained directory modes and failure cleanup.
Contract-Neutral: Repairs the documented MCP installer destination override without adding an option or changing release selection, signature authority, client interfaces or token permissions.
Change-source: pulse-maintainer
Bind the guide consistency check to the visible Check saved providers control and follow its named read callback instead of requiring the old inline spelling. Preserve inventory and detail no-write checks, and reject mutation delegates, direct API writes and duplicate reads with five negative controls. Runtime and existing browser proof are unchanged.
Contract-Neutral: Repair source-consistency verification for an existing read-only recovery control; no runtime, documentation, API or authority contract change.
Change-source: pulse-maintainer
The real installer log collector started an external date process for every line. Use the shell's time formatter for the same local timestamp, retaining the legacy date fallback when unsupported and preserving journal/stdout failure precedence. Prove that the normal path starts no date command, that both successful and failed legacy date reads keep prior output/exit behavior, and retain the full bounded installer/recovery matrix.
Contract-Neutral: Logging implementation and registered regression controls only; timestamp presentation, sink failure precedence, service deadlines, updater trust, saved state and release behavior are unchanged.
Change-source: pulse-maintainer
Use built-in private-file I/O instead of repeatedly loading pathlib for every modeled manager command. Keep exact JSON arguments, monotonic observations, faults, state changes and real process deadlines; the native log-sink transaction still must finish within fifteen seconds. Register a direct independent check of manager transcripts and service transitions.
Contract-Neutral: Test-double startup and protocol verification only; production updater, service deadlines, trust, saved state, release and rendered-surface contracts are unchanged.
Change-source: pulse-maintainer
An interactive installer does not exit PowerShell, so remove the original owned download after successful destination preparation rather than retaining a second executable until engine exit. Keep a failed source cleanup before the SCM boundary, cover its real Windows sharing refusal, and bind the native preparation controls into the existing canonical installer test file.
Contract-Neutral: Complete the same implementation-only destination preparation without changing installer trust, service-removal, saved-state or completion contracts.
Change-source: pulse-maintainer
Copy the verified download into an exclusive, checksum-bound destination-directory leaf while the original service is still intact. Inherit destination ACLs and track only the created stage for cleanup, then use that prepared leaf for the existing replacement path. Register native PowerShell 5.1 real-file, refusal, state, ACL and cleanup controls alongside portable wiring checks. Late publication and service startup remain separate failure boundaries.
Contract-Neutral: Implementation-only destination preparation preserves the existing installer trust, service-removal, saved-state and completion contracts; no API, rendered surface or release orchestration change.
Change-source: pulse-maintainer
Honor curl's stdout output selector in the remaining signed-backup, versioned installer and service-discovery doubles. Preserve their real signature, state/refusal, version, cleanup and selected-service assertions. The existing staging proposal's separate executable-mode assertion is untouched.
Contract-Neutral: Existing verification consumers follow the downloader's internal output selector without changing installer admission, service recovery or public contracts.
Change-source: pulse-maintainer
Cap each installer/signature download at 2 MiB plus one overflow-detection byte, independently checking transfer, writer and size-read outcomes. Preserve exact successful bytes, HTTPS/time bounds and mandatory signatures. Exercise real loopback TLS framing and existing whole-transaction cleanup/recovery consumers.
Contract-Neutral: Tightens internal bootstrap resource admission only; existing deployment state, service recovery, signatures, release identities and public interfaces are unchanged.
Change-source: pulse-maintainer
The containing script-smoke job for the reviewed saved-role keyboard repair fails because its administration guide test requires an inline handler. Keep the documented action-label check independent of callback shape, and extend real panel/state/RBAC API transport tests through a failed read and a second explicit check after both uncertain save and deletion. Verify scoped reads, local busy focus, exact request counts and no write replay instead of source spelling.
Change-source: pulse-maintainer
Observe deferred cancellation after wait returns as well as before it, so a leader completing at that boundary cannot hide a remaining owned output descendant. Cover the boundary and tolerate a fixture child being reaped between process-state observations.
Contract-Neutral: Script-test interruption handling and its disposable regression fixtures only; no application, installed-runtime or release contract change.
Change-source: pulse-maintainer
Forward catchable cancellation to each suite's owned process group, bound its stop and reap observation, and preserve returned exits separately from the runner signal. Never admit a later suite or a passing verdict after interruption; SIGKILL and detached-child cleanup remain unknown. Keep all suite selection and test deadlines unchanged.
Contract-Neutral: Product test-runner observation and cancellation only; no application, installed-runtime or release contract change.
Change-source: pulse-maintainer
Keep all 48 existing process-byte, manager-tuple, drift, diagnostic and timeout transactions mandatory while admitting each through the existing bounded Python fixture helper. Preserve the 20-second control watchdog, inner command bounds and every identity assertion; do not let independent transactions exhaust one cumulative class deadline.
Contract-Neutral: Test-only updater fixture scheduling and owned-process cleanup; no production installer, updater, service deadline, trust, state or rendered-surface contract changes.
Change-source: pulse-maintainer
The native macOS Intel run at ab1c22125d killed the growing half-removed installation matrix at its shared thirty-second Python deadline. Expose all 28 scenarios as normal unittest identities and execute the complete, validated inventory in separate Go subtests. Preserve fixture assertions, ten-second shell deadlines, thirty-second process deadlines, sequential execution and the enclosing native Go alarm.
Contract-Neutral: Test execution partitions existing installer recovery controls without changing installed behaviour, rendered output, service authority or release requirements.
Change-source: pulse-maintainer
**Keep installer registration diagnostics bounded**
Report the failed stage and numeric curl exit instead of echoing remote
response buffers. Preserve registration admission, payloads, retry
budgets, TLS and completion state. Exercise nine synthetic
shipped-function cases with request, saved-state and output controls,
and bind their compiled input into the existing rootful source manifest.
Contract-Neutral: Installer diagnostic presentation and regression
coverage only; credential and response admission, requests, retries,
TLS, saved state, completion fields and qualification contracts are
unchanged.
**Separate parser fixture startup from its admission verdict**
Give the full installer-parser and separate private-file consumer a
fixed fifteen-second fixture watchdog instead of five. Keep every exit,
handoff, private-file, receipt and no-operation assertion. Exercise a
deliberately delayed real validator and ensure a watchdog expiration
still raises rather than passing as a negative control. The historical
preflight timeout remains an observed five-second interruption, not a
diagnosed source regression or host-load event.
Contract-Neutral: Test-only process watchdog and regression controls;
installer source, admission, credential handling, product deadlines and
lifecycle behavior are unchanged.
---
Fleet candidate `20261116T055230Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`14d30fcfff991311dac913e1ccfac9fd4bed6e6f` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Give the full installer-parser and separate private-file consumer a fixed fifteen-second fixture watchdog instead of five. Keep every exit, handoff, private-file, receipt and no-operation assertion. Exercise a deliberately delayed real validator and ensure a watchdog expiration still raises rather than passing as a negative control. The historical preflight timeout remains an observed five-second interruption, not a diagnosed source regression or host-load event.
Contract-Neutral: Test-only process watchdog and regression controls; installer source, admission, credential handling, product deadlines and lifecycle behavior are unchanged.
Change-source: pulse-maintainer
Give the two pre-test phases independent deadlines and owned-process cleanup. Preserve complete failure output and original nonzero or timeout results, keep discovery stderr out of the source inventory, and reject preparation that leaves children. Exercise actual stalled compiler/listing processes, inherited output, an unrelated live sentinel, exact phase arguments and existing full runner controls without changing test selection, concurrency or test deadlines.
Contract-Neutral: Native Unix CI preparation observation and owned-process cleanup only; exhaustive source inventory, per-test Go/process deadlines, test scheduling, explicit skips, production installers, deployed runtime and rendered behavior are unchanged.
Change-source: pulse-maintainer
Keep partial output and the exact synthetic flow/fault when an installer control exceeds its existing deadline, instead of printing the whole shell program without its observations. Trace only the connected-container fixture after sourcing without changing fd 3 or its session, and use the existing bounded Python process-group owner for the Go caller. Preserve cryptographic refusal, all assertions and both deadlines; cover timeout bytes/text and unchanged normal/nonzero exits in the repository test entrypoint.
Contract-Neutral: Test-only observation and owned-process cleanup repair; installer runtime, authentication, signature admission, time limits and installed-state contracts are unchanged.
Change-source: pulse-maintainer
**Avoid successful-exit sleeps in cache consumer fixtures**
Restrict the race runtime pacing change to dependency-free ordinary/API
cache and coverage controls. Preserve their real commands,
selection/failure assertions, deadlines and all production race
settings.
Contract-Neutral: Synthetic CI fixture pacing only; no runtime,
workflow, installer or subsystem behavior changes.
**Keep native fixture exit observation truthful without procfs**
Both macOS jobs in native run 43715476726 failed the shared timer
fixture's live-child witness because a missing Linux procfs path was
mistaken for exit. Retain Linux proc observation; on other hosts inspect
only the owned PID with bounded native ps, preserving zombies, absent
results and unknown-read errors. Exercise real live/reaped children and
deterministic BSD states without skipping the control, and admit timer
fixture edits to native CI.
Contract-Neutral: Native installer regression fixture and workflow
admission only; no production installer, timer, saved-state, consent or
runtime behavior changes.
---
Fleet candidate `20261115T123342Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`9686895f5fb7326e89561857e38925b6a364815e` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Both macOS jobs in native run 43715476726 failed the shared timer fixture's live-child witness because a missing Linux procfs path was mistaken for exit. Retain Linux proc observation; on other hosts inspect only the owned PID with bounded native ps, preserving zombies, absent results and unknown-read errors. Exercise real live/reaped children and deterministic BSD states without skipping the control, and admit timer fixture edits to native CI.
Contract-Neutral: Native installer regression fixture and workflow admission only; no production installer, timer, saved-state, consent or runtime behavior changes.
Change-source: pulse-maintainer
Restrict the race runtime pacing change to dependency-free ordinary/API cache and coverage controls. Preserve their real commands, selection/failure assertions, deadlines and all production race settings.
Contract-Neutral: Synthetic CI fixture pacing only; no runtime, workflow, installer or subsystem behavior changes.
Change-source: pulse-maintainer
The native make controls run 55 tiny fixture packages per suite. They create no goroutines or background work, so remove the race detector's default one-second exit sleep from those fixtures only. Keep the actual race compiler/runtime, every ambient-mode and failure control, and all production race settings unchanged.
Contract-Neutral: Synthetic make-entrypoint fixture pacing only; product code, discovered coverage, assertions, production race settings, workflow gates and deadlines are unchanged.
Change-source: pulse-maintainer
Append the fresh-run control after ambient Go flags without changing the source-listed shard selection, JSON recorder, race mode or stable-tested command template. API tests can invoke shell and Python children whose fixture reads are invisible to Go result-cache invalidation.
Exercise the actual workflow recipe against a real race-enabled Go fixture, both run/skip selections and inherited count-zero flags. A changed child input must fail instead of replaying a previous passing verdict.
Contract-Neutral: CI execution freshness and executable regression coverage only; no product API, installer, runtime, rendered surface or subsystem behavior changes.
Change-source: pulse-maintainer
GNU timeout can terminate its process group before the manager double has finished exiting. Bound the test observation instead of sampling proc once, keep genuine live processes failing, and include observation in the unchanged total completion bound. Add deterministic delayed-exit, persistent-live and invalid-state controls plus an owned live-process witness. Production installer timing, saved state and consent behavior are unchanged.
Contract-Neutral: Registered installer regression fixture and test observation only; no production source or installation, timer, consent, scheduling, or recovery contract changes.
Change-source: pulse-maintainer
Compare each ordinary package's race-enabled test listing with its
completed JSON events. Preserve actual Go exits separately from coverage
failures, explicit skips, zero-root packages, bounded scheduling and
source-bound receipts. Keep existing workflow commands and stable-patch
recorder compatibility.
Contract-Neutral: Backend CI execution and proof accounting only; no
product, installer, runtime or subsystem behavior changes.
---
Fleet candidate `20261115T051908Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`bd151403a03c92621e7dffe1d0152a835ab0012f` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Compare each ordinary package's race-enabled test listing with its completed JSON events. Preserve actual Go exits separately from coverage failures, explicit skips, zero-root packages, bounded scheduling and source-bound receipts. Keep existing workflow commands and stable-patch recorder compatibility.
Contract-Neutral: Backend CI execution and proof accounting only; no product, installer, runtime or subsystem behavior changes.
Change-source: pulse-maintainer
Override inherited dry-run mode without replacing compiler, module, tag or worker settings. Exercise broken source and test fixtures, exact changed-package selection, inert linking and caller-executor precedence through the repository smoke suite. Runtime race and vet checks remain separate and required.
Contract-Neutral: CI precompilation entrypoint only; package selection, source bindings, inert execution, runtime test coverage and product contracts are unchanged.
Change-source: pulse-maintainer
Release discovery does not reserve the installation. Re-read the actual Community executable while holding the existing transaction lock, without handing that lock descriptor to the probe. Refuse unknown or Pro identity, skip equal or newer versions without claiming installation, and preserve signed installation and recovery for an older Community version. Cover real lock/identity admission and the main result consumer; keep sequential lock-release fixtures consistent with no repeated installation.
Contract-Neutral: Enforce the existing Community-only non-downgrading updater admission under its existing lock; no installer, channel, authority or recovery contract changes.
Change-source: pulse-maintainer
Keep malformed and partial fixture writes alongside the actual timeout
and cleanup result instead of masking them with counter, JSON or argv
parser exceptions. A successful command with malformed evidence still
fails. Exercise those controls through the existing Go test discovery.
Use builtin state operations in the confined removal manager and retain
its completion statuses, while exercising real hung-manager refusals.
Production timeout, removal and updater source are unchanged; broad-CI
recovery remains a containing-check obligation.
Contract-Neutral: Test-fixture observations and command doubles only; no
production installer, updater, service deadline, deletion policy, API or
rendered-surface contract changes.
---
Fleet candidate `20261114T140845Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`d4cbf86a87e8257c655733fa121b98fbf0f5a60a` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Restore telemetry preview reporting type parity**
Declare the 25 already-shipped reporting fields with their sender types,
keep both exhaustive fixtures current, and protect public-to-preview
parity with a repository-backed regression. Verify full JSON retention
and clipboard behavior for available and unavailable reporting without
changing collection, privacy or layout.
Contract-Neutral: Restores TypeScript declarations for existing wire
fields and adds regression/browser proof; no runtime, payload, route,
consent or authority change.
**Complete telemetry browser receipt viewport metadata**
Record the explicit viewport objects already present in both native
browser results. Keep the same inspected pass and unchanged frontend
digest; bind this corrective receipt to its own containing parent rather
than rewriting committed history.
Contract-Neutral: Corrects browser evidence metadata only; no source
behavior or contract delta.
---
Fleet candidate `20261114T131906Z-web-product` from the `web-product`
lane. Reviewed tip `ec4cb5517f9ac1e3704e531084b550fd40f14921` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Keep malformed and partial fixture writes alongside the actual timeout and cleanup result instead of masking them with counter, JSON or argv parser exceptions. A successful command with malformed evidence still fails. Exercise those controls through the existing Go test discovery.
Use builtin state operations in the confined removal manager and retain its completion statuses, while exercising real hung-manager refusals. Production timeout, removal and updater source are unchanged; broad-CI recovery remains a containing-check obligation.
Contract-Neutral: Test-fixture observations and command doubles only; no production installer, updater, service deadline, deletion policy, API or rendered-surface contract changes.
Change-source: pulse-maintainer
The current script-smoke failure reads a reaped child's proc stat and receives ESRCH, not ENOENT. Accept both disappearance errors in the existing stop witness, with deterministic controls preserving live-process rejection and unexpected-error failures. Keep the runner, exit assertions and cleanup deadlines unchanged.
Contract-Neutral: Test-only procfs reaping observation and regression controls; no runner behavior, cleanup deadline or qualification contract change.
Change-source: pulse-maintainer
Declare the 25 already-shipped reporting fields with their sender types, keep both exhaustive fixtures current, and protect public-to-preview parity with a repository-backed regression. Verify full JSON retention and clipboard behavior for available and unavailable reporting without changing collection, privacy or layout.
Contract-Neutral: Restores TypeScript declarations for existing wire fields and adds regression/browser proof; no runtime, payload, route, consent or authority change.
Change-source: pulse-maintainer
Stop before Go test execution when package discovery fails or returns no packages. Keep test targets phony and override inherited execution-suppressing Go flags without replacing compiler, module, tag or worker settings. Preserve the existing race and timeout bounds.
Contract-Neutral: Backend test entrypoint only; no runtime, installer or subsystem behavior changes.
Change-source: pulse-maintainer
`/api/auto-register` completion picks a Proxmox connection's address by
fetching a TLS certificate fingerprint from the request's host and its
candidate addresses. This change reads the caller's authority before any
of those fetches.
- Setup tokens and install-grant holders still try every candidate, as
before.
- An agent token without an available install grant may change only the
connection its spent grant recorded, so Pulse now contacts only a
candidate spelled as that recorded address. Names are compared as
written, not resolved.
- The registration check makes no outbound connection and is unchanged.
- Adds a regression test for the auto-register and auto-unregister
parse-failure logs, which record the body size rather than the body.
Tests: new cases in
`internal/api/configapi/auto_register_probe_authority_test.go`. The two
agent-token cases fail on the previous handler, and the log case fails
if the body is logged again. The full `configapi` package and the
`internal/api` auto-register tests pass.
The MSP connection docs test asserted the exact return line of
selectAutoRegisterHost, so changing what the function returns broke a
documentation check even though the documented behaviour held.
The docs rely on one rule: the stored pin is the certificate the
answering candidate presented, so it is first-seen rather than
independently verified. The test now checks that relationship, and the
Go auto-register tests cover it at runtime.
Loopback trust (no-auth access, recovery tokens and sessions,
unauthenticated config transfer, the rate-limit exemption) now needs more
than a loopback peer: no reverse-proxy forwarding header, a Host that is
localhost, *.localhost or a loopback literal, and a browser request that is
same-origin by Fetch Metadata or names exactly this origin. A same-host
proxy passing a public Host, a page whose name resolves to 127.0.0.1, or a
page on another origin no longer counts as a local user.
GetClientIP now takes the right-most X-Forwarded-For hop that is not in
PULSE_TRUSTED_PROXY_CIDRS, reading every header line and accepting entries
with ports, instead of the first entry. A proxy that appends keeps the
client's own entries on the left, so the first entry is client-chosen.
Lockout, rate limits, audit addresses and recovery-token binding use this.
The reverse-proxy guide explains multi-hop setups: list upstream hops as
trusted or have the final proxy replace the header.
The real inherited-output control observed the ordinary test binary's t.Fatal exit 1, not the timeout panic's exit 2. Assert each actual result without changing runner behavior or the required failure verdict.
Contract-Neutral: Correct the expected exit code in a test fixture; runtime, installer and qualification contracts are unchanged.
Change-source: pulse-maintainer