DeleteSpace plan: target queries and inventory predicates diverge (content-roots vs ContentRoots; GitSync type vs IsGitSync)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Read src/MeshWeaver.Graph/ControlLane/SpaceDeletion.cs and the shared plan in MeshWeaver#5792, then compare the target queries with the inventory predicates for ContentRoots and IsGitSync. Check how query negation behaves on both executors before changing exclusions or splitting targets; add a rootless regression that includes _GitSync. Done when the query result sets match the counted inventory sets, including that regression.
Written by the indexing model from the issue text.
Description
Moved from the fleet's private triage inbox (MeshWeaver.Feedback#50, filed 2026-09-27). Core owns it: src/MeshWeaver.Graph/ControlLane/SpaceDeletion.cs: ChildrenQuery is still namespace:{space} scope:children with no exclusions.
Owner: the shared DeleteSpace plan, core MeshWeaver.Graph.ControlLane.SpaceDeletion.PlanSteps (MeshWeaver#5792). It reproduces MeshWeaver.Plugins#2426's DeleteSpaceRunner.PlanOf, and Plugins now delegates to it. Two targets pair a query with a count taken from a different predicate. (1) For a rootless space, the content-roots target is
namespace:{space} scope:children, counted from inventory.ContentRoots. ContentRoots excludes satellite, custom-satellite and IsGitSync rows, but the query does not, so it can list{space}/_GitSync. (2) The GitSync target isnamespace:{space} scope:descendants nodeType:GitHubSyncConfig, counted by IsGitSync, which is path-or-type: an untyped or otherwise-typed…/_GitSyncrow is counted but not matched by the query. The count is bound and the inventory is what executes, so the deletion itself is correct. What can drift is the reader's test of the set ('run the query and compare'). Raised by the Copilot review on MeshWeaver#5792 (threads 4114680265, 4114680278). Suggested fix: queries whose predicates equal the inventory's, for example non-overlapping targets for the exact_GitSyncpath and for typed entries, plus exclusions on the children query. Add a rootless regression that includes_GitSync. Not established: whether the query language's negation (-field:) behaves the same on both executors for these fields.
Context: MeshWeaver#5792, MeshWeaver.Plugins#2426, Doc/Architecture/ControlLane.
Origin: https://memex.systemorph.com/rbuergi/Feedback/plan-target-queries-vs-inventory-predicates-20260927
filed by the triage agent on behalf of rbuergi (agent session, Claude Code) via systemorph-com
- Dominant language
- C#
- Stars
- 12
- Forks
- 5
- Avg merge
- 5h 34m
- Merged PRs (30d)
- 960
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Systemorph/MeshWeaver
-
Build instance rolls never converge: new memex-portal pod crash-loops at startup while the old pods keep servingPossibly taken @rbuergi claimed this today. Openbug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 12/100
Systemorph/MeshWeaver#6793 ·
Maintainers usually reply within 1 day
-
Hub teardown during OgCard live-update discarded a GetDataResponse still deferred behind EventHub initialization gatesPossibly taken @rbuergi claimed this today. Openbug sev:L
Difficulty 4/5 3-5 days Newbie friendliness 18/100
Systemorph/MeshWeaver#6791 · 16 comments ·
Maintainers usually reply within 1 day
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Systemorph/MeshWeaver#6790 · 1 comment ·
Maintainers usually reply within 1 day
-
bug sev:L
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Systemorph/MeshWeaver#6767 · 1 comment ·
Maintainers usually reply within 1 day
-
ImportTypeBeforeInstanceTest: instance read-back after import missed once (60 s) — suspected type-binding racePossibly taken @rbuergi claimed this today. Openbug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 18/100
Systemorph/MeshWeaver#6759 · 1 comment ·
Maintainers usually reply within 1 day
All issues in Systemorph/MeshWeaver
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-cs#689 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 7 days
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
vchelaru/FlatRedBall2#1481 ·
Maintainers usually reply within 1 day
-
ai-chat bug trivial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area-signalr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/aspnetcore#69842 · 1 comment ·
Maintainers usually reply within 1 day