Skip to content

feat(review): devops review intake hands the qualifying findings of a session on merged code to roadmap intake #2420

Closed

Description

@dan-petty

Problem or Motivation

Part 3 of #883 (owner decision 2026-10-28 on #883). Nothing turns a review finding about merged code into a roadmap item. docs/SELF_IMPROVEMENT.md asks agents to file findings by hand. The owner chose an explicit command over a side effect of every review path run, because a side effect costs one model call for each finding on each run.

Proposed Solution & Architectural Design

Target Subsystem

src/devops_cli/commands/review.py, the review hand-off, docs/SELF_IMPROVEMENT.md.

Existing Tool Considered

devops roadmap intake is the one entry point for new items (#742). The command reuses it and builds no second filing path.

Acceptance criteria

  • With a fake intake, a session on merged code hands off exactly its qualifying findings that no issue carries.
  • A pr session, a branch session, a dirty tree and a head that is not on origin/main hand off nothing, and the command says why.
  • --dry-run makes no request.
  • docs/SELF_IMPROVEMENT.md names the command.
  • The tests run offline.

Related

Parent: #883. Needs the sibling items (session commit and clean flag; fingerprint marker). The review verify hand-off needs #2414.

Source: #883

Proposed design

Problem statement

Nothing turns a review finding about merged code into a roadmap item. Agents file findings by hand per docs/SELF_IMPROVEMENT.md. This adds a devops review intake command that hands the qualifying findings of one session on merged code to roadmap intake, replacing the manual step with an explicit command.

Acceptance criteria

  • Criterion 1: A session on merged code hands off exactly its qualifying findings that no issue carries.
    Verification: Run the command with a fake intake on a session on merged code. Assert the fake intake receives only the OPEN or CONFIRMED tool findings whose fingerprint no issue carries.
  • Criterion 2: A pr session, a branch session, a dirty tree, and a head not on origin/main hand off nothing and the command says why.
    Verification: Run the command on each of those four session types. Assert no request is made and the output names the reason for refusal.
  • Criterion 3: --dry-run makes no request to intake.
    Verification: Run the command with --dry-run on a qualifying session. Assert the fake intake receives zero calls.
  • Criterion 4: docs/SELF_IMPROVEMENT.md names the devops review intake command.
    Verification: Grep docs/SELF_IMPROVEMENT.md for the string 'devops review intake'. Assert it appears.
  • Criterion 5: The tests run offline.
    Verification: Run the test suite with no network access. Assert all tests for the new command pass.

Key questions

  • Why an explicit command rather than a side effect of every review path run?: The owner chose an explicit command because a side effect costs one model call for each finding on each run. (proposed)
  • What session types qualify for hand-off?: Only sessions on merged code: not a pr session, not a branch session, clean tree, and head on origin/main. All others are refused with a message that says why. [sources: src/devops_cli/commands/review.py]
  • Which findings are handed off?: OPEN or CONFIRMED tool findings that no issue already carries, as identified by the fingerprint marker of feat(review): an issue filed from a review finding carries its fingerprint, and the review leaves out a finding that an issue already carries #2419. [sources: src/devops_cli/roadmap/intake.py]
  • What does review path print for the hand-off?: It prints the count of qualifying findings and the devops review intake command. It calls no model and no GitHub API for the hand-off itself. [sources: src/devops_cli/commands/review.py]
  • What entry point does the command reuse for filing?: devops roadmap intake is the one entry point for new items (feat(github): single-entry item intake with duplicate detection and placement (devops roadmap intake) #742). The command reuses intake_candidate in src/devops_cli/roadmap/intake.py and builds no second filing path. [sources: src/devops_cli/roadmap/intake.py]
  • What are the three modes and what does each do?: --dry-run makes no request. --plan shows what would be handed off. --confirm executes the hand-off to intake_candidate. [sources: src/devops_cli/roadmap/intake.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#2419

Activity

  1. added
    source/agent
    type/feature
    on Oct 28, 2026
  2. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/feature. Adds a new 'devops review intake' command that hands qualifying findings to roadmap intake.
    • Priority: P2-Medium. Planned feature in a three-part series; depends on Parts 1 and 2 before it can be delivered.
    • Value: Medium. Replaces a manual filing step with an explicit command, reducing cost and error for merged-code findings.
    • Effort: Medium. New command with dry-run, plan, and confirm modes plus validation and docs update, but reuses existing intake.
    • Related: feat(review): an issue filed from a review finding carries its fingerprint, and the review leaves out a finding that an issue already carries #2419, which asks for a different change. Both are parts of #883; #2419 adds the fingerprint marker the candidate reuses, while the candidate adds the intake hand-off command itself.
  3. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

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

  4. added
    priority/p2-medium
    status/ready
    value/medium
    effort/medium
    on Oct 28, 2026
  5. added a commit that references this issue on Oct 28, 2026
    a5c7b82
  6. removed
    status/ready
    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

    effort/mediumpriority/p2-mediumsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions