Summary
I reproduced two failing tests in src/gateway/openresponses-http.test.ts on origin/main.
Reproduction
pnpm test -- src/gateway/openresponses-http.test.ts src/gateway/server-chat.agent-events.test.ts
Failures
-
Unauthenticated POST to /v1/responses returns 200 instead of 403
src/gateway/openresponses-http.test.ts:241
-
Requested HTTP scopes appear to imply owner identity
senderIsOwner is true when the test expects false
src/gateway/openresponses-http.test.ts:747
Expected behavior
- HTTP requests without auth should be rejected with
403
- Requested HTTP scopes should not, by themselves, prove owner identity for owner-only tool access
Notes
Reproduced on origin/main.
Summary
I reproduced two failing tests in
src/gateway/openresponses-http.test.tsonorigin/main.Reproduction
pnpm test -- src/gateway/openresponses-http.test.ts src/gateway/server-chat.agent-events.test.tsFailures
Unauthenticated POST to
/v1/responsesreturns200instead of403src/gateway/openresponses-http.test.ts:241Requested HTTP scopes appear to imply owner identity
senderIsOwneristruewhen the test expectsfalsesrc/gateway/openresponses-http.test.ts:747Expected behavior
403Notes
Reproduced on
origin/main.