Skip to content

fix(roadmap): a claim release leaves the item In Progress #5118

Closed

Description

@dan-petty

Problem Description

Since PR #5111, devops repos worktrees add claims the item for an agent and then sets status/in-progress (progress_as_agent and set_claimed_status in src/devops_cli/roadmap/pull_status.py). devops roadmap release (apply_claim with no target in src/devops_cli/roadmap/claim.py) removes only the owner/* label. The Status stays In Progress.

After the release, the item has no owner, no Job and no pull request, but it holds In Progress. No job can take it again:

  • The sweep writes only an item that holds Ready or Planned (_WRITTEN_FROM in src/devops_cli/roadmap/status_sync.py).
  • require_startable (src/devops_cli/roadmap/implement/implement_outside.py) refuses each Status that is not Ready or Planned (_STARTABLE).
  • No inbox kind shows the item. The claim inbox line (_claim_lines in src/devops_cli/roadmap/inbox.py) needs an owner, so it goes away after the release.

Two texts give the release as the remedy, and that remedy does not work now:

  • implement_outside_claimed in src/devops_cli/lang/en/messages.py: "Release it first: devops roadmap release {number} --confirm".
  • inbox_clears["claim"] in src/devops_cli/lang/en/messages.py: "devops roadmap release {number} --repo {repo} --confirm".

Before PR #5111, the claim did not change the Status, so a release made the item startable again.

Reproduction Steps

  1. Use an item with status/planned and no owner. require_startable passes.
  2. Run devops repos worktrees add <issue> --type fix --slug <slug>. The item gets owner/agent and status/in-progress.
  3. Run devops roadmap release <issue> --confirm.
  4. Run devops roadmap implement --item <issue> --confirm. It calls require_startable and refuses the item.

A pytest with the fake store gives the same result on origin/main (ba30820): apply_claim as agent, set_claimed_status, apply_claim with no target, then require_startable raises RoadmapImplementError "... has the Status In Progress", and the owner is None.

Expected vs Actual Behavior

Expected: after the release of an owner/agent claim, the item holds the Status that its facts give, when no open pull request closes it and no Job holds it: Planned when its plan is merged, else Ready. Then the sweep and the runner Job can take it again.

Actual: the item holds status/in-progress with no owner, no Job and no pull request. No job and no inbox line acts on it.

Proposed fix

  • In devops roadmap release, after the release of an owner/agent claim, write the Status through write_status from the facts of the item (plan_merged, job_active, pull_open), when the item holds In Progress. Keep status/blocked and every Status that a person set.
  • Add a test first: claim, set_claimed_status, release, then require_startable passes.
  • Add the Status change of the release to the claim table in docs/ROADMAP_WORKFLOW.md (row "owner/agent or owner/human | ... devops roadmap release").
  • Alternative, if the release must not write a Status: change implement_outside_claimed and inbox_clears["claim"] so they also tell the person to set the Status back, and add an inbox line for an open item that holds In Progress with no owner, no Job and no open pull request.

Environment Diagnostics

origin/main at ba30820. Found in the review of PR #5111 (closes #4685) after the merge.

Source: #5111

Proposed design

Problem statement

A release of an agent claim clears only the owner label. The item keeps status/in-progress with no owner, Job or pull request. The sweep and require_startable then refuse it. The release must restore the Status from the item's facts and keep Blocked and a Status that a person set.

Acceptance criteria

Requirement: Release restores a Planned item

When devops roadmap release clears an owner/agent claim from a job-set In Progress Status, it SHALL write the Status that derive_status gives.

