[codex] Govern SSWP witness calls - #4
Draft
VrtxOmega wants to merge 2 commits into
Draft
Conversation
Owner
Author
|
CI note from Codex: The failing Local verification for this PR passed:
I am not changing the workflow in this PR because that is a separate repository-secret / CI-policy issue. |
Owner
Author
|
Follow-up on the export bridge: I found and fixed one issue before marking this ready for review. Updated in
Additional local verification passed:
The remaining GitHub check failure is still the Datadog workflow secret/config blocker ( |
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
Adds governed SSWP witness metadata so
sswp_witnesscan be called after Omega Cortex and carrycortexVerdictplustraceIdthrough to the shared event bus.What Changed
traceIdandcortexVerdictfields tosswp_witness.SSWP_WITNESS_COMPLETEshared events with Cortex governance metadata.SSWP_CORTEX_NOT_CHECKEDwhen a witness is run without a prior Cortex verdict.sswp_export_to_omegato format latest or repo-specific attestation evidence as anomega_seal_runpayload.dist/sswp.cjsruntime to match the source-level behavior.Verification
npm run buildconfirms this package's dist is precompiled/no-op.node --check dist/sswp.cjssswp_witnessexposescortexVerdictandtraceId, andsswp_export_to_omegais listed.traceId=VT-CODEX-SSWP-PR-20260529AandcortexVerdict=APPROVEDreturnedCortex: APPROVEDand noCORTEX NOT CHECKEDwarning.SSWP_WITNESS_COMPLETEwithcortex_governed=true,cortex_verdict=APPROVED, and noSSWP_CORTEX_NOT_CHECKEDfor that trace.Notes
Draft PR for review. This is intentionally scoped to SSWP witness governance and Omega export support.