Match the existing OIDC callback and RBAC guide: only successful non-empty assignments emit the assignment event, not cleared roles. Add source-consistency controls to the existing documentation suite.
Contract-Neutral: Correct documentation and drift checks only. Preserve all OIDC, role-assignment, audit, session and access-control behaviour.
Change-source: pulse-maintainer
**Keep competing automatic updates out of one installation**
Hold a nonblocking directory lock through backup, installation and
recovery, including aliased installation paths. Refuse missing or
unavailable lock support before service observation or download, release
it on early returns and keep it out of installer descendants. Exercise
actual competing transactions and preserve native Unix fixture coverage.
Contract-Neutral: Serializes the existing standalone update transaction
without changing subsystem interfaces, consent, signature checks,
service identity or rollback policy.
**Run the directory-lock fixture probe with its selected Bash**
The step-local tool probe now exercises Bash's descriptor allocation, so
its shim must execute with the same verified fixture Bash rather than
the platform's POSIX sh. This changes the test consumer only; production
locking is unchanged.
**Check update lock release before its caller exits**
Hold each private fixture shell alive after successful, restored-failure
and service-observation returns. A second transaction must enter before
that original shell exits, so kernel descriptor cleanup at process exit
cannot conceal a leaked RETURN-trap lock.
---
Fleet candidate `20261106T050027Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`511bc3c96971591aa1442343a14112807f713379` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Hold each private fixture shell alive after successful, restored-failure and service-observation returns. A second transaction must enter before that original shell exits, so kernel descriptor cleanup at process exit cannot conceal a leaked RETURN-trap lock.
Change-source: pulse-maintainer
The step-local tool probe now exercises Bash's descriptor allocation, so its shim must execute with the same verified fixture Bash rather than the platform's POSIX sh. This changes the test consumer only; production locking is unchanged.
Change-source: pulse-maintainer
Hold a nonblocking directory lock through backup, installation and recovery, including aliased installation paths. Refuse missing or unavailable lock support before service observation or download, release it on early returns and keep it out of installer descendants. Exercise actual competing transactions and preserve native Unix fixture coverage.
Change-source: pulse-maintainer
Contract-Neutral: Serializes the existing standalone update transaction without changing subsystem interfaces, consent, signature checks, service identity or rollback policy.
The existing agent persists its agent-id with a trailing newline. Start the synthetic fixture in that normal saved format rather than treating startup serialization as lost state; retain exact byte comparisons, not trimmed equality. Mark each case complete only after its own SCM process has quiesced. No application writer or saved-identity behavior changes.
Contract-Neutral: Test-fixture saved-state formatting and terminal case accounting only; no runtime or permission contract changes.
Change-source: pulse-maintainer
Serve the actual authenticated agent-version route and test it through the real updater over verified TLS, retaining the old unserved-route counterexample. Preserve partial native case counts, explicitly distinguish handled PowerShell absence from unhandled errors, and dispose SCM handles before owned deletion. Bind both compiled installer tests and their packet helper in the existing rootful source manifest. Native SCM/refusal/saved-state acceptance still requires the containing CI artifact.
Contract-Neutral: Test-only Windows updater transport and PowerShell coverage plus complete compiled-source binding; no runtime, public API, permission, dependency or release-policy change.
Change-source: pulse-maintainer
A forwarder's sign-in is not by itself CSRF protection. Keep browser origin metadata and the exact-origin workaround instead of suggesting header stripping after authentication. Match the shipped guide and protect the advice in the existing documentation suite.
Contract-Neutral: Documentation safety correction only. No runtime authentication, CORS policy or API behavior changes.
Change-source: pulse-maintainer
Carry the retained production-response and native-consumer bridge onto current main after human PR 3995 repaired benchmark admission. Leave all superseded benchmark changes out. This preserves TLS, exact executable identity, signature refusals, saved state and owned cleanup; it does not change runtime behavior or qualify a release.
Contract-Neutral: Native CI regression coverage and test-only production-response transfer; no application runtime, public API, dependency or permission contract changes.
Change-source: pulse-maintainer
A pull request that reaches no benchmarked package in a shard leaves
that shard's timing files empty by design. Since #3985 made the check
refuse empty comparisons, every such shard fails with "No paired
benchmark comparisons found". That turned Benchmarks red on #3989 and
#3990, neither of which measured a slowdown.
The comparison step now ends with "nothing to compare" only on the
collector's own declaration: `selection=affected`, an empty `packages=`
and both timing files empty. Selected packages with no results, another
selection rule, missing metadata and samples beside the declaration all
still fail, and a measured shard is judged as before.
`test_benchmark_workflow_contract.py` runs the step's real command on
these cases. Against the old step, the empty-shard case fails.
Contract-Neutral: CI comparison admission only; no application runtime
or public contract change.
Replaces #3987, whose commit failed the per-commit governance guard. A
commit on top can't clear that, so this is a fresh branch rather than a
force-push.
Trying the provider bundle needed a domain, a Cloudflare account and an
API token. Setup now works without them.
- **No DNS token:** per-client certificates over HTTP-01.
- **No domain:** `pulse.<ip>.sslip.io`, labelled trial-only. It shares
one Let's Encrypt allowance, and moving to a real domain means
reinstalling agents.
- **Handoff:** waits for the client's certificate instead of landing on
a browser TLS error, and restarts Traefik with a growing backoff if it
stays missing.
- **Setup errors:** port 80 and shared-limit failures are explained in
plain words.
Blank settings keep today's DNS-01 behaviour. `/msp` copy changes only
after a release carries this.
## Proof
Fresh Ubuntu 24.04 droplet, real Let's Encrypt certificates, using a
prospect's steps.
| Result | Build |
|---|---|
| Setup with Enter at the domain prompt: 1m47s, certificate verified
from another network | v6.8.0-beta.1 images, this branch's unsigned
stamped bundle |
| Client certificate served 8s after healthy | same |
| Add then immediate Open held about 7s, then reached the client signed
in with entitlements active | release-tagged control plane from an
earlier build of this branch, on the beta.1 image |
| Real agent from another network reporting Healthy (systemd container,
not a full VM) | same |
| Port 80 blocked: setup explains it, the wait page retries, and the
certificate issues about 10s after unblocking | same |
| An existing client opens through the verifying certificate check,
signed in with entitlements active | release-tagged control plane from
this commit, on the beta.1 image |
## Not proven
- A live Let's Encrypt 429 on the shared name. Sampling admitted every
sslip.io and nip.io order; the 429 paths use fakes.
- A lease past 24 hours. That check is still running on the droplet.
- Add then immediate Open, and the blocked port 80 wait, on the
verifying check. The test licence was at its two-client limit, so these
ran on the earlier build. Unit tests cover the hold and the failed
verification.
- The backoff staying with the client that started it: unit tests only.
- The retry command setup prints after a failure: its `up
--force-recreate` errored on a test-only network clash from running two
stacks on one host. Traefik still restarted and the certificate
verified.
## Tests
`scripts/installtests`, `internal/cloudcp/...` and
`test_msp_portal_readiness.py` ran on this commit. The only failure is
`TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure`, which fails
the same way on clean main on `pulse-dev`.
`TestFrontendCIBuildTransferIsSourceBound` failed once in an earlier
full run and passes alone, on this branch and on its parent; it passed
in this run.
The non-required Benchmarks check fails when a shard selects no
benchmarked packages, whatever the change:
`scripts/run-ci-benchmarks.sh` exits with empty files and
`scripts/check-bench-regression.sh` then refuses them.
A pull request that reaches no benchmarked package in a shard leaves that
shard's timing files empty by design. Since the check began refusing empty
comparisons, every such shard has failed with "No paired benchmark comparisons
found", turning the Benchmarks check red on PRs with no slowdown.
The step now ends with "nothing to compare" only on the collector's own
declaration: an affected selection, an empty package list and two empty timing
files. Every other empty comparison still reaches the check and fails.
Contract-Neutral: CI comparison admission only; no application runtime or public contract change
Trying the provider bundle meant owning a domain, a Cloudflare account
and an API token first, which stopped people evaluating it on a cheap
public server.
With no token, setup now requests per-client certificates over HTTP-01.
With no domain, it uses pulse.<ip>.sslip.io and labels the install
trial-only: that name shares one Let's Encrypt allowance, and agents
hard-code the address, so moving to a real domain means reinstalling
them. Blank settings keep today's DNS-01 behaviour.
Per-client certificates arrive after a client turns healthy, and Traefik
does not retry a failed validation by itself. Handoff therefore holds on
a wait page until the certificate is served, and restarts the ingress
with a growing backoff if it stays missing. Setup now explains port 80
and shared-limit failures in plain words.
Compose the retained stale-refresh repair with landed session-store persistence isolation. Release the authentication mutex before the synchronous save, adapt source checks and fixtures, and prove registered reads plus a newer logout while real refresh persistence is paused.
Contract-Neutral: Preserve documented session lifetimes, current-session refresh and invalidation policy, provider selection, grants, response fields and encrypted persistence formats; obsolete work cannot act on a replacement or expired session, and persistence remains outside the authentication mutex.
Change-source: pulse-maintainer
Keep current Basic session admission and session persistence isolation, then adapt and verify the retained saved-session ownership repair on the combined source.
Change-source: pulse-maintainer
Only a colon ending the configuration key identifies a metadata line. A measured sub-benchmark can contain a colon too and must retain the same complete-pair admission, including beside valid comparisons. Add accepted and refused controls for that name shape.
Contract-Neutral: CI comparison evidence only; no application runtime or public contract changes.
Change-source: pulse-maintainer
Fixture logging split node-alert benchmark names from their measured rows in run 42095151579, so benchstat omitted both sizes. Silence only that benchmark's fixture logger, restore it on cleanup, and verify the actual Go reporter emits every sample. Refuse empty, one-sided, malformed and under-sampled comparison rows rather than calling them regression-free. Retain all existing delta, significance and metric-direction rules.
Contract-Neutral: CI evidence admission and benchmark-fixture output only; no application behavior, public API or runtime contract changes.
Change-source: pulse-maintainer
Recovery commands expand the parsed recipe inventory, and native builds now
report their own compiler OS and ARM variant. Keep those expectations explicit
and exclude verifier unit tests from production provider seals while retaining
the verifier itself. Run these controls in the standalone proof as well.
The runtime implementation remains unchanged. These corrections address the
documentation and native qualification failures on the reviewed source head.
Substring version checks admitted stale agents and dependency literals, while
ARMv6 executables could select ARMv7 updates. Share compiler target and exact
release identity admission across producers, downloads and activation, and
keep validated local downloads bound to their open file descriptor.
Cover bounded runtime probes, failure atomicity, canonical executable formats,
ARM emulation and saved-state installer repair boundaries. Retain the installed
ARM fleet and physical-device gap, and leave release qualification open.
Repair the preflight source-consistency check after refresh ownership moved into SessionStore. Keep session lifetime, provider-skip, invalidation, rotation and persistence assertions, and check that seven broken ownership/persistence variants are still rejected. Runtime and user-facing documentation remain unchanged.
Contract-Neutral: Test-only source consistency repair; no runtime behavior, documented policy, routes, grants, persisted formats or frontend content changes.
Change-source: pulse-maintainer
The returned candidate failed the rootful attestation inventory because its new compiled test was absent from the exact-path source manifest. Keep the identical Unix-only transport test in the already inventoried native Unix contract file, preserving its build tag, every control and process-tree cleanup. Leave the human-owned manifest repair untouched.
Contract-Neutral: Repackages the byte-identical MCP transport control in the existing sealed Unix test input without changing production behavior, test assertions, deadlines, platform selection or the attestation boundary.
Change-source: pulse-maintainer
Apply one curl policy to the adapter, checksum manifest and detached signature: verified HTTPS only, curlrc disabled, five-second connection and sixty-second transfer limits, with bounded transient retries. Preserve the existing signed-checksum authority and same-filesystem publication and leave a working adapter untouched on transport failure. Exercise real local TLS, redirects, certificate and ambient-configuration refusals, a real stalled transfer, and complete partial-download cleanup controls.
Contract-Neutral: Repairs the existing fail-closed verified MCP installer transport without changing release selection, artifact/signature formats, installation options, client interfaces, token authority or destination publication semantics.
Change-source: pulse-maintainer
The helper only writes private configuration and never starts Pulse, but its old root, container and Docker admission still prevented ordinary-user or offline preparation. Leave deployment prerequisites at the explicit start step and exercise the exact shipped script instead of stripping those checks from test fixtures.
Contract-Neutral: Remove obsolete local-host prerequisites from the configuration-only helper; generated Compose, runtime permissions, image defaults, saved-deployment protections and lifecycle contracts are unchanged.
Change-source: pulse-maintainer
Refresh the existing source-order scheduling hints from both complete passing slices of Build and Test 41990076181. Keep all source-discovered roots, two required workers, four package slots, race checks and deadlines unchanged. The observed root-sum imbalance improves from 556/416 to 479/494 seconds; this is not a hosted wall-time prediction.
Contract-Neutral: Scheduling estimates only; no runtime, coverage, ordering, worker-count or verification-contract change.
Change-source: pulse-maintainer
Keep installer replacement bytes separate from the fixture's advertised version so an enabled updater cannot undo the recovery being measured. Bind the saved recovery binary and immediate reverse result as well as the final installed/running identity. Exercise both version decisions through the real updater over verified local TLS without allowing artifact transfer in the adverse control.
Contract-Neutral: Test-fixture control and exact recovery observations only; production installer, updater, trust, withdrawal, service-intent and UI contracts are unchanged.
Change-source: pulse-maintainer
Construct and record the installer's root-controlled directory prerequisite on the disposable hosted VM instead of relying on runner-image permissions. Exercise the actual parent trust check against writable and protected fixture directories. Preserve all production installer checks and recovery assertions; the earlier migration exit remains undiagnosed until native readback.
Contract-Neutral: Native verification setup and regression controls only; production trust, lifecycle and recovery contracts are unchanged.
Change-source: pulse-maintainer
Separate mutable history bytes, mode and exact service ownership from protected CA, identity and lifecycle snapshots. Check state-root restoration and retain observed history ownership through setup and every forward/reverse pair. Add rejected-damage controls and execute the installer metadata functions against legacy descendant records without recursive root ownership.
Contract-Neutral: Native regression fixture and controls only; installer ownership, trust, grant and rollback contracts are unchanged.
Change-source: pulse-maintainer
The first hosted run correctly refused the fixture that combined legacy command collection with runner installation. Bootstrap the runner only under the supported safe profile, recover the collector with the saved rollback, then retain runner continuity across all four measured forward/reverse pairs. Check socket quiescence without requiring its nonexistent MainPID while keeping service PID checks fail-closed.
Contract-Neutral: Native regression fixture and controls only; production installer, trust and profile admission are unchanged.
Change-source: pulse-maintainer
Include the two newly compiled installer test inputs in the existing exact-source attestation boundary. The unchanged coverage checks rejected the previous candidate because these paths were missing; preserve those checks and all runtime admission rules.
Contract-Neutral: Source-binding inventory only; no runtime, trust, installer or qualification contract changes.
Change-source: pulse-maintainer
The signed installed-profile job builds and observes the action runner as well as the collector and helper. Include that entry point and its direct session/receipt boundaries in both native workflow triggers, and check that neither event silently omits the inputs.
Contract-Neutral: Native verification admission only; no application or lifecycle contract delta.
Change-source: pulse-maintainer
Check source as the checkout owner before entering the isolated root phase, reject unconfirmed account absence and bind the running helper and independent runner to their signed input digests. Require fresh authenticated reports after active reverse recovery and keep the secret-free receipt readable by the ordinary artifact uploader.
Contract-Neutral: Verification-only corrections to the new hosted installer test; production lifecycle and trust rules are unchanged.
Change-source: pulse-maintainer
Run the real installer with verified fixture TLS and SSH-signed current-source collector, helper and runner inputs on a fresh public hosted systemd VM. Check changed executable forward/reverse, saved identity, data and CA, all prior active/enabled combinations, independent runner continuity and refusal retention. Keep published-release and original-host acceptance distinct.
Contract-Neutral: Verification-only native installer regression; no runtime, privilege-profile, TLS or lifecycle contract changes.
Change-source: pulse-maintainer
Guide role and user administrators to the existing saved-state read controls after an unconfirmed save or removal. Preserve working access, current restrictions and identity-provider boundaries. Verify the shipped copy and documented actions with the administration safety suite.
Contract-Neutral: Documentation and its regression checks only. No runtime contract or verification obligation changes.
Change-source: pulse-maintainer
Use GitHub's GraphQL bot login and enumerate the bounded open issue inventory without an ambiguous author alias filter. Keep exact bot identity, complete takeover/race checks and observation-only reporting.
Exercise both workflow entry commands with literal external API author fixtures through creation, recovery and recurrence, including prior bot comments and incorrect identity controls.
Contract-Neutral: CI watch author matching and regression coverage only; no product subsystem contract change.
Change-source: pulse-maintainer
Identify only marked GitHub Actions watch reports and stop on takeovers, incomplete conversations, ambiguity or changed reads. Record recovery without closing: GitHub cannot atomically guard a close against a new human reply. Keep ordinary failure/recovery transitions and legacy reports separate.
Contract-Neutral: CI issue reporting only; no product runtime, measurement, signing, build, deployment or release contract changes.
Change-source: pulse-maintainer
PR3910 governance correctly rejected the new compiled test input because the complete rootful source manifest omitted it. Include its exact path so source hashes cover the rollback refusal controls. Existing manifest completeness and byte-hash regression tests enforce the correction; no validator, workflow, threshold or permission changes.
Contract-Neutral: Restores the existing complete compiled installer source-binding invariant without changing runtime behavior, qualification scope or attestation validation.
Change-source: pulse-maintainer
This test pinned the old sentence saying the collision had not been reproduced.
It now pins the part that is still true: why the reported VM stayed frozen is not
established.
The complete safe-profile suite exposed two fixture assumptions: a temporary safety disable was counted as the restored enablement intent, and the systemctl model used a bare return in an EXIT trap, inheriting the original failed migration status. Preserve final intent assertions after daemon reload and model the real manager process explicit success status. Keep cleanup output available on failure.
Contract-Neutral: Fixture corrections preserve the existing rollback intent and failure assertions without changing installer runtime or interfaces.
Change-source: pulse-maintainer
Profile rollback ignored failed stop commands before replacing binaries, credentials and saved identity. Reuse the existing bounded systemd teardown admission for the collector and helper, including its final batch readback, before any restoration. Preserve the saved snapshot on refusal and leave the independent runner alone. Add stateful refusal, reactivation, cleanup and successful recovery controls.
Contract-Neutral: Enforces the existing fail-closed collector/helper rollback and saved-state preservation contract; no lifecycle interface, privilege grant, platform or rendered UI changes.
Change-source: pulse-maintainer
Read each collector/helper unit through the existing bounded
complete-state parser before creating a migration snapshot or reducing
credentials. Preserve confirmed running and enablement intent, accept a
genuinely absent helper, and refuse ambiguous or unrepresentable states
rather than recording failed reads as disabled services. Cover refusal
before file/service changes and the existing rollback path with real
fixture filesystem operations.
Contract-Neutral: Restores the existing safe-profile snapshot and
state-preserving rollback invariants. No manifest schema, privilege
grant, command-authority reduction, transport policy or
rendered-interface contract changes.
---
Fleet candidate `20261104T153219Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`87cf375e22edfafdd289ed6e0afd3cedad539797` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Read each collector/helper unit through the existing bounded complete-state parser before creating a migration snapshot or reducing credentials. Preserve confirmed running and enablement intent, accept a genuinely absent helper, and refuse ambiguous or unrepresentable states rather than recording failed reads as disabled services. Cover refusal before file/service changes and the existing rollback path with real fixture filesystem operations.
Contract-Neutral: Restores the existing safe-profile snapshot and state-preserving rollback invariants. No manifest schema, privilege grant, command-authority reduction, transport policy or rendered-interface contract changes.
Change-source: pulse-maintainer
The pinned detector mistakes the recorded auth-controller Git blob IDs for API keys. Limit the existing exact-fingerprint mechanism to the two public hash lines and verify their immutable source identity; retain every detector, history and failure check.
Contract-Neutral: No runtime, API, authentication, grant or delivery contract changes; distinguish two public browser-receipt blob IDs from credentials with exact path/rule/line exceptions.
Change-source: pulse-maintainer
Containing-source verification hit the unchanged20-second RunningExecutable watchdog after four methods, before its diagnostic matrix completed. Use the same selected-interpreter isolated stdlib launch already used by the neighbouring updater fixture, for both its manager double and owned Python process. Preserve all five methods, actual executable comparisons, every adversarial case, production deadlines and cleanup assertions; do not raise the Go watchdog or call the previous failure noise.
Contract-Neutral: Fixture launch efficiency only; production source, watchdog values and required safety controls are unchanged.
Change-source: pulse-maintainer
The containing installer suite exposed a manager double that returned unsupported-operation97 for the new bounded ActiveState read. Model its genuinely absent unit as inactive, assert exactly one observation in both existing update paths, and retain every config, unit, permission, ordering and failed-repair assertion.
Contract-Neutral: Aligns an existing confined manager fixture with production readback; no runtime, policy, privilege or repair assertion changes.
Change-source: pulse-maintainer
The initial service check treated every failed is-active query as stopped or absent and had no deadline. Read one bounded ActiveState observation, reject failed, malformed or transitional replies before main can mutate files, and preserve confirmed running, stopped and non-systemd cases. Extend the existing registered service-discovery fixture with caller, exact-instance, deadline and saved-state controls.
Contract-Neutral: Enforces existing fail-closed service discovery and bounded readback without changing installation inputs, selected identities, saved-state guarantees, privileges or recovery actions.
Change-source: pulse-maintainer
**Enforce the server installer's existing service deadlines**
Count manager reads within the existing startup polling budget and
force-stop clients that ignore TERM. Keep uncertain replacement reads
fail-closed and preserve the current prior-active recovery path.
Register real-clock and pipe-closure controls and keep
publication/startup test doubles compatible with the existing timeout
wrapper.
Contract-Neutral: Enforces the existing bounded startup/readback and
failed-start refusal policies without changing interfaces, configured
budgets, recovery attempts or saved-state guarantees.
**Bound changed-area checkout to its exact comparison trees**
PR3849 run41696049695 timed out after five minutes fetching every branch
and tag before classification. Check out one source tree and fetch only
the exact comparison base with a bounded client; preserve complete
runtime checks when that base is unavailable and retain full-history
secret scanning. Registered smoke controls execute the real workflow
scalars against shallow local Git fixtures, including old bases, narrow
changes and failed or timed-out collection.
Contract-Neutral: Preserves exact-tree classification, required runtime
verdicts, credential scope and full-history secret scanning; only bounds
the admission checkout and comparison-base acquisition.
**Verify MSP TLS before reporting the portal ready**
Require OpenSSL to verify the server certificate and apex hostname
before accepting its exact wildcard SAN. Untrusted, expired,
wrong-purpose and suffix-name certificates must not produce a ready
report. Keep the existing ACME and DNS guidance and describe the
host-local verification accurately.
Add offline behavioural controls through the normal script harness,
using real OpenSSL certificate verification with a confined transport.
This is not production certificate issuance or installed acceptance.
Contract-Neutral: Correct the existing usable-HTTPS readiness predicate;
no new setup inputs, routes, trust overrides or deployment contract.
**Keep docs preflight ahead of comparison acquisition**
The complete containing-source VM run exposed TestCIDocsMirrorPreflight:
the bounded comparison fetch displaced the existing unconditional docs
mirror check from immediately after checkout. Restore that order without
widening the fetch, weakening the mirror check or editing the
human-claimed installer contract tests. Bind the ordering in the
comparison workflow controls.
Contract-Neutral: Preserves the existing unconditional docs mirror gate
and exact-tree CI classification; only restores preflight ordering
before bounded base acquisition.
---
Fleet candidate `20261104T112024Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`9e73ec353e00b0025b72e466b4c337c6974e4745` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)