Expand description
Implementation of the top-level --debug-agent flag mandated by
OSS_SPEC.md §12.2.
The output is a compact, plain-text troubleshooting block that an agent can splice into a prompt via command substitution when it hits an unexpected failure. It answers: where do logs live? where do configs live, and in what precedence order? which env vars matter? how do I turn on verbose output? which commands help me investigate? and which version am I talking to?