Skip to content

docs(agent): require draft pull requests for in-progress work #165

Closed

Description

@dan-petty

Problem Statement

Pull requests opened during early or active implementation are currently not formally designated as drafts, leading to premature review cycles or ambiguity regarding merge readiness.

Proposed Changes

  1. Update AGENTS.md to mandate opening draft pull requests (gh pr create --draft / draft: true) whenever pull requests are not fully implemented, tested, and ready for review.
  2. Specify the lifecycle transition from draft to ready for review (gh pr ready) once all code, tests (>=90% coverage), and CI quality gates pass.
  3. Update src/devops_cli/ai/instruction_generator.py so generated agent instructions across repositories reflect this draft PR rule.
  4. Update CONTRIBUTING.md and docs/ROUTINE_TASKS.md to document draft pull request guidelines.

Acceptance Criteria

  • AGENTS.md, CONTRIBUTING.md, and docs/ROUTINE_TASKS.md explicitly instruct creating draft pull requests for in-progress work.
  • src/devops_cli/ai/instruction_generator.py template includes draft pull request instructions.
  • Unit tests verify generated instructions.
  • Passes all CI quality gates.

Activity

  1. added this to the v0.2.17 milestone on Sep 12, 2026
  2. added
    type/docs
    priority/p1-high
    status/in-progress
    scope/docs
    on Sep 12, 2026
  3. added
    status/in-review
    and removed
    status/in-progress
    on Sep 12, 2026
  4. dan-petty commented on Sep 12, 2026

    @dan-petty
    OwnerAuthor

    Delivered via PR #166.

  5. added a commit that references this issue on Sep 14, 2026
  6. removed
    status/in-review
    on Oct 30, 2026
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

    priority/p1-highscope/docstype/docs

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions