Skip to content

fix(agent): reuse session runtimes for baseline runs - #5247

Closed
init-nikhil wants to merge 1 commit into
init-nikhil/multi-harness-training-controlsfrom
init-nikhil/nooa-training-capture
Closed

init-nikhil wants to merge 1 commit into
init-nikhil/multi-harness-training-controlsfrom
init-nikhil/nooa-training-capture

Conversation

@init-nikhil

@init-nikhil init-nikhil commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

The OpenCode, Hermes and Pi /run baselines reuse the corresponding session runtime settings, installation and sandbox lifecycle. This keeps the original comparisons aligned while preserving infrastructure failures and retryable cleanup. Pi cleanup cannot revoke a zero explicitly selected by the upstream outcome policy; runtime artifacts stay outside read-only source.

Stack 3/8; 835 non-test changed lines. Depends on #5240.

Validation on the combined final tree: 714 passed, 4 skipped in this layer’s affected test files; all-files pre-commit passed. Historical runtime evidence uses frozen Gym 6b4cdc9 / RL ca10ee1 plus per-run overlays; this restacked head has not run on GPUs. Keep draft pending full CI/runtime qualification. No separate issue: this narrows the existing matched-run integration.

@copy-pr-bot

copy-pr-bot Bot commented Oct 29, 2026

Copy link
Copy Markdown

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 svcnvidia-nemo-ci added area:agent Agent harnesses and Responses API agent behavior bug Something isn't working labels Oct 29, 2026
@init-nikhil
init-nikhil added this pull request to stack #5241 October 29, 2026 01:25
@init-nikhil

Copy link
Copy Markdown
Member Author

Validation for 32adcf5b753bec4b6d523db9dd3c182913666d54:

  • NOOA suite: 390 passed, 8 skipped; focused lineage and child-call checks passed. pre-commit run --all-files passed; DCO sign-off included.
  • Real SFT model on HSG: temperature 0 produced 5 calls / 1,164 generated tokens; temperature 1 produced 2 calls / 1,173 tokens. Both had one complete capture chain, no unresolved parents, no capture masking, and exact returned-versus-independent-capture token ID and log-probability agreement.
  • Delegation: 7 calls / 3,165 tokens across root (3 calls / 1,835 tokens) and child (4 calls / 1,330 tokens). Every returned training block matched one distinct committed call, with all calls covered exactly once. Parent ancestry passed, the explicitly declared terminal call belonged to the root, and the returned root projection exactly matched the independently rebuilt delivered chain. A zero-call wrapper observation contributed no training data. The delegation validator passed one positive and 12 negative fixtures; the single-agent comparison remains strict.
  • Every observed request used the selected temperature, top-p 1, and the effective 8,192-token cap despite a 16,384-token request. Compaction was disabled. Real sandbox tools, verification, replay equality, and zero remaining sandboxes passed in all three cases.

Pinned NOOA runtime: 051472343211914222e24ce36d8752f4e86bbe43; runtime dependency audit and strict source-import admission passed. This establishes execution/capture behavior, not benchmark accuracy or learning parity. Raw rollout payloads remain on the cluster.

@init-nikhil

Copy link
Copy Markdown
Member Author

Follow-up integration correction in 978797fd022d74badb37b03f5dce3e09db68a3ce: the single-agent environment now preserves the harness's declared terminal response ID at the result level consumed by the RL receipt adapter. A valid explicit verifier declaration keeps precedence; no ID is inferred from the synthetic response envelope.

The earlier real-model smoke helper promoted this field itself, so that evidence alone did not establish production propagation. The production fix passes 121 environment tests plus 94 terminal-attribution tests, and pre-commit run --all-files passes. A real environment-to-RL-normalization check is being prepared.

Delegation capture correctness also differs from training selection: the current receipt adapter selects the terminal root chain; the earlier child-call capture proof does not establish child-token training. Existing harness smoke runs did not validate external top-32 staging or score-centering training. Those integration gates remain pending, and this PR remains draft.

@init-nikhil

Copy link
Copy Markdown
Member Author

Real-model production integration passed at 978797fd022d74badb37b03f5dce3e09db68a3ce with pinned RL c25263d4861518ee478977163146e5ef7a80dddb.

The check executed SingleAgentTurn.run_request through actual HTTP model, agent, and resources services. Its top-level terminal response ID survived the pinned RL normalization function without helper promotion. Independent capture selected the declared root: 1 root model call / 4,389 tokens, with 5 child calls / 1,991 tokens explicitly excluded from that root chain. Verification completed and cleanup left zero sandboxes.

This verifies the terminal propagation fix. It does not verify a live TQ receipt, top-32 training, or training child-agent chains. The toy task's reward was 0; no benchmark result is claimed. PR remains draft.

@init-nikhil
init-nikhil force-pushed the init-nikhil/nooa-training-capture branch from 978797f to 5dd6eff Compare November 8, 2026 01:55
@copy-pr-bot

copy-pr-bot Bot commented Nov 8, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@init-nikhil init-nikhil changed the title fix(nooa): preserve training capture lineage across model calls feat(nooa): run Atom with explicit terminal capture Nov 8, 2026
@init-nikhil
init-nikhil force-pushed the init-nikhil/nooa-training-capture branch from c4ee354 to bfda33e Compare November 11, 2026 04:35
@init-nikhil
init-nikhil removed this pull request from stack #5241 November 11, 2026 04:38
@init-nikhil init-nikhil changed the title feat(nooa): run Atom with explicit terminal capture fix(agent): reuse session runtimes for baseline runs Nov 11, 2026
@init-nikhil
init-nikhil added this pull request to stack #5993 November 11, 2026 04:38
@init-nikhil
init-nikhil force-pushed the init-nikhil/nooa-training-capture branch from bfda33e to c3b39d3 Compare November 11, 2026 05:05
@init-nikhil
init-nikhil removed this pull request from stack #5993 November 11, 2026 05:05
@init-nikhil
init-nikhil changed the base branch from init-nikhil/shared-swe-five-sources to init-nikhil/multi-harness-training-controls November 11, 2026 05:05
@init-nikhil
init-nikhil added this pull request to stack #5994 November 11, 2026 05:06
@init-nikhil
init-nikhil force-pushed the init-nikhil/nooa-training-capture branch from c3b39d3 to ad8d47f Compare November 12, 2026 10:43
@init-nikhil
init-nikhil force-pushed the init-nikhil/nooa-training-capture branch from ad8d47f to 0642f14 Compare November 12, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants