Repository navigation
test(conformance): script Stirrup compaction replies - #6044
giuliolovisotto wants to merge 1 commit into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
25386bc to
ecd43c9
Compare
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found. I reviewed both changed files and traced the Stirrup reply schedule through configuration, adapter plumbing, and compaction evidence checks. The added test case covers the scripted tool usage, summary, final reply, and no-summary control without weakening the existing tool-observation requirements.
This was a static review. I didn't execute tests or reproduce the reported SDK smoke runs; the full Gym agent-session path remains unvalidated, as the PR notes.
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.
ecd43c9 to
eac08c5
Compare
d2e94f6 to
2fca7fb
Compare
Signed-off-by: Giulio Lovisotto <[email protected]>
eac08c5 to
2f74bac
Compare
2fca7fb to
0f99912
Compare
Stirrup compaction probes now use an explicit reply schedule. Fourteen tool replies build history; the last reports enough usage to cross Stirrup's 70% context threshold, followed by one summary and the final reply. The larger-context control receives the same tool usage without a summary reply.
This follows #6011 and targets its branch. Harness and probe settings remain together in the existing compaction configuration. No shared provider or conformance-check changes are needed. No separate issue is needed for this focused follow-up.
Validation:
python -m pytest scripts/harness_conformance/tests tests/unit_tests/rollouts/harness_capabilities/test_compaction.py -q -o log_cli=false: 239 passed, 14 skipped.pre-commit run --all-files: passed.NeMoAgent,DynamicMaxTokensChatCompletionsClient, the actual scripted probe, and 14 executed shell tools: the 32,768-token context made 16 requests, compacted once, reused the summary, and completed through the finish tool. The 65,536-token control made 15 requests with no compaction and also completed. Both runs retained tool evidence without fixture violations. Only the SDK's HTTP submission was redirected to the in-process probe; the agent loop, compaction trigger, summary handling, client serialization and response parsing ran unchanged.Kept as a draft because the full Gym agent-session path has not been exercised. This changes conformance fixtures only; adapter behavior and checks for missing observations remain unchanged.