Skip to content

feat(models): review and enforce provider safety notices - #7672

Merged
reachjalil merged 22 commits into
devfrom
feat/model-safety-case-review
Nov 24, 2026
Merged

reachjalil merged 22 commits into
devfrom
feat/model-safety-case-review

Conversation

@reachjalil

Copy link
Copy Markdown
Member

What is this about?

Give platform administrators a way to investigate OpenAI safety notices and restrict future OpenWork-funded Free Auto requests across organizations.

What problem does it solve?

A notice can arrive by email or webhook. Operators need to find the affected identity, distinguish a warning from a deactivation, and preserve the outcome when the provider retries delivery.

What was the situation before?

Notice Before After
Warning Manual lookup and an expiring pause Review matching requests, record a decision and handle appeals
Deactivation Manually renew a pause Persist the verified restriction across organizations and replacement keys

How is this implemented?

  • Den verifies signed deliveries and retrieves the case from OpenAI using a restricted read key. Admins can also import an emailed case or start a review from a recorded request.
  • The gateway associates authenticated users with their safety identifiers before dispatch. The deployment flag freeAutoSafetyCases enables this mapping and enforcement.
  • Admins can inspect recent request metadata and decision history. Shared desktops supply a review lead only.

What else changed?

The operator guide covers rollout, delivery failures, unattributed notices and requests for broader account suspension.

Release note

Platform administrators can investigate provider safety notices and restrict included model access for confirmed misuse.

Evidence

  • free-auto-safety-cases.api.test.ts — signed warning or verified deactivation → recorded review or enforced block across organizations.

Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
…auses

Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
@reachjalil
reachjalil added this pull request to stack #7664 November 23, 2026 21:06
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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

3 Skipped Deployments
Project Deployment Actions Updated
openwork-app Skipped Skipped Nov 23, 2026 9:58pm UTC
openwork-den Skipped Skipped Nov 23, 2026 9:58pm UTC
openwork-landing Skipped Skipped Nov 23, 2026 9:58pm UTC

Request Review

Signed-off-by: Jalil <reachjalil@gmail.com>
Signed-off-by: Jalil <reachjalil@gmail.com>
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing November 23, 2026 21:25 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app November 23, 2026 21:25 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den November 23, 2026 21:25 Inactive
Base automatically changed from feat/shared-free-usage-sponsor to dev November 23, 2026 21:48
Signed-off-by: Jalil <reachjalil@gmail.com>
@vercel
vercel Bot temporarily deployed to Preview – openwork-den November 23, 2026 21:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app November 23, 2026 21:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing November 23, 2026 21:49 Inactive
@reachjalil
reachjalil force-pushed the feat/model-safety-case-review branch from 6330cfd to 7746856 Compare November 23, 2026 21:57
@vercel
vercel Bot temporarily deployed to Preview – openwork-app November 23, 2026 21:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing November 23, 2026 21:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den November 23, 2026 21:58 Inactive
@reachjalil
reachjalil merged commit c8d70e3 into dev Nov 24, 2026
25 checks passed

This branch was previously deployed

3 inactive deployments
Preview – openwork-app — 7746856f Deployed Nov 23, 2026 by vercel[bot]
Preview – openwork-landing — 7746856f Deployed Nov 23, 2026 by vercel[bot]
Preview – openwork-den — 7746856f Deployed Nov 23, 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