Skip to content

fix(roadmap): render only the steps a plan needs - #3496

Merged
dan-petty merged 9 commits into
mainfrom
fix/3226-the-task-renderer-adds-steps-a
Nov 5, 2026
Merged

dan-petty merged 9 commits into
mainfrom
fix/3226-the-task-renderer-adds-steps-a

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

The stage job wrote task text that a plan does not need. Every plan got the tuicr review bullet. Every documentation task got the step that runs devops docs generate --sync-readme. A documentation task that starts with a path had no verb. Now the job writes the bullet only for a change under src/. It writes the regeneration step only for a change under src/devops_cli/commands/ or src/devops_cli/lang/. It writes the verb Edit before a path. The stage prompt states the verb rule for the documentation field.

Closes #3226

Change: openspec/changes/archive/2026-11-05-3226-the-task-renderer-adds-steps-a/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 4, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 4, 2026 19:04
@dan-petty dan-petty changed the title docs(openspec): plan #3226 Stop the task renderer adding unneeded steps fix(roadmap): render only the steps a plan needs Nov 5, 2026
@dan-petty
dan-petty marked this pull request as draft November 5, 2026 09:26
@dan-petty

Copy link
Copy Markdown
Owner

Finish notes for issue #3226. The pull request stays a draft, as the finish stage recommends.

Local CI (uv run devops ci, on the final commit of the branch)

  • Passed: ruff format, ruff check, docs validation, lockfile, actionlint, zizmor, deptry, uv build, openspec validation, and the other static gates.
  • Pytest: 4 failed, 18645 passed, 2 skipped, 1 error in 366.88 s. Coverage total is 94.50%, above the 85.0% threshold. The coverage row fails only because pytest fails.
  • All 4 failures and the 1 error are the known host failures of issue fix(ci): host state fails four tests and one case #3585:
    • tests/crypto/test_ssh.py::test_get_ssh_key_prefix_resolution
    • tests/telemetry/test_config_env_overrides.py::test_find_project_config_path_skips_directory
    • tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run
    • tests/ai/test_tool_executor_contract.py (one failure and one error for the direct executor)
  • No host state was changed to run these checks.
  • Targeted run of tests/roadmap: 273 passed.

Fail-to-pass

  • Run on commit 59d3f61. Source and test files have not changed since that commit.
  • 11 tests fail on the base, 262 pass, 0 error.
  • No failure carries the host path guard message.
  • The failing tests are in tests/roadmap/test_roadmap_stage_kind.py, test_roadmap_plan_read.py, test_roadmap_stage_plan.py and test_roadmap_stage_prompt_rules.py.

Deviations

  • The branch was already based on origin/main at d254410. No rebase was needed.
  • The remote branch held one plan commit (90160e0) with the same change folder as the local plan commit. The history was merged with the ours strategy, so the push is a fast-forward. No force push was used.
  • The first archive commit failed the length check of the roadmap-stage spec: one requirement was over 500 characters. Commit d77f45e reverted it. The archive commit 42e2400 is the last commit. It moves the documentation rule into its own requirement.
  • openspec/config.yaml states the two planning rules of the renderer, as task 5.1 of the plan requires. The root config.yaml is not changed.
  • Pull request fix(roadmap): render only the steps a plan needs #3496 already existed for this branch. It had the plan title, the plan body and no draft state. devops pr create therefore opened nothing. The title and the body were changed to the fix form with devops pr edit. The pull request was converted to a draft.
  • The labels type/docs and scope/openspec of fix(roadmap): render only the steps a plan needs #3496 come from the plan title. The fix title gives type/bug and scope/roadmap. Those labels are not changed by hand.

Open items for a person

  • Review the diff in tuicr before the pull request is marked ready. The archived tasks list this step as pending a person.
  • Pytest with coverage took 6 min 06 s on this host, above the 5-minute limit of AGENTS.md rule 5. No issue is filed for it yet.
  • Decide whether to mark the pull request ready after the review.

devops-cli-service Bot and others added 9 commits November 5, 2026 13:22
The renderer adds the tuicr bullet, the Workflow follow-up heading and
the docs step to every plan. This change makes each one follow the
paths of its group. A documentation text that starts with a path gets
the verb Edit.
The renderer wrote the tuicr review bullet and the Workflow follow-up
heading in every plan. Now it writes them only when a group changes a
path under src/. A documents-only plan has no code for tuicr to review.
The renderer added the step that regenerates the documents to every
group with a documentation text. Now it adds the step only when a group
changes a path under src/devops_cli/commands/ or src/devops_cli/lang/.
The plan reader derives its mark from the same template.
…path

A documentation text that starts with a path reached the task with no
verb. The renderer now prepends the verb Edit and writes the path in a
code span. A text that starts with a verb is kept as written. The plan
reader returns the task with its verb.
The stage prompt did not say that the documentation field starts with a
verb, names each document, or is null for a step that changes no
document. The prompt now states these rules. The renderer keeps its own
rule, because a prompt is no check.
The planning rules said that every documents group regenerates the
documentation, and that a code change may end with the tuicr bullet.
The renderer now follows the paths of each group, so the rules state
the same condition.
@dan-petty
dan-petty force-pushed the fix/3226-the-task-renderer-adds-steps-a branch from 2a9db31 to 3ce570c Compare November 5, 2026 13:33
@dan-petty
dan-petty marked this pull request as ready for review November 5, 2026 13:39
@dan-petty
dan-petty merged commit 83cb6c5 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3226-the-task-renderer-adds-steps-a branch November 5, 2026 13:47
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.62.2](v0.62.1...v0.62.2)
(2026-11-05)


### Bug Fixes

* **roadmap:** render only the steps a plan needs
([#3496](#3496))
([83cb6c5](83cb6c5))
* **roadmap:** the implement job refuses a plan that fails the plan
check ([#3615](#3615))
([233d397](233d397))

---
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

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the task renderer adds steps a plan does not need

1 participant