Skip to content

feat(upstream): one digest per run with code-grounded triage — stop per-finding issues, advance the baseline on triage, dedupe against closed issues #1442

Open

Description

@admarble

Problem

/upstream (weekly cron in .github/workflows/upstream-assessment.yml, code in src/lib/upstream/) gets relevance wrong in both directions and costs a person a lot of manual cleanup each run. Evidence from the last two sweeps:

What worked on 2026-10-13 was an agent reading every changelog line and grepping the code for evidence, defaulting to "no impact" unless it could cite a file:line.

Proposal

  1. One digest per run. Each run produces a single digest: the report PR, or one issue that lists every changelog line with its triage verdict. Stop auto-filing per-version assessment issues and finding issues. Real issues get filed only after a person reviews the digest.
  2. Code-grounded triage replaces the keyword classifier. One model pass per run classifies each line as relevant only with file:line evidence from this repo. Keywords may still rank lines, but must never decide that a line is dropped.
  3. The baseline moves when triage completes. Either the workflow commits the baseline bump itself, or closing the digest moves it. An unmerged report PR must never cause the next run to re-assess releases.
  4. Dedupe checks closed issues too (--state all), for any issue the pipeline still files.
  5. The digest states the agent-SDK bundled CLI version from package-lock.json. Any finding that affects phase agents names an SDK bump as its action.

Acceptance Criteria

Notes

Activity

  1. added
    enhancement
    upstream
    on Oct 13, 2026
  2. admarble commented on Oct 14, 2026

    @admarble
    ContributorAuthor

    The manual procedure this issue automates is written up in docs/internal/upstream-triage.md (PR to follow): bundled-SDK check, the per-release agent prompt, and the close/file/merge steps. Step 2 (code-grounded triage) should absorb that prompt rather than keep a second copy. #1345 AC-5 is now struck in favour of this issue.

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

    enhancementupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions