iw issue can neither report nor print an issue's comments, so a reader cannot know a decision is in one #610
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#610
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What
iw issue <id>prints the id, title, status, assignee and description (core/output/IssueFormatter.scala:9-33). It stops there.core/model/IssueData.scala:27-34and theIssueentity carry no comments field.core/commands/Issue.scaladeclares no--commentsflag, and the fetch path (runFetch->fetchAndPrint->fetchIssue) never asks a tracker for them.So a caller cannot learn, from this command, that an issue has comments at all.
Why it matters
kanon's workflow readers are told only to "fetch issue details using available issue tracker tools". Nothing tells them comments exist, and no command would show them. A decision written in a comment is therefore invisible to the analysis that must obey it.
Evidence, iw-cli IW-601 on 2026-09-21: a phase 4 decision was posted as an issue comment. The unattended loop could not see it, and the issue body had to be edited by hand before the run would pick the decision up.
The cheap half is nearly free
Forgejo returns the count in the same payload as the issue —
"comments": 3on dev-docs#188 — so printingComments: Ncosts no extra request on this forge.Requested
Comments: Nwhen N is above zero, so the reader knows there is more to read and where.--commentsto print each comment with its author and timestamp.For parity the field is needed in the Linear, YouTrack, GitLab and Forgejo adapters. A tracker that cannot supply a count should print no line rather than print zero: absent and none are different facts, and a reader must not be told "none" when the answer is "not known".
This is the tool half. The reader half — telling the nine workflow readers that comments are part of an issue, and what authority a comment carries — is kanon dev-docs#323.
Type: bug
Filed from:
/home/mph/ops/kanonon branchmainIntake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-610/analysis.md on branch IW-610