IW-612: phase-advance writes the shared merged card #697

Merged
mph merged 21 commits from IW-612 into main 2026-10-07 07:31:30 +00:00
Member

Summary

iw phase-advance now writes the merged-phase review-state card through PhaseMergedCard.update, the same function that phase-merge and phase-pr --batch use. The hand-built copy of the card in PhaseAdvance.maybeUpdateReviewState is gone, so the three writers cannot disagree.

Changes

  • core/commands/PhaseAdvance.scala: call PhaseMergedCard.update(phase) instead of a hand-built UpdateInput.
  • core/commands/PhaseMergedCard.scala: PURPOSE line names all three callers.
  • core/test/PhaseAdvanceHarnessTest.scala: tests for the two intended behavior changes.

Behavior change after phase-advance (intended, see analysis):

  1. needs_attention is false.
  2. ci_wait_started and ci_wait_sha are removed, so the next phase's CI gate does not read a stale wait start.

Status, display, badges, message and the commit message do not change.

Testing

  • Harness tests in PhaseAdvanceHarnessTest (needs_attention cleared, CI-wait fields cleared).
  • Phase PR #696 passed CI on the full suite.

Review packet: project-management/issues/IW-612/review-packet.md

Release notes

Uzavření fáze po sloučení už nenechává na nástěnce falešné upozornění. Dokončená fáze je po posunu větve vedena jako hotová a nežádá o pozornost, a z karty zmizí záznam o čekání na kontrolu sestavení, který mohl zmást kontrolu následující fáze. Všechny cesty uzavření fáze nyní zapisují kartu stejně.

🤖 Generated with Claude Code

Closes #612

## Summary `iw phase-advance` now writes the merged-phase review-state card through `PhaseMergedCard.update`, the same function that `phase-merge` and `phase-pr --batch` use. The hand-built copy of the card in `PhaseAdvance.maybeUpdateReviewState` is gone, so the three writers cannot disagree. ## Changes - `core/commands/PhaseAdvance.scala`: call `PhaseMergedCard.update(phase)` instead of a hand-built `UpdateInput`. - `core/commands/PhaseMergedCard.scala`: PURPOSE line names all three callers. - `core/test/PhaseAdvanceHarnessTest.scala`: tests for the two intended behavior changes. Behavior change after `phase-advance` (intended, see analysis): 1. `needs_attention` is `false`. 2. `ci_wait_started` and `ci_wait_sha` are removed, so the next phase's CI gate does not read a stale wait start. Status, display, badges, message and the commit message do not change. ## Testing - Harness tests in `PhaseAdvanceHarnessTest` (needs_attention cleared, CI-wait fields cleared). - Phase PR #696 passed CI on the full suite. Review packet: `project-management/issues/IW-612/review-packet.md` ## Release notes Uzavření fáze po sloučení už nenechává na nástěnce falešné upozornění. Dokončená fáze je po posunu větve vedena jako hotová a nežádá o pozornost, a z karty zmizí záznam o čekání na kontrolu sestavení, který mohl zmást kontrolu následující fáze. Všechny cesty uzavření fáze nyní zapisují kartu stejně. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Closes #612
PhaseAdvance.maybeUpdateReviewState repeats the PhaseMergedCard shape instead of calling PhaseMergedCard.update

Artifacts:
- analysis.md
- issue.md

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PhaseAdvance.maybeUpdateReviewState repeats the PhaseMergedCard shape instead of calling PhaseMergedCard.update

Artifacts:
- tasks.md
- review-state.json (tasks_ready)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Issue: IW-612
Phase: 1 - phase-advance writes the shared merged card

This commit marks the checkpoint for phase 1 context generation.
Use wf-implement IW-612 to return to this point.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
phase-advance writes the shared merged card

Artifacts:
- phase-01-tasks.md

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(IW-612): add review packet and release notes
Some checks failed
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 14s
CI / test (pull_request) Has been cancelled
CI / dashboard-build (pull_request) Has been cancelled
CI / compile (pull_request) Has been cancelled
a5dc419c81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore(IW-612): update review-state to all_complete
All checks were successful
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 15s
CI / compile (pull_request) Successful in 1m35s
CI / dashboard-build (pull_request) Successful in 1m14s
CI / test (pull_request) Successful in 15m31s
909f486186
mph requested changes 2026-10-06 21:17:57 +00:00
mph left a comment

We have conflicts.

We have conflicts.
Merge remote-tracking branch 'origin/main' into IW-612
All checks were successful
CI / dashboard-build (pull_request) Successful in 1m24s
CI / test (pull_request) Successful in 18m50s
CI / changes (pull_request) Successful in 6s
CI / contract (pull_request) Has been skipped
CI / compile (pull_request) Successful in 1m39s
CI / format (pull_request) Successful in 11s
CI / lint (pull_request) Successful in 14s
fadfa7beb2
# Conflicts:
#	core/commands/PhaseAdvance.scala
docs(IW-612): rework for final PR review 15
Some checks failed
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 11s
CI / lint (pull_request) Successful in 11s
CI / compile (pull_request) Successful in 1m44s
CI / dashboard-build (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
3b8d0fde02
Issue: IW-612
Phase: 2 - Rework for final PR review 15

This commit marks the checkpoint for phase 2 context generation.
Use wf-implement IW-612 to return to this point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
workflow(wf): Generate Phase 2 tasks for IW-612
Some checks failed
CI / compile (pull_request) Successful in 1m38s
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Failing after 5s
CI / lint (pull_request) Successful in 12s
CI / dashboard-build (pull_request) Successful in 1m27s
CI / test (pull_request) Has been cancelled
bb543aaa37
Rework for final PR review 15

Artifacts:
- phase-02-tasks.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 2: Rework for final PR review 15 (#727)
Some checks failed
CI / test (pull_request) Has been cancelled
CI / dashboard-build (pull_request) Has been cancelled
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 11s
CI / lint (pull_request) Successful in 15s
CI / compile (pull_request) Successful in 1m39s
a29cfe9c4d
docs(IW-612): regenerate review packet and release notes after phase 2
All checks were successful
CI / lint (pull_request) Successful in 12s
CI / compile (pull_request) Successful in 1m39s
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / dashboard-build (pull_request) Successful in 1m29s
CI / test (pull_request) Successful in 18m27s
b7f3d0066e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Member

Implement: rework for review 15
The rework phase merged into IW-612 through #727; this pull request carries it.

Implement: rework for review 15 The rework phase merged into IW-612 through #727; this pull request carries it.
mph merged commit 84f29fc9be into main 2026-10-07 07:31:30 +00:00
Sign in to join this conversation.
No description provided.