kg is doing internally.
This is most useful when you are troubleshooting:
- unexpected inheritance results
- missing or duplicated config
- agent generation that does not match what you expected
- diff output that seems surprising
Debug mode
Enable debug output with-d or --debug:
- configuration file loading
- agent resolution
- basic merge operations
Trace mode
Enable detailed trace logging for a specific agent with-t or --trace:
What trace output helps you see
Trace output is useful for:- configuration file loading
- inheritance resolution
- detailed merge operations
- force-allow behavior
- step-by-step agent construction