← Files Canonical Memory VerifierARCHIVED FILE
.github/workflows/upstream-codex-seam.yml
2.16 KB · Oct 4, 2026 · 12:29 UTC
name: upstream-codex-seam
on:
push:
paths:
- ".github/workflows/upstream-codex-seam.yml"
- "integrations/codex-external-agent-memory-import/**"
pull_request:
paths:
- ".github/workflows/upstream-codex-seam.yml"
- "integrations/codex-external-agent-memory-import/**"
workflow_dispatch:
permissions:
contents: read
env:
CODEX_COMMIT: 9fc715c0861c956c894a91890b78dc05b304ba29
CMV_PYTHON: python3
CMV_REPOSITORY_ROOT: ${{ github.workspace }}
jobs:
import-preflight-seam:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Check out conformance repository
uses: actions/checkout@v4
- name: Check out pinned OpenAI Codex source
uses: actions/checkout@v4
with:
repository: openai/codex
ref: 9fc715c0861c956c894a91890b78dc05b304ba29
path: upstream
- name: Prove exact upstream revision
shell: bash
run: test "$(git -C upstream rev-parse HEAD)" = "$CODEX_COMMIT"
- name: Install the upstream-pinned Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582
- name: Check and apply the integration patch
shell: bash
run: |
patch_path=../integrations/codex-external-agent-memory-import/codex-import-preflight.patch
git -C upstream apply --check "$patch_path"
git -C upstream apply "$patch_path"
- name: Check Rust formatting
working-directory: upstream/codex-rs
run: cargo fmt --all -- --check
- name: Prove failed preflight preserves the previous import
working-directory: upstream/codex-rs
run: cargo test -p codex-external-agent-migration --lib preflight_failure_preserves_previous_imported_project
- name: Prove Canonical Memory conformance through the seam
working-directory: upstream/codex-rs
run: cargo test -p codex-external-agent-migration --lib canonical_verifier_
- name: Prove ordinary Markdown compatibility
working-directory: upstream/codex-rs
run: cargo test -p codex-external-agent-migration --lib copies_only_selected_projects_and_recopies_changed_content
SHA-256: 9a903a8d921da043192ece0247b152142ee1ebcbeaee653646462e6baf292a16