IssueFormatter output is not terminal-safe, and a comment can fake the layout #699
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#699
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?
Found in IW-610 (review-phase-02-20261003-055441.md, security and testing).
Fix: one rule per printed field (strip; how a newline is indented or flattened), applied in both format and formatComments.
Intake: needs-input
Workflow: diagnostic
Reason: G5 (4 phases)
Analysis: project-management/issues/IW-699/analysis.md on branch IW-699
1. IW-699 has 4 phases and the limit is 3. How do we split or merge the issue? (G5)
The limit is at most 3 phases for each issue. Usually the answer is to split the issue, not to raise the limit. All 4 phases change one file, IssueFormatter.scala, and its test. The total is about 3-5.5h. Phases 1 and 2 fix
format(title, assignee, status and id; then the description), and the BATS case covers both. Phases 3 and 4 fixformatCommentsand use the same two helpers again. See the phase index.format, both helpers, BATS case) and 3+4 (formatComments). This gives 2 PRs and has no order conflict.format), and a new issue gets phases 3-4 (formatComments). This adds one more issue, analysis and review cycle for the same file. The second issue must wait until the first merges.Recommended: a) The change is small and stays in one file, so splitting the issue costs more than it gives. The
format/formatCommentsline keeps the BATS case in the phase that it checks.Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.
1: a
Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-699/analysis.md on branch IW-699
Implement: needs-human
Reason: batch-implement exit 143 — the kanon plugin did not compile against the iw-cli core of current main, and scala-cli then hung with no output for about 55 minutes until the loop stopped it
iw-climain changedfetchPullRequestForBranchto returnEither[TrackerError, …](#778). The installed kanon plugin (lib/batch/ForgeCatchUp.scala:143) still expectsEither[String, …]. No phase ran. This is not specific to IW-699: everybatch-implementon current iw-cli main fails the same way until the plugin is updated.batch-implement.logwas not written; the lines below are the command output.After the plugin compiles again, release the issue to
agent-readythroughhuman-review.md. The branch already has currentmainmerged in.Release: the implement loop failed this issue for a reason outside it. The kanon plugin did not compile against iw-cli main, because the tracker port now returns TrackerError (iw-cli #778). The plugin fix is dev-docs #484, and iw-cli 0.22.1 carries the core change. The issue goes back to the implement loop.