Commit Graph

8891 Commits

Author SHA1 Message Date
rcourtman
edb3cbeea8 Batch raw metric samples for a minute between commits (#4198)
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.
2026-11-10 01:51:30 +00:00
rcourtman
bd29e392ca Batch raw metric samples for a minute between commits
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.
2026-11-10 01:08:26 +00:00
rcourtman
6d94add7c9 Tighten the AI read-only command path
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.
2026-11-10 01:00:53 +00:00
rcourtman
e9198b0213 Limit agent-token auto-register to the token's recorded source
/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
2026-11-09 21:11:23 +00:00
rcourtman
c5f739ba41 Fail the monitor stop when the continuity flush fails
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.
2026-11-09 20:42:51 +00:00
rcourtman
707ee43fca Stop rewriting the host continuity journal on every report
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.
2026-11-09 20:34:08 +00:00
pulse-triage[bot]
da431c1c20 Persist single-use command consumption before granting dispatch
Close the deferred-save process-restart gap with a synchronous approval publication barrier serialized against normal saves. Refuse command authority on a failed encode or write and retain the conservative spent local decision without exposing storage paths.

Recheck expiry and request cancellation after the persistence barrier. Exercise no-Flush reload, unchanged saved bytes, in-memory compatibility, the real saved verifier and synthetic signed agent transport, and zero-grant cancellation/deadline exits.

Change-source: pulse-maintainer
2026-11-09 15:52:54 +00:00
pulse-triage[bot]
69fc2ab5f3 Compose saved-approval preservation beside the saved-key repair
The substantive Web return 2d7bc22c now supplies the preserving actual-Patrol-page layout and comparable captures. Retain the accepted native backend proof and original source history; independent page/source acceptance and containing CI remain required.

Change-source: pulse-maintainer
2026-11-09 14:44:23 +00:00
pulse-triage[bot]
668b7866c9 Compose reviewed key and billing preservation repair on current main
Retain the original candidate history after PR 4175 containing CI identified a stale migration assertion. The following repair will validate the v5 saved-file boundary, not weaken the key-preservation behavior.

Change-source: pulse-maintainer
2026-11-09 14:42:56 +00:00
pulse-triage[bot]
9091eb90f2 Preserve saved billing secrets when encryption is unavailable
Complete the invalid-key preservation repair at its file-backed lease consumer. Refuse unknown crypto reads and failed secret encryption without dropping, migrating or publishing reduced authority. Update a caller's normalized state and integrity only after the private file commits.

Prove default and per-organization encrypted/legacy read and save refusal, exact-byte preservation and recovery with the original key. Keep legitimate plaintext migration and no-secret first-run compatibility, and pin caller preservation on ordinary publication failure.

Change-source: pulse-maintainer
2026-11-09 13:13:36 +00:00
pulse-triage[bot]
a82106a579 Refuse to replace invalid saved encryption keys
Treat corrupt primary and corrupt or unreadable legacy key material as existing authority, not a request for migration or first-run replacement. Preserve exact key and saved-state bytes, return actionable non-secret errors, and keep valid-key reuse, clean first run and valid legacy migration intact.

Exercise real bootstrap, configuration and CLI consumers through refusal and explicit original-key restoration. Update the at-rest key contract and retain synthetic baseline failures as evidence.

Change-source: pulse-maintainer
2026-11-09 12:52:57 +00:00
pulse-triage[bot]
c489ba5cec Verify saved-role identities without clipping existing phone controls
Record final desktop and phone light/dark consuming proof, including the three-permission editor comparison that rejected the first spacing. All previously visible controls remain visible. Bind exact final source, retain the bounded bundle cost and adverse results, and distinguish full-suite proof before presentation-only changes from final affected/static/build validation.

Change-source: pulse-maintainer
2026-11-09 12:51:08 +00:00
pulse-triage[bot]
fcc36a92a0 Bind saved-role browser proof and its bounded bundle allowance
Retain complete role identities and existing controls in comparable desktop and phone states. The User Access chunk measures 7130 gzip bytes against the old 6813-byte cap. Declare only a 320-byte reference allowance (5924 to 6244; new cap 7181), not a reset to the measured size. Keep the 15% tolerance, every other chunk, totals and preload integrity unchanged. Native browser proof covers actual encoded decisions and preserved saved assignments; normal independent review still applies.

Change-source: pulse-maintainer
2026-11-09 12:31:30 +00:00
pulse-triage[bot]
56a6d58834 Keep saved role identities visible through access decisions
Distinguish namesake grants, confirmations and uncertain outcomes by their existing saved IDs. Preserve individual permissions, read-only roles and unlisted saved assignments without changing mutation authority; exercise the native panels and real client transport.

Change-source: pulse-maintainer
2026-11-09 11:37:25 +00:00
pulse-triage[bot]
85349e8557 Preserve saved approval data when initialization cannot read it
Stage both persisted sources before migrations, refuse unreadable or invalid JSON without a writable store, and distinguish failed initialization from intentional teardown. Keep legacy shapes and command admission intact while letting the existing Patrol handoff show unknown or last-known state.

The approval persistence and list-readiness delta is documented and tested in ai-runtime, api-contracts and security-privacy. Broad internal/api references do not change the agent lifecycle or storage recovery interface, protocol, schema or deployment behaviour.

Contract-Neutral: Approval load/list-readiness contracts and executable proof are updated in ai-runtime, api-contracts and security-privacy; dependent agent-lifecycle and storage-recovery interfaces, protocols, schemas and deployment behaviour are unchanged.
Change-source: pulse-maintainer
2026-11-09 11:36:04 +00:00
pulse-triage[bot]
23666df47d Distinguish unavailable approval reads from empty Patrol queues (#4171)
**Distinguish unavailable approval reads from empty Patrol queues**

Retain and label last-known approvals until a successful refresh,
without inferring action recovery from a failed read. Coalesce
same-context reads and fence late replies after organization switches
while preserving findings, expiry and review navigation. Add source
regressions and the Patrol display contract; browser proof follows
against this committed source.

Contract-Neutral: Restore existing Patrol read-failure truthfulness and
organization isolation; no API, shared frontend primitive, action
authority, route or permission contract changes. The owning Patrol
contract and executable regressions clarify the existing behavior.

**Bind Patrol workflow wiring proof to approval read freshness**

Update the existing source-wiring assertion for the availability
argument exercised by the new store and rendered regressions. Preserve
the failed containing-suite result; product source is unchanged by this
test-only correction.

**Keep finding titles visible beside unavailable approval handoffs**

Wrap only failed-read handoff labels to keep their new freshness and
recovery distinctions from stealing the finding title on phones. Normal
labels, authority, counts and navigation are unchanged.

Contract-Neutral: Preserve the existing at-a-glance finding information
during the approval display repair; only unavailable-state label
wrapping changes, with no API, action, shared primitive, route or
permission contract delta.

**Record comparable native approval-read browser proof**

Bind final desktop and phone light/dark failure, last-known, retry,
empty and recovered states to the containing source. Retain complete
finding titles and approval details; record exact source-suite and
presentation-only validation limits.

**Quote the retained approval warning assertion**

Correct the integration-only test transcription before final containing
validation; production source and reviewed browser content are
unchanged.

---
Fleet candidate `20261109T090011Z-web-product` from the `web-product`
lane. Reviewed tip `a79eaed2b0ba43993545816275594c019fdd20a6` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 11:14:05 +00:00
pulse-triage[bot]
6c55e152ff Compose reviewed approval display with published main
Retain both exact histories, including published request-organization guards and their evidence. Resolve the overlapping banner to Web's byte-identical browser-verified runtime and preserve both regression sets with the updated unavailable copy. No new frontend runtime content is introduced by resolution.

Contract-Neutral: Composition preserves the existing approval API, route, auth and permission contracts; the only resolution is receipt-covered display content and combined regression assertions.
Change-source: pulse-maintainer
2026-11-09 10:48:51 +00:00
pulse-triage[bot]
e10a9d0ec6 Keep approval decisions isolated from concurrent readers and saves
Own approval inputs and return complete detached snapshots to readers, decision consumers and callbacks without changing wire shapes or access rules. Serialize locked encoding through private atomic publication so delayed and shutdown saves cannot race live decisions or overwrite newer snapshots. Exercise ownership, native HTTP encoding, persistence and existing authorization consumers; repair fixtures that previously mutated shared state through result pointers.

Change-source: pulse-maintainer
2026-11-09 09:47:27 +00:00
pulse-triage[bot]
903bff7b5c Distinguish unavailable approval reads from empty Patrol queues
Retain and label last-known approvals until a successful refresh, without inferring action recovery from a failed read. Coalesce same-context reads and fence late replies after organization switches while preserving findings, expiry and review navigation. Add source regressions and the Patrol display contract; browser proof follows against this committed source.

Change-source: pulse-maintainer
Contract-Neutral: Restore existing Patrol read-failure truthfulness and organization isolation; no API, shared frontend primitive, action authority, route or permission contract changes. The owning Patrol contract and executable regressions clarify the existing behavior.
2026-11-09 09:23:20 +00:00
pulse-triage[bot]
bfaefd5bab Keep approval request organisation identity exact (#4168)
**Keep approval request organisation identity exact**

Reject unavailable blank or padded selected context before any
approval-store acquisition, including the empty-store list path.
Preserve historical single-tenant defaults, opaque tenant IDs, legacy
record membership and the independent review, mobile and licence gates.
Cover read, decision, withheld-delegation and corrected-context
compatibility with inert approval fixtures.

Contract-Neutral: Restore existing approval organization isolation for
damaged request context; valid response shapes, tenant defaults, record
storage, scopes and extension interfaces are unchanged.

**Remove an unused approval fixture binding**

Keep the exact-ID compatibility assertions compilable after replacing
derived record expectations with independent fixed IDs.

**Show unavailable approval reads without hiding known requests**

Distinguish a failed cold read from no waiting approvals in Patrol.
Qualify last known requests during a failed refresh, preserve their
existing review links and clear the notice after a corrected read. Cover
cold, retained and recovered states without adding decision controls or
displaying raw server errors.

Contract-Neutral: Render the existing approval-store error and retain
the unchanged handoff; API shapes, authority, routing, saved state and
execution interfaces do not change.

**Record native approval-read and Patrol consumer comparison**

Bind the verified banner content to its exact source parent. Retain the
native response fixture, production consumer build, desktop/light and
phone/dark comparisons, unavailable and retained states, corrected reads
and keyboard Actions handoffs with explicit fixture and operational
limits.

Contract-Neutral: Browser evidence only; no additional product behavior
or source changes.

---
Fleet candidate `20261109T074013Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `d182b5987bd0ec4f944379bdd5a6d5d2d38b87e2` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 09:21:12 +00:00
pulse-triage[bot]
44f4bbe448 Keep organization member identities and controls visible on phones (#4166)
Wrap complete saved member IDs beside their individual roles and removal
controls without changing desktop details, authority or request
ownership. Exercise long suffix-distinct identities through the
configured real-client selection tests and retain comparable
writable/read-only browser proof.

Contract-Neutral: Responsive wrapping and touch-target correction only;
every existing member field, role option, action, route, payload, reader
fence and authority rule is unchanged. The contract documents the
existing information-preservation guarantee and real-client tests retain
exact saved-key behavior.

---
Fleet candidate `20261109T072338Z-web-product` from the `web-product`
lane. Reviewed tip `f034c1b545136b06a6421e44c2f295f737aa5311` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 08:36:06 +00:00
pulse-triage[bot]
29f074634f Show unavailable approval reads without hiding known requests
Distinguish a failed cold read from no waiting approvals in Patrol. Qualify last known requests during a failed refresh, preserve their existing review links and clear the notice after a corrected read. Cover cold, retained and recovered states without adding decision controls or displaying raw server errors.

Contract-Neutral: Render the existing approval-store error and retain the unchanged handoff; API shapes, authority, routing, saved state and execution interfaces do not change.
Change-source: pulse-maintainer
2026-11-09 08:04:23 +00:00
pulse-triage[bot]
7fb1d676df Compose approval request identity repair on current main
Preserve both the landed SAML and credential-setup boundaries and the imported exact approval request-identity boundary. Handler and test bodies are unchanged from the native-validated candidate.

Contract-Neutral: Compose the retained approval identity repair without further runtime changes; valid response shapes, scopes, saved state and extension interfaces remain unchanged.
Change-source: pulse-maintainer
2026-11-09 08:03:32 +00:00
pulse-triage[bot]
f034c1b545 Keep organization member identities and controls visible on phones
Wrap complete saved member IDs beside their individual roles and removal controls without changing desktop details, authority or request ownership. Exercise long suffix-distinct identities through the configured real-client selection tests and retain comparable writable/read-only browser proof.

Contract-Neutral: Responsive wrapping and touch-target correction only; every existing member field, role option, action, route, payload, reader fence and authority rule is unchanged. The contract documents the existing information-preservation guarantee and real-client tests retain exact saved-key behavior.
Change-source: pulse-maintainer
2026-11-09 07:42:34 +00:00
pulse-triage[bot]
e1e70c72e2 Fence SAML callbacks against saved provider withdrawal (#4163)
**Fence SAML callbacks against saved provider withdrawal**

Share the existing per-provider SSO publication revision and
local-effects fence with native SAML. Refuse stale initialized verifier
configuration, keep body/signature work outside the fence, and preserve
valid saved policy, failed saves and explicit IdP-initiated behavior.
Cover signed native callbacks, old-session/role/identity preservation
and local commit ordering.

Contract-Neutral: Restore saved-provider withdrawal during native SAML
callbacks without changing routes, payloads, credentials, grants,
verifier requirements or extension APIs.

**Correct SAML callback regression fixture compilation**

Remove an unused test import found by exact-source compilation and
describe the identity recorder as method-call evidence rather than
stored metadata. Keep callback operations and production behavior
unchanged.

Contract-Neutral: Test-only compilation and evidence-description repair;
no runtime, API, trust or grant change.

---
Fleet candidate `20261109T063211Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `3a1dc8f10c4fcdf5fb097894c489aef5b0ae9994` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 07:35:55 +00:00
pulse-triage[bot]
877c89c8ea Keep saved user identities visible through access decisions (#4162)
**Keep saved user identities visible through access decisions**

Disambiguate namesake users by their existing exact saved usernames in
inventory, editing, removal and feedback. Keep every role and action
readable on phones without widening the table; retain request ownership,
session/IdP warnings and no-retry semantics.

Verify native desktop and phone light/dark interactions with comparable
captures, exact encoded RBAC writes, withdrawal and namesake regression
tests. Record the organization-settings contract and source-bound
browser receipt.

**Bind existing User Access proofs to distinct saved identities**

Keep the full real-transport, CSRF, capability-withdrawal, saved-grant
and reader-lifetime assertions. Replace display-name-only test selectors
and completion copy with exact fixture usernames, and assert the
selected principal remains readable in editors and confirmations.

Contract-Neutral: Test-only consumer expectations for the preceding
namesake identity repair; production source, browser-covered content and
subsystem contracts are unchanged.

---
Fleet candidate `20261109T054548Z-web-product` from the `web-product`
lane. Reviewed tip `d30b6884363ed2b8d52326c3916b1924bc32416a` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 07:15:34 +00:00
pulse-triage[bot]
3a1dc8f10c Compose native SAML callback withdrawal repair on current main
Retain the previously validated SAML implementation and tests unchanged for the production Login comparison. Preserve current main credential recovery and bounded SSO metadata normalization; resolve only the adjacent contract-section insertion.

Contract-Neutral: Compose the existing SAML withdrawal repair without changing its validated runtime behavior, routes, grants or frontend source.
Change-source: pulse-maintainer
2026-11-09 06:43:53 +00:00
pulse-triage[bot]
facedb8e6d Bound SSO identity normalization to its retained prefix (#4160)
**Bound SSO identity normalization to its retained prefix**

Avoid converting complete external presentation claims to rune slices
when only a bounded prefix is stored. Preserve exact normalization
output and durable principals/roles; exercise reference equivalence,
malformed Unicode boundaries, file-backed identity reload, fuzzing and a
real allocation budget with paired benchmarks.

Contract-Neutral: Allocation-only optimization preserves normalized
metadata bytes, principals, grants, persistence schemas, routes and wire
formats.

**Avoid concurrent security contract insertion conflict**

Move the SSO allocation paragraph unchanged to the end of the contract
so it composes with published main's credential-rotation documentation.
Preserve the exact reviewed production and test blobs from
2f86f32d99.

Contract-Neutral: Documentation placement only; no implementation or
contract behavior changes.

---
Fleet candidate `20261109T053131Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `c52402e73bbb2c1b7e704858542a609484a8bc0d` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 06:19:05 +00:00
pulse-triage[bot]
c84081d39d Keep saved user identities visible through access decisions
Disambiguate namesake users by their existing exact saved usernames in inventory, editing, removal and feedback. Keep every role and action readable on phones without widening the table; retain request ownership, session/IdP warnings and no-retry semantics.

Verify native desktop and phone light/dark interactions with comparable captures, exact encoded RBAC writes, withdrawal and namesake regression tests. Record the organization-settings contract and source-bound browser receipt.

Change-source: pulse-maintainer
2026-11-09 06:00:50 +00:00
pulse-triage[bot]
4f67734423 Release v6.8.0 (#4159)
Release preparation for `v6.8.0`. After this merges, the release
workflow runs at this exact head
`adb09f4e377717c8236fb9b205110c188f37d874`.
2026-11-09 05:53:29 +00:00
pulse-triage[bot]
c52402e73b Avoid concurrent security contract insertion conflict
Move the SSO allocation paragraph unchanged to the end of the contract so it composes with published main's credential-rotation documentation. Preserve the exact reviewed production and test blobs from 2f86f32d99.

Contract-Neutral: Documentation placement only; no implementation or contract behavior changes.
Change-source: pulse-maintainer
2026-11-09 05:50:16 +00:00
pulse-triage[bot]
2f86f32d99 Bound SSO identity normalization to its retained prefix
Avoid converting complete external presentation claims to rune slices when only a bounded prefix is stored. Preserve exact normalization output and durable principals/roles; exercise reference equivalence, malformed Unicode boundaries, file-backed identity reload, fuzzing and a real allocation budget with paired benchmarks.

Contract-Neutral: Allocation-only optimization preserves normalized metadata bytes, principals, grants, persistence schemas, routes and wire formats.
Change-source: pulse-maintainer
2026-11-09 05:36:15 +00:00
pulse-triage[bot]
adb09f4e37 Prepare v6.8.0
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
2026-11-09 05:23:08 +00:00
pulse-triage[bot]
3cdc8ab80c Keep approval request organisation identity exact
Reject unavailable blank or padded selected context before any approval-store acquisition, including the empty-store list path. Preserve historical single-tenant defaults, opaque tenant IDs, legacy record membership and the independent review, mobile and licence gates. Cover read, decision, withheld-delegation and corrected-context compatibility with inert approval fixtures.

Change-source: pulse-maintainer
Contract-Neutral: Restore existing approval organization isolation for damaged request context; valid response shapes, tenant defaults, record storage, scopes and extension interfaces are unchanged.
2026-11-09 05:01:55 +00:00
pulse-triage[bot]
f3360dedd1 Compose reviewed credential rotation repair onto current main
Change-source: pulse-maintainer
2026-11-09 04:21:47 +00:00
pulse-triage[bot]
bd16be0fa0 Fence SAML callbacks against saved provider withdrawal
Share the existing per-provider SSO publication revision and local-effects fence with native SAML. Refuse stale initialized verifier configuration, keep body/signature work outside the fence, and preserve valid saved policy, failed saves and explicit IdP-initiated behavior. Cover signed native callbacks, old-session/role/identity preservation and local commit ordering.

Contract-Neutral: Restore saved-provider withdrawal during native SAML callbacks without changing routes, payloads, credentials, grants, verifier requirements or extension APIs.
Change-source: pulse-maintainer
2026-11-09 04:15:19 +00:00
pulse-triage[bot]
e44a175f72 Fence OIDC callbacks against saved provider withdrawal (#4154)
**Fence OIDC callbacks against saved provider withdrawal**

Bind each native callback to the provider policy admitted before token
and key retrieval. Order final local role, identity and session effects
against successful saved-policy publication, including disable/re-enable
and policy reversion. Preserve presentation-only edits, independent
providers, failed saves and all verifier checks.

Contract-Neutral: Restore current saved-provider withdrawal semantics
for in-flight OIDC callbacks without changing routes, payloads,
credentials, permissions, trust policy or extension interfaces.

**Keep callback withdrawal repair within the tracked OIDC
implementation**

Containing API shards correctly rejected the newly split paid-domain
helper. Move its unchanged declarations into the existing tracked OIDC
handler instead of adding an exemption or raising the file ceiling.
Cover the rejected helper and prefix in the real boundary classifier
fixtures; keep import checks and both audits unchanged.

Contract-Neutral: File-layout and boundary regression repair only;
callback behavior, routes, credentials, grants, verifier checks and
extension interfaces remain unchanged from the retained withdrawal
candidate.

---
Fleet candidate `20261109T014024Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `94394e47836cd2ba721ee6e98cb773828d334972` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 03:58:03 +00:00
pulse-triage[bot]
876af2d288 Keep credential rotation owned and recoverable after uncertain results
Bind existing setup and rotation writes to their admitted reader and organisation, without replay. Retain attempted credentials after uncertain partial-save outcomes and explain immediate all-token replacement. Preserve normal bootstrap and server authorization behavior.

Contract-Neutral: Authentication controls retain their existing Settings shell framing; the pending/ownership fix changes no shared primitive contract. Only an org-bound, non-replayed quick-setup confirmation owns its 401; ordinary bootstrap handling, HTTP payloads, server authority, paid tenancy and entitlements are unchanged. Security lifetime is documented and verified by QuickSecuritySetup.transport.test.tsx using the real SecurityAuthPanel/status/API client and actual presentation tests; the older exact shell/security proof selectors do not name that transport suite.
Change-source: pulse-maintainer
2026-11-09 03:07:26 +00:00
pulse-triage[bot]
c3aa0ff065 Compose retained OIDC callback fix with current main
Retain both the current authentication-refresh contract and the callback-withdrawal contract. No frontend merge resolution or callback behavior change.

Change-source: pulse-maintainer
2026-11-09 01:42:49 +00:00
pulse-triage[bot]
6cff11ce1e Bind password changes to their admitted settings reader
Keep same-reader drafts disabled during access refresh, withdraw old credentials and pending effects on context changes, and retain explicit refused or unknown outcomes without replay. Preserve current password verification and server authority; keep accepted changes on their existing sign-in reload path.

Contract-Neutral: Settings shell files only pass the existing status/loading and distinct accepted-change callback into the password dialog; no framing contract changes. The API client exempts only the existing password route from local 401 redirect handling, with no HTTP payload, server authorization, paid tenancy or entitlement change. Password-reader lifetime is documented in security-privacy and exercised through real dialog/API bindings.
Change-source: pulse-maintainer
2026-11-09 01:41:32 +00:00
pulse-triage[bot]
c72af67822 Preserve owned authentication drafts across status refreshes
Keep the admitted Authentication snapshot visible but disabled during a status read, instead of blanking the panel and silently resetting custom credential choices. Close forms on changed reader facts, management withdrawal or organisation changes; keep missing status unknown and the Settings failure gate intact. Add real toggle/status transport coverage and paired desktop/phone browser proof.

Contract-Neutral: Repair Authentication consumer refresh and draft lifetime under unchanged auth/API and Settings-shell contracts; no shared primitive, route, request or permission changes. Security lifecycle documentation and executable transport coverage accompany the fix.
Change-source: pulse-maintainer
2026-11-09 00:33:22 +00:00
pulse-triage[bot]
96162f2437 Fence OIDC callbacks against saved provider withdrawal
Bind each native callback to the provider policy admitted before token and key retrieval. Order final local role, identity and session effects against successful saved-policy publication, including disable/re-enable and policy reversion. Preserve presentation-only edits, independent providers, failed saves and all verifier checks.

Contract-Neutral: Restore current saved-provider withdrawal semantics for in-flight OIDC callbacks without changing routes, payloads, credentials, permissions, trust policy or extension interfaces.
Change-source: pulse-maintainer
2026-11-09 00:22:09 +00:00
pulse-triage[bot]
946dabba48 Keep API token identity clear through inventory actions (#4147)
**Keep API token identity clear through inventory actions**

Name repeated actions and dialogs with the saved name and existing
masked hint, retaining the visible hint beside each dialog heading
without growing inventory cards or changing writes. Cover namesakes,
cancelled drafts, focus and exact selected-ID transport; preserve server
authority and all context-withdrawal checks. Browser captures are
complete; final pixel review and committed-source validation remain
pending.

**Verify masked token identity through the consuming API Access panel**

Record the parent-bound Chromium/WebKit browser proof and 22 inspected
before/after pairs for the unchanged three runtime files. Update the
remaining sibling-control expectation to exact identity-aware names and
assert refreshed labels after a confirmed rename. The initial
exact-source suite exposed that outdated expectation; its failure is
retained and corrected-source validation follows.

**Use Testing Library's exact role-name matching for token identity
tests**

Remove unsupported Playwright-only exact options from the registered
transport tests. Testing Library string role names already match
exactly, so the same full identity assertions and selected-ID controls
remain unchanged. The runtime and completed browser proof are unchanged;
retain the typed-check failure and rerun final validation on this
source.

---
Fleet candidate `20261108T232026Z-web-product` from the `web-product`
lane. Reviewed tip `e1a9a6b3f08837c64f30aad6cf1331cf451379ba` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-09 00:17:29 +00:00
pulse-triage[bot]
77a1637eab Fence OIDC discovery at provider lifecycle resets (#4146)
Invalidate in-flight discovery before explicit management initialization
or removal. A late native or management completion must not republish
withdrawn services or evict the newer client's pending login. Keep
matching native initialization reuse, failure retention and all existing
verifier checks.

Contract-Neutral: Restore existing OIDC management/removal semantics
without changing routes, payloads, credentials, grants, trust policy or
extension interfaces.

---
Fleet candidate `20261108T225857Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `ea8bbed82cbd111106aae47ea01c7264da7c2a54` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-08 23:50:08 +00:00
pulse-triage[bot]
d587c53ffc Keep API token identity clear through inventory actions
Name repeated actions and dialogs with the saved name and existing masked hint, retaining the visible hint beside each dialog heading without growing inventory cards or changing writes. Cover namesakes, cancelled drafts, focus and exact selected-ID transport; preserve server authority and all context-withdrawal checks. Browser captures are complete; final pixel review and committed-source validation remain pending.

Change-source: pulse-maintainer
2026-11-08 23:32:09 +00:00
pulse-triage[bot]
ea8bbed82c Fence OIDC discovery at provider lifecycle resets
Invalidate in-flight discovery before explicit management initialization or removal. A late native or management completion must not republish withdrawn services or evict the newer client's pending login. Keep matching native initialization reuse, failure retention and all existing verifier checks.

Contract-Neutral: Restore existing OIDC management/removal semantics without changing routes, payloads, credentials, grants, trust policy or extension interfaces.
Change-source: pulse-maintainer
2026-11-08 23:09:10 +00:00
pulse-triage[bot]
196b7e6935 Show saved API token expiry without implying active access
Display explicit UTC expiry and elapsed, absent or unreadable lifetime in both existing inventories. Keep grants and server enforcement unchanged, and exercise the real inventory transport and shared clock. Browser capability returned unavailable; comparable browser and pixel proof remains required before review.

Change-source: pulse-maintainer
2026-11-08 21:27:47 +00:00
pulse-triage[bot]
50e5b16a76 Align SSO setup registration URLs with native sign-in
Use the same callback precedence for displayed OIDC registration and both authorization and exchange. Build SAML setup and native endpoints together, and derive no-base HTTP endpoints on request-local SP copies without rebinding shared authority or losing browser/session request state.

Contract-Neutral: Correct existing SSO endpoint agreement without changing routes, response shapes, grants, agent lifecycle or storage recovery; clarify the existing authentication contract and extend its executable proof.
Change-source: pulse-maintainer
2026-11-08 18:03:23 +00:00
pulse-triage[bot]
b64022db20 Keep account withdrawal off shared session attribution locks
Withdraw tracking and both live session/CSRF sets before synchronous persistence, then release the shared username lock while each store saves a fresh serialized snapshot. Select cold session attribution under the same live boundary. Cover real storage stalls, registered request admission and rejection, concurrent eviction, no-match saves, restart and failed-write recovery.

Contract-Neutral: Separate live session withdrawal from disk persistence without changing public authentication or CSRF policy, principal identity, expiry, retention rules, routes, wire format or storage schema. Existing API and security contracts record the internal ordering and remaining limits.
Change-source: pulse-maintainer
2026-11-08 16:34:41 +00:00
pulse-triage[bot]
809b1615ed Keep CSRF validation responsive during token persistence
Select detached token values only after serializing saves, then release the
validation and withdrawal mutex before filesystem work. Keep mutators
synchronous and make nonempty no-match revocations reach the same persistence
boundary. Cover real disk stalls, registered authenticated requests, complete
token-set withdrawal, restart, concurrent replacement and write-failure recovery.

Contract-Neutral: Isolate CSRF persistence lock ownership without changing the public authentication or revocation policy, token format, expiry, retention bound, agent lifecycle or storage schema. API and security contracts document the internal ordering and remaining isolation limits.
Change-source: pulse-maintainer
2026-11-08 15:29:43 +00:00