Skip to content

docs(agents): mark a complete draft ready when its checks pass #7217

Done

Description

@dan-petty

Problem or Motivation

Rule 6 of AGENTS.md says: "mark it ready only after the checks pass". The rule gives a limit and no duty. An agent can complete its work, see the checks pass, and leave the pull request as a draft. The owner then finds complete drafts and must mark them ready.

The rule also does not name agent work. A pull request whose checks pass can become ready while a review, a repair, or a check of the work of a builder still runs.

Owner direction of 2026-11-25: agents always mark a draft pull request ready when all agent work on it is complete and its checks are complete.

Proposed Solution

  • Rule 6 of AGENTS.md and of src/devops_cli/templates/AGENTS.md.j2: always mark the pull request ready when the checks pass and no agent work remains.
  • CONTRIBUTING.md, section "Drafts First": say what agent work is, and keep the draft until none remains.
  • Skill devops-pr-ci in its three roots: step 6 says the same.
  • tests/invariants/test_agents_md.py: one test for the sentence in the rule, in the template and in CONTRIBUTING.md.
  • AGENTS.md stays within CONST_AGENTS_MD_MAX_CHARS.

Existing Tool Considered

devops pr ready asks draft readiness, which refuses a pull request while a check runs or fails. No new code is necessary. This is a change of instructions.

Activity

  1. added
    type/docs
    on Nov 25, 2026
  2. dan-petty commented on Nov 25, 2026

    @dan-petty
    OwnerAuthor
  3. added
    source/agent
    status/new
    value/medium
    effort/low
    scope/agents
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 25, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 25, 2026
  5. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-25 19:45 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/lowpriority/p2-mediumscope/agentssource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions