You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(agents): mark a complete draft ready when its checks pass #7217
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.
Related: docs(agent): require draft pull requests for in-progress work #165, which asks for a different change. Both update AGENTS.md draft-PR lifecycle rules, but 165 required opening drafts and named the transition, while this candidate turns Rule 6 into a duty and clarifies what agent work means.
Activity
dan-petty commentedon Nov 25, 2026
Both update AGENTS.md draft-PR lifecycle rules, but 165 required opening drafts and named the transition, while this candidate turns Rule 6 into a duty and clarifies what agent work means.devops-cli-service commentedon Nov 25, 2026
Released in v0.221.4: https://github.com/dan-petty/devops-cli/releases/tag/v0.221.4
devops-cli-service commentedon Nov 25, 2026
Live since 2026-11-25 19:45 UTC