Repository navigation
Description
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
devops review intake <session>hands the OPEN or CONFIRMED tool findings of one session on merged code (part 1) tointake_candidate(src/devops_cli/roadmap/intake.py), and leaves out the findings that an issue already carries (part 2).- It has intake's
--dry-run,--planand--confirmmodes.--dry-runmakes no request. - Each candidate cites the session id, the file and line, the evidence and the verification criteria, and carries the fingerprint marker of part 2.
- A session that is not on merged code is refused with a message that says why.
review pathprints the count of qualifying findings and this command. It calls no model and no GitHub API for the hand-off itself.docs/SELF_IMPROVEMENT.mdroutes merged-code findings through this command.- The
review verifyhand-off of one CONFIRMED finding waits for feat(review): a person's VERIFIED verdict sets the admitted finding's stored state to CONFIRMED #2414, which makes a person's valid verdict set CONFIRMED. (feat(review): feedback export counts each review subject once and keeps every human verdict #877 grouped the feedback export by subject and moved that part to feat(review): a person's VERIFIED verdict sets the admitted finding's stored state to CONFIRMED #2414.)
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
prsession, abranchsession, a dirty tree and a head that is not onorigin/mainhand off nothing, and the command says why. --dry-runmakes no request.docs/SELF_IMPROVEMENT.mdnames 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
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
Activity
dan-petty commentedon Oct 28, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
Adds a new 'devops review intake' command that hands qualifying findings to roadmap intake.Planned feature in a three-part series; depends on Parts 1 and 2 before it can be delivered.Replaces a manual filing step with an explicit command, reducing cost and error for merged-code findings.New command with dry-run, plan, and confirm modes plus validation and docs update, but reuses existing intake.Both are parts of #883; #2419 adds the fingerprint marker the candidate reuses, while the candidate adds the intake hand-off command itself.dan-petty commentedon Oct 28, 2026
Status set to Ready at 73d1807 (see proposed design in issue body).
feat(review): an issue filed from a review finding carries its finger…
feat(review): devops review intake hands the findings of a session on…