Skip to content

feat(roadmap): end the implement Job at the draft pull request #6559

Closed

Description

@dan-petty

Problem

The implement Job pushes work in progress during a step, and after its push it watches the checks of the pull request, repairs a failed check and marks the pull request ready. The split of #3702 gives the agent phase no App key, so the agent phase cannot push and cannot read the checks. The owner decided on 2026-11-20 (#2695, comment 7047676083) that the implement Job ends at "draft pull request opened". The Service watch row marks the pull request ready, and the fix-checks Jobs repair failed checks.

This is part A of #3702 (owner decision on #3702, comment 7049207841). Parts B and C stay in #3702.

Expected

  • The implement Job makes no wip: commit and no work-in-progress push. implement_wip.py, _keep, _move_wip and the records implement.wip and implement.continued go, with the counter devops_cli_service_kept_work_total that only they feed.
  • The implement Job ends when the draft pull request is open with the final title and body. It runs no watch of the checks, no repair after the push, no evidence comment and no ready mark. It records the result drafted and sets the Status In Review.
  • The watch row gives the ready path to a delivery draft whose implement Job ended at the draft, as it does for a draft that fix-checks repaired.
  • The implement result line drafted is the record of the hand-off. devops roadmap eval grades scores each drafted attempt by the forge state of the delivery pull request of its item: merged, or open and out of draft, is a success; closed with no merge is a failure; a draft is pending and stays out of the attempts.

Acceptance criteria

  • A test shows that a run whose groups pass opens or updates the draft, records drafted, sets In Review and sends no gh pr ready.
  • A test shows that a step that stops resets the checkout to the commit where it started, with no wip: commit.
  • A test shows that the watch row runs the ready path for a delivery draft with implement.result drafted.
  • A test shows that devops roadmap eval grades scores each drafted attempt by the forge state of its delivery, and docs/roadmap/job-success.md and the specs say so.
  • The PR lists the check classes that lose the repair of the Job: the watch row starts fix-checks only for test, lint, types and plan_defect.

Existing Tool Considered

None needed: the change deletes code. The watch row and fix-checks exist.

Dependencies

None.

Related

Source

Source: #3702

Activity

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

    @dan-petty
    OwnerAuthor
    • Possible duplicate: refactor(roadmap): the implement Job ends at its draft #5029, which may ask for the same change. The model names The implement Job ends at the draft pull request with no watch, repair, or ready mark; the watch row takes over the ready path. as the change that both ask for. Both items deliver the same change: the implement Job stops at the draft, removes _checks/_watch/_repair_after_push/_ready, and the watch row handles the ready path. A person closes one of the two if that is so.
  3. added
    priority/p2-medium
    status/in-progress
    owner/agent
    and removed
    status/new
    on Nov 20, 2026
  4. 1 remaining item

  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 21, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 21, 2026
  7. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor
  8. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 02:17 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/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions