Skip to content

feat(gateway): record generation outcome and provider terminal reason separately from transport outcome - #4945

Open
yomgui wants to merge 8 commits into
devfrom
feat/gateway-generation-outcome
Open

yomgui wants to merge 8 commits into
devfrom
feat/gateway-generation-outcome

Conversation

@yomgui

@yomgui yomgui commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Problem

HTTP-200 refusals persisted as transport ok, losing their generation outcome.

Changes

  • Independent generation outcome and allowlisted provider terminal reason; transport, bytes and accounting preserved.
  • Migration 0098_gateway_generation_terminal; correlated metadata-only terminal receipts.
  • Filter/refusal warning Sentry Logs and bounded counters—not one Issue per refusal. Transport failures retain error severity and bounded codes; privacy settings unchanged.

Matrix: Chat / Anthropic / Responses × JSON / SSE × completion, limits, tools, filtering/refusal, unknown; multi-choice, repeated/DONE frames, failures and cancellation.

Verification — Passed (local)

  • pnpm evals:pr specs/inference-gateway-transport-security.test.ts: baseline 25; final 36 passed.
  • pnpm --filter @openwork-ee/gateway test: 299 passed (MySQL/Helm enabled).
  • pnpm --filter @openwork-ee/gateway exec tsc --noEmit -p tsconfig.json: passed.
  • pnpm --filter @openwork-ee/den-db test: 71 passed, including migration replay/readiness.
  • Zero failures/skips; trace-zero local Sentry sink verified.
  • Assertion evidence: all 36 tests.

Handoff: reports/content-filter-observability-gap-2026-09-12.md in the source investigation worktree; recommended contract and acceptance 1–9 implemented.

Follow-ups: session-ID join for ipr_…, client acceptance 10, post-deployment Sentry ingestion. Disabled telemetry limits coverage. Ben owns deployment; do not merge/deploy automatically.

@vercel

vercel Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 16, 2026 4:26am UTC
openwork-den Ready Ready Preview Sep 16, 2026 4:26am UTC
openwork-diagnostics Ready Ready Preview Sep 16, 2026 4:26am UTC
openwork-landing Ready Ready Preview, v0 Sep 16, 2026 4:26am UTC

@github-actions

github-actions Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit a570d03bb1d74fa2394fa60eb756831c01d0f536 · selected evidence

Open review report

