Repository navigation
Description
Friction
When devops roadmap intake --source <issue> files a part of a tracking issue, the new issue has no link to its parent on GitHub. A person or an agent then links each part by hand. On 2026-10-23 an agent linked 14 split parts as sub-issues one at a time.
Evidence
#1985 made intake skip the --source issue and every issue with sub-issues as duplicate targets. Its task file names this as the third, optional remedy of #1985, not delivered there. GitHub's REST API adds a sub-issue with POST /repos/{owner}/{repo}/issues/{n}/sub_issues and the child's REST id.
Proposed remedy
- After intake files a candidate whose
--sourceis an issue of the same repository, add the filed issue as a sub-issue of that issue. - Add the write to the store protocol, the GitHub store and the in-memory store, and list it in the dry-run plan.
- Change the docstring rule "Intake writes to no issue but the candidate" to name this one extra write.
Proposed design
Problem statement
When devops roadmap intake --source files a candidate split from a tracking issue, the new issue has no sub-issue link to its parent on GitHub. A person or agent must then link each part by hand. On 2026-10-23 an agent linked 14 split parts one at a time. This issue adds the sub-issue link automatically at file time so that no manual linking is needed.
Acceptance criteria
- Criterion 1: After intake files a candidate whose --source is an issue of the same repository, the filed issue is added as a sub-issue of the --source issue.
Verification: Rundevops roadmap intake --sourcewith a valid --source issue in the same repository. Confirm the new issue appears as a sub-issue of the --source issue on GitHub. - Criterion 2: The store protocol defines a method to add a sub-issue link between two issues.
Verification: Inspect the store protocol definition. Confirm a new method for adding a sub-issue is present with the expected parameters. - Criterion 3: The GitHub store implements the sub-issue method using POST /repos/{owner}/{repo}/issues/{n}/sub_issues with the child's REST id.
Verification: Inspect the GitHub store implementation. Confirm the API call targets the sub-issues endpoint and passes the child issue's REST id. - Criterion 4: The in-memory store implements the sub-issue method.
Verification: Inspect the in-memory store implementation. Confirm the method is present and records the sub-issue relationship. - Criterion 5: The dry-run plan lists the sub-issue write as an action.
Verification: Run intake with --dry-run and a valid --source. Confirm the output plan includes the sub-issue link as a listed write. - Criterion 6: The intake docstring rule that previously stated "Intake writes to no issue but the candidate" is updated to name the sub-issue write as an allowed extra write.
Verification: Read the intake module docstring. Confirm it names the sub-issue write as the one extra write permitted.
Key questions
- Should the sub-issue link be created only when --source is an issue of the same repository?: Yes. The link is added only when the --source issue belongs to the same repository as the filed candidate. (proposed)
- Should the sub-issue write appear in the dry-run plan?: Yes. The dry-run plan lists the sub-issue write as an action alongside other writes. (proposed)
Open questions
- What GitHub API endpoint creates the sub-issue link? (missing verified source)
- Which stores need the new sub-issue method? (missing verified source)
- What docstring rule must change? (missing verified source)
- Is this feature a dependency on fix(roadmap): intake judges a split part a duplicate of the issue that its --source names, so the part gets no issue #1985? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNew
- StatusShow more project fieldsNew
Activity
fix(roadmap): intake judges a split part a duplicate of the issue tha…
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
This is a usability improvement that reduces manual work but does not block progress or fix a regression.The change helps agents avoid repetitive manual linking tasks when splitting issues, improving workflow efficiency.The change requires adding new functionality to store protocols and the GitHub store, which is more complex than a simple update but not extremely involved.Both items deal with intake and the --source flag but the candidate proposes to link split parts as sub-issues while #1985 prevents such parts from being filed at all.dan-petty commentedon Oct 28, 2026
Refine cannot set this item to Ready at bb46660 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
chore(main): release 0.23.0 (#2802)