Skip to content

Strengthen Codex upstream dependency and contract validation - #57

Merged
novelKR merged 1 commit into
mainfrom
codex/upstream-validation
Sep 19, 2026
Merged

novelKR merged 1 commit into
mainfrom
codex/upstream-validation

Conversation

@novelKR

@novelKR novelKR commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

Codex updates now have a shared local/CI validation entrypoint and target-filtered product dependency reports. Forbidden agent dependencies and Runner-to-sandbox library edges fail with a path; ordinary package/source/edge changes can be compared against an archived baseline without auto-approval. The Codex pin is unchanged.

Validation reports bind results to source/lock hashes, repository and Codex SHAs, platform and Rust toolchain. CI retains logs on failures, runs macOS PTY/filesystem contracts, and requires those checks in the aggregate. PTY size is tested on an actual created terminal rather than against an upstream default.

Contract changes

No MCP, storage, or runtime policy changes. New developer interfaces: python3 scripts/validate-upstream.py all (or named stages) and scripts/upstream_dependencies.py --target ... --output ... [--compare ...]. macOS cannot qualify Linux isolation; reports explicitly distinguish incomplete coverage.

Tests

Local on head 4db80f610e9ff7af580f40954c9ef6263919abe8: 11 Python fixture/orchestrator tests; pin, policy and format checks; all six macOS dependency graphs and a no-drift baseline comparison; PTY/filesystem Clippy and tests using Command Line Tools; bilingual registry and 5 documentation tests passed. Local reports: target/upstream-reports/committed and target/upstream-reports/macos-committed.

The default local Xcode license configuration blocked the first native attempt; Command Line Tools resolved it without changing license settings. Local docs build was not run with the required Node 24.21.0, but the pinned-toolchain hosted docs build passed. Linux isolation is verified by hosted Linux CI, not by the macOS host.

Hosted verification is tied to PR head 4db80f610e9ff7af580f40954c9ef6263919abe8; GitHub's tested merge checkout is 87d11a8a175c4f08a3b22c26d854dacbd57aeee9, as recorded in the artifacts. All hosted Rust gates, including Linux isolation, full workspace integration, macOS contracts/dependencies and the aggregate, passed. Documentation build passed; Pages publishing is intentionally skipped on a PR. CI: https://github.com/novelKR/CodeSpace/actions/runs/35442243256 .

Security scenarios

Normal/build graph traversal excludes development edges, resolves aliases by package identity, rejects missing roots and metadata errors, and preserves target identity in comparisons. Source changes during validation invalidate reports. Existing Linux deny/proxy/termination tests remain required.

Out of scope

No Codex pin upgrade, public process-result additions, new runtime dependencies, or merge. Follow-up upstream candidate rehearsal remains separate.

@novelKR
novelKR merged commit d6bf805 into main Sep 19, 2026
17 checks passed
@novelKR
novelKR deleted the codex/upstream-validation branch September 19, 2026 12:36
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