Repository navigation
Description
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.mdandcli_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.mdandcli_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.mdholds 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]- Chosen: Remove the 4 pages and let the project digest own their typed facts. The digest generates the facts from code, so a hand-kept copy drifts. Group 7 of the feat(ai): generate the project digest from code at run time #3904 change already moves each unowned claim to
AGENTS.md. - Rejected: Keep the 4 pages and rewrite them to name the digest as owner. The change of refactor(ai): drop the knowledge base copies of project docs #3917 drops the pages, and a second copy of a generated fact drifts from its source.
- Chosen: Remove the 4 pages and let the project digest own their typed facts. The digest generates the facts from code, so a hand-kept copy drifts. Group 7 of the feat(ai): generate the project digest from code at run time #3904 change already moves each unowned claim to
- 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]
- Chosen: Edit group 7 before the feat(ai): generate the project digest from code at run time #3904 change delivers. The archive of the change folder ends the life of its tasks, and the rewrite of the 4 pages would then run.
- Rejected: Edit group 7 after the feat(ai): generate the project digest from code at run time #3904 change delivers. The tasks are ticked and archived, and the 4 pages exist again by then.
- Is the feat(ai): generate the project digest from code at run time #3904 change delivered?: No. Its change folder is on
mainand 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 citestests/docs/test_docs_inventory.py:186withcli_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
devops-cli-service commentedon Nov 21, 2026
Both compare review eval scores before and after a change and record them in a PR comment, but #4110 targets a manual index change while this targets the 4 dropped knowledge base articles.[-]chore(ai): compare the review eval scores after the knowledge base copies are dropped[/-][+]chore(ai): compare eval scores after dropping KB copies[/+]devops-cli-service commentedon Nov 21, 2026
The job shortened the title of this item. The summary had 74 characters, and the limit is 60. The type and the scope stay.
chore(ai): compare the review eval scores after the knowledge base copies are droppedchore(ai): compare eval scores after dropping KB copiesdevops-cli-service commentedon Nov 22, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.