Add SDK GA canary and CodeQL gates#9
Open
jaberjaber23 wants to merge 30 commits into
Open
Conversation
Add artifact-backed TypeScript and Python live canaries, clean install/import verification, stricter package workflow enforcement, and GA documentation for multimodal SDK promotion. Verified locally: TypeScript typecheck/build/test/pack/package scan; Python tests/build/twine/package scan; artifact and registry clean installs; artifact canary non-strict/strict-missing-env behavior; independent second-opinion review passed for this checkpoint.
Add a SHA-pinned CodeQL workflow for TypeScript and Python, expose the status badge, and extend workflow policy checks so quoted, unquoted, and shorthand action uses must stay SHA-pinned. Verified locally: verify-workflow-policy, quoted/unquoted unpinned-action mutation checks, TS typecheck/test, Python tests, version sync, code scanning alert query showing zero open high/critical alerts before this workflow lands.
Remove the advanced CodeQL workflow because GitHub default CodeQL setup is enabled and rejects advanced SARIF uploads in this repo. Keep workflow policy checks for OIDC trusted publishing, SHA-pinned actions, clean package installs, branch-locked publish jobs, and no long-lived registry tokens. Document the default CodeQL gate and add the Agent 4 SDK production-stability goal.
Add installed-artifact canary rows for local webhook verification helpers and block combined report writes when secret-shaped values, local paths, or source-map markers appear. Fix Python request-id extraction to be header-case-insensitive, preserve split UTF-8 SSE tokens with an incremental decoder, and require deterministic voice pipeline audio plus expected text instead of generated silence.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Not GA Yet
Strict live canaries still require production canary keys, deployed models, pipeline key, deterministic ASR fixture, idempotency replay evidence, green CI/CodeQL on this PR, and full multimodal real endpoint proof before any GA publish.