Repository navigation
test(conformance): script Hermes compaction replies - #6011
giuliolovisotto wants to merge 3 commits 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. |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found.
I reviewed the settings selection and Hermes reply schedule, the updated tests, and their affected adapter, provider, and compaction-check paths. I found no introduced correctness issues or weakened evidence checks.
This was a static review. I didn't execute tests, and the external Hermes loop isn't mounted, so I couldn't independently verify automatic compaction timing in a full agent-session episode.
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.
d2e94f6 to
2fca7fb
Compare
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
2596932 to
ff11a37
Compare
2fca7fb to
0f99912
Compare
Hermes compaction probes now use an explicit reply schedule: 14 tool replies, one summary, then the final answer. The last tool reply crosses the configured compression threshold after enough history exists. A larger-context control receives the same tool usage without a summary reply.
This follows #5376 and targets its branch. The compaction scenario defines its complete harness overrides and reply schedule. The settings loader selects overrides by scenario name and merges them directly onto base settings. The no-compaction comparison is test-only. The shared provider and conformance checks are unchanged. 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: 237 passed, 14 skipped.pre-commit run --all-files: passed.26bb847a88493342ca1b194e0455b479073ae21d), the actual probe, and 14 executed shell tools: the 32,768-token context produced one compaction on request 15 and reused its summary on request 16; the 65,536-token control completed in 15 requests without compaction. Neither run recorded fixture violations. The smoke mirrored the agent's post-tool trigger and forwarded the compressor's model call to the probe; it did not run the full agent loop.Kept as a draft because a full Gym agent-session episode has not been run. This changes conformance fixtures only; it does not change adapter behavior or weaken checks for missing observations.