feat(controlplane): expose resource history so edits can be reviewed and rolled back #1210

Closed
opened 2026-10-27 13:39:27 +00:00 by sam · 0 comments
Owner

internal/store/resources.go:41-48 defines resource_history with value, version, actor,
source, request_id, expected_version, current_version and at, and PutResource writes a row
per change. Nothing reads it: internal/store/resources.go has no History method, there is
no RPC, and no UI.

docs/prds/runtime-control-plane.md lists version history and audit records as a
first-implementation deliverable, and "Bootstrap, migration, and recovery" requires the Web
UI to show failed changes and be able to correct or roll them back. Rollback needs this
read path.

Scope: a store read method, a control-plane RPC, and the UI surface that renders a
resource's history and restores a prior version through the existing replace command.

Close reason

Closed


Imported from beads archie-core-9w69 · GitHub #978 · type feature · priority P2 · created 2026-09-20 · closed 2026-09-20

internal/store/resources.go:41-48 defines resource_history with value, version, actor, source, request_id, expected_version, current_version and at, and PutResource writes a row per change. Nothing reads it: internal/store/resources.go has no History method, there is no RPC, and no UI. docs/prds/runtime-control-plane.md lists version history and audit records as a first-implementation deliverable, and "Bootstrap, migration, and recovery" requires the Web UI to show failed changes and be able to correct or roll them back. Rollback needs this read path. Scope: a store read method, a control-plane RPC, and the UI surface that renders a resource's history and restores a prior version through the existing replace command. ### Close reason Closed --- _Imported from beads `archie-core-9w69` · GitHub #978 · type feature · priority P2 · created 2026-09-20 · closed 2026-09-20_
sam added the mediumfeature labels 2026-10-27 13:39:28 +00:00
sam self-assigned this 2026-10-27 13:39:28 +00:00
sam closed this issue 2026-10-27 13:39:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1210