Skip to content

fix(backlog-manager): post comment before moving card to TODO#639

Merged
zbigniewsobiecki merged 1 commit intodevfrom
fix/backlog-manager-comment-before-move
Mar 7, 2026
Merged

fix(backlog-manager): post comment before moving card to TODO#639
zbigniewsobiecki merged 1 commit intodevfrom
fix/backlog-manager-comment-before-move

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Swap steps 5 and 6 in the backlog-manager prompt so the selection comment is posted before the card is moved to TODO
  • This ensures downstream pm:status-changed triggers see the rationale before firing
  • Update the rules section to reinforce the new ordering
  • Add test verifying comment-before-move step ordering

Test plan

  • npm test -- tests/unit/agents/prompts.test.ts — 54 tests pass (new ordering test included)
  • npm run lint — clean
  • npm run typecheck — clean
  • Full test suite (3959 tests) — all pass

🤖 Generated with Claude Code

The backlog manager posted its selection comment after moving the card,
which meant downstream automation (pm:status-changed triggers) could
fire before the rationale was visible. Swap steps 5 and 6 so the
comment is posted first, then the card is moved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit c68f13c into dev Mar 7, 2026
6 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the fix/backlog-manager-comment-before-move branch March 7, 2026 08:21
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.

1 participant