Repository navigation
Inject history notes hints into context windows - #40539
Merged
copyberry[bot] merged 1 commit intoAug 25, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed - Register the history-notes extension as a context contributor and fetch `thread_hint` from the configured history-notes backend. - Add non-empty hints of at most 4,000 bytes to the context-window prompt, and omit hints when the request fails or the response is missing, empty, or oversized. - Verify that app-server sessions use the native backend when `use_history_notes_extension` is enabled and retain the MCP bridge behavior when it is disabled. ## Testing - Cover hint injection, request context, response validation, backend failures, and disabled-extension behavior in history-notes and app-server tests. GitOrigin-RevId: 344a7bb79d962ea8b7c969f25b67a79423fc7fcc
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/344a7bb79d962ea8b7c969f25b67a79423fc7fcc
branch
from
August 25, 2026 04:06
aa5decb to
2e46759
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/344a7bb79d962ea8b7c969f25b67a79423fc7fcc
branch
August 25, 2026 04:07
Suhaibinator
temporarily deployed
to
issue-triage
August 25, 2026 04:18 — with
GitHub Actions
Inactive
Suhaibinator
temporarily deployed
to
issue-triage
August 25, 2026 04:18 — with
GitHub Actions
Inactive
Suhaibinator
temporarily deployed
to
issue-triage
August 25, 2026 04:18 — with
GitHub Actions
Inactive
zwmjohn-cool
temporarily deployed
to
issue-triage
August 25, 2026 04:23 — with
GitHub Actions
Inactive
zwmjohn-cool
temporarily deployed
to
issue-triage
August 25, 2026 04:23 — with
GitHub Actions
Inactive
zwmjohn-cool
temporarily deployed
to
issue-triage
August 25, 2026 04:23 — with
GitHub Actions
Inactive
dby062996-sys
temporarily deployed
to
issue-triage
August 25, 2026 04:34 — with
GitHub Actions
Inactive
dby062996-sys
temporarily deployed
to
issue-triage
August 25, 2026 04:34 — with
GitHub Actions
Inactive
dby062996-sys
temporarily deployed
to
issue-triage
August 25, 2026 04:34 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Inject history notes hints into context windows
What changed
thread_hintfrom the configured history-notes backend.use_history_notes_extensionis enabled and retain the MCP bridge behavior when it is disabled.Testing