Scenario: Agent claim on a Planned item

  • WHEN A fake store holds an item with status/planned, no owner, no active Job and no open pull request; an agent claims it, set_claimed_status writes In Progress, and apply_claim releases it.
  • THEN The item has no owner/* label, holds status/planned, and require_startable returns without raising.

Requirement: Release restores a Ready item

devops roadmap release SHALL write status/ready when an agent claim leaves an item with no merged plan, Job or open pull request.

Scenario: Agent claim on an unplanned item

  • WHEN A fake store holds an item with status/in-progress from an agent claim, its plan is not merged, no Job holds it and no pull request is open; the claim is released.
  • THEN The item holds status/ready and no owner/* label.

Requirement: Release keeps a Blocked item

devops roadmap release MUST NOT replace status/blocked when it clears an owner/agent claim.

Scenario: Blocked item with a stop

  • WHEN An item holds status/blocked and its job record holds implement.stopped; an agent claim is released.
  • THEN The item still holds status/blocked and has no owner/* label.

Requirement: Release keeps a person-set Status

devops roadmap release MUST NOT replace a Status whose label differs from the Status in the item's job record.

Scenario: Person-set In Progress

  • WHEN An item holds status/in-progress, its job record holds no In Progress Status mark, and an owner/agent claim is released.
  • THEN The item keeps status/in-progress and loses only its owner label.

Requirement: Release keeps In Progress with an open pull request

devops roadmap release SHALL leave status/in-progress when a Job holds the item or an open pull request closes it.

Scenario: Open pull request after release

  • WHEN An item holds an agent claim and status/in-progress, and an open pull request closes it; the claim is released.
  • THEN The item loses the owner label and still holds status/in-progress.

Requirement: Release writes through one Status writer

devops roadmap release SHALL write the restored Status through write_status in src/devops_cli/roadmap/status_sync.py.

Scenario: One Status write

  • WHEN An agent claim is released from an item that holds In Progress and the facts give Ready.
  • THEN The fake store records one ItemField.STATUS write from write_status and no direct Status label write.

Requirement: Claim table names the release Status change

docs/ROADMAP_WORKFLOW.md SHALL name the Status change that devops roadmap release makes in the claim transition table.

Scenario: Workflow document

  • WHEN A reader opens the claim table row for owner/agent or owner/human and devops roadmap release.
  • THEN The row states that a release of owner/agent restores the Status from the item's facts and a release of owner/human changes no Status.

Existing Tool Considered

No alternatives check has run. No open, maintained tool or library covers this repository-specific Status label transition. The change reuses write_status and derive_status in src/devops_cli/roadmap/status_sync.py; the new release caller costs about 2k tokens to build, 1k to keep and 1k to fix, and under 1 hour.

Key questions

  • What sets status/in-progress when an agent claims an item?: devops repos worktrees add calls claim_as_agent, then progress_as_agent; set_claimed_status writes status/in-progress through write_status when the item holds no Status, New, Ready or Planned. [sources: src/devops_cli/roadmap/claim.py, src/devops_cli/roadmap/pull_status.py]
  • Why does the released item become unstartable?: apply_claim with no target writes only the owner field, so the item keeps In Progress. require_startable accepts only Ready or Planned, the sweep writes only Ready or Planned, and the claim inbox line needs an owner. [sources: src/devops_cli/roadmap/claim.py:112, src/devops_cli/roadmap/implement/implement_outside.py:36, src/devops_cli/roadmap/status_sync.py:70, src/devops_cli/roadmap/inbox.py:314]
  • Should devops roadmap release restore the Status of an agent claim?: Yes. It should clear owner/agent and then write the derived Status through write_status when the item holds In Progress and the job record shows the job set it. (best practice) [sources: src/devops_cli/roadmap/claim.py:112, src/devops_cli/roadmap/status_sync.py, src/devops_cli/roadmap/implement/implement_outside.py:36, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Release writes the derived Status. It makes the current remedy text true and lets the sweep and the runner Job take the item again.
    • Rejected: Release only clears the owner and the messages tell the person to set the Status. It leaves a startable item waiting on a manual step and needs an inbox kind.
    • Rejected: Release always resets the item to Ready. It ignores a merged plan, an active Job and an open pull request.
  • Which Status should the release restore?: derive_status from the item's facts: Planned when the plan is merged, Ready otherwise, In Progress while a Job or open pull request holds it, and Blocked stays. (best practice) [sources: src/devops_cli/roadmap/status_sync.py, CONTEXT.md, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Use derive_status with plan_merged, job_active and pull_open. It uses the one Status function and follows the item's facts.
    • Rejected: Use Ready always. It loses the Planned Status of an item whose plan is merged.
    • Rejected: Use Planned when stage.pr is merged. It misses an active or archived change folder and the Job and pull request facts.
  • How should the release tell a job-set In Progress from a person-set Status?: It should compare the Status label with item.job_record.get(ItemField.STATUS), as owns_status does, and write only when both are In Progress. (best practice) [sources: src/devops_cli/roadmap/status_sync.py, docs/adr/0016-labels-hold-the-roadmap-items-fields.md]
    • Chosen: Compare the Status label with the job-record Status. It detects the Status that the job set and leaves a person's label alone.
    • Rejected: Check only the Status label. It overwrites a Status that a person set.
    • Rejected: Always write when an owner/agent claim is released. It changes an item whose Status no job set.
  • Should the release change the Status for an owner/human claim?: No. Only the agent worktree path writes In Progress with a claim; a release of owner/human should clear the owner and leave the Status. (best practice) [sources: src/devops_cli/roadmap/claim.py, src/devops_cli/roadmap/pull_status.py, CONTEXT.md]
    • Chosen: Change the Status only for owner/agent. It matches the claim path that writes In Progress.
    • Rejected: Change the Status for every owner. A human claim does not write In Progress, so the release has no Status to restore.
  • Should the fix use the message and inbox alternative instead?: No. The release can restore the Status through the existing one writer, so the current remedy text stays true and no inbox kind is needed. (best practice) [sources: src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/inbox.py:314]
    • Chosen: Restore the Status in the release. It fixes the stuck item at the source and keeps the existing messages correct.
    • Rejected: Change the messages and add an inbox line. It leaves the item stuck until a person acts and adds a new inbox class.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/high
    effort/medium
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. Items stuck in In Progress with no owner cannot be picked up by any job or inbox line, blocking the workflow.
    • Related: feat(repos): the claim sets In Progress #4685, which asks for a different change. Both items work on the claim/status lifecycle, but #4685 adds the claim setting In Progress while the candidate fixes the release not resetting it.
  3. added
    priority/p1-high
    on Nov 12, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 12, 2026
  5. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 22c806d (see proposed design in issue body).

  6. devops-cli-service commented on Nov 13, 2026

    @devops-cli-service
    Contributor

    Staged: branch fix/5118-a-claim-release-leaves-the-item, draft pull request #5350. The pull request plans the item and closes no issue.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Record the Status that a claim replaces: 33898 tokens
    2. Restore the Status when a release clears an agent claim: 32497 tokens
    3. Name the release Status change in the workflow page: 23101 tokens

    A model review of the plan found these open findings. The stage keeps this pull request a draft with the label plan/needs-fix until a later round clears them:

    • spec_delta_wrong at specs (A release writes through one Status writer): The added requirement A release writes through one Status writer repeats the existing requirement of roadmap-item-labels, which already binds every command that sets the Status to write_status. The release needs no requirement of its own for the one writer. Evidence: "Every job and command that sets the Status of an item SHALL write it through write_status of src/devops_cli/roadmap/status_sync.py."

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • false_premise at feasibility: The probe lines the feasibility cites for the constants are wrong at the commit of the plan: line 3714 of src/devops_cli/config/constants.py is CONST_ROADMAP_RUN_CLONE_DIRNAME, CONST_ROADMAP_STATUS_READY is at line 3756, and line 3762 is the member CONST_ROADMAP_STATUS_NEW of CONST_ROADMAP_STATUS_VALUES, not CONST_ROADMAP_OWNER_AGENT. The feasibility's evidence for the values the release relies on therefore does not hold, and the same drift shows in the store.py citations (JobRecord is at 379, _JOB_RECORD_KEYS at 677). Evidence: "src/devops_cli/config/constants.py:3714:CONST_ROADMAP_STATUS_READY: Final[str] = "Ready""
    • verify_form at group 3: The group changes only docs/ROADMAP_WORKFLOW.md, but its verification runs devops ci docs, which is the docs check row and compares the generated CLI and configuration pages (devops docs check) plus the devops argv of the markdown. It never runs tests/invariants/test_roadmap_workflow_doc.py, the test that holds this page in step, so a wrong or missing claim table row still passes the verify. Evidence: "cmd=["uv", "run", "devops", "docs", "check"],"
    • other at decisions (the dry run): The release now reads the open pull requests and writes the Status through write_status, but the plan keeps dry_run_claim listing the owner write only. The dry run of devops roadmap release then under-reports the requests the run sends, and the project already has StoreRequests.open_pulls to list that read without sending it. Evidence: "The dry run keeps listing the owner write only."
    • other at group 2: The release takes plan_merged from the Status that the claim replaced, not from the item's plan, so a plan merged after the claim yields Ready; the issue's expected Status is Planned when its plan is merged. Evidence: "A plan merged after the claim leaves the released item Ready"
    • spec_delta_wrong at specs: The scenario's THEN promises that a release clears the status/* labels of a closed issue, but the release writes no Status for a closed item; only the workflow clear-status.yml clears those labels. Evidence: "The issue holds no owner/* label and no status/* label."
    • other at decisions: The release now reads the open pull requests and writes a Status, but the dry run lists only the owner write; the existing requirement The claim commands write only with confirm says a dry run lists the requests of a run, and the plan leaves that requirement unchanged. Evidence: "The dry run keeps listing the owner write only."
    • other at group 2 / decisions (the dry-run decision): The release now reads the open pull requests and the issue, writes the Status and reads it back, but the plan leaves dry_run_claim listing only the owner write, so devops roadmap release --dry-run no longer prints the requests a real run sends. The repository rule and StoreRequests.open_pulls already let the plan list those conditional reads and the Status write. Evidence: "A dry run sends no external request, a read included, and prints the requests that a real run would send."
    • other at specs (A release of an agent claim restores the Status) and group 2: The spec requirement and the workflow sentence promise Planned when the plan is merged, but released_facts takes plan_merged from claim.replaced_status, so a plan merged after the claim gets Ready from the release. The spec delta states a rule the planned code does not implement, and no scenario covers the merged-after-claim case. Evidence: "A plan merged after the claim leaves the released item Ready"

    The runs of the planner and the review made 140 model request(s), and used 9985102 input tokens and 188891 output tokens. The tool calls, in order:

    1. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":120,"end_line":330})
    2. read_file({"path":"src/devops_cli/roadmap/claim.py","start_line":110,"end_line":210})
    3. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":280,"end_line":420})
    4. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":640,"end_line":760})
    5. read_file({"path":"docs/ROADMAP_WORKFLOW.md","start_line":55,"end_line":110})
    6. read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1,"end_line":120})
    7. read_file({"end_line":260,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":120})
    8. read_file({"end_line":75,"path":"docs/ROADMAP_WORKFLOW.md","start_line":1})
    9. read_spec({"capability":"roadmap-item-claim"})
    10. read_file({"end_line":130,"path":"tests/roadmap/test_roadmap_claim.py","start_line":200})
    11. search_code({"text":"def docs"})
    12. search_code({"text":"open_pulls"})
    13. read_file({"end_line":2320,"path":"src/devops_cli/commands/ci.py","start_line":2190})
    14. search_code({"text":"def open_pulls"})
    15. search_code({"text":"\"docs\":"})
    16. search_code({"text":"check_spec"})
    17. search_code({"text":"docs_sync"})
    18. search_code({"text":"name=\"docs\""})
    19. read_file({"end_line":910,"path":"src/devops_cli/commands/ci.py","start_line":840})
    20. search_code({"text":"def check"})
    21. list_files({"directory":"src/devops_cli/commands"})
    22. read_file({"path":"src/devops_cli/commands/docs.py","start_line":1,"end_line":120})
    23. search_code({"text":"@app.command(name=\"check\")"})
    24. search_code({"text":"test_roadmap_workflow_doc"})
    25. read_file({"end_line":200,"path":"src/devops_cli/commands/docs.py","start_line":130})
    26. search_code({"text":"RecordKey"})
    27. read_file({"end_line":800,"path":"tests/support/fakes/roadmap_store.py","start_line":700})
    28. search_code({"text":"dry_run_claim"})
    29. read_file({"end_line":330,"path":"src/devops_cli/roadmap/inbox.py","start_line":290})
    30. read_file({"end_line":120,"path":"tests/roadmap/test_roadmap_claim_command.py","start_line":1})
    31. read_file({"end_line":1230,"path":"src/devops_cli/commands/roadmap.py","start_line":1180})
    32. search_code({"text":"\"release\""})
    33. search_code({"text":"lists the same requests"})
    34. read_spec({"capability":"command-dry-run-class","requirement":"A roadmap claim or release lists its requests"})
    35. search_code({"text":"roadmap release"})
    36. search_code({"text":"_JOB_RECORD_KEYS"})
    37. search_code({"text":"ConsolidateRecordKey"})
    38. search_code({"text":"write_status"})
    39. search_code({"text":"ItemField.STATUS"})
    40. read_file({"end_line":1010,"path":"tests/core/test_repos_worktrees_add.py","start_line":930})
    41. search_code({"text":"def check_docs"})
    42. read_file({"end_line":60,"path":"src/devops_cli/roadmap/planned.py","start_line":1})
    43. read_file({"end_line":1440,"path":"src/devops_cli/docs/generator.py","start_line":1376})
    44. read_spec({"capability":"roadmap-item-claim","requirement":"A release clears the owner label"})
    45. read_file({"end_line":76,"path":"src/devops_cli/roadmap/status_sync.py","start_line":60})
    46. search_code({"text":"record key"})
    47. read_file({"end_line":3775,"path":"src/devops_cli/config/constants.py","start_line":3700})
    48. search_code({"text":"def set_field"})
    49. search_code({"text":"def set_marks"})
    50. read_file({"end_line":890,"path":"tests/support/fakes/roadmap_store.py","start_line":820})
    51. read_file({"end_line":1060,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1000})
    52. search_code({"text":"job_writes()"})
    53. list_files({"directory":"openspec/changes"})
    54. find_issues({"terms":"claim release status in progress"})
    55. read_issue({"number":5198})
    56. read_issue({"number":5118})
    57. read_spec({"capability":"command-dry-run-class"})
    58. search_code({"text":"def planned_changes_at"})
    59. read_file({"end_line":120,"path":"src/devops_cli/roadmap/planned.py","start_line":60})
    60. read_file({"end_line":930,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":840})
    61. read_file({"path":"src/devops_cli/config/constants.py","start_line":3745,"end_line":3780})
    62. list_files({"directory":"tests/invariants"})
    63. read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1,"end_line":80})
    64. search_code({"text":"CONST_ROADMAP_OWNER_AGENT: Final[str]"})
    65. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":290,"end_line":300})
    66. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":370,"end_line":400})
    67. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":670,"end_line":695})
    68. search_code({"text":"_WRITTEN_FROM = frozenset"})
    69. search_code({"text":"_STARTABLE = frozenset"})
    70. search_code({"text":"def _claim_lines"})
    71. search_code({"text":"devops roadmap release"})
    72. search_code({"text":"ConsolidateRecordKey"})
    73. read_file({"path":"docs/ROADMAP_WORKFLOW.md","start_line":68,"end_line":100})
    74. read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":80,"end_line":200})
    75. read_spec({"capability":"roadmap-item-claim"})
    76. read_spec({"capability":"roadmap-item-claim","requirement":"A release clears the owner label"})
    77. search_code({"text":"def set_field"})
    78. read_file({"path":"docs/ROADMAP_WORKFLOW.md","start_line":100,"end_line":120})
    79. read_file({"path":"docs/ROADMAP_WORKFLOW.md","start_line":120,"end_line":140})
    80. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":1010,"end_line":1060})
    81. search_code({"text":"def open_pulls"})
    82. search_code({"text":"def issue_of_branch"})
    83. search_code({"text":"def planned_changes_at"})
    84. search_code({"text":"def repository_files"})
    85. read_file({"path":"tests/roadmap/test_roadmap_claim.py","start_line":1,"end_line":45})
    86. read_spec({"capability":"roadmap-item-claim"})
    87. read_file({"path":"src/devops_cli/roadmap/claim.py","start_line":100,"end_line":230})
    88. read_spec({"capability":"roadmap-item-claim","requirement":"A release clears the owner label"})
    89. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":130,"end_line":260})
    90. read_file({"end_line":410,"path":"src/devops_cli/roadmap/stores/store.py","start_line":355})
    91. search_code({"text":"def open_pulls"})
    92. read_file({"end_line":1000,"path":"src/devops_cli/roadmap/stores/store.py","start_line":960})
    93. read_file({"end_line":700,"path":"src/devops_cli/roadmap/stores/store.py","start_line":660})
    94. search_code({"text":"class OpenPull"})
    95. search_code({"text":"def set_field"})
    96. read_file({"end_line":600,"path":"src/devops_cli/roadmap/stores/store.py","start_line":560})
    97. read_file({"end_line":1060,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1005})
    98. read_file({"end_line":145,"path":"docs/ROADMAP_WORKFLOW.md","start_line":60})
    99. read_file({"end_line":3815,"path":"src/devops_cli/config/constants.py","start_line":3745})
    100. search_code({"text":"release"})
    101. read_file({"end_line":420,"path":"tests/roadmap/test_roadmap_claim.py","start_line":180})
    102. callers({"symbol":"apply_claim"})
    103. search_code({"text":"released_facts"})
    104. read_file({"end_line":1260,"path":"src/devops_cli/commands/roadmap.py","start_line":1170})
    105. read_file({"end_line":260,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":130})
    106. read_file({"end_line":1200,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1150})
    107. search_code({"text":"writes a Status label"})
    108. search_code({"text":"write_status("})
    109. read_spec({"capability":"roadmap-item-labels","requirement":"No other module writes a Status label"})
    110. read_file({"end_line":1235,"path":"tests/invariants/test_architectural_invariants.py","start_line":1155})
    111. search_code({"text":"moves forward"})
    112. list_files({"directory":"openspec/specs"})
    113. read_spec({"capability":"roadmap-item-labels","requirement":"A Status moves forward only"})
    114. read_spec({"capability":"roadmap-item-claim","requirement":"The claim commands write only with confirm"})
    115. read_spec({"capability":"roadmap-item-claim","requirement":"A claim sets the owner label of one owner"})
    116. read_file({"end_line":920,"path":"tests/support/fakes/roadmap_store.py","start_line":760})
    117. search_code({"text":"_JOB_RECORD_KEYS"})
    118. search_code({"text":"def planned_changes_at"})
    119. search_code({"text":"def repository_files"})
    120. read_spec({"capability":"repos-worktrees-add"})
    121. read_spec({"capability":"repos-worktrees-add","requirement":"The claim of an agent sets the Status In Progress"})
    122. search_code({"text":"replaced"})
    123. callers({"symbol":"service_claim"})
    124. search_code({"text":"ConsolidateRecordKey"})
    125. search_code({"text":"devops ci test tests/roadmap"})
    126. read_issue({"number":5198})
    127. read_file({"end_line":770,"path":"src/devops_cli/roadmap/stores/store.py","start_line":700})
    128. search_code({"text":"job_record.get("})
    129. search_code({"text":"encode_job_record("})
    130. read_file({"end_line":930,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":840})
    131. read_file({"end_line":130,"path":"docs/ROADMAP_WORKFLOW.md","start_line":100})
    132. read_file({"end_line":200,"path":"openspec/specs/roadmap-item-claim/spec.md","start_line":1})
    133. search_code({"text":"_WRITTEN_FROM = frozenset"})
    134. search_code({"text":"_STARTABLE = frozenset"})
    135. read_file({"end_line":340,"path":"src/devops_cli/roadmap/inbox.py","start_line":305})
    136. search_code({"text":"issue_of_branch(pull.head_ref)"})
    137. search_code({"text":"pull_open"})
    138. read_file({"end_line":280,"path":"src/devops_cli/roadmap/implement/implement_pull.py","start_line":225})
    139. search_code({"text":"roadmap release"})
    140. read_file({"end_line":60,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":36})
    141. list_files({"directory":"openspec/changes"})
    142. read_issue({"number":4849})
    143. find_issues({"terms":"roadmap release status"})
    144. git_log({"path":"docs/ROADMAP_WORKFLOW.md"})
    145. read_spec({"capability":"roadmap-item-labels"})
    146. read_file({"end_line":1085,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1062})
    147. search_code({"text":"ClaimRecordKey"})
    148. search_code({"text":"def open_pulls"})
    149. search_code({"text":"def issue_of_branch"})
    150. list_files({"directory":"tests/roadmap"})
    151. read_file({"path":"src/devops_cli/config/constants.py","start_line":3750,"end_line":3810})
    152. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":360,"end_line":400})
    153. read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":30,"end_line":160})
    154. read_file({"path":"docs/ROADMAP_WORKFLOW.md","start_line":60,"end_line":135})
    155. read_file({"end_line":700,"path":"src/devops_cli/roadmap/stores/store.py","start_line":660})
    156. read_file({"end_line":1200,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1170})
    157. read_file({"end_line":1050,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1005})
    158. search_code({"text":"claim."})
    159. read_file({"end_line":180,"path":"src/devops_cli/roadmap/claim.py","start_line":100})
    160. search_code({"text":"set_claimed_status"})
    161. search_code({"text":"from devops_cli.roadmap.pull_status import"})
    162. read_file({"path":"tests/roadmap/test_roadmap_claim.py","start_line":1,"end_line":80})
    163. read_spec({"capability":"roadmap-item-claim"})
    164. read_spec({"capability":"roadmap-item-claim","requirement":"A release clears the owner label"})
    165. search_code({"text":"planned_changes_at"})
    166. search_code({"text":"def repository_files"})
    167. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":150,"end_line":330})
    168. read_file({"path":"src/devops_cli/roadmap/claim.py","start_line":100,"end_line":220})
    169. read_file({"end_line":152,"path":"src/devops_cli/roadmap/status_sync.py","start_line":100})
    170. read_file({"end_line":1100,"path":"src/devops_cli/roadmap/stores/store.py","start_line":990})
    171. read_file({"end_line":700,"path":"src/devops_cli/roadmap/stores/store.py","start_line":355})
    172. read_file({"end_line":1200,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1160})
    173. read_file({"end_line":710,"path":"src/devops_cli/roadmap/stores/store.py","start_line":660})
    174. read_file({"end_line":1240,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1200})
    175. read_file({"end_line":345,"path":"src/devops_cli/roadmap/inbox.py","start_line":300})
    176. read_file({"end_line":130,"path":"docs/ROADMAP_WORKFLOW.md","start_line":60})
    177. read_spec({"capability":"roadmap-item-claim"})
    178. read_spec({"capability":"roadmap-item-claim","requirement":"A release clears the owner label"})
    179. read_spec({"capability":"roadmap-item-claim","requirement":"A claim sets the owner label of one owner"})
    180. read_file({"end_line":420,"path":"tests/roadmap/test_roadmap_claim.py","start_line":160})
    181. search_code({"text":"def with_marks"})
    182. search_code({"text":"ClaimRecordKey"})
    183. read_file({"end_line":890,"path":"src/devops_cli/roadmap/stores/store.py","start_line":800})
    184. read_file({"end_line":70,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1})
    185. search_code({"text":"def encode_job_record"})
    186. search_code({"text":"def decode_job_record"})
    187. read_file({"end_line":800,"path":"src/devops_cli/roadmap/stores/store.py","start_line":730})
    188. callers({"symbol":"dry_run_claim"})
    189. search_code({"text":"def open_pulls"})
    190. read_file({"end_line":130,"path":"tests/roadmap/test_roadmap_claim_command.py","start_line":60})
    191. read_file({"end_line":1220,"path":"src/devops_cli/commands/roadmap.py","start_line":1180})
    192. read_spec({})
    193. read_spec({"capability":"roadmap-status-sync"})
    194. list_files({"directory":"openspec/specs"})
    195. search_code({"text":"SHALL write the Status"})
    196. read_spec({"capability":"repos-worktrees-add"})
    197. read_spec({"capability":"repos-worktrees-add","requirement":"The claim of an agent sets the Status In Progress"})
    198. search_code({"text":"write_status"})
    199. search_code({"text":"ItemField.STATUS,"})
    200. read_file({"end_line":1300,"path":"tests/invariants/test_architectural_invariants.py","start_line":1160})
    201. read_file({"end_line":3810,"path":"src/devops_cli/config/constants.py","start_line":3748})
    202. read_file({"end_line":95,"path":"src/devops_cli/roadmap/planned.py","start_line":60})
    203. search_code({"text":"_WRITTEN_FROM = frozenset"})
    204. search_code({"text":"_STARTABLE = frozenset"})
    205. read_file({"end_line":160,"path":"docs/ROADMAP_WORKFLOW.md","start_line":100})
    206. read_file({"end_line":800,"path":"tests/support/fakes/roadmap_store.py","start_line":740})
    207. search_code({"text":"def job_writes"})
    208. read_spec({"capability":"command-dry-run-class"})
    209. read_file({"end_line":200,"path":"src/devops_cli/roadmap/request_plan.py","start_line":160})
    210. search_code({"text":"dry run"})
    211. read_file({"end_line":60,"path":"tests/roadmap/test_roadmap_claim_command.py","start_line":1})
    212. read_file({"end_line":180,"path":"ARCHITECTURE.md","start_line":160})
    213. search_code({"text":"_JOB_RECORD_KEYS"})
    214. search_code({"text":"ConsolidateRecordKey"})
    215. read_file({"end_line":520,"path":"tests/support/fakes/roadmap_store.py","start_line":400})
    216. search_code({"text":"class JobWrite"})
    217. search_code({"text":"def set_field"})
    218. read_file({"end_line":200,"path":"tests/support/fakes/roadmap_store.py","start_line":140})
    219. read_file({"end_line":920,"path":"tests/support/fakes/roadmap_store.py","start_line":830})
    220. read_file({"end_line":920,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":840})
    221. read_spec({"capability":"roadmap-item-labels"})
    222. read_spec({"capability":"roadmap-item-labels","requirement":"Every job writes the Status through one writer"})
    223. search_code({"text":"def repository_files"})
    224. read_file({"end_line":710,"path":"tests/support/fakes/roadmap_store.py","start_line":680})
    225. read_file({"end_line":1110,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":1086})
    226. read_spec({"capability":"roadmap-item-labels","requirement":"A closed issue holds no Status and no Owner label"})
    227. search_code({"text":"def seed_pull"})

    Tool calls: callers=3 (empty=0), find_issues=2 (empty=0), git_log=1 (empty=0), list_files=7 (empty=0), read_file=99 (empty=0), read_issue=4 (empty=0), read_spec=28 (empty=0), search_code=83 (empty=3)

  7. added a commit that references this issue on Nov 13, 2026
  8. added
    status/planned
    and removed
    status/ready
    on Nov 13, 2026
  9. 1 remaining item

  10. added
    status/in-progress
    and removed
    status/planned
    on Nov 13, 2026
  11. devops-cli-service commented on Nov 13, 2026

    @devops-cli-service
    Contributor

    The runner Job devops-cli-runner-20261113-140739-174d ended: failed.
    Image digest: sha256:bf9eeae4f2cd6683ab0dc2d3f43ca39abca8b62ce8cb181677083fbc7df9b10d

    The last lines of its log:

    Tool call: run_command, program grep, ok.
    Tool call: edit_file, ok.
    Tool call: edit_file, ok.
    Tool call: edit_file, ok.
    Tool call: edit_file, ok.
    Tool call: edit_file, ok.
    Tool call: run_command, started: uv run devops ci test tests/roadmap/test_roadmap_claim.py
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: grep -rn set_claimed_status tests/ src/ --include=<masked>
    Tool call: run_command, started: grep -rn RECORD_KEYS\\|ConsolidateRecordKey tests/invariants/test_roadmap_workflow_doc.py
    Tool call: run_command, program grep, ok.
    Tool call: run_command, program grep, ok.
    Tool call: read_file, ok.
    Tool call: run_command, started: grep -rln RecordKey tests/ | head ...
    Tool call: run_command, program grep, ok.
    Tool call: run_command, started: grep -rln progress_as_agent\\|claim_request_lines tests/ src/
    Tool call: run_command, program grep, ok.
    Tool call: run_command, started: grep -rn worktrees tests/ --include=<masked> -l ...
    Tool call: run_command, program grep, ok.
    Tool call: run_command, started: uv run devops ci test tests/commands/test_repos.py
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run devops ci test tests/roadmap/stores/test_roadmap_store_contract.py
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run ruff check src/devops_cli/roadmap/stores/store.py src/devops_cli/roadmap/pull_status.py ...
    Tool call: run_command, started: uv run mypy --strict src/devops_cli/roadmap/stores/store.py src/devops_cli/roadmap/pull_status.py
    Tool call: run_command, program uv, ok.
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run devops ci test tests/invariants/test_roadmap_workflow_doc.py
    Tool call: run_command, started: uv run devops ci test tests/invariants/test_source_tree.py
    Tool call: run_command, program uv, ok.
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: grep -rn constructs src/devops_cli/commands/ci.py | head ...
    Tool call: run_command, program grep, ok.
    Tool call: run_command, started: uv run devops ci constructs
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run devops ci -h
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run devops ci run --only ...
    Tool call: run_command, program uv, ok.
    Tool call: run_command, started: uv run devops ci --only constructs ...
    

    Failure class: types.
    Action taken: none.
    Action left: repair: give the failure to a fix step.

    The Job left this item without a result. The item is Blocked. When a retry can fix the class of the stop, the Service starts a new Job in the next round. The limit is roadmap.implement.continuations_per_item, and the comment of that round says so. If no continuation is left, fix the cause. Then comment implement: retry. A new runner image also clears the stop. This holds only if a retry can fix the class of the stop. The limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item must also allow it.

  12. added
    status/blocked
    and removed
    owner/service
    status/in-progress
    on Nov 13, 2026
  13. added
    status/in-progress
    and removed
    status/blocked
    on Nov 16, 2026
  14. added
    status/in-review
    and removed
    status/in-progress
    on Nov 16, 2026
  15. removed
    status/in-review
    on Nov 16, 2026
  16. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor
  17. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 15:31 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p1-highscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions