Accepted packages can't be removed through the control plane #2013

Closed
opened 2026-11-15 13:32:16 +00:00 by sam · 1 comment
Owner

Accepted packages can be added but never removed. There is no DELETE on /api/connectors/{name}, /api/mcp-servers/{name} or /api/secret-engines/{name}, and the connectors store has List and Upsert but no delete, so retiring a package means editing the database and restarting. That breaks "a setting must work end to end, edited through the control plane" for the setting an operator most wants to reverse.

All three kinds share one accepted row, so this covers connectors, MCP servers and secret engines together.

Done when an accepted package can be removed through the control plane, its process stops, its credential bindings go with it, readiness stops reporting it, and the removal is recorded in the audit trail. A secret engine that a stored credential still references is refused with the credentials named, rather than leaving them unresolvable.

Accepted packages can be added but never removed. There is no `DELETE` on `/api/connectors/{name}`, `/api/mcp-servers/{name}` or `/api/secret-engines/{name}`, and the connectors store has `List` and `Upsert` but no delete, so retiring a package means editing the database and restarting. That breaks "a setting must work end to end, edited through the control plane" for the setting an operator most wants to reverse. All three kinds share one accepted row, so this covers connectors, MCP servers and secret engines together. **Done when** an accepted package can be removed through the control plane, its process stops, its credential bindings go with it, readiness stops reporting it, and the removal is recorded in the audit trail. A secret engine that a stored credential still references is refused with the credentials named, rather than leaving them unresolvable.
sam added the bughigh labels 2026-11-15 13:32:16 +00:00
sam added a new dependency 2026-11-15 13:32:23 +00:00
Author
Owner

Done (4e1f1b3c4): DELETE on /api/connectors, /api/mcp-servers, /api/secret-engines (and /api/guards) removes the accepted row with its credential slots, stops the process and clears readiness; a secret engine still referenced by credentials is refused with them named. The removal is recorded as a structured audit log line; there's no audit-trail module yet.

Done (4e1f1b3c4): DELETE on /api/connectors, /api/mcp-servers, /api/secret-engines (and /api/guards) removes the accepted row with its credential slots, stops the process and clears readiness; a secret engine still referenced by credentials is refused with them named. The removal is recorded as a structured audit log line; there's no audit-trail module yet.
sam closed this issue 2026-11-15 18:24:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#2013