[log] Add debug logging to 5 Go files for enhanced troubleshooting #6123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced 5 Go files with debug logging statements to improve troubleshooting and development workflow visibility. All changes follow the project's logging guidelines from AGENTS.md.
Files Enhanced
pkg/workflow/push_to_pull_request_branch.go (
workflow:push_to_pull_request_branch)pkg/workflow/schedule_preprocessing.go (
workflow:schedule_preprocessing)pkg/workflow/tool_description_enhancer.go (
workflow:tool_description_enhancer)pkg/workflow/engine_firewall_support.go (
workflow:engine_firewall_support)pkg/parser/ansi_strip.go (
parser:ansi_strip)log.Enabled()check for ANSI stripping entryGuidelines Followed
pkg:filename)log.Enabled()check for expensive debug operations (parser/ansi_strip.go)make build(no compilation errors)DEBUG=* ./gh-aw compile devTest Plan
make buildcompletes without errorsDEBUG=* ./gh-aw compile devshows log outputpkg:filename🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 (noreply@anthropic.com)