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 .gh-dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ prSections:
issuesSections:
# The first filter is the filter of the "Triage & Quality Table" view of the project board.
- title: Triage and quality
filters: is:open label:status/triage,status/blocked,type/bug
filters: is:open label:status/new,status/blocked,type/bug
- title: P0 and P1
filters: is:open label:priority/p0-critical,priority/p1-high
- title: No milestone
Expand Down
52 changes: 47 additions & 5 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,16 @@
color: "EDEDED"
description: "A release pull request whose release release-please created"

# ── Status Labels ───────────────────────────────────────────────────────────
- name: "status/triage"
# ── Roadmap Item Fields (ADR 0016) ──────────────────────────────────────────
# One label of each family holds a field of a roadmap item. A roadmap job that
# sets a field replaces each label of the family with the label of the value.
- name: "status/new"
color: "EDEDED"
description: "New issue or PR awaiting technical triage and scoping"
description: "Status New: the item is not ready yet"

- name: "status/ready"
color: "1D76DB"
description: "Status Ready: problem, acceptance criteria and an answer to each key question"

- name: "status/in-progress"
color: "BFDADC"
Expand All @@ -108,9 +114,45 @@
color: "E11D21"
description: "Execution blocked by external dependency or upstream review"

- name: "status/ready-to-merge"
- name: "priority/p0-critical"
color: "B60205"
description: "Urgent blockages, critical vulnerabilities, or release blockers"

- name: "priority/p1-high"
color: "D93F0B"
description: "Priority P1: high-impact work for the next planned milestone"

- name: "priority/p2-medium"
color: "FBCA04"
description: "Standard priority feature work and architectural improvements"

- name: "priority/p3-low"
color: "0E8A16"
description: "All quality gates passed and approved by maintainer for merge"
description: "Minor polish, low-severity improvements, and backlogged tasks"

- name: "value/high"
color: "C2E0C6"
description: "Value High: the delivery of the item matters much"

- name: "value/medium"
color: "FEF2C0"
description: "Value Medium"

- name: "value/low"
color: "EDEDED"
description: "Value Low: the delivery of the item matters little"

- name: "effort/high"
color: "F9D0C4"
description: "Effort High: much work, in one pull request"

- name: "effort/medium"
color: "FEF2C0"
description: "Effort Medium"

- name: "effort/low"
color: "C2E0C6"
description: "Effort Low: little work"

# ── Roadmap Labels ──────────────────────────────────────────────────────────
- name: "needs-split"
Expand Down
7 changes: 1 addition & 6 deletions .github/project-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@
{"name": "Medium", "color": "YELLOW"},
{"name": "High", "color": "RED"}
]
},
{
"name": "Job record",
"type": "text",
"description": "JSON the roadmap jobs write: the last value they set for each field (Status, Priority, Value, Effort). No view shows it."
}
],
"views": [
Expand All @@ -70,7 +65,7 @@
{
"name": "Triage & Quality Table",
"layout": "table",
"filter": "is:open label:status/triage,status/blocked,type/bug",
"filter": "is:open label:status/new,status/blocked,type/bug",
"sort_by": [{"field": "Priority", "direction": "asc"}],
"visible_fields": ["Title", "Status", "Priority", "Labels", "Assignees", "Updated"],
"description": "Incoming issue and PR triage table prioritizing bugs and blockers."
Expand Down
6 changes: 0 additions & 6 deletions .github/roadmap.toml

This file was deleted.

2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ devops-cli is a Python command-line tool, `devops`, that automates workstation,
12. **Keep your own files out of git.** Put agent files under `.data/agent/` and scratch scripts under `.data/agent/scratch/`. Back up a file outside the workspace to `<path>.bak-<YYYYMMDD-HHMMSS>` before you edit it. Never change `config.yaml`.
13. **Run one `devops ai` call at a time,** and only when a file or a deterministic check cannot give the answer.

**Only a person** merges pull requests, records review verdicts, plans milestones, and changes secrets, repository settings and hosts. Intake sets the board's Priority field on a new issue, so set no milestone or priority on it. release-please makes every release from `main` and writes `CHANGELOG.md`, manifests and version lines, so nobody edits those by hand. Agents change the release workflow and its configuration through ordinary pull requests ([RELEASE_CYCLE.md](RELEASE_CYCLE.md)).
**Only a person** merges pull requests, records review verdicts, plans milestones, and changes secrets, repository settings and hosts. Intake sets the priority label of a new issue, so set no milestone or priority on it. release-please makes every release from `main` and writes `CHANGELOG.md`, manifests and version lines, so nobody edits those by hand. Agents change the release workflow and its configuration through ordinary pull requests ([RELEASE_CYCLE.md](RELEASE_CYCLE.md)).

## Where to look

Expand Down
8 changes: 4 additions & 4 deletions CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ devops-cli automates DevOps work across the GitHub repositories it manages. This
## Planning and releases

**Roadmap**:
The items on the project board, the milestones a person plans them into, and the backlog, taken together.
The items, the milestones a person plans them into, and the backlog, taken together. Labels and milestones on GitHub hold them (ADR 0016).
_Avoid_: plan, board

**Item**:
One unit of planned work on the roadmap, tracked as exactly one issue and delivered by exactly one pull request that delivers nothing else. An open issue becomes an item when intake places it on the roadmap.
One unit of planned work on the roadmap, tracked as exactly one issue and delivered by exactly one pull request that delivers nothing else. An open issue becomes an item when intake places it on the roadmap: an item is an issue with a `priority/*` label. One label family holds each of its Status, Priority, Value and Effort.
_Avoid_: task, deliverable, card, ticket, work item, tracking issue

**Change**:
Expand Down Expand Up @@ -61,7 +61,7 @@ An item closed without being delivered. It stays on record so the same idea is r
_Avoid_: rejected, won't fix, deferred

**Milestone**:
A planning bucket that a person sets on the board, ordered by its due date. It never names a version, and no release reads it.
A planning bucket that a person sets on an issue, ordered by its due date. It never names a version, and no release reads it.
_Avoid_: release, sprint

**Backlog**:
Expand All @@ -83,7 +83,7 @@ _Avoid_: cut PR, release branch
## Roadmap jobs

**Candidate**:
Something that surfaced (from a person, a review of merged code, an agent or discovery) and may become an item. An open issue that intake has not yet placed on the roadmap, or whose card a person archived, is a candidate.
Something that surfaced (from a person, a review of merged code, an agent or discovery) and may become an item. An open issue with no `priority/*` label is a candidate: intake has not yet placed it on the roadmap, or a person took its priority off.
_Avoid_: proposal, suggestion

**Intake**:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Specialized personas available for interactive conversations via `devops ai chat

## Strategic Prioritization Matrix & Product Roadmap

The roadmap lives on GitHub: the issues are its items, the [project board](https://github.com/dan-petty/devops-cli/projects) holds their Status, Priority, Value and Effort, and a person plans them into milestones. The *Value vs Effort Priority Matrix* view of the board shows the prioritization matrix. [`docs/VISION.md`](docs/VISION.md) holds the principles and themes.
The roadmap lives on GitHub: the issues are its items, their labels hold their Status, Priority, Value and Effort (`status/*`, `priority/*`, `value/*`, `effort/*`, [ADR 0016](docs/adr/0016-labels-hold-the-roadmap-items-fields.md)), and a person plans them into milestones. No roadmap job reads or writes the [project board](https://github.com/dan-petty/devops-cli/projects); it is a view that filters by those labels and milestones. [`docs/VISION.md`](docs/VISION.md) holds the principles and themes.

---

Expand Down Expand Up @@ -361,10 +361,10 @@ and excessive permissions fail it, and every other finding is shown. |
| [**docs**](docs/commands/docs.md) | `devops docs generate [OPTIONS]` | Generate comprehensive Markdown or JSON documentation for all CLI commands and tools. |
| | `devops docs check [OPTIONS]` | Check that generated documentation and README.md are up to date with codebase. |
| | `devops docs sync-readme [OPTIONS]` | Synchronize the Complete Command Matrix table in README.md with live CLI commands. |
| [**roadmap**](docs/commands/roadmap.md) | `devops roadmap intake [OPTIONS]` | Turn candidates into items: every open issue not on the board, and every board item intake left without a Priority. The model compares each with the board's items and the issues closed as not planned, but not with an issue that has sub-issues, because its sub-issues deliver it. It names a possible duplicate for a person to close: intake never closes an issue and never drops a candidate. Each gets a type, a priority, Value and Effort from the model with a reason comment, and goes to the backlog. Intake sets no milestone: a person plans the milestones on the board, and a milestone an issue has stays. An open issue whose board card a person archived is a candidate too: intake restores the card, which keeps its values and milestone; close the issue as not planned to keep it off the roadmap. A candidate an agent files with --title and --body-file is labeled source/agent, and intake files it, a possible duplicate too, unless a run that stopped after filing left an open issue with its title and body, which intake then places; 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. |
| [**roadmap**](docs/commands/roadmap.md) | `devops roadmap intake [OPTIONS]` | Turn candidates into items: every open issue with no priority/* label. The model compares each with the items and the issues closed as not planned, but not with an issue that has sub-issues, because its sub-issues deliver it. It names a possible duplicate for a person to close: intake never closes an issue and never drops a candidate. Each gets a type, a status/new label, Value and Effort labels and a reason comment, then its priority label last, and goes to the backlog. A label a person set stays. Intake sets no milestone: a person plans the milestones, and a milestone an issue has stays. Close an issue as not planned to keep it off the roadmap. A candidate an agent files with --title and --body-file is labeled source/agent, and intake files it, a possible duplicate too, unless a run that stopped after filing left an open issue with its title and body, which intake then places; 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 refine [OPTIONS]` | Refine roadmap items to Ready with proposed design, tasks, and acceptance criteria, using code, documentation, and external research. Without --item, refine takes items nearest place first: each open milestone's New items, by due date and then by number, then the backlog's P0 and P1 items, then the backlog's other New items, each place by priority. Only --limit stops a run. The number of Ready items does not stop it. In each open milestone and among the backlog's P0 and P1 items it also takes Ready items it has no record of, and sets one back to New when it finds it not ready. An item refine cannot set to Ready gets one comment with its next step. The step is the questions a person answers, the split a person makes, or the open items it waits on. Refine looks at the item again after a reply, a body edit or the close of those items, or after a commit on the default branch changes a file that the block cites. The report groups every item by its next step. 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 the roadmap jobs that are due, in order: metrics, then intake and refine, and record each one's last success. Intake is due on an issue reopened, and decides at most 5 candidates a run and keeps a record of those it left beside the schedule; refine is due every hour, on a first run, and after an intake that placed a critical fix or a P0 item. Without --confirm, or with --dry-run, prints the due list and runs nothing. |
| | `devops roadmap return [OPTIONS] <item>` | Return an item to New on the roadmap board with an evidence comment, handing it back to refinement when it cannot be built as specified or needs a refactor beyond its scope. |
| | `devops roadmap return [OPTIONS] <item>` | Return an item to New with an evidence comment, handing it back to refinement when it cannot be built as specified or needs a refactor beyond its scope. The item gets the label status/new in place of its other status/* label. |
| [**pr**](docs/commands/pr.md) | `devops pr list [OPTIONS]` | List pull requests with base targeting and review status. |
| | `devops pr view [OPTIONS] <number>` | View details of a pull request. |
| | `devops pr checks [OPTIONS] <number>` | Check remote CI quality gate status on a pull request. |
Expand All @@ -382,7 +382,7 @@ and excessive permissions fail it, and every other finding is shown. |
| [**gh**](docs/commands/gh.md) | `devops gh api [OPTIONS] <endpoint>` | Execute a GitHub API request with quota-derived spacing, rate-limit backoff, and optional caching. |
| | `devops gh rate-limit [OPTIONS]` | Display GitHub REST and GraphQL API rate limits, quotas, and reset countdowns. |
| | `devops gh status [OPTIONS]` | Display GitHub published operational status, key components, and active incidents. |
| | `devops gh metrics [OPTIONS]` | Display comprehensive project metrics including release frequency, PRs, commits, CI pass rates, milestones, and project board items. |
| | `devops gh metrics [OPTIONS]` | Display comprehensive project metrics including release frequency, PRs, commits, CI pass rates, milestones, and roadmap Items. |
| | `devops gh labels COMMAND [ARGS]...` | GitHub Views, Projects, Issues, Pages, Milestones, and Labels automation. |
| | `devops gh milestones COMMAND [ARGS]...` | GitHub Views, Projects, Issues, Pages, Milestones, and Labels automation. |
| | `devops gh project COMMAND [ARGS]...` | GitHub Views, Projects, Issues, Pages, Milestones, and Labels automation. |
Expand Down
Loading
Loading