Skip to content

feat(roadmap): Add reason and queries to the alternatives comment - #3846

Merged
dan-petty merged 3 commits into
mainfrom
feat/2944-alternatives-reason
Nov 6, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/2944-alternatives-reason

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The comment of the alternatives check now gives the reason of the verdict, every tool the run read with its license and last activity, and the result count of each search. It shows at most five sources. A check adds a comment and never changes an earlier one. A person can now see what the model searched and why it gave the verdict.

Closes #2944

Change: openspec/changes/archive/2026-11-06-2944-alternatives-reason/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test notes.

  • New tests in tests/roadmap/test_roadmap_alternatives.py fail on the base: result count of a search, reason and counts in the comment, tools considered, schema refusal without a reason, bound of sources, first comment unchanged by a later check.
  • Full uv run devops ci on the branch: 20,014 passed. Failures: tests/roadmap/test_roadmap_limit_classes.py (mine, fixed in a later commit), and the known host failures tests/commands/test_devcontainer_install_tools_dry_run.py and tests/ai/test_tool_executor_contract.py (fix(ci): host state fails four tests and one case #3585). The test row took 5m36s (fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593).
  • After the fix and the rebase onto origin/main: uv run devops ci test tests/roadmap/test_roadmap_alternatives.py tests/roadmap/test_roadmap_limit_classes.py passes (161 tests).

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 20:42
@dan-petty
dan-petty force-pushed the feat/2944-alternatives-reason branch from e57b55b to 0affd56 Compare November 6, 2026 22:18
@dan-petty
dan-petty merged commit 86b6ed7 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/2944-alternatives-reason branch November 6, 2026 22:26
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.74.0](v0.73.0...v0.74.0)
(2026-11-06)


### Features

* **roadmap:** Add reason and queries to the alternatives comment
([#3846](#3846))
([86b6ed7](86b6ed7)),
closes [#2944](#2944)
* **roadmap:** build job pull request text with pull_form
([#3847](#3847))
([a7aacea](a7aacea)),
closes [#3215](#3215)


### Code Refactoring

* **ai:** RAG components are wired once in ai/rag
([#3856](#3856))
([d175616](d175616))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): Add reason and queries to the alternatives comment

1 participant