Bind plans to their request and decisions/executions to the requested action before writing success JSON. Require explicit allowed/state, preserve replayed and in-flight outcomes, and advise audit inspection rather than blind POST retries.
Contract-Neutral: CLI-only validation of existing action response bindings and required outcome fields; no API schema, authorization, routing or server lifecycle change.
Change-source: pulse-maintainer
Do not invent empty action history or overwrite a missing response identity after a successful HTTP status. Require explicit collections and counts, verify the count and requested action/resource binding, and preserve canonical arrays and legacy null-empty responses. Registered command tests exercise fixed/chunked envelopes, valid output, HTTP refusals and request identity without retries. Positive TLS redirect fixtures return the existing canonical history schema; redirect, bearer and caller-policy assertions stay unchanged.
Contract-Neutral: Enforce existing action history response collections, counts and request identities in CLI reads; preserve valid output, null-empty compatibility, API payloads, grants, filters and execution behavior.
Change-source: pulse-maintainer
The positive same-origin TLS fixture must return the real connections envelope after the CLI stops inventing an empty inventory. Supply an explicit empty array only for the fleet read; keep every redirect, TLS trust, bearer, body, request-count and client-policy assertion unchanged. The two failures at 48d4b1014d remain retained evidence.
Contract-Neutral: Correct only the positive test fixture to the existing connections envelope; no runtime, authority or TLS contract changes.
Change-source: pulse-maintainer
The canonical connections handler emits an explicit array, including [] for an empty scope. The CLI instead converted null or missing inventories into a successful empty fleet. Return a response error before writing JSON and preserve valid empty/populated output, request authority and existing HTTP error handling. Registered command tests cover fixed and chunked HTTP responses, response errors and forward-compatible row fields.
Contract-Neutral: Preserve the existing connections array schema and valid CLI output; reject missing or null inventories instead of inventing an empty fleet.
Change-source: pulse-maintainer
Send passphrase prompts and confirmation diagnostics to stderr, respecting each command's configured diagnostic writer, so a redirected interactive export remains an importable encrypted archive. Exercise confirmation/read failures, silent env and flag paths, and actual interactive export/import with saved scoped access.
Contract-Neutral: Native CLI human passphrase stream correction only; archive encryption and format, command flags, env/flag precedence, terminal password reading, saved formats and authority, HTTP responses and frontend states are unchanged.
Change-source: pulse-maintainer
Propagate rejected, partial and uncertain stdout archive writes and classify a short count without an error as io.ErrShortWrite. Never retry an output that may contain part of the backup. Exercise the native command with failed and successful destinations and retain saved-token/SSO recovery through the unchanged successful archive.
Contract-Neutral: Native CLI stdout write-completion reporting only; successful archive bytes, flags, private file publication, saved formats, grants, routes and web responses or rendered states are unchanged.
Change-source: pulse-maintainer
Publish CLI configuration exports from an exclusively created owner-only file in the selected output directory, after full write, sync and close. Preserve the prior backup on every pre-publication error, report cleanup errors, refuse non-regular final destinations and do not rewrite another hard-linked file. Keep existing encrypted archives, stdout, flags and token/SSO authority unchanged; exercise fault paths and actual CLI recovery.
Contract-Neutral: Native CLI file publication only; command flags, encrypted archive and saved formats, authorization rules, routes, web responses and rendered states remain unchanged.
Change-source: pulse-maintainer
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
Use the existing guarded transport for authenticated fleet reads and action commands. Preserve same-origin proxy paths and caller TLS or stricter policies without duplicating the redirect boundary.
Change-source: pulse-maintainer
Cover every registered authenticated fleet and action command through actual loopback servers, including replayable action bodies and same-origin TLS redirects.
Contract-Neutral: Registered CLI regression tests only; runtime and existing API contracts are unchanged.
Change-source: pulse-maintainer
Dead-code audit batch 1: five functions with zero references from main,
tests, or pulse-enterprise (deadcode -test, grep-verified per symbol,
enterprise compile-checked). Also renames the tlsutil test that
exercised the deleted compat alias's target to name the Unverified
function it actually calls.
Skipped from the audit list after re-verification: IsNilAlertPayload
(live pulse-enterprise consumer in internal/aialertanalysis).
Dead-code sweep. Functions flagged unreachable by golang.org/x/tools/cmd/deadcode
and confirmed unused across pulse, pulse-enterprise, pulse-pro and pulse-mobile by
adversarial cross-repo verification. Cross-module reachability was checked
explicitly (only pkg/ exported symbols are importable by other modules; internal/
packages and _test.go files are not). go build, go vet and test-compile all pass.