Skip to content

feat(roadmap): consolidate has a read-only MCP mirror - #4807

Merged
dan-petty merged 3 commits into
mainfrom
feat/3745-consolidate-has-a-read-only-mcp
Nov 11, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3745-consolidate-has-a-read-only-mcp

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add the MCP tool roadmap_consolidate. It runs the plan path of devops roadmap consolidate and publishes repo, ref, limit and dry_run only, so its argv never holds --decline or --confirm. It is read-only: the plan run writes a local plan file and nothing on GitHub. It waits at most 900 s, because a default run judges up to 10 shortlists at about 60 s each. No Service row starts the job: ADR 0021 moves rows out of the Service pod, and #4687 plans a daily run in a CronWorkflow.

Closes #3745

Change: openspec/changes/archive/2026-11-11-3745-consolidate-has-a-read-only-mcp/

The MCP tool roadmap_consolidate runs the plan path of devops roadmap
consolidate. It publishes repo, ref, limit and dry_run only, so its argv
never holds --decline or --confirm, and it is read-only. It waits at most
900 s, because a default run judges up to 10 shortlists at about 60 s each.
No Service row starts the job: ADR 0021 moves rows out of the Service pod.
@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Checks and measurements

  • Test first: tests/ai/mcp/test_mcp_roadmap_tools.py::test_roadmap_consolidate_is_a_read_only_mirror_of_the_plan_run failed on the base with ImportError: cannot import name 'roadmap_consolidate', and passes with the change.
  • uv run pytest tests/ai/mcp/ tests/roadmap/stage/test_stage_run_allowlist.py tests/invariants/test_dry_run_class_ratchet.py tests/docs: 714 passed, 2 snapshots passed.
  • uv run devops openspec check: passed. uv run devops docs generate --sync-readme: the only change is the new tool in docs/MCP_TOOLS.md.
  • Timeout of 900 s: the plan of 2026-11-10 judged 6 shortlists, and the file times show about 6 minutes from the embeddings file to the plan file. The default limit is 10 (DEFAULT_ROADMAP_CONSOLIDATE_JUDGED), so a default run needs about 10 minutes. A run that stops at the timeout keeps each judgement in <date>.progress.json.
  • The row census of the stage run allow-list goes from 144 to 145. The stage planner may now run the plan path of the command in its sandbox, as it runs review_branch and ai_benchmark.

Step for a person

The plan of the project brain asks for an edit of #3745: the title feat(roadmap): consolidate has a read-only MCP mirror, and a body with no weekly row and no weekly acceptance criteria. The agent permission check refused the issue edit, so the title and body of #3745 still name the weekly row. The comment of 2026-11-11 on #3745 holds the new scope. A person can make the edit, or allow it for the agent.

@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 21:36
@dan-petty
dan-petty enabled auto-merge (squash) November 11, 2026 21:36
@dan-petty
dan-petty merged commit 2ec561d into main Nov 11, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/3745-consolidate-has-a-read-only-mcp branch November 11, 2026 21:42
@dan-petty

Copy link
Copy Markdown
Owner Author

Follow-up of the independent review. This PR is merged, so each finding goes to a new issue.

Severity File Finding Action
major src/devops_cli/config/constants.py:407 The 900 s tool limit is shorter than the time limits inside it. Each judge request of the analysis client can wait 3600 s (DEFAULT_HTTP_TIMEOUT_SECONDS), the run has no budget, and --limit has no maximum. At 900 s the dispatcher returns exit 124 with no diagnostic, and the run continues on a daemon thread. Confirmed against the source on origin/main. Filed #4856.

dan-petty pushed a commit that referenced this pull request Nov 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.114.0](v0.113.0...v0.114.0)
(2026-11-11)


### Features

* **k8s:** add cert-manager and the Barman Cloud plugin
([#4789](#4789))
([cd6fb76](cd6fb76))
* **roadmap:** collect the git facts of a project review window
([#4794](#4794))
([21d1bc0](21d1bc0))
* **roadmap:** consolidate has a read-only MCP mirror
([#4807](#4807))
([2ec561d](2ec561d))


### Bug Fixes

* **ai:** devops ai agents detects the project manifest
([#4790](#4790))
([e8d1e53](e8d1e53))
* **mcp:** bound the gh resources longer than a GitHub read
([#4844](#4844))
([7f09921](7f09921))
* **roadmap:** run stage before refine on the model lane
([#4841](#4841))
([96c9bee](96c9bee))
* **roadmap:** stop refusing test paths in base docstrings
([#4826](#4826))
([1bbfce0](1bbfce0))
* **telemetry:** key the project gauges by repository
([#4804](#4804))
([9f0e0c8](9f0e0c8))


### Performance Improvements

* **ci:** run the in-image suite nightly and on image pull requests
([#4828](#4828))
([a2cfd9a](a2cfd9a))

---
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/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): consolidate has an MCP mirror and a weekly row

1 participant