IW-610: iw issue reports and prints an issue's comments #728
No reviewers
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!728
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-610"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
iw issue <id>now tells a reader that an issue has comments, and can print them.Comments: N (iw issue <id> --comments). A count that is zero or not known prints no line — "none" and "not known" stay different facts.--commentsprints every comment after the issue, oldest first, with author and UTC time. Author and body pass throughTerminalSafeText.strip.Changes
Issue.commentCount: Option[Int], newIssueCommentwith oldest-first ordering.glab api --paginate --output ndjsonand drops system notes.--commentsswitch incore/commands/Issue.scala, comment fetch throughCommandEnv/TrackerOps.IssueFormatter.formatcount line andIssueFormatter.formatComments.Phase PRs: #694 (comment model + tracker adapters), #695 (
--commentscommand + formatter).Testing
IssueCommentTest,IssueFormatterTest,IssueHarnessTestfor the command paths.test/forgejo-issue.bats,test/gitlab-issue.bats.Review packet:
project-management/issues/IW-610/review-packet.md.Follow-ups filed: #699, #700, #701; comments on #456 and #552.
Release notes
See
project-management/issues/IW-610/release-notes.md(Czech).Closes #610
🤖 Generated with Claude Code
iw issue can neither report nor print an issue's comments, so a reader cannot know a decision is in one Artifacts: - analysis.md - issue.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Issue: IW-610 Phase: 1 - Comment model + tracker adapters This commit marks the checkpoint for phase 1 context generation. Use wf-implement IW-610 to return to this point. 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Comment model + tracker adapters Artifacts: - phase-01-tasks.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Issue: IW-610 Phase: 2 - --comments command + formatter This commit marks the checkpoint for phase 2 context generation. Use wf-implement IW-610 to return to this point. 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>--comments command + formatter Artifacts: - phase-02-tasks.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>