lib/cmetrics/docs/ai/investigate.md
Establish an evidence-backed explanation of CMetrics behavior without assuming that a code change is required.
Use for bug reports, unexpected codec output, crashes, compatibility questions, and performance reports before selecting a fix.
Run the closest existing CTest target. Use a sanitizer, Valgrind, or benchmarks only when relevant to the reported behavior. Do not infer results from CI job names.
Report reproduction status, owning subsystem/repository, traced code path, root-cause confidence, affected versions or formats when known, and remaining unknowns. Propose a minimal fix and test plan separately.
Stop and escalate when the reproducer depends on unavailable private data, the behavior belongs to another repository, the expected contract is ambiguous, or a compatibility decision is required before implementation.