Skip to content

Conversation

@holmboe
Copy link
Contributor

@holmboe holmboe commented Jan 10, 2026

Summary

  • Fix --show-comments flag not displaying comments in task output
  • The flag was fetching comment data correctly but the display methods never rendered the Comments section
  • Add Comments display code to all three output formats (rich, tree, strict)

This is a fix for an oversight in #118.

Test plan

  • Run phabfive T66 --show-comments and verify comments are displayed
  • Test with --format=tree to verify tree output shows comments
  • Test with --format=strict to verify strict YAML output includes comments
  • Run uv run tox --skip-missing-interpreters - all 257 tests pass

🤖 Generated with Claude Code

The --show-comments flag was fetching comment data correctly but the
three display methods (_display_task_yaml, _display_task_tree,
_display_task_strict) never extracted or rendered the Comments section
from task_dict.

Add Comments display code to all three output formats:
- YAML format: full comments with multi-line support
- Tree format: comments with truncation for long entries
- Strict format: plain YAML output for piping to yq/jq

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@holmboe holmboe merged commit 78e0782 into master Jan 10, 2026
15 checks passed
@holmboe holmboe deleted the fix/show-comments-display branch January 10, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants