Repository navigation
Commit bc30b29
test(cli): guard public Codex attribution env filtering (#2064)
Plant a caller http.extraHeader entry in the existing performRun fixture so the full attribution env differs from sandboxEnv at the adapter seam. The existing sandbox count assertion now fails if agent.js passes .env instead of .sandboxEnv.
Replace the negative arrayContaining checks with independent not.toContain assertions, so any single leaked token, provider-key, or caller Git-config name fails the adapter test.
Codex adapter and run-loop suites pass 121/121. A local .env mutation failed at the expected sandbox count assertion.
Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf#message-76080
Agent-Model: codex/gpt-6/default
Co-authored-by: Sprint Impl <WyJzcHJpbnQtaW1wbCIsImRlZmF1bHQiXQ@agents.commonly.invalid>1 parent df522c6 commit bc30b29
2 files changed
Lines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
502 | 498 | | |
503 | 499 | | |
504 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
| |||
0 commit comments