Skip to content

feat: certification program with compliance templates and badges#24

Merged
bb-connor merged 8 commits intomainfrom
codex/certification-program
Feb 4, 2026
Merged

feat: certification program with compliance templates and badges#24
bb-connor merged 8 commits intomainfrom
codex/certification-program

Conversation

@bb-connor
Copy link
Copy Markdown
Collaborator

Summary

  • Add enterprise certification program API endpoints and webhook handlers
  • Implement compliance templates for guards validation (HIPAA, PCI-DSS, SOC2)
  • Add SDK certification badge support for Python and TypeScript clients
  • Introduce V1 API versioning with rate limiting infrastructure
  • Add guard-level certification metadata and compliance checking

Test plan

  • Run integration tests for certification endpoints
  • Verify compliance template validation against sample policies
  • Test certification badge generation in Python/TS SDKs
  • Validate V1 API rate limiting behavior

🤖 Generated with Claude Code

bb-connor and others added 5 commits February 4, 2026 03:09
Implement enterprise certification program including:
- Certification API endpoints and webhook handlers
- Compliance templates for guards validation
- SDK certification badge support for Python and TypeScript
- V1 API rate limiting and versioning infrastructure
- Guard-level certification metadata and compliance checks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bb-connor
Copy link
Copy Markdown
Collaborator Author

@codex

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 539d478d15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +936 to +941
if wants_png(&headers) {
return Err(V1Error::new(
StatusCode::NOT_IMPLEMENTED,
"NOT_IMPLEMENTED",
"PNG badge rendering is not implemented yet (use SVG or JSON).",
));
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid rejecting badge requests with broad Accept headers

Because get_badge bails out whenever the Accept header contains image/png, any client that sends a broad Accept (e.g., browsers and <img> tags typically include image/png alongside image/svg+xml and */*) will always receive a 501, even though SVG rendering is supported. This makes the badge endpoint unusable in common browser/embed scenarios unless the caller hand-crafts the Accept header. Consider only treating PNG as requested when it is explicitly preferred (e.g., via a query param or by checking for image/png without image/svg+xml/application/json) so SVG/JSON can still be served.

Useful? React with 👍 / 👎.

@bb-connor
Copy link
Copy Markdown
Collaborator Author

Addressed the badge Accept-header review note:

  • Added format=svg|json|png query param (default svg)
  • Content negotiation now prefers SVG/JSON over PNG for broad Accept values (e.g. image/svg+xml, image/png, */*)
  • Added integration tests covering both the broad-Accept case and ?format=png → 501

CI is green on the latest commit.

@bb-connor bb-connor merged commit 27e8813 into main Feb 4, 2026
22 checks passed
@bb-connor bb-connor deleted the codex/certification-program branch February 4, 2026 17:29
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