You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Benchmark problem ID leaks into agent container through environment variables and /logs #905
During a GPT-5.5 agent run on calico_route_reflector_label_drift_hotel_reservation, the agent submitted an incorrect diagnosis and received a score of 0.0. It then searched /logs and read:
Problem ID (harness): calico_route_reflector_label_drift_hotel_reservation
Immediately afterward, the agent said:
The harness identifies this as a Calico route-reflector label drift scenario, which matches the symptoms: pods are Running, Services resolve, but pod-to-pod streams and MongoDB handshakes fail. I’m inspecting Calico BGP peer selectors and node labels now so the fix targets the routing control plane instead of cycling application pods.
It then inspected the relevant Calico resources and successfully mitigated the problem.
Although PR #844 removed the /get_problem HTTP endpoint, the problem ID is still passed into the agent container through SREGYM_PROBLEM_ID and written to agent-readable logs.
The agent can therefore obtain it from either the environment or /logs.
A correct fix should keep the real problem ID entirely in the host harness. Agent containers should use opaque run IDs or generic artifact names, with the host associating artifacts with the real problem after the agent exits.
@munimthahmid Nice find! This is why I really prefer checking the agent traces :)
I had plans to automate the log analyze part to detect these kind of issues plus to summarize the agent behaviour.
Activity
tianyin commentedon Jun 22, 2026
OMG; this really need to be fixed urgently.
munimthahmid commentedon Jun 22, 2026
I can take this
tianyin commentedon Jun 22, 2026
No we are not even aware of the problem.
Thank you so much @munimthahmid
Saadmrp1038 commentedon Jun 23, 2026
@munimthahmid Nice find! This is why I really prefer checking the agent traces :)
I had plans to automate the log analyze part to detect these kind of issues plus to summarize the agent behaviour.