Commit Graph

12 Commits

Author SHA1 Message Date
rcourtman
ab9b970db5 Classify release-note image reads in the route audit
Mark the published screenshot endpoint as a non-mutating update route.
Keep the closed route inventory aligned with the registered handler.
2026-10-15 12:02:48 +01:00
rcourtman
72bfeee246 Let a paid community install switch to the Pro runtime
A paid key activated on the public community build unlocks only the
licence-gated features compiled into that build. Patrol modes, container
update risk, Audit, RBAC and Reporting need the private Pulse Pro
runtime, and the only way to get it was the download portal. Licence
data from 14 October shows 6 of 36 v6 buyers and 39 of 109 migrated v5
licences still running only the community build.

GET /api/updates/pro-runtime reports whether this install can switch,
and POST /api/updates/pro-runtime/apply performs it. The license server
download broker decides eligibility from the activation's licence, the
same broker the Pro binary already updates from, so a refusal there
reads as not_eligible and any other failure as unavailable. Without an
activation the check answers not_activated without a network call.

The in-place switch is limited to systemd and Proxmox LXC installs. It
runs through ApplyUpdate with an explicit SwitchToProRuntime flag, so
ordinary community updates never take the broker path. It accepts the
Pro build of the running version or newer, refuses an older pin, and
keeps the signed-archive, hash, self-test, backup and history-rollback
steps of a normal update. Docker installs get the broker's
digest-pinned image commands instead. The Settings card that uses these
routes follows separately.
2026-10-14 18:20:02 +01:00
pulse-triage[bot]
b001ad8ef1 Classify Proxmox guest lifecycle transport 2026-08-30 01:51:58 +01:00
rcourtman
6163a2a564 feat(patrol): verify Docker actions independently 2026-08-27 20:14:38 +01:00
rcourtman
7da385cf28 Prepare v6.3.0-rc.4 release 2026-08-21 00:00:37 +01:00
rcourtman
ff8479157f Restore green main after Patrol preflight lane
Classify the action preflight transport pair in the runtime surface audit:
action_preflight is a non-admitting read-only feasibility query per the
agent-lifecycle contract, its result is a plain operation result. Route
patrolRuntimeCanonicalStatuses through ReadState only, deriving providers
when absent, instead of the direct state fallback banned by SRC-04b.

Contract-Neutral: behavioral CI fix: classify existing action_preflight transport constants per documented agent-lifecycle contract and route patrol observer statuses through ReadState; no wire or payload delta
2026-08-14 06:19:15 +01:00
rcourtman
0928071b9a fix(actions): gate approvals on live readiness 2026-08-07 17:03:10 +01:00
courtmanr@gmail.com
8aac88588c Classify the action force-fail route in the mutation registry (#1649)
The Canonical Governance mutation registry audit scans the real router
sources and fails closed on any infrastructure route it cannot resolve to
a registry disposition, so the new POST /api/actions/{id}/force-fail
route broke the audit on main. Register it as the lifecycle entry
action.api.force-fail, executed by internal/actionlifecycle.Service.ForceFail
under the same execute_action capability, admin approval floor, and
committed-lifecycle delivery as execute, and classify the route in the
runtime surface catalogue.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 12:33:49 +01:00
rcourtman
3c778e2b26 Restore one-click Docker container updates through the typed action plane
v6.1.0-rc.1 retired the legacy update endpoints before a replacement
existed, so the UI's Update button failed with an internal-jargon 410
(issue #1564). This lands the replacement end to end: update_container
is a typed agentexec operation with its own strict codec, durable
receipts, and a request digest bound to the image digest the plan
observed; the unified agent bridges execution to the Docker module's
existing pull/backup/recreate/verify/rollback implementation (which now
reports rollback attempt and outcome); and the container action
executor plans, dispatches, and reconciles the operation with declared
backup/rollback compensation truth. Containers advertise an
admin-approval update capability while an image update with a stated
current digest is detected. The legacy endpoints stay retired but
return actionable copy.

Proven live against a Colima daemon: single-container update, the
issue-1564 shared-network-namespace update, and the full UI journey
(Update button, governed review, approve, run) all completed with the
namespace preserved and the backup retained.
2026-07-14 12:19:04 +01:00
rcourtman
71a3b6ebcd Restore release-blocking backend contracts 2026-07-13 21:51:33 +01:00
rcourtman
c07927adbd Classify action routes and operation transports 2026-07-12 13:55:19 +01:00
rcourtman
f510b99095 Enforce the canonical mutation plane 2026-07-11 15:19:41 +01:00