if (shouldEmitSentryLog(level)) {
const options = Sentry.getClient()?.getOptions()
Sentry.logger[level]("OpenWork inference terminal", { ...report, release: options?.release ?? "unknown", environment: options?.environment ?? "unknown" })
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminal Sentry log exposes outside-party identity data

The terminal Sentry event forwards organization and membership identifiers with outcome data, allowing an external artifact to identify an outside party. Emit only outcome and operational fields in this event, and retain correlation identifiers in the tenant-scoped internal telemetry store. Clear when terminal Sentry events contain no customer, membership, or other outside-party identifiers. Existing disclosures remain unaffected by removing this event.

Evidence
  • request-log.ts constructs a terminal receipt with organization and membership identity from the authenticated request.
  • sentryInferenceReporter.terminal forwards the complete receipt to the Sentry logger.
  • instrumentation.ts enables Sentry log delivery when configured; no terminal-specific identity filter is applied.
Also found at 2 additional locations
  • ee/apps/gateway/src/request-log.ts:277-278
  • ee/apps/gateway/src/inference-reporting.ts:13-14

Identified by Warden · confidentiality-review · ZF6-7EU

@github-actions

github-actions Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Warden review summary — Blocked

Native findings: 2. Blocking policy matches before consolidation: 1. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (217092 ms), confidentiality-review (64064 ms), spec-provenance-review (274756 ms).

Blockers

  • 2X9-ZTJ · medium · confidentiality-review

Advisories

  • RWP-FFF · medium · spec-provenance-review · evals/specs/inference-gateway-transport-security.test.ts:289

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 3
  • Distinct heads in retained window: 3
  • Current unresolved Warden threads: 1 of 1 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 1
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 3/20 run attempts retained; truncated: false
  • Transition snapshot: 1/1 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 12, 2026 21:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 12, 2026 21:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 12, 2026 21:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 12, 2026 21:42 Inactive
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Deploying openwork with  Cloudflare Pages  Cloudflare Pages

Latest commit: a570d03
Status:🚫  Build failed.

View logs

@yomgui

yomgui commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

Overnight dev-integration verification

Head: a570d03bb1d74fa2394fa60eb756831c01d0f536; integrated dev: e2216f9f37799aeeb8e75e8ca0f4111406458c99. Signed and signed off; fast-forward PR-branch update, no rewritten history.

Merged current dev, preserving uncountable-usage and diagnostic model provenance. The PR-only terminal migration is now generated 0102 after shipped 0098–0101; earlier SQL/snapshots are unchanged from dev. Generation was offline; no database migration was applied.

Verdict: Scoped transport proof Passed: 36 Testkit tests. Overall migration verification remains Incomplete: targeted DB checks were 48 passed / 5 skipped because disposable MySQL test configuration was not supplied. Related gateway/request-log unit checks: 97 passed / 0 skipped. Skips are not passes.

All commands below exited 0 on this committed head. Local lane, deliberately isolated fixtures.

pnpm --dir ee/packages/den-db exec tsc --noEmit
pnpm --dir ee/apps/gateway exec tsc --noEmit
pnpm --dir evals typecheck
pnpm evals:pr specs/inference-gateway-transport-security.test.ts

Head-matching Testkit records

36 passed tests; 3617 passed recorded expectations, zero failed/pending/unvalidated expectation artifacts. Each test has its own section below. These are assertion summaries from actual Testkit receipts, not screenshot judgments. No screenshots or hosted review were uploaded. Complete local receipts remain under evals/results/test-runs/<receipt>/test-run.json in the retained verification checkout.

native Google/Azure headers authenticate Gateway keys; conflicting credentials never reach the provider

  • Passed, 29 recorded expectations. Receipt: 2026-09-16T04-20-55-616Z-native-google-azure-headers-authenticate-gateway-keys-conflicting-credentials-ne.
  • native Google/Azure headers authenticate Gateway keys; conflicting credentials never reach the provider — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:136:29: native Vitest matcher succeeded; payload values are not recorded.
  • native Google/Azure headers authenticate Gateway keys; conflicting credentials never reach the provider — assertion 29: toHaveLength: specs/inference-gateway-transport-security.test.ts:160:38: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Gateway keeps operator routes and separates Models keys; new admin and webhook config replaces deprecated aliases

  • Passed, 32 recorded expectations. Receipt: 2026-09-16T04-20-56-909Z-gateway-keeps-operator-routes-and-separates-models-keys-new-admin-and-webhook-co.
  • Gateway keeps operator routes and separates Models keys; new admin and webhook config replaces deprecated aliases — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:175:27: native Vitest matcher succeeded; payload values are not recorded.
  • Gateway keeps operator routes and separates Models keys; new admin and webhook config replaces deprecated aliases — assertion 32: not.toMatch: specs/inference-gateway-transport-security.test.ts:199:26: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

empty canonical Gateway credentials disable legacy tokens rather than silently restoring access

  • Passed, 4 recorded expectations. Receipt: 2026-09-16T04-20-58-643Z-empty-canonical-gateway-credentials-disable-legacy-tokens-rather-than-silently-r.
  • empty canonical Gateway credentials disable legacy tokens rather than silently restoring access — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:213:29: native Vitest matcher succeeded; payload values are not recorded.
  • empty canonical Gateway credentials disable legacy tokens rather than silently restoring access — assertion 4: toHaveLength: specs/inference-gateway-transport-security.test.ts:215:38: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Gateway timeout takes precedence and invalid canonical numbers cannot fall back to valid legacy config

  • Passed, 5 recorded expectations. Receipt: 2026-09-16T04-20-59-501Z-gateway-timeout-takes-precedence-and-invalid-canonical-numbers-cannot-fall-back-.
  • Gateway timeout takes precedence and invalid canonical numbers cannot fall back to valid legacy config — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:221:27: native Vitest matcher succeeded; payload values are not recorded.
  • Gateway timeout takes precedence and invalid canonical numbers cannot fall back to valid legacy config — assertion 5: rejects.toThrow: specs/inference-gateway-transport-security.test.ts:224:127: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Gateway egress config overrides rather than unions legacy exceptions; an empty canonical list fails closed

  • Passed, 13 recorded expectations. Receipt: 2026-09-16T04-21-03-001Z-gateway-egress-config-overrides-rather-than-unions-legacy-exceptions-an-empty-ca.
  • Gateway egress config overrides rather than unions legacy exceptions; an empty canonical list fails closed — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:230:27: native Vitest matcher succeeded; payload values are not recorded.
  • Gateway egress config overrides rather than unions legacy exceptions; an empty canonical list fails closed — assertion 13: toHaveLength: specs/inference-gateway-transport-security.test.ts:240:42: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

credential retry yields a correlated 503 without forwarding tokens or asking the member to reconnect

  • Passed, 33 recorded expectations. Receipt: 2026-09-16T04-21-04-700Z-credential-retry-yields-a-correlated-503-without-forwarding-tokens-or-asking-the.
  • credential retry yields a correlated 503 without forwarding tokens or asking the member to reconnect — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:247:29: native Vitest matcher succeeded; payload values are not recorded.
  • credential retry yields a correlated 503 without forwarding tokens or asking the member to reconnect — assertion 33: not.toMatch: specs/inference-gateway-transport-security.test.ts:256:58: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

both routes record semantic stream errors; Models sanitizes the provider error while Gateway preserves native bytes

  • Passed, 12 recorded expectations. Receipt: 2026-09-16T04-21-07-212Z-both-routes-record-semantic-stream-errors-models-sanitizes-the-provider-error-wh.
  • both routes record semantic stream errors; Models sanitizes the provider error while Gateway preserves native bytes — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:266:29: native Vitest matcher succeeded; payload values are not recorded.
  • both routes record semantic stream errors; Models sanitizes the provider error while Gateway preserves native bytes — assertion 12: toMatchObject: specs/inference-gateway-transport-security.test.ts:275:27: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

managed Chat JSON and SSE preserve bytes and independent generation outcomes

  • Passed, 96 recorded expectations. Receipt: 2026-09-16T04-21-08-910Z-managed-chat-json-and-sse-preserve-bytes-and-independent-generation-outcomes.
  • managed Chat JSON and SSE preserve bytes and independent generation outcomes — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:292:31: native Vitest matcher succeeded; payload values are not recorded.
  • managed Chat JSON and SSE preserve bytes and independent generation outcomes — assertion 96: toMatchObject: specs/inference-gateway-transport-security.test.ts:305:29: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

org-provider Anthropic JSON and SSE terminals retain native bytes and transport-ok accounting

  • Passed, 152 recorded expectations. Receipt: 2026-09-16T04-21-15-647Z-org-provider-anthropic-json-and-sse-terminals-retain-native-bytes-and-transport-.
  • org-provider Anthropic JSON and SSE terminals retain native bytes and transport-ok accounting — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:325:29: native Vitest matcher succeeded; payload values are not recorded.
  • org-provider Anthropic JSON and SSE terminals retain native bytes and transport-ok accounting — assertion 152: toEqual: specs/inference-gateway-transport-security.test.ts:66:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

malformed and truncated managed SSE retain partial output and distinct protocol errors, never an invented content_filter

  • Passed, 22 recorded expectations. Receipt: 2026-09-16T04-21-22-388Z-malformed-and-truncated-managed-sse-retain-partial-output-and-distinct-protocol-.
  • malformed and truncated managed SSE retain partial output and distinct protocol errors, never an invented content_filter — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:349:29: native Vitest matcher succeeded; payload values are not recorded.
  • malformed and truncated managed SSE retain partial output and distinct protocol errors, never an invented content_filter — assertion 22: not.toMatch: specs/inference-gateway-transport-security.test.ts:363:36: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

permitted inline JSON retains exact bytes; files, multipart, unknown endpoints and oversized invocation bodies are rejected

  • Passed, 18 recorded expectations. Receipt: 2026-09-16T04-21-24-048Z-permitted-inline-json-retains-exact-bytes-files-multipart-unknown-endpoints-and-.
  • permitted inline JSON retains exact bytes; files, multipart, unknown endpoints and oversized invocation bodies are rejected — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:371:27: native Vitest matcher succeeded; payload values are not recorded.
  • permitted inline JSON retains exact bytes; files, multipart, unknown endpoints and oversized invocation bodies are rejected — assertion 18: toHaveLength: specs/inference-gateway-transport-security.test.ts:385:38: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

model metadata stays local and forbidden operations or provider resources never load credentials or dispatch

  • Passed, 1389 recorded expectations. Receipt: 2026-09-16T04-21-24-993Z-model-metadata-stays-local-and-forbidden-operations-or-provider-resources-never-.
  • model metadata stays local and forbidden operations or provider resources never load credentials or dispatch — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:392:29: native Vitest matcher succeeded; payload values are not recorded.
  • model metadata stays local and forbidden operations or provider resources never load credentials or dispatch — assertion 1389: toMatchObject: specs/inference-gateway-transport-security.test.ts:442:33: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

native inline client tools retain their schemas, arguments and results without provider resource access

  • Passed, 35 recorded expectations. Receipt: 2026-09-16T04-21-30-239Z-native-inline-client-tools-retain-their-schemas-arguments-and-results-without-pr.
  • native inline client tools retain their schemas, arguments and results without provider resource access — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:456:29: native Vitest matcher succeeded; payload values are not recorded.
  • native inline client tools retain their schemas, arguments and results without provider resource access — assertion 35: toBe: specs/inference-gateway-transport-security.test.ts:463:35: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

JSON-labelled 204 stays bodyless with its upstream status and completed log

  • Passed, 5 recorded expectations. Receipt: 2026-09-16T04-21-34-485Z-json-labelled-204-stays-bodyless-with-its-upstream-status-and-completed-log.
  • JSON-labelled 204 stays bodyless with its upstream status and completed log — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:470:27: native Vitest matcher succeeded; payload values are not recorded.
  • JSON-labelled 204 stays bodyless with its upstream status and completed log — assertion 5: toMatchObject: specs/inference-gateway-transport-security.test.ts:473:25: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

JSON bytes arrive before EOF, with first-byte time preceding completion

  • Passed, 7 recorded expectations. Receipt: 2026-09-16T04-21-35-370Z-json-bytes-arrive-before-eof-with-first-byte-time-preceding-completion.
  • JSON bytes arrive before EOF, with first-byte time preceding completion — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:479:27: native Vitest matcher succeeded; payload values are not recorded.
  • JSON bytes arrive before EOF, with first-byte time preceding completion — assertion 7: toMatchObject: specs/inference-gateway-transport-security.test.ts:491:25: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

JSON body read failures preserve headers and finalize an error row without leaking exception text

  • Passed, 8 recorded expectations. Receipt: 2026-09-16T04-21-36-254Z-json-body-read-failures-preserve-headers-and-finalize-an-error-row-without-leaki.
  • JSON body read failures preserve headers and finalize an error row without leaking exception text — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:497:27: native Vitest matcher succeeded; payload values are not recorded.
  • JSON body read failures preserve headers and finalize an error row without leaking exception text — assertion 8: not.toContain: specs/inference-gateway-transport-security.test.ts:505:56: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

incoming cancellation before headers stops the upstream socket and finalizes the request

  • Passed, 8 recorded expectations. Receipt: 2026-09-16T04-21-37-146Z-incoming-cancellation-before-headers-stops-the-upstream-socket-and-finalizes-the.
  • incoming cancellation before headers stops the upstream socket and finalizes the request — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:71:70: native Vitest matcher succeeded; payload values are not recorded.
  • incoming cancellation before headers stops the upstream socket and finalizes the request — assertion 8: toBe: specs/inference-gateway-transport-security.test.ts:516:33: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

operator upstream timeout also stops a provider that never sends headers

  • Passed, 4 recorded expectations. Receipt: 2026-09-16T04-21-38-074Z-operator-upstream-timeout-also-stops-a-provider-that-never-sends-headers.
  • operator upstream timeout also stops a provider that never sends headers — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:522:27: native Vitest matcher succeeded; payload values are not recorded.
  • operator upstream timeout also stops a provider that never sends headers — assertion 4: toBe: specs/inference-gateway-transport-security.test.ts:524:33: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

error responses are not buffered for logging and response cancellation closes the provider

  • Passed, 15 recorded expectations. Receipt: 2026-09-16T04-21-39-926Z-error-responses-are-not-buffered-for-logging-and-response-cancellation-closes-th.
  • error responses are not buffered for logging and response cancellation closes the provider — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:531:29: native Vitest matcher succeeded; payload values are not recorded.
  • error responses are not buffered for logging and response cancellation closes the provider — assertion 15: not.toContain: specs/inference-gateway-transport-security.test.ts:543:58: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

invalid UTF-8 JSON and malformed event-stream responses retain every original byte

  • Passed, 8 recorded expectations. Receipt: 2026-09-16T04-21-41-706Z-invalid-utf-8-json-and-malformed-event-stream-responses-retain-every-original-by.
  • invalid UTF-8 JSON and malformed event-stream responses retain every original byte — assertion 1: toEqual: specs/inference-gateway-transport-security.test.ts:550:56: native Vitest matcher succeeded; payload values are not recorded.
  • invalid UTF-8 JSON and malformed event-stream responses retain every original byte — assertion 8: toEqual: specs/inference-gateway-transport-security.test.ts:73:105: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

OpenWork rejects bodyless or broken completions and supports cancellation before headers

  • Passed, 18 recorded expectations. Receipt: 2026-09-16T04-21-43-458Z-openwork-rejects-bodyless-or-broken-completions-and-supports-cancellation-before.
  • OpenWork rejects bodyless or broken completions and supports cancellation before headers — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:562:24: native Vitest matcher succeeded; payload values are not recorded.
  • OpenWork rejects bodyless or broken completions and supports cancellation before headers — assertion 18: toEqual: specs/inference-gateway-transport-security.test.ts:73:105: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

public-only egress rejects private literals, DNS answers, host injection, unsafe bases and redirects

  • Passed, 76 recorded expectations. Receipt: 2026-09-16T04-21-46-079Z-public-only-egress-rejects-private-literals-dns-answers-host-injection-unsafe-ba.
  • public-only egress rejects private literals, DNS answers, host injection, unsafe bases and redirects — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:596:29: native Vitest matcher succeeded; payload values are not recorded.
  • public-only egress rejects private literals, DNS answers, host injection, unsafe bases and redirects — assertion 76: toBe: specs/inference-gateway-transport-security.test.ts:600:70: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

access logs and reporters omit query secrets, prompts and free-text transport/storage errors

  • Passed, 10 recorded expectations. Receipt: 2026-09-16T04-21-47-045Z-access-logs-and-reporters-omit-query-secrets-prompts-and-free-text-transport-sto.
  • access logs and reporters omit query secrets, prompts and free-text transport/storage errors — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:608:27: native Vitest matcher succeeded; payload values are not recorded.
  • access logs and reporters omit query secrets, prompts and free-text transport/storage errors — assertion 10: toHaveLength: specs/inference-gateway-transport-security.test.ts:615:46: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

OpenWork Models requires enabled metadata independently of bucket gating; org providers do not require a tier

  • Passed, 17 recorded expectations. Receipt: 2026-09-16T04-21-48-817Z-openwork-models-requires-enabled-metadata-independently-of-bucket-gating-org-pro.
  • OpenWork Models requires enabled metadata independently of bucket gating; org providers do not require a tier — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:622:29: native Vitest matcher succeeded; payload values are not recorded.
  • OpenWork Models requires enabled metadata independently of bucket gating; org providers do not require a tier — assertion 17: toBe: specs/inference-gateway-transport-security.test.ts:627:32: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Responses JSON and SSE classify structured completion, limits and refusal without inspecting prose

  • Passed, 263 recorded expectations. Receipt: 2026-09-16T04-21-51-387Z-responses-json-and-sse-classify-structured-completion-limits-and-refusal-without.
  • Responses JSON and SSE classify structured completion, limits and refusal without inspecting prose — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:650:29: native Vitest matcher succeeded; payload values are not recorded.
  • Responses JSON and SSE classify structured completion, limits and refusal without inspecting prose — assertion 263: toEqual: specs/inference-gateway-transport-security.test.ts:66:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

every Chat choice contributes with bounded precedence; repeated terminals and empty output emit once

  • Passed, 224 recorded expectations. Receipt: 2026-09-16T04-21-52-384Z-every-chat-choice-contributes-with-bounded-precedence-repeated-terminals-and-emp.
  • every Chat choice contributes with bounded precedence; repeated terminals and empty output emit once — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:674:31: native Vitest matcher succeeded; payload values are not recorded.
  • every Chat choice contributes with bounded precedence; repeated terminals and empty output emit once — assertion 224: toHaveLength: specs/inference-gateway-transport-security.test.ts:679:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

unsupported, missing and overflowing native terminals remain unknown and IDs are validated

  • Passed, 162 recorded expectations. Receipt: 2026-09-16T04-21-53-316Z-unsupported-missing-and-overflowing-native-terminals-remain-unknown-and-ids-are-.
  • unsupported, missing and overflowing native terminals remain unknown and IDs are validated — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:698:29: native Vitest matcher succeeded; payload values are not recorded.
  • unsupported, missing and overflowing native terminals remain unknown and IDs are validated — assertion 162: toEqual: specs/inference-gateway-transport-security.test.ts:66:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

concurrent requests across both routes and identities retain their own gateway and upstream IDs

  • Passed, 25 recorded expectations. Receipt: 2026-09-16T04-21-54-233Z-concurrent-requests-across-both-routes-and-identities-retain-their-own-gateway-a.
  • concurrent requests across both routes and identities retain their own gateway and upstream IDs — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:721:29: native Vitest matcher succeeded; payload values are not recorded.
  • concurrent requests across both routes and identities retain their own gateway and upstream IDs — assertion 25: not.toContain: specs/inference-gateway-transport-security.test.ts:735:45: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

partial-output timeout, disconnect and cancellation retain transport failures and exactly one unknown terminal

  • Passed, 102 recorded expectations. Receipt: 2026-09-16T04-21-55-193Z-partial-output-timeout-disconnect-and-cancellation-retain-transport-failures-and.
  • partial-output timeout, disconnect and cancellation retain transport failures and exactly one unknown terminal — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:742:29: native Vitest matcher succeeded; payload values are not recorded.
  • partial-output timeout, disconnect and cancellation retain transport failures and exactly one unknown terminal — assertion 102: not.toContain: specs/inference-gateway-transport-security.test.ts:760:58: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Sentry SDK local sink receives warning Logs and low-cardinality counters with trace sampling zero

  • Passed, 540 recorded expectations. Receipt: 2026-09-16T04-22-02-213Z-sentry-sdk-local-sink-receives-warning-logs-and-low-cardinality-counters-with-tr.
  • Sentry SDK local sink receives warning Logs and low-cardinality counters with trace sampling zero — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:796:37: native Vitest matcher succeeded; payload values are not recorded.
  • Sentry SDK local sink receives warning Logs and low-cardinality counters with trace sampling zero — assertion 540: not.toMatch: specs/inference-gateway-transport-security.test.ts:822:43: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Sentry terminal error codes distinguish malformed, missing, disconnected and timed-out managed streams

  • Passed, 65 recorded expectations. Receipt: 2026-09-16T04-22-07-002Z-sentry-terminal-error-codes-distinguish-malformed-missing-disconnected-and-timed.
  • Sentry terminal error codes distinguish malformed, missing, disconnected and timed-out managed streams — assertion 1: toContain: specs/inference-gateway-transport-security.test.ts:838:24: native Vitest matcher succeeded; payload values are not recorded.
  • Sentry terminal error codes distinguish malformed, missing, disconnected and timed-out managed streams — assertion 65: toBe: specs/inference-gateway-transport-security.test.ts:850:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

transport failures after content_filter remain error-level Sentry Logs on both routes

  • Passed, 78 recorded expectations. Receipt: 2026-09-16T04-22-11-761Z-transport-failures-after-content-filter-remain-error-level-sentry-logs-on-both-r.
  • transport failures after content_filter remain error-level Sentry Logs on both routes — assertion 1: toContain: specs/inference-gateway-transport-security.test.ts:858:67: native Vitest matcher succeeded; payload values are not recorded.
  • transport failures after content_filter remain error-level Sentry Logs on both routes — assertion 78: not.toContain: specs/inference-gateway-transport-security.test.ts:875:43: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

Chat DONE freezes semantic terminals on both routes without changing native bytes or trailing usage

  • Passed, 54 recorded expectations. Receipt: 2026-09-16T04-22-17-530Z-chat-done-freezes-semantic-terminals-on-both-routes-without-changing-native-byte.
  • Chat DONE freezes semantic terminals on both routes without changing native bytes or trailing usage — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:887:29: native Vitest matcher succeeded; payload values are not recorded.
  • Chat DONE freezes semantic terminals on both routes without changing native bytes or trailing usage — assertion 54: toHaveLength: specs/inference-gateway-transport-security.test.ts:892:28: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

managed invalid JSON, missing terminals and unknown reasons never manufacture filtering

  • Passed, 81 recorded expectations. Receipt: 2026-09-16T04-22-18-396Z-managed-invalid-json-missing-terminals-and-unknown-reasons-never-manufacture-fil.
  • managed invalid JSON, missing terminals and unknown reasons never manufacture filtering — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:907:29: native Vitest matcher succeeded; payload values are not recorded.
  • managed invalid JSON, missing terminals and unknown reasons never manufacture filtering — assertion 81: toEqual: specs/inference-gateway-transport-security.test.ts:66:30: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

terminal observation preserves backpressure, exact bytes and cancellation even when observers throw

  • Passed, 1 recorded expectations. Receipt: 2026-09-16T04-22-19-269Z-terminal-observation-preserves-backpressure-exact-bytes-and-cancellation-even-wh.
  • terminal observation preserves backpressure, exact bytes and cancellation even when observers throw — assertion 1: toEqual: specs/inference-gateway-transport-security.test.ts:924:18: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

optional observers cannot alter ordinary inference bytes

  • Passed, 6 recorded expectations. Receipt: 2026-09-16T04-22-20-239Z-optional-observers-cannot-alter-ordinary-inference-bytes.
  • optional observers cannot alter ordinary inference bytes — assertion 1: toBe: specs/inference-gateway-transport-security.test.ts:930:27: native Vitest matcher succeeded; payload values are not recorded.
  • optional observers cannot alter ordinary inference bytes — assertion 6: not.toContain: specs/inference-gateway-transport-security.test.ts:935:56: native Vitest matcher succeeded; payload values are not recorded.
  • Source assertions

CI and Warden must reassess this new head. No merge or approval is requested by this evidence comment.

This branch was successfully deployed

4 active deployments
Preview – openwork-den — a570d03b Deployed Sep 16, 2026 by vercel[bot]
Preview – openwork-landing — a570d03b Deployed Sep 16, 2026 by vercel[bot]
Preview – openwork-app — a570d03b Deployed Sep 16, 2026 by vercel[bot]
Preview – openwork-diagnostics — a570d03b Deployed Sep 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant