Skip to content

feat(roadmap): list the local devops commands in the shell catalog - #3739

Merged
dan-petty merged 4 commits into
mainfrom
feat/3041-implement-local-devops-tools
Nov 6, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3041-implement-local-devops-tools

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement prompt named one local command, uv run devops ci test. The agent did not know that ai repomap, ai ast, docs generate and openspec check run in the shell, so it guessed. LOCAL_COMMANDS is one typed table of these five commands with an access class and a use. The prompt and docs/ROADMAP_WORKFLOW.md read it, and a test fails when they differ or when a command is not a command of the app. The shell guard does not read the table: uv is allowed, so a call passes and is no refusal. The runner tools (#3562), the scoped credential (#3563) and the scoped writes with the refusal budget (#3565) stay in their issues.

Closes #3041

Change: openspec/changes/archive/2026-11-06-3041-implement-local-devops-tools/

…catalog

The implement prompt now lists ci test, ai repomap, ai ast, docs generate and openspec check from one typed table, LOCAL_COMMANDS, that the document and the tests also read. Plans #3041.
@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 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Review findings, all three confirmed and fixed in 2604e6aa:

  1. "no key and no network" (prompt and docs/ROADMAP_WORKFLOW.md): right. uv has access network in SHELL_PROGRAMS, and no source shows a sandbox for the shell. Both texts now say only that the shell holds no key and that none of the commands needs a key or makes a request to a service.
  2. LOCAL_COMMANDS read by the guard: right. Only local_commands_table() reads it. The module docstring and the document now say that the prompt and the document read all three tables, and that the shell and the refusal hint read SHELL_PROGRAMS and SHELL_REFUSALS. The Delivery text of feat(roadmap): the implement agent can use the project's development tools #3041 now says the same, and says that a guard which reads the access class is part of feat(roadmap): enforce scoped writes and refusal budgets for catalog tools #3565.
  3. ai ast graph --output writes to any path: right (src/devops_cli/commands/ai_ast.py). ai ast is now write, and the use text names graph --output <path> with a path in the checkout. docs generate --output-dir has the same fault: its use text now says to pass no --output-dir. The prompt says that a write command gets only paths in the checkout.

Premise check against origin/main: #3072 (PR #3111) holds the program table, the refusal table and the prompt placeholders. #3562, #3563 and #3565 hold the rest. What stays is the five local commands, so this pull request builds only that.

Checks run:

  • uv run devops ci test tests/roadmap/test_roadmap_implement_shell_policy.py: 100 passed, after the fix.
  • Full uv run devops ci (under the shared lock, before the archive commit): 19552 passed, 3 failed, 1 error. All gates other than pytest passed.
  • fail-to-pass: not run. This is a new feature, not a fix.
  • Not run: the full CI after the archive commit and after the rebase (the rebase was a no-op).

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 05:58
@dan-petty
dan-petty enabled auto-merge (squash) November 6, 2026 05:58
@dan-petty
dan-petty merged commit 0784e8b into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3041-implement-local-devops-tools branch November 6, 2026 06:00
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.66.0](v0.65.0...v0.66.0)
(2026-11-06)


### Features

* **roadmap:** ask for a smaller edit after a parser failure
([#3737](#3737))
([2a5cd39](2a5cd39)),
closes [#3053](#3053)
* **roadmap:** list the local devops commands in the shell catalog
([#3739](#3739))
([0784e8b](0784e8b))
* **roadmap:** the implement job re-checks a plan premise against the
base ([#3657](#3657))
([29309f0](29309f0))
* **roadmap:** the plan check requires a new rule to accept its own plan
([#3641](#3641))
([5df365a](5df365a))


### Bug Fixes

* **roadmap:** a gate test holds the self-acceptance test
([#3738](#3738))
([303bf4f](303bf4f))
* **roadmap:** the plan check fails a citation of a line that moved
([#3668](#3668))
([cfee381](cfee381))

---
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): the implement agent can use the project's development tools

1 participant