Skip to content

fix(roadmap): a pending-person criterion with a comma reads back cut #5956

Open

Description

@dan-petty

Problem

The line of a pending-person criterion in ## Criteria of tasks.md is Pending person: {criterion}, {reason}. The criterion and the reason can each hold a comma, so the line has no single split. Two readers split it in two different ways:

  • plan_read._criteria splits at the first ., when the line holds one, else at the first , .
  • implement_run._parse_tasks_criteria splits at the first ,.

So a pending-person criterion that holds a comma and does not end with a full stop reads back cut: part of the criterion moves into the reason. A criterion that holds ., inside (for example e.g., ) reads back cut too. criterion_problems hides the cut with _resolved (#4023), but the read-back check of the stage job (#5851) compares the entries exactly and fails the item with plan_unreadable.

Evidence

A round trip with no model call (render_change, then read_change) of the entry {"criterion": "A person runs the steps, and records the output", "group": "pending-person", "reason": "It needs the live cluster."} gives the criterion A person runs the steps and the reason and records the output, It needs the live cluster.. read_back_problems gives criteria.

#5952 found this form during the reproduction of the stage read-back failures. The criteria of #2202, #3655 and #3671 end with a full stop, so this form did not cause those failures.

Expected behavior

  • A pending-person entry reads back with the same criterion and reason for any one-line texts.
  • plan_read and the implement step read the criteria with one reader.
  • A plan in the old line form still reads.

Acceptance criteria

  • A round-trip test of a pending-person entry whose criterion holds a comma and no final full stop gives the same entry.
  • A round-trip test of a criterion that holds e.g., gives the same entry.
  • The implement step reads the criteria of tasks.md with the reader of plan_read.

Source: #5952

Alternatives check of 2026-12-01: none.
Tool: none found.
Reason: Hold: the item is frozen behind #6521. Three searches found no open library that reads the Pending person line. The fix stays in-project: stdlib json, one reader, an old-form fallback.

Lacks:

  • One shared reader for the Pending person line
  • Fallback that reads the old criterion comma reason form
  • Exact round trip for a criterion that holds e.g., comma
  • Implement step that uses the plan_read criteria reader

Proposed design

Problem statement

The Pending person: {criterion}, {reason} line of tasks.md has no unambiguous split. A pending-person criterion that holds a comma and no final full stop reads back cut, and part of the criterion moves into the reason. The stage read-back check compares the entries exactly and fails the item with plan_unreadable. Two readers split the line in two ways: plan_read._criteria and implement_run._parse_tasks_criteria. The fix writes each new line as one JSON object, reads the criteria with one shared reader, and keeps a fallback for old lines.

Acceptance criteria

Requirement: Pending-person line written as JSON

render_change SHALL write each pending-person criterion of tasks.md as one JSON object after Pending person: , with the keys criterion and reason.

Scenario: Render a pending-person criterion that holds a comma

  • WHEN a test calls render_change for a proposal whose pending-person criterion is A person runs the steps, and records the output and whose reason is It needs the live cluster.
  • THEN the text after Pending person: on that criteria line parses with json.loads into an object whose criterion and reason are the two written texts.

Requirement: Round trip of a criterion with a comma

A pending-person criterion whose text holds a comma and no final full stop SHALL read back with the same criterion and reason.

Scenario: Round trip of a comma criterion

  • WHEN a test calls render_change and then read_change for a pending-person entry with criterion A person runs the steps, and records the output and reason It needs the live cluster.
  • THEN the read criterion and reason equal the written ones, and read_back_problems reports no criteria problem.

Requirement: Round trip of a criterion with an abbreviation

A pending-person criterion that holds e.g., SHALL read back with the same criterion and reason.

Scenario: Round trip of an abbreviation with a comma

  • WHEN a test calls render_change and then read_change for a pending-person entry whose criterion is A person checks the node, e.g., the drain check and whose reason is It needs the live cluster.
  • THEN the read criterion and reason equal the written ones, and read_back_problems reports no criteria problem.

Requirement: Old pending-person line still reads

A tasks.md whose pending-person line is in the old {criterion}, {reason} form MUST still read.

Scenario: Read an old pending-person line

  • WHEN a test calls read_change on a tasks.md whose criteria section holds - Pending person: A person runs the steps., It needs the live cluster.
  • THEN the read entry holds criterion A person runs the steps. and reason It needs the live cluster.

Requirement: Implement step uses the criteria reader of plan_read

The implement step MUST read the criteria of tasks.md through the criteria reader of plan_read.

Scenario: Implement step parses a pending-person criterion that holds a comma

  • WHEN a test parses a tasks.md with a pending-person criterion in the JSON form through the implement step
  • THEN the criterion and reason that it gives equal those that plan_read.read_criteria gives for the same text.

Existing Tool Considered

The alternatives check in the issue body records verdict none and names no tool. Its block gives the reason and the gaps that no tool covers. The proposal covers those gaps with the standard-library json module and one public plan_read.read_criteria. The written cost is about 1,500 tokens and 20 minutes to write, test and keep the reader and the fallback.

Key questions

  • Which readers split the Pending person: line today, and how does each split?: plan_read._criteria splits at the first ., when the text holds one, else at the first , . implement_run._parse_tasks_criteria splits at the first , . The two splits disagree on a criterion that holds a comma. [sources: src/devops_cli/roadmap/plan_read.py:598, src/devops_cli/roadmap/implement/implement_run.py]
  • How should a Pending person: line encode a criterion and a reason that can each hold a comma?: Write one JSON object after Pending person: , with the keys criterion and reason, through json.dumps. Read it with json.loads. JSON quotes each comma and keeps both texts exact. (best practice) [sources: src/devops_cli/roadmap/plan_read.py:598, src/devops_cli/roadmap/implement/implement_run.py]
    • Chosen: JSON object after the prefix. The standard library quotes each comma and gives an exact round trip with no custom escape rule.
    • Rejected: Escaped comma delimiter. It needs custom escaping and two matching parsers for the same result.
    • Rejected: Length-prefixed fields. It is unambiguous but hard to read and write by hand in tasks.md.
  • Where should the one criteria reader live, and how should the implement step use it?: Add a public read_criteria to src/devops_cli/roadmap/plan_read.py and make _criteria call it. The implement step calls read_criteria in place of its own split. (best practice) [sources: src/devops_cli/roadmap/plan_read.py:598, src/devops_cli/roadmap/implement/implement_run.py, tests/roadmap/test_roadmap_plan_read.py]
    • Chosen: Public read_criteria in plan_read. It gives one reader and no private cross-module import.
    • Rejected: Import _criteria directly. It couples the implement step to a private function and breaks on a rename.
    • Rejected: New module for the reader. It adds a layer for one small reader that belongs with the plan parser.
  • How should a plan in the old line form still read?: If json.loads of the text after Pending person: does not give a dict with string criterion and reason, split at the first ., when present, else at the first , . (best practice) [sources: src/devops_cli/roadmap/plan_read.py:598]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

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

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 16, 2026
  4. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (10)

    Searches run:

    • store structured record as one line with commas escaping quoting library, results: 5
    • Python library parse line with two comma-separated fields that contain commas, unambiguous round trip, results: 5
    • markdown checklist metadata single line round trip parse escaped delimiter, results: 5
    • python csv module quoting fields containing commas documentation, results: 5
    • csv quoting QUOTE_MINIMAL python docs fields with delimiter, results: 5
    • JSON Lines one object per line round trip unambiguous serialization, results: 5
    • python-frontmatter PyPI, results: 5
    • open source library parse markdown task list criteria with metadata single reader, results: 5
    • tomli-w write inline table one line python, results: 5
    • python shlex quote split single line two values, results: 5

    Sources:

  5. added
    status/ready
    and removed
    status/new
    on Nov 18, 2026
  6. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

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

  7. dan-petty commented on Nov 20, 2026

    @dan-petty
    OwnerAuthor

    Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.

  8. removed
    status/ready
    on Nov 27, 2026
  9. 9 remaining items

  10. added
    owner/service
    on Dec 1, 2026
  11. added a commit that references this issue on Dec 1, 2026
  12. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The stage job staged the plan of draft pull request #8061. The plan state comment of #8061 holds the branch, the task groups and the findings.

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

    Run 1 (stage):

    1. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":575,"end_line":680})
    2. search_code({"text":"Pending person"})
    3. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":500,"end_line":532})
    4. read_issue({"number":6521})
    5. search_code({"text":"def criteria_section"})
    6. read_file({"end_line":5690,"path":"src/devops_cli/lang/en/messages.py","start_line":5670})
    7. read_file({"end_line":3545,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3495})
    8. read_spec({"capability":"roadmap-stage/criteria"})
    9. read_spec({"capability":"roadmap-stage/criteria","requirement":"Criteria section in tasks.md"})
    10. read_spec({"capability":"roadmap-stage/criteria","requirement":"A criterion entry holds what its line holds"})
    11. list_files({"directory":"tests/roadmap/stage"})
    12. list_files({"directory":"tests/roadmap/implement"})
    13. search_code({"text":"_parse_tasks_criteria"})
    14. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1000,"end_line":1060})
    15. search_code({"text":"def read_back_problems"})
    16. search_code({"text":"def render_change"})
    17. references({"name":"_criteria("})
    18. references({"name":"_parse_tasks_criteria"})
    19. read_file({"end_line":1130,"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":1055})
    20. read_file({"end_line":320,"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":225})
    21. search_code({"path":"tests","text":"_criteria("})
    22. search_code({"path":"src","text":"_criteria("})
    23. search_code({"text":"read_criteria"})
    24. read_file({"end_line":1000,"path":"src/devops_cli/roadmap/plan_read.py","start_line":935})
    25. search_code({"text":"content_problems","path":"tests/roadmap/stage/test_roadmap_stage_self_acceptance.py"})
    26. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_self_acceptance.py","start_line":1,"end_line":60})
    27. search_code({"path":"tests/roadmap/test_roadmap_plan_read.py","text":"render_change"})
    28. read_file({"end_line":1000,"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":940})
    29. search_code({"text":"def test_command"})
    30. search_code({"text":"ci test","path":"docs/CLI_REFERENCE.md"})
    31. read_file({"path":"docs/commands/ci.md","start_line":1,"end_line":60})
    32. references({"name":"stage_criteria_pending"})
    33. read_file({"end_line":175,"path":"tests/roadmap/stage/test_roadmap_stage_text_lines.py","start_line":130})
    34. read_file({"end_line":2790,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2725})
    35. search_code({"path":"tests","text":"plan_heads"})
    36. search_code({"path":"src","text":"plan_heads"})
    37. read_file({"end_line":780,"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":700})
    38. search_code({"path":"tests/roadmap/test_roadmap_plan_read.py","text":"pending-person"})
    39. search_code({"path":"tests/roadmap/test_roadmap_plan_read.py","text":"def _criteria_dict"})
    40. read_file({"end_line":200,"path":"src/devops_cli/roadmap/plan_read.py","start_line":145})
    41. search_code({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","text":"content_problems"})

    Run 2 (stage):

    1. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":110,"end_line":175})
    2. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":580,"end_line":680})
    3. read_file({"end_line":3530,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3490})
    4. read_file({"end_line":1045,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1000})
    5. search_code({"text":"stage_criteria_pending"})
    6. search_code({"text":"_parse_tasks_criteria"})
    7. search_code({"text":"Pending person","path":"tests"})
    8. search_code({"text":"stage_criteria_line"})
    9. read_file({"end_line":2775,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2725})
    10. read_file({"end_line":175,"path":"tests/roadmap/stage/test_roadmap_stage_text_lines.py","start_line":130})
    11. search_code({"text":"class _ItemRun"})
    12. search_code({"text":"class StageProposal"})
    13. search_code({"path":"tests","text":"read_change("})
    14. search_code({"path":"tests/roadmap/test_roadmap_plan_read.py","text":"def test_"})
    15. read_file({"end_line":235,"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":182})
    16. search_code({"text":"def render_change"})
    17. search_code({"text":"def read_back_problems"})
    18. list_files({"directory":"tests/roadmap/implement"})
    19. read_file({"end_line":60,"path":"tests/roadmap/implement/test_roadmap_implement_resplit.py","start_line":1})
    20. search_code({"text":"content_problems","path":"tests/roadmap/stage/test_roadmap_stage_plan.py"})
    21. search_code({"text":"def content_problems"})
    22. search_code({"text":"passes_the_content_check"})
    23. search_code({"text":"the_plan_of_this_change"})
    24. read_spec({"capability":"roadmap-stage/criteria"})
    25. read_spec({"capability":"roadmap-stage/criteria","requirement":"Criteria section in tasks.md"})
    26. read_spec({"capability":"roadmap-stage/criteria","requirement":"A criterion entry holds what its line holds"})
    27. read_file({"end_line":530,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":500})
    28. read_file({"end_line":550,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":540})
    29. read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":265})
    30. read_file({"end_line":710,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":700})
    31. references({"name":"_criteria"})
    32. references({"name":"_parse_tasks_criteria"})
    33. search_code({"text":"criteria_section"})
    34. search_code({"path":"tests","text":"_criteria("})
    35. read_file({"end_line":760,"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":686})
    36. read_file({"path":"tests/invariants/test_change_folders.py"})
    37. search_code({"text":"def _bullets"})
    38. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def _bullets"})
    39. read_file({"end_line":178,"path":"src/devops_cli/roadmap/plan_read.py","start_line":174})
    40. read_file({"end_line":3262,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3255})

    Run 3 (stage):

    1. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":560,"end_line":680})
    2. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":495,"end_line":545})
    3. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":544,"end_line":556})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3495,"end_line":3540})
    5. search_code({"text":"class StageProposal","path":"src/devops_cli/roadmap/stage/stage_change.py"})
    6. search_code({"text":"stage_criteria_pending"})
    7. search_code({"text":"code span that holds"})
    8. search_code({"text":"feasibility_cite"})
    9. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2900,"end_line":3060})
    10. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def _squash"})
    11. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def _claim_lines"})
    12. read_file({"end_line":1650,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1615})
    13. read_file({"end_line":2900,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2780})
    14. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"_CLASS_SPAN"})
    15. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def _is_source_module"})
    16. read_file({"end_line":1425,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1405})
    17. search_code({"path":"src/devops_cli/roadmap/stage/citation.py","text":"CITATION_MIN_CHARS"})
    18. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def _plan_citation_problems"})
    19. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def code_spans"})
    20. read_file({"end_line":1900,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1816})
    21. search_code({"path":"src/devops_cli/roadmap/stage","text":"def _citations"})
    22. list_files({"directory":"src/devops_cli/roadmap/stage"})
    23. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def class_sources"})
    24. search_code({"text":"def class_sources"})
    25. read_file({"end_line":270,"path":"src/devops_cli/roadmap/stage/stage_models.py","start_line":175})
    26. search_code({"text":"CITATION_MIN_CHARS"})
    27. search_code({"text":"def code_spans"})
    28. search_code({"text":"code_spans","path":"src/devops_cli/roadmap/stage/stage_change.py"})
    29. read_file({"end_line":2230,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2160})
    30. read_file({"end_line":132,"path":"src/devops_cli/roadmap/plan_read.py","start_line":120})
    31. read_file({"end_line":167,"path":"src/devops_cli/roadmap/plan_read.py","start_line":160})
    32. read_file({"end_line":950,"path":"src/devops_cli/roadmap/plan_read.py","start_line":938})
    33. read_file({"end_line":280,"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":265})
    34. read_file({"end_line":27,"path":"tests/fixtures/roadmap/plan_heads/5182-5209df86045d/3785-find-the-source-of-the-hawk/tasks.md","start_line":20})
    35. read_file({"end_line":2752,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2738})
    36. read_file({"end_line":1035,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1020})
    37. read_file({"end_line":710,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":700})
    38. read_file({"end_line":1816,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1700})
    39. search_code({"path":"src/devops_cli/citation.py","text":"LINE_CITATION_RE"})
    40. search_code({"path":"src/devops_cli/citation.py","text":"def quoted_line_text"})

    Run 4 (stage_verify):

    1. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":580,"end_line":680})
    2. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":110,"end_line":175})
    3. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":490,"end_line":560})
    4. search_code({"text":"_parse_tasks_criteria"})
    5. read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":990,"end_line":1060})
    6. search_code({"text":"_handle_over_window"})
    7. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3495,"end_line":3545})
    8. search_code({"text":"stage_criteria_pending"})
    9. search_code({"text":"criteria_section"})
    10. search_code({"text":"Pending person"})
    11. search_code({"text":"PENDING_PERSON"})
    12. read_spec({"capability":"roadmap-stage/criteria"})
    13. read_file({"path":"src/devops_cli/roadmap/resolve.py","start_line":50,"end_line":75})
    14. read_spec({"capability":"roadmap-stage/criteria","requirement":"Criteria section in tasks.md"})
    15. read_spec({"capability":"roadmap-stage/criteria","requirement":"A criterion entry holds what its line holds"})
    16. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2730,"end_line":2790})
    17. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":170,"end_line":230})
    18. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":820,"end_line":880})
    19. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":780,"end_line":820})
    20. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":880,"end_line":960})
    21. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":720,"end_line":780})
    22. read_file({"path":"tests/roadmap/test_roadmap_plan_read.py","start_line":954,"end_line":1060})
    23. read_file({"path":"src/devops_cli/roadmap/resolve.py","start_line":430,"end_line":520})
    24. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":920,"end_line":1000})
    25. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_text_lines.py","start_line":130,"end_line":190})
    26. search_code({"text":"plan_unreadable"})
    27. references({"name":"Pending person"})
    28. references({"name":"stage_criteria_pending"})
    29. search_code({"text":"_criteria("})
    30. read_file({"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":30,"end_line":130})
    31. search_code({"text":"regenerates_documents"})
    32. search_code({"text":"REGENERATE_DOCUMENTS"})
    33. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3455,"end_line":3500})
    34. search_code({"text":"stage_documents_required"})
    35. search_code({"text":"_REGENERATE_PREFIXES"})
    36. search_code({"text":"stage_group_documents_required"})
    37. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":185,"end_line":215})
    38. search_code({"text":"stage_task_documents"})
    39. search_code({"text":"regenerates_documents(changes)"})
    40. search_code({"text":"documents task"})
    41. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":174,"end_line":230})
    42. read_file({"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":255,"end_line":320})
    43. read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":680,"end_line":760})
    44. search_code({"text":"__snapshots__"})
    45. search_code({"text":"stage_problem_document"})
    46. search_code({"text":"docs generate","path":"src/devops_cli/roadmap/stage"})
    47. search_code({"text":"_SELF_ACCEPTANCE_MARKS"})
    48. search_code({"text":"_PLAN_CHECK_FILE"})
    49. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1630,"end_line":1665})
    50. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":214,"end_line":240})
    51. search_code({"text":"read_criteria"})
    52. read_file({"path":"tests/fixtures/roadmap/plan_heads/5182-5209df86045d/3785-find-the-source-of-the-hawk/tasks.md","start_line":15,"end_line":30})
    53. git_log({"path":"src/devops_cli/roadmap/plan_read.py"})
    54. git_log({"path":"src/devops_cli/roadmap/stage/stage_criteria.py"})
    55. git_show({"commit":"167451f67","path":"src/devops_cli/roadmap/plan_read.py"})
    56. search_code({"text":"## Criteria","path":"tests/support"})
    57. search_code({"text":"## Criteria"})
    58. read_file({"path":"tests/support/roadmap_implement.py","start_line":55,"end_line":115})
    59. read_file({"path":"tests/support/base_replay.py","start_line":15,"end_line":55})
    60. read_spec({"capability":"roadmap-implement-job/stops","requirement":"The split of a group that is over the window"})
    61. search_code({"path":"openspec/specs/roadmap-implement-job","text":"criteria"})
    62. search_code({"path":"src/devops_cli/roadmap/implement/implement_run.py","text":"StageCriterion"})
    63. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"class StageProposal"})
    64. search_code({"path":"pyproject.toml","text":"select"})
    65. search_code({"path":"pyproject.toml","text":"F401"})
    66. read_file({"path":"pyproject.toml","start_line":170,"end_line":200})

    Tool calls: git_log=2 (empty=0), git_show=1 (empty=0), list_files=4 (empty=0), read_file=79 (empty=0), read_issue=1 (empty=0), read_spec=10 (empty=0), references=7 (empty=0), search_code=83 (empty=12)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    The plan request held these comments of the item whole: #5956 (comment), #5956 (comment), #5956 (comment), #5956 (comment), #5956 (comment), #5956 (comment), #5956 (comment), #5956 (comment).

    This run replaced the plan of draft pull request #8061 on the same branch, and opened no second pull request.

  13. added
    owner/service
    status/in-progress
    and removed
    owner/service
    status/ready
    on Dec 1, 2026
  14. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Stopped at group 2.

    Failure class: provider.
    Action taken: none.
    Action left: retry: run the item again.

    Step Status Attempts Tokens in/out Last failing command
    group 1 done 3 14495543/71308 -
    group 2 stopped 1 0/0 -

    Reason:

    RoadmapImplementError: git --literal-pathspecs rm --cached --force --ignore-unmatch -q -- core.464090 failed.
    fatal: unable to create threaded lstat: Resource temporarily unavailable
    

    Last message of the agent (a claim that no check verified): none.

    The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

  15. added
    status/blocked
    status/ready
    and removed
    status/in-progress
    owner/service
    status/blocked
    on Dec 1, 2026
  16. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Cleared the stop at group 2 by the rule digest: the runner image changed since the stop, from sha256:821126f56b756c010861216b1c509e92badbf911dbeee4e3fa583fb710e22e55 to sha256:3a9deb8dd945d0c48546a9a8b69672c2ca108f9208b414499f49d118362f40d2, and the class provider of the stop is one that a new attempt can fix. The item is Ready again, and the Service takes it in the next round. The Service clears at most 2 for each class and 6 for each item by digest. A stop of another class, a new stop on this image, and a stop over a limit wait for a comment implement: retry.

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/lowpriority/p2-mediumscope/roadmapsource/agentstatus/readytype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions