[Task] Wave 0 admin module preflight, rollback, and audit visibility #1

Closed
opened 2026-07-08 20:41:58 +02:00 by zemion · 1 comment
Owner

Goal

Make Admin > System surfaces explain module/package operations before they run and expose rollback/audit state after they run.

Scope

  • Show installer preflight status, maintenance-mode requirement, package/migration/restart/health checklist, and blockers in the admin module manager.
  • Show the last queued/running/failed installer daemon request and linked run id where available.
  • Surface rollback availability and the operator command path without executing package mutation inside the FastAPI request.
  • Link package/module operations to audit entries and operator-facing diagnostics.

Acceptance Criteria

  • Admin users can tell why an install/uninstall/update is blocked before applying it.
  • Failed or rolled-back module operations show a concise status, run id, and where to inspect details.
  • The UI consumes core/admin APIs instead of duplicating installer logic.
  • The implementation stays module-boundary safe and does not import sibling module internals.
  • Wave 0 platform hardening.
  • govoplan-core install/uninstall and rollback daemon work.
## Goal Make Admin > System surfaces explain module/package operations before they run and expose rollback/audit state after they run. ## Scope - Show installer preflight status, maintenance-mode requirement, package/migration/restart/health checklist, and blockers in the admin module manager. - Show the last queued/running/failed installer daemon request and linked run id where available. - Surface rollback availability and the operator command path without executing package mutation inside the FastAPI request. - Link package/module operations to audit entries and operator-facing diagnostics. ## Acceptance Criteria - Admin users can tell why an install/uninstall/update is blocked before applying it. - Failed or rolled-back module operations show a concise status, run id, and where to inspect details. - The UI consumes core/admin APIs instead of duplicating installer logic. - The implementation stays module-boundary safe and does not import sibling module internals. ## Related - Wave 0 platform hardening. - govoplan-core install/uninstall and rollback daemon work.
Author
Owner

Implemented and verified.

  • Admin module management exposes saved desired state, package install/uninstall plans, preflight blockers, maintenance-mode gating, rendered operator commands, daemon requests, run summaries, trace IDs, and rollback status.
  • Module lifecycle audit details now include compact request/outcome/trace context via audit_operation_context.
  • govoplan-admin/README.md now documents admin lifecycle ownership and the trusted installer handoff.
  • Focused checks: admin routes py-compile and audit/core contract tests passed.
Implemented and verified. - Admin module management exposes saved desired state, package install/uninstall plans, preflight blockers, maintenance-mode gating, rendered operator commands, daemon requests, run summaries, trace IDs, and rollback status. - Module lifecycle audit details now include compact request/outcome/trace context via `audit_operation_context`. - `govoplan-admin/README.md` now documents admin lifecycle ownership and the trusted installer handoff. - Focused checks: admin routes py-compile and audit/core contract tests passed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-admin#1
No description provided.