Skip to content

fix(miniswe): preserve model and tool observability - #3527

Merged
bxyu-nvidia merged 2 commits into
mainfrom
flafrance/miniswe-observability
Sep 18, 2026
Merged

bxyu-nvidia merged 2 commits into
mainfrom
flafrance/miniswe-observability

Conversation

@lafrancef

@lafrancef lafrancef commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

miniSWE now emits canonical turns, invocation ownership, and per-tool timing and outcomes so Gym rollouts can be inspected and correlated with model-call captures.

Enable observability_enabled: true in the Gym run configuration. Direct MiniSWEHarness callers can pass observability_enabled=True; collection is disabled by default. Responses without an ID retain their turn and record a model_call_reference_unavailable gap.

The change also preserves tool results, including final submission, in combined Responses output; keeps incomplete token usage unknown; and emits namespaced TB4 identities such as terminal-bench/interleaved-vigenere. The TB4 smoke runner retains model captures, canonical rollout JSONL, and health reports. Regenerate prepared TB4 datasets to use named task identities in collection.

Model-visible prompts, serial execution, and official grading are unchanged. A capped real interleaved-vigenere smoke exercised the observation path and completed verification with reward 0 after reaching its step limit. Full pre-commit validation remains pending because the local jj workspace lacks a Git working-tree marker.

Record canonical turns, invocation ownership, tool results and timing, and complete usage. Retain TB4 captures and health evidence and emit namespaced task identities.

Signed-off-by: Frederic Lafrance <[email protected]>
@lafrancef lafrancef added bug Something isn't working area:agent Agent harnesses and Responses API agent behavior labels Sep 18, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 18, 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.

@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test 87b8982

@bxyu-nvidia
bxyu-nvidia added this pull request to the merge queue Sep 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/35395791734

Merged via the queue into main with commit 36b4b0a Sep 18, 2026
43 checks passed
@bxyu-nvidia
bxyu-nvidia deleted the flafrance/miniswe-observability branch September 18, 2026 21:24

This branch was previously deployed

1 inactive deployment
public — 87b89821 Deployed Sep 18, 2026 by copy-pr-bot[bot] via release / finalize / notify #3192
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