Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ The comprehensive Value vs. Effort Prioritization Matrix, phased milestone deliv
| | `devops roadmap reprioritize [OPTIONS]` | Hold the current release to its rules: after it starts only a critical fix joins it, a fix that takes it over the cap descopes one unstarted item, and Blocked, dependent, needs-split and stalled items are descoped, each with a reason comment. Once the release ships, close it, branch the next one and fill or trim it to the cap. The first run records the admitted set and moves nothing. Writes only with --confirm. |
| | `devops roadmap intake [OPTIONS]` | Turn candidates into items: every open issue not on the board, and every board item intake left without a Priority. Each is checked for a duplicate among the board's items and the issues closed as not planned, gets a type, a priority, Value and Effort from the model with a reason comment, and goes to the backlog, or a critical fix to the release #740's admission rule allows. A candidate an agent files with --title and --body-file is labeled source/agent and held to the agent filing quota; a text that looks like it holds a secret is refused. --dry-run makes no request and prints the requests a run makes; --plan, the default, reads GitHub and calls the model, writes nothing and reports what it spent; --confirm makes the writes. |
| | `devops roadmap close [OPTIONS]` | Close each item delivered to the current release, and cut the release once it holds no open item. Reads every pull request merged into release/vX.Y.Z and closes as completed each open issue a body closes with a closing keyword, commenting what changed and how it was verified (check runs and the task file's Acceptance Criteria). Once the release has no open item, one item closed as completed and no release pull request, writes docs/ROADMAP.md on release/vX.Y.Z in the clone at --root, bumps the version, pushes to release/vX.Y.Z (requiring Write role bypass on release ruleset 23059172), and opens the release pull request into the default branch. Lists completed items with no changelog fragment. Writes only with --confirm. |
| | `devops roadmap refine [OPTIONS]` | Refine roadmap items to Ready with proposed design, tasks, and acceptance criteria. Evaluates Next-release and Backlog New items using code, documentation, and external research. |
| | `devops roadmap refine [OPTIONS]` | Refine roadmap items to Ready with proposed design, tasks, and acceptance criteria. Evaluates Next-release and Backlog New items using code, documentation, and external research. An item whose model call fails is skipped and reported; the others are still refined, and refine then exits 1. |
| | `devops roadmap run [OPTIONS]` | Run roadmap jobs that are due: evaluate due criteria across landed jobs, run due jobs in order, and record last-success execution timestamps. Without --confirm, or with --dry-run, prints the due list and runs nothing. |
| **pr** | `devops pr list [OPTIONS]` | List pull requests with base targeting and review status. |
| | `devops pr view [OPTIONS] <number>` | View details of a pull request. |
Expand Down
4 changes: 4 additions & 0 deletions changelog.d/1363.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Fixed
- `chat_structured` tells the model the schema its reply must match, for intake and for both refine steps: the system message ends with the schema's JSON Schema, introduced by the `structured_output_schema.md` prompt, the `gateway` provider also sends it as `response_format` (type `json_schema`, without `strict`) and the `ollama` provider as `format`. Its first attempt validates the reply before the response cache serves or stores it, so a reply that fails the schema is never cached or replayed and still gets the reflection retry, which now names every violation with its fix hint. `StructuredOutputValidationError` counts the last reply's violations (`violations`), and its message keeps only that count and the error types, never a key the model invented (#1363).
- `devops roadmap refine` and the service's refine job skip only the item whose model call fails: the other items are refined and written, the plan lists the skipped item with its error class and schema violation count but no model text, and the run then exits 1 with `RoadmapRefineError` (`ROADMAP_REFINE_FAILED`). Rejected credentials still stop the run at the first item, and intake's refine hook still reports a failed refine (#1363).
- Refine's research and proposal prompts move to `roadmap_refine_research.md` and `roadmap_refine_proposal.md`; the proposal prompt names every `RefinementProposal` field, and the issue reaches the model as one JSON document (#1363).
2 changes: 1 addition & 1 deletion docs/CLI_REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5835,7 +5835,7 @@ devops roadmap close [OPTIONS]

### `devops roadmap refine`

**Refine roadmap items to Ready with proposed design, tasks, and acceptance criteria. Evaluates Next-release and Backlog New items using code, documentation, and external research.**
**Refine roadmap items to Ready with proposed design, tasks, and acceptance criteria. Evaluates Next-release and Backlog New items using code, documentation, and external research. An item whose model call fails is skipped and reported; the others are still refined, and refine then exits 1.**

```bash
devops roadmap refine [OPTIONS]
Expand Down
2 changes: 2 additions & 0 deletions docs/ERRORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ names the class each row describes. One code never maps to two exit statuses.
| `ReleasePushRefusedError` | `RELEASE_PUSH_REFUSED_RULESET` | `1` | Git | Raised when git push to a release branch is refused by a repository ruleset (GH013). |
| `ReleaseRemoteFetchError` | `RELEASE_REMOTE_FETCH_FAILED` | `1` | Git | Raised when fetching the remote release branch tip fails. |
| `ReleaseWorkingTreeDirtyError` | `RELEASE_WORKING_TREE_DIRTY` | `1` | Git | Raised when the working tree has uncommitted changes before cutting a release. |
| `ReplyRejectedError` | `LLM_INFERENCE_ERROR` | `10` | Devops_cli.ai.client.models | Raised when the caller's validator refused a reply; it carries the reply, never cached. |
| `ReviewPoolError` | `REVIEW_POOL_ERROR` | `1` | Ai | Raised when an error occurs during parallel review worker pool execution. |
| `RoadmapCardChangedError` | `ROADMAP_CARD_CHANGED` | `1` | Roadmap | Raised before a job's board write that would revert a change made since it read the card. |
| `RoadmapRefineError` | `ROADMAP_REFINE_FAILED` | `1` | Roadmap | Raised after a refine run in which the model call failed for one or more items. |
| `RoadmapRunError` | `DEVOPS_CLI_ERROR` | `1` | Roadmap | Raised when one or more roadmap jobs fail during execution. |
| `RunCancelled` | `RUN_CANCELLED` | `26` | Ai | Raised when an agent run was cancelled by the application or timeout. |
| `RunIndexNotConfiguredError` | `DEVOPS_CLI_ERROR` | `1` | Devops_cli.ai.run_store | No shared run index is configured. |
Expand Down
5 changes: 3 additions & 2 deletions docs/MCP_TOOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The `devops-cli` FastMCP server exposes DevOps automation and AI review capabili
| [`roadmap_close`](#roadmap-close) | Preview closure: each delivered item of the current release it would close, with its comment, and the release cut it would make or what holds it. It never writes. `mode="plan"`, the default, reads GitHub and ends with the GraphQL points spent and left; `mode="dry-run"` makes no request and returns the requests a run makes. A person or the service runs `devops roadmap close --confirm`. |
| [`roadmap_intake`](#roadmap-intake) | Turn candidates into roadmap items: duplicate check, type, priority, Value, Effort and placement, with the agent filing quota for an agent's new candidate (`title` with `body`, and `source`, the link it came from, which `borrow_reason` needs). `mode="plan"`, the default, previews: it reads GitHub and calls the model, writes nothing, and reports what it spent. `mode="dry-run"` makes no request and returns the requests a run makes; `mode="confirm"` makes the writes. The body is passed as text, never as a path, so the tool reads no file of the caller's choosing. |
| [`roadmap_migrate`](#roadmap-migrate) | Preview the one-time move of the roadmap's source to GitHub: its plan and report. It never writes. `mode="plan"`, the default, reads GitHub and ends with the GraphQL points spent and left; `mode="dry-run"` makes no request and returns the requests a run makes. A person reviews the plan and runs `devops roadmap migrate --confirm`. |
| [`roadmap_refine`](#roadmap-refine) | Run a dry run of item refinement: returns the refinement plan without making any writes. It never accepts a confirm argument, ensuring it is strictly read-only. |
| [`roadmap_refine`](#roadmap-refine) | Run a dry run of item refinement: returns the refinement plan without making any writes. It never accepts a confirm argument, ensuring it is strictly read-only. When the model call fails for an item, the tool fails, and its error still carries the plan naming that item. |
| [`roadmap_render`](#roadmap-render) | Render docs/ROADMAP.md from GitHub's issues, milestones and board. `mode="plan"`, the default, reads GitHub and prints the file without writing it, ending with the GraphQL points spent and left. `mode="dry-run"` makes no request and returns the requests a run makes; `mode="write"` writes the file. |
| [`roadmap_reprioritize`](#roadmap-reprioritize) | Hold the current release to its admission rule, cap and stall window, and start the next release once it ships; prints each change with its reason. `mode="plan"`, the default, previews: it reads GitHub, writes nothing, and ends with the GraphQL points spent and left. `mode="dry-run"` makes no request and returns the requests a run makes; `mode="confirm"` makes the changes. |
| [`roadmap_run`](#roadmap-run) | Report the roadmap jobs that are due: runs nothing and returns the due tuple. |
Expand Down Expand Up @@ -1415,7 +1415,8 @@ person reviews the plan and runs `devops roadmap migrate --confirm`.

Run a dry run of item refinement: returns the refinement plan without making any writes.

It never accepts a confirm argument, ensuring it is strictly read-only.
It never accepts a confirm argument, ensuring it is strictly read-only. When the model call
fails for an item, the tool fails, and its error still carries the plan naming that item.

**Parameters:**

Expand Down
Loading
Loading