Skip to content

fix(roadmap): restore ticks of other groups in an implement step - #2770

Merged
dan-petty merged 6 commits into
mainfrom
fix/2767-implement-extra-ticks
Oct 30, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/2767-implement-extra-ticks

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

An implement step lost all its work when the agent ticked the tasks of a later group. The step stopped with "Group 2 changed" and reset the checkout. A tick is bookkeeping that the job owns, so this stop was too strict.

Now the step compares every other group with its text before the run. A group that differs only in its checkboxes gets those checkboxes written back to the base state. The step prints one line that names the restored groups, and goes on with the checks of its own group. The commit holds the restored tasks.md. The restore runs after the first turn and after the extra turn for the ticks.

Any other difference in another group still stops the step. This includes a changed title, task, command, bullet or added line. After the restore, the text of the group must equal its text before the run. A group number that two groups hold stops the step, and a base tasks.md with such a number is refused before the step starts. The own group and the fix step keep their rules.

The step splits tasks.md into lines as the parser does, so a lone CR cannot shift a line number. The prompt tells the agent to tick only the tasks of its group, and gives the reason. The help text, the generated documents and the roadmap-implement-step spec say "beyond its checkboxes".

Closes #2767

@dan-petty

Copy link
Copy Markdown
Owner Author

Test results and review record.

  • Full devops ci: all 19 checks passed. The test check took 170 seconds (2m 50s).
  • devops ci fail-to-pass --base origin/main: 14 tests failed on the base and pass on this branch. They are in tests/test_roadmap_implement_step_ticks.py.

Review findings fixed:

  • Help text, README, CLI reference, spec and proposal said "no other group changed". They now say "beyond its checkboxes". The proposal no longer lists a snapshot that did not change.
  • Another group kept a non-checkbox edit (changed bullet, added line) after the restore. The step now compares the whole text of the group with its text before the run, and stops.
  • A lone CR line end could raise IndexError or edit a wrong line. The step now splits the file as the parser does.
  • A second group with the same number hid an edit of the first. The step now stops on a duplicate number, also in a fix step. A base file with a duplicate number is refused at build_step_inputs.

Finding declined in part:

  • A stop when a parser line number is out of range. After the change the splitter and the parser agree, so the index is always in range. A wrong-line edit is caught by the parse after the write, which compares the whole text. A guard would be dead code.

@dan-petty
dan-petty marked this pull request as ready for review October 30, 2026 12:50
@dan-petty
dan-petty merged commit c266ce2 into main Oct 30, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/2767-implement-extra-ticks branch October 30, 2026 12:52
dan-petty pushed a commit that referenced this pull request Oct 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.22.2](v0.22.1...v0.22.2)
(2026-10-30)


### Bug Fixes

* **release:** the urgent-fix rule reads scope/security, not
type/security
([#2769](#2769))
([05be980](05be980))
* **roadmap:** restore ticks of other groups in an implement step
([#2770](#2770))
([c266ce2](c266ce2)),
closes [#2767](#2767)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.

fix(roadmap): an implement step that also ticks a later group's tasks loses all its work

1 participant