Skip to content

ci: add reviewed Codex unstable integration lane - #11

Merged
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-unstable
Aug 5, 2026
Merged

ci: add reviewed Codex unstable integration lane#11
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-unstable

Conversation

@ttaylorr-oai

@ttaylorr-oai ttaylorr-oai commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Introduce a reviewed preview integration lane above generated codex without letting branch names enroll code.

  • Bare ??/codex/*-unstable refs remain inert.
  • Meta/rebuild --local --enable-unstable creates a bot-authored, tree-identical child of the current codex output so the first preview PR has a strict-descendant target.
  • Preview PRs use a distinct 60-minute singleton merge queue and admission check; the controller authenticates the exact reviewed merge before persisting lane membership.
  • Stable and preview candidates stage independently and publish topics, outputs, meta, and staging cleanup in one exact-leased atomic push.
  • Preview never triggers releases; cross-lane ancestry, forged sentinels, workflow changes, stale staging, and unsafe lifecycle transitions fail closed.

Rollout order: merge this into meta; update the enrolled automation topic and rebuild codex; update the existing live codex-unstable ruleset; enable the empty preview lane; then review and merge the first *-unstable PR before rebuilding again.

Validation: t/t9905-codex-branch.sh passes all 95 cases: the 66 existing production cases plus 29 preview admission, lifecycle, graph, recovery, staging, and release-isolation cases.

codex-unstable needs to carry preview topics above the generated
production output, but the earlier prototype discovered every matching
*-unstable ref. A branch push could therefore enroll unreviewed code,
and replaying that prototype would also drop the reviewed-topic controls
already protecting codex.

Add a lane-aware preview path that keeps published config authoritative.
An explicit local enable creates a bot-authored, tree-identical child of
the current Codex output so the first preview pull request has a safe
target without relaxing strict ancestry. Preview topics enter only
through an authenticated reviewed merge into that branch; bare suffix
refs stay inert.

Prepare stable and preview candidates from one snapshot, run independent
exact-SHA staging CI, and publish both lanes, meta, topics, and staging
cleanup with one leased atomic push. Keep releases restricted to codex,
preserve stable v1 no-op behavior, and fail closed on cross-lane
ancestry, forged sentinels, stale staging, and unsafe workflow changes.

t/t9905-codex-branch.sh now covers all 66 existing production cases
and 29 preview admission, lifecycle, graph, recovery, and publication
cases.
@ttaylorr-oai
ttaylorr-oai force-pushed the ttaylorr/codex-unstable branch from e5a7ff8 to f2abda3 Compare August 5, 2026 01:42
@ttaylorr-oai ttaylorr-oai changed the title ci: introduce an unstable Codex integration branch ci: add reviewed Codex unstable integration lane Aug 5, 2026
@ttaylorr-oai
ttaylorr-oai marked this pull request as ready for review August 5, 2026 01:43
@ttaylorr-oai
ttaylorr-oai merged commit 96f8bdf into meta Aug 5, 2026
1 check passed
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