Repository navigation
fix(conformance): exercise compaction overflow recovery - #5435
Closed
giuliolovisotto wants to merge 5 commits into
Closed
giuliolovisotto wants to merge 5 commits into
giuliolovisotto wants to merge 5 commits into
Conversation
svcnvidia-nemo-ci
left a comment
Contributor
There was a problem hiding this comment.
SHIP
LGTM — no concerns found. I reviewed all five changed files and traced the provider, episode setup, checker, and regression tests. Successful-only ID and usage accounting still leaves the failed overflow attempt covered by the independent exchange checks.
This was a static review. I didn't execute tests or independently reproduce the combined harness runs reported in the PR.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
marta-sd
previously approved these changes
Nov 2, 2026
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 2, 2026 10:59
2451784 to
0ab7333
Compare
giuliolovisotto
changed the base branch from
codex/fea-518-hermes
to
codex/fea-518-compaction
November 2, 2026 11:30
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 2, 2026 12:18
0ab7333 to
757fce5
Compare
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 2, 2026 17:00
fc4fb8e to
21c9c2f
Compare
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 3, 2026 10:08
21c9c2f to
b1dcd61
Compare
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 3, 2026 10:13
b1dcd61 to
f21e9c9
Compare
giuliolovisotto
force-pushed
the
glovisotto/compaction-overflow-fixture
branch
from
November 3, 2026 10:28
f21e9c9 to
d3ca2cd
Compare
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
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 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 controlled compaction fixture could report high token usage without supplying enough older history for Pi to summarize. Pi also checks its threshold after the tool loop, so that trigger could run after the final policy response.
Support an explicitly declared context-limit response during the task, with enough history to exercise Pi's own compact-and-retry path. Recognize Pi's summary instructions outside the quoted conversation, accept native automatic trigger names and summary wrappers, and account for successful policy/helper responses while retaining the failed attempt through the existing capture checks. The saved trigger must match whether the fixture declared an overflow, and the trigger position follows the scenario step count. The five behavioral requirements remain unchanged.
This focused follow-up to #5307 starts the Pi stack on main, followed by #5436. No separate GitHub issue is needed. The shared scenario landed in #5439; the default P0 gate is unchanged.
Validation on 2026-11-06, with the assembled Pi stack rebased onto main
b4dc559825a951171c0218623f1c44243ceb7843:pre-commit run --all-files: passed.Rollout evidence uses the real pinned runtime and shell execution with a controlled local provider. Existing session configuration and scoring policy are unchanged.