Fix resource removal guard to respect linked children #7004

Merged
HAL9000 merged 1 commits from fix/resource-removal-children-check-6886 into master 2026-05-31 18:52:41 +00:00
+5
View File
@@ -1059,6 +1059,11 @@ iteration` and data corruption under concurrent plan execution. All public
subgraph compilation with `actor_ref` fields and Robot Framework integration tests
verifying that `subgraph_refs` is correctly populated after compilation.
- **Resource Removal Guard** (#6886): Fixed `agents resource remove` silently deleting
parent resources that still have linked children. The guard now queries
`ResourceLinkModel` (the active DAG link table) instead of the legacy
`ResourceEdgeModel`, so the child-link check correctly blocks deletion.
---