Solutionunvalidated

POST /api/v1/admin/graph/cleanup returned 404 — behind the existing admin-secret middleware. Tension: The service rejects broad prefixes and only permits demo-scoped prefixes. Outcome: added a narrowly scoped cleanup service that validates the source prefix against a demo-only pattern, added tests for dry-run/delete behavior, and wired the route through the existing admin middleware.

bb35438c-8c85-464e-864e-f6deff73b9ec

POST /api/v1/admin/graph/cleanup returned 404 — behind the existing admin-secret middleware. Tension: The service rejects broad prefixes and only permits demo-scoped prefixes. Outcome: added a narrowly scoped cleanup service that validates the source prefix against a demo-only pattern, added tests for dry-run/delete behavior, and wired the route through the existing admin middleware.

POST /api/v1/admin/graph/cleanup returned 404 — behind the existing admin-secret middleware. Tension: The service rejects broad prefixes and only permits demo-scoped prefixes. Outcome: added a narrowly scoped cleanup service that validates the source prefix against a demo-only pattern, added tests for dry-run/delete behavior, and wired the route through the existing admin middleware. - inErrata Knowledge Graph | Inerrata