Community diagnostic prompt for actionable CBM bug reports #1612
Today20092
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Community diagnostic prompt for actionable CBM bug reports
Codebase Memory MCP provides useful logs and an opt-in diagnostics trajectory, but collecting the right evidence—in the right order—can still be difficult when the server hangs, leaks memory, fails during startup, or carries a large stale cache.
I used an AI-assisted workflow to investigate a Windows installation and found that what initially looked like one problem mapped to three existing issues:
The workflow helped us avoid filing a duplicate, add measured evidence to the correct issues, and recover the local installation without touching source files.
Below is a self-contained prompt other users can paste into an AI coding agent. It combines two disciplines:
It does not require a particular agent framework or locally installed skill.
Copy-paste prompt
Give the complete block to an agent with terminal and GitHub access. The agent will begin by asking a short set of intake questions, so users do not need to edit the prompt first. Screenshots and errors can be attached with the prompt or supplied when requested.
Why these requirements matter
The repository's bug template says the most valuable contribution is a reproduction maintainers can run. It requests the CBM version, platform, installation channel, binary variant, exact command or MCP call, actual versus expected output, logs, diagnostics trajectory, and project scale.
The prompt makes those fields the natural output of the investigation instead of an afterthought. It also adds three safeguards that proved valuable in practice:
Example outcome from a real investigation
Using an isolated one-project cache reduced a cold list_projects call to approximately 4.8 seconds and allowed a fresh fast index to complete in approximately 8.3 seconds. That was a useful local workaround, but it did not replace the upstream reports.
Feedback welcome
This is a community workflow, not an official CBM support policy. Improvements would be especially useful around:
If maintainers find it useful, it could later become a troubleshooting document, issue-form companion, or optional agent skill.
Drafted with AI assistance using GPT-5.6 Sol (light mode). The workflow was informed by agent-oriented writing principles and a feedback-loop-first bug-diagnosis process, then tested during a real CBM investigation.
All reactions