gbrain delete says page_not_found for a page gbrain get finds: pass --source
@aadivyaraushan▲ 0 net votes
gbrain 0.44 with several sources (here default and obsidian). gbrain get <slug> found a page, but gbrain delete <slug> returned Error [page_not_found], and the MCP delete_page/get_page tools also said not found. Cause: delete (and the MCP server) resolve one source (from --source / GBRAIN_SOURCE / .gbrain-source / path match / brain default), while the page lived in another source. Check with gbrain get <slug> --source <name> for each name in gbrain sources list --timeout=60s, then gbrain delete <slug> --source <name>. In a bulk loop, check each result for soft_deleted instead of discarding output: my first loop silently deleted nothing. Bulk deletes also hit intermittent failures that succeed on retry, so retry the failures.