Skip to content

chore(ai): compare eval scores after dropping KB copies #6579

Open

Description

@devops-cli-service

Split from #3917.

Problem The acceptance of #3917 needs two records: the choice for each of the 4 removed articles, and the review eval scores of the change. The scores must not be worse than the scores of main. ## Why this part is deferred The eval scores come from #3902, #3904 and #3916, which are not delivered. The merged plan of #3904 rewrites the same 4 articles in group 7 of its openspec/changes/3904-generate-the-project-digest-from-code/tasks.md. The two changes must not run at the same time. ## Acceptance criteria - The review eval run on the branch gives scores not worse than main. - The pull request comment lists the choice for each of the 4 articles. - The pull request comment lists the eval scores of the branch and of main. - Group 7 of the tasks.md of #3904 no longer writes the 4 articles.

Proposed design

Problem statement

The change of #3917 drops the 4 knowledge base pages whose typed facts the project digest will own. Group 7 of the #3904 change rewrites the same 4 pages, so the two changes collide. This item stops that collision: it removes the 4 pages from group 7 of the #3904 plan and records, in the pull request body, which owner holds each page's facts. The review eval comparison that the item asks for waits on #3902, #3904 and #3916, and it moves to a new issue.

Acceptance criteria

Requirement: Group 7 writes no knowledge base page

Group 7 of openspec/changes/3904-generate-the-project-digest-from-code/tasks.md SHALL name no path under src/devops_cli/ai/knowledge_base/devops_cli/.

Scenario: The #3904 task file names no knowledge base page

  • WHEN the contributor runs git grep -n knowledge_base/devops_cli -- openspec/changes/3904-generate-the-project-digest-from-code/tasks.md
  • THEN the command prints no line

Requirement: The pull request body records each page and its owner

The pull request body MUST name each of the 4 removed pages and the owner of its facts.

Scenario: The body names the 4 pages and their owners

  • WHEN the reviewer runs gh pr view <number> --json body --jq .body
  • THEN the output names architecture.md, configuration_and_settings.md, python_packages.md and cli_command_reference.md, each with its owner

Requirement: The docs rows pass after the edit

The edit to group 7 MUST keep the docs rows passing.

Scenario: The docs check exits 0

  • WHEN the contributor runs uv run devops ci docs
  • THEN the command exits 0 with no failed row

Existing Tool Considered

No alternatives check has run on this issue. No open, maintained tool covers this need, because the work is one edit of a plan in this repository and one record in the pull request body. The change builds no code, so it has no build cost. The review eval that the deferred part needs is the project's own harness, which #3902, #3904 and #3916 deliver.

Key questions

  • Which 4 knowledge base pages does the issue mean?: Group 7 of the feat(ai): generate the project digest from code at run time #3904 change names 4 pages: architecture.md, configuration_and_settings.md, python_packages.md and cli_command_reference.md. These are the 4 pages that the change drops. [sources: openspec/changes/3904-generate-the-project-digest-from-code/tasks.md]
  • Which owner holds the facts of each removed page?: The project digest holds the typed facts: the settings sections, the pins, the module and import graph, the commands and the decision records. AGENTS.md holds each claim that no owner generates. The 4 pages keep no copy. (best practice) [sources: openspec/changes/3904-generate-the-project-digest-from-code/tasks.md, CONTEXT.md]
  • Must the group 7 edit land before the feat(ai): generate the project digest from code at run time #3904 change delivers?: Yes. The pull request that delivers an item archives its change folder in its last commit, so group 7 changes no file after that. The edit lands first, and it waits on no eval. (best practice) [sources: CONTEXT.md, openspec/changes/3904-generate-the-project-digest-from-code/tasks.md]
  • Is the feat(ai): generate the project digest from code at run time #3904 change delivered?: No. Its change folder is on main and each task of group 7 is unticked, so the project digest does not exist yet. [sources: openspec/changes/3904-generate-the-project-digest-from-code/tasks.md]
  • Which command reports the review eval scores of a branch and of main?: The issue names no command. The repository holds review benchmark and category-metric tests, and refine must find the command that prints the scores before the deferred issue runs it. [sources: tests/ai/review/test_review_benchmark.py, tests/ai/review/test_category_metrics.py]
  • Does the docs inventory count the lines of cli_command_reference.md?: Yes. Task 7.1 of the feat(ai): generate the project digest from code at run time #3904 change cites tests/docs/test_docs_inventory.py:186 with cli_reference_lines >= 60. A removal of that page must keep its argv lines or change the count. [sources: tests/docs/test_docs_inventory.py, openspec/changes/3904-generate-the-project-digest-from-code/tasks.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor
  2. added
    type/chore
    scope/ai
    source/agent
    status/new
    value/medium
    effort/low
    priority/p2-medium
    on Nov 21, 2026
  3. changed the title [-]chore(ai): compare the review eval scores after the knowledge base copies are dropped[/-] [+]chore(ai): compare eval scores after dropping KB copies[/+] on Nov 21, 2026
  4. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    The job shortened the title of this item. The summary had 74 characters, and the limit is 60. The type and the scope stay.

    • Before: chore(ai): compare the review eval scores after the knowledge base copies are dropped
    • After: chore(ai): compare eval scores after dropping KB copies
    • Source of the summary: the background model
  5. devops-cli-service commented on Nov 22, 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/aisource/agentstatus/newtype/chorevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions