Repository navigation
feat(roadmap): the alternatives check reads the brain digest - #7496
Merged
Merged
Conversation
The check of an item reads the near items of its entry in the brain index before its model call, and records the entries that the digest used in alternatives.brain_used. The setting roadmap.brain.digest turns the read off.
Owner
Author
|
Test results of head
Scenarios and their tests (
Pending a person:
|
This was referenced Nov 28, 2026
Owner
Author
|
Vetting of this pull request, 2026-11-28, head Evidence:
Found outside this change, filed:
The live proof of #4682 (3 items of the stage window as the App, and 7 days of |
dan-petty
marked this pull request as ready for review
November 28, 2026 01:37
dan-petty
deleted the
feat/4682-alternatives-check-reads-brain-digest
branch
November 28, 2026 01:48
3 tasks
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.232.0](v0.231.1...v0.232.0) (2026-11-28) ### Features * **roadmap:** the alternatives check reads the brain digest ([#7496](#7496)) ([0a47a6d](0a47a6d)) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The alternatives check of an item now reads the brain digest of the item before its one model call. The digest holds the near items of the entry of the item in the brain index of
valkey-roadmap: the date of each check, its verdict, its tool and the ADRs in force that reject that tool, at most 2,000 tokens of whole entries. The request holds the digest asbrainonly when it has an entry, and the check makes no other model call. A written check records the used brain entries inalternatives.brain_used, in the same write as its block. The new settingroadmap.brain.digest(onby default) turns the read off. With no store, a store that does not answer, or an item with no entry, the digest is empty and the check runs as before.A decision on one item did not reach the check of the next item, so near items got different tools, and tools that an ADR rejects.
Closes #4682
Change:
openspec/changes/archive/2026-11-28-4682-alternatives-check-reads-brain-digest/