Skip to content

feat(roadmap): items have one owner label and a claim ends a Job - #2935

Merged
dan-petty merged 15 commits into
mainfrom
feat/2910-item-owner-claim-labels
Oct 31, 2026
Merged

dan-petty merged 15 commits into
mainfrom
feat/2910-item-owner-claim-labels

Conversation

@dan-petty

@dan-petty dan-petty commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

What

Every roadmap item now has one owner at a time. The owner is one label of the family owner/service, owner/agent and owner/human.

  • devops roadmap claim <issue> --as agent|human and devops roadmap release <issue> set and clear the label. Both show a plan, write with --confirm, and make no request with --dry-run.
  • One rule decides a claim. Any actor may claim a free item. A second owner is refused. A person may take an item from the Service. An agent may not. A closed issue takes no claim.
  • devops repos worktrees add claims the issue for an agent after it makes the worktree. If the claim fails, the command only warns.
  • The stage and implement jobs leave out an item that an agent or a person claimed, and the plan says so.
  • The implement row of the Service sets owner/service in the write that records a Job, and clears it when it reports the Job. If someone claims the item after the plan, the round makes no Job and logs that it left the item.
  • A claim by an agent or a person ends a running Job at its next boundary. The boundaries are the start of each task group, a step that stops, and the point just before the push. The Job pushes nothing, opens no pull request, comments why, and leaves the Status and the owner as the new owner has them.
  • The workflow clear-status.yml removes the owner/* labels when an issue closes.

Why

On 2026-10-30, an agent and a person worked by hand on the items #2656 and #2745 while the implement job held their plans and branches. The Service could not know that someone else worked on an item, and nobody could say so. A label is the way ADR 0016 holds every other field, so a person can also claim in the GitHub page.

The change also restores the text of ADR 0016, which an earlier change left empty on main, and lists status/planned in it.

Closes #2910

@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 Oct 31, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results

  • Full devops ci before the last merge: all checks pass except test and coverage. The test check took 4m 47s (287 s). It had two failures. One is test_scan_report_skips_named_scanners (test(floor): every test sees the same tokenizer cache, mounts, process table, PATH and programs on every host, and no skip depends on the host #2165, kube-linter is on the PATH of the devcontainer). The other was the test of the close workflow, which read the old jq filter after the merge of origin/main. I fixed that test and ran tests/commands/test_pr_status.py: 17 passed. The coverage check did not run because test failed.
  • devops ci fail-to-pass --base origin/main: 30 tests fail on the base and pass on this branch, in 12 test files (claim, claim command, labels file, stage and implement selection, implement job and submit, worktrees add, reclaim, MCP, pr status).

Review findings fixed

  • A claim made while a group runs, when that group then stops the job, now ends the run as a yield. The stop pushes nothing and opens no pull request. Tests for a Staged and a Planned item.
  • The last claim check now runs after the docs and archive steps, just before the push. Test: a claim during docs generate.
  • A claim of a closed issue is refused. A release of a closed issue stays allowed.
  • A round that leaves an item because someone claimed it after the plan now logs one line (SubmitResult.left).
  • The help text of worktrees add, CONTRIBUTING.md and docs/SDLC.md now say that the command claims the issue for an agent. Generated docs are synced.
  • The archived plan names the files that changed.

Finding declined

  • An agent cannot take an item from the Service. The owner decided that a person's claim beats the Service's, and the spec says an agent claim of an owner/service item is refused. worktrees add warns and still makes the worktree. The design now records this.

Notes

@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 21:55
@dan-petty
dan-petty merged commit 8b7dc4b into main Oct 31, 2026
21 checks passed
@dan-petty
dan-petty deleted the feat/2910-item-owner-claim-labels branch October 31, 2026 21:58
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.35.0](v0.34.0...v0.35.0)
(2026-10-31)


### Features

* **roadmap:** items have one owner label and a claim ends a Job
([#2935](#2935))
([8b7dc4b](8b7dc4b)),
closes [#2910](#2910)


### Bug Fixes

* **k8s:** set containerSecurityContext for mattermost
([#2939](#2939))
([5c79314](5c79314))
* **k8s:** specify runAsUser for mattermost-operator
([#2934](#2934))
([fbf7427](fbf7427))
* **roadmap:** show the cause of a model call stop in the Job comment
([#2938](#2938))
([e988710](e988710)),
closes [#2922](#2922)

---
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): an item has one owner, service, agent or human, and the jobs skip a claimed item

1 participant