Skip to content

docs(openspec): plan #2951 Gate Ready on an alternatives verdict - #5605

Closed
devops-cli-service[bot] wants to merge 1 commit into
mainfrom
feat/2951-gate-ready-on-alternatives-verdict-or
Closed

devops-cli-service[bot] wants to merge 1 commit into
mainfrom
feat/2951-gate-ready-on-alternatives-verdict-or

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2951

Refine sets status/ready on an item whether or not the alternatives check ran, so a plan can start with no answer to the open-tool question of AGENTS.md rule 3. This change gates that transition: an item with no alternatives.verdict stays New, gets one comment that says it waits for the check, and refine takes it again in the round after the check writes its verdict. A repository whose alternatives check is off passes the gate. A status/ready label that a person set is left alone. Step 2 of docs/ROADMAP_WORKFLOW.md names the rule, and uv run devops ci runs on the branch.

Change: openspec/changes/2951-gate-ready-on-alternatives-verdict-or/

@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 14, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 14, 2026 03:02
@dan-petty

Copy link
Copy Markdown
Owner

An agent vetted this plan before a merge (shepherd, 2026-11-14). Verdict: needs fix.

  1. The gate stops every item that a bot opened, and the wait never ends. design.md:11 puts the gate before the review of a Ready proposal for a bot item. The alternatives job takes a bot item only after the review of refine approved it: src/devops_cli/roadmap/alternatives.py:631-637 (_is_eligible needs is_approved) and src/devops_cli/roadmap/trust.py:54-61 (refine.judge must be approved). Refine records that approval only when the review runs (src/devops_cli/roadmap/refine/refine.py:2639-2652). So a new bot item gets no review, then no approval, then no alternatives check, then no verdict, and it stays on the wait alternatives. Run the review first and record its approval, then apply the gate. Add a test: a bot item with no verdict gets refine.judge approved, the alternatives job selects it, and the next round sets it Ready.
  2. Group 4 verifies with the whole uv run devops ci (tasks.md:33). The runner Job runs scoped checks only: docs/ROADMAP_WORKFLOW.md:413 ("Before the push") and :415 (2 CPUs, at most about 3.5 minutes of tests). The full suite holds 1,194 test modules and about 2,396 s of module time (tests/module_durations.json), plus coverage and the other rows. It cannot end in the command limit of a step (roadmap.implement.command_timeout_seconds, 1,800 s by default). The owner rule of 2026-11-11 is the same: delivery agents run scoped checks, and the required checks of the pull request are the gate. Map the criterion "uv run devops ci passes" to the checks of the pull request, and verify group 4 with uv run devops ci docs and a test that reads the document.
  3. The plan does not name the test modules that the gate breaks. I applied the predicate of task 1.2 (no Ready when web.on and recorded_check(item, current_body) is None) in a scratch worktree and ran the refine tests: 6 failed, 802 passed. The failures: tests/roadmap/refine/test_roadmap_refine_title_type.py::test_the_round_after_the_title_change_refines_the_item_to_ready, tests/roadmap/refine/test_roadmap_refine_command.py::test_cli_refine_dry_run_and_confirm, tests/roadmap/refine/test_roadmap_refine_gateway_failures.py::test_the_refine_job_reports_whether_it_set_an_item_ready, and three cases of tests/roadmap/refine/test_roadmap_refine_investigation.py (test_a_round_on_a_public_repository_with_a_key_settles_a_fact_from_the_web, test_a_round_on_a_public_repository_with_a_crawl4ai_url_offers_fetch_page, test_a_round_with_no_crawl4ai_url_offers_no_fetch_page). Group 3 names only test_roadmap_refine_investigation.py and test_roadmap_refine_deferred.py. Two of the three tests that it names did not fail (test_a_fact_that_a_file_read_settles_makes_the_item_ready, test_deferred_a_complete_proposal_plans_one_new_issue_for_each_part). A fix step stops on a path that the plan does not name (src/devops_cli/roadmap/implement/implement_step.py:1575-1592, class outside_plan). Name each module and each test.
  4. The guard for a Ready label of a person is wider than its spec, and it makes two specs and a document false. Task 2.2 skips the write of New for each Ready item whose label no job wrote, with or without a verdict. The spec delta limits the rule to "an item whose record holds no verdict". openspec/specs/roadmap-refine/waits/spec.md:72 says "A Ready item SHALL go back to New" for an open dependency. openspec/specs/roadmap-refine/writes/spec.md:196-198 holds the scenario "A Ready item goes back to New". docs/roadmap/refine.md:15 says "a Ready item goes back to New". After the change, these are false for a Ready label of a person. Also, docs/roadmap/refine.md:9-13 lists the next steps and does not get alternatives. Add MODIFIED requirements for the two specs, or limit the guard to the spec delta, and update docs/roadmap/refine.md (AGENTS.md rule 8).

Points that do not block:

  • uv run devops roadmap explain 2951: no job takes the item now, and docs(openspec): plan #2951 Gate Ready on an alternatives verdict #5605 is not a draft. No Service Job works the item (kubectl -n devops get jobs at about 04:00Z).
  • openspec validate 2951-gate-ready-on-alternatives-verdict-or --strict passes, and uv run devops roadmap plan-check 5605 reports no problem.
  • The guard of task 2.2 alone breaks no test now: a scratch run of tests/roadmap/refine with only that change gave 451 passed.
  • The new refine result alternatives is not in the success set {"ready", "person", "split", "blocked"} (src/devops_cli/roadmap/job_result.py:82, docs/roadmap/job-success.md:31). So each gated item lowers the success share of refine. Decide if the wait is a success, and name both files.
  • The issue body says "A covers or partly verdict still goes to a person, as today". Today only covers asks a person (src/devops_cli/roadmap/refine/refine.py:657). The plan keeps covers only. This agrees with "as today", but the refine block of the issue asks for both verdicts. Record the decision on feat(roadmap): Gate Ready on alternatives verdict or exempt class #2951 for the owner.
  • A gated item costs two refine rounds with model calls: one before the verdict and one after it. The alternatives row checks at most 20 items (first pass) or 5 items in a round, about two times each day (docs/roadmap/alternatives.md:80). So a new item can wait about 12 hours.
  • The exemption reads web.on (a public repository with a search provider). It does not see an alternatives row that the Service does not run (src/devops_cli/roadmap/run.py:1255). If that row stops, each item of a public repository waits.
  • No test checks the text of step 2 in docs/ROADMAP_WORKFLOW.md, which the requirement "The workflow document names the gate" asks for. Add an assertion beside tests/invariants/test_roadmap_workflow_doc.py.
  • Task 4.2 repeats task 4.1.
  • No security control is weaker, and no threshold is lower.
  • Most of the prose is ASD-STE100. Some sentences of design.md have more than 25 words.

@dan-petty dan-petty added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 14, 2026
@devops-cli-service
devops-cli-service Bot deleted the feat/2951-gate-ready-on-alternatives-verdict-or branch November 14, 2026 12:27
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 verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant