Skip to content

feat(roadmap): route a private project review summary to its tracker issue #7042

Backlog

Description

@devops-cli-service

Split from #4730.

The project review sends the summary of a private repository only to its own tracker issue. The current issue chooses review facts by project profile. The routing of a private summary is a separate behavior and the issue's acceptance criteria do not cover it. Defer it so that the profile-based fact selection can ship alone. Acceptance criteria: A fixture private repository with a tracker issue writes the summary to that tracker issue and sends no summary request for another repository. A fixture public repository writes its summary as before.

Proposed design

Problem statement

A project review sends the summary of a private repository only to that repository's tracker issue. The current review summary routing does not handle this case, so the profile-based review fact selection cannot ship alone. Add private-summary routing and keep the public summary path unchanged.

Acceptance criteria

Requirement: Private summary goes to tracker issue

When a project review runs for a private repository that has a tracker issue, the review SHALL write the summary to that tracker issue and MUST NOT send a summary request for another repository.

Scenario: Private repository with tracker issue

  • WHEN The review summary routing runs for a fixture private repository with a tracker issue and a fake summary sink.
  • THEN The fake summary sink records exactly one summary write, and its repository and issue match the fixture tracker issue.

Requirement: Public summary keeps existing route

When a project review runs for a public repository, the review SHALL keep the existing summary destination and MUST NOT write to a tracker issue.

Scenario: Public repository

  • WHEN The review summary routing runs for a fixture public repository with a fake summary sink.
  • THEN The fake summary sink records exactly one summary request to the existing public destination, and it records no tracker-issue write.

Requirement: Private repository without tracker issue sends no summary

When a project review runs for a private repository that has no tracker issue, the review SHALL send no summary request.

Scenario: Private repository without tracker issue

  • WHEN The review summary routing runs for a fixture private repository with no tracker issue and a fake summary sink.
  • THEN The fake summary sink records zero summary writes.

Existing Tool Considered

No alternatives check has run. No open, maintained tool or library covers this internal routing of a private project review summary. Build it in the existing review summary code: about 15,000 tokens to build, keep and fix, and about 2 hours elapsed.

Key questions

  • How should the review choose the summary destination for a private repository?: Use the project profile: a private repository with a tracker issue targets that issue. Keep the existing public path for every other repository. Do not add a summary-target config key. (best practice) [sources: CONTEXT.md]
    • Chosen: Derive the target from the project profile. The project profile holds repository facts, and CONTEXT.md says config holds operational keys only, never a project fact.
    • Rejected: Add a summary-target config key. This puts a project fact in devops-cli config, which CONTEXT.md forbids.
  • How should a test prove that no summary request goes to another repository?: Inject a fake summary sink into the review summary routing and assert the recorded calls. The private fixture must record exactly one call to its tracker issue. (best practice) [sources: docs/TESTING.md]
    • Chosen: Inject a fake summary sink. It records calls without network access and lets the test assert the target.
    • Rejected: Patch the HTTP client globally. A global patch is brittle and hides which repository the code requested.
  • What happens for a private repository with no tracker issue?: Send no summary request. The summary must not go to another repository. (best practice) [sources: SECURITY.md, AGENTS.md]
    • Chosen: Send no summary. A private summary must not leave its tracker issue, and no tracker issue means no valid destination.
    • Rejected: Send to the existing public path. That would send private data outside its tracker issue.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#4730

Activity

  1. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 25, 2026
  2. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor
  3. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.

  4. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

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/lowpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions