Skip to content

codex: classify every release pull request state - #36

Merged
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-pr-state-labels
Aug 24, 2026
Merged

codex: classify every release pull request state#36
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-pr-state-labels

Conversation

@ttaylorr-oai

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

Copy link
Copy Markdown
Collaborator

Why

GitHub presents reviewed topics, mechanical plan transitions, and controller
changes as ordinary PRs even though they have different review and publication
paths. The existing reconciler also omits some draft, invalid, and ordinary
meta PRs, so open Codex work does not have a complete or legible state model.

Changes

  • Give every Codex PR exactly one role (kind:*), build target (build:*), and
    lifecycle state (codex:*) across review-only topics, automatic plans,
    plan-policy changes, and controller work.
  • Cover draft, needs-review, ready, awaiting-plan, planned, staged, integrated,
    and superseded states. Add codex:blocked for invalid topic names, failed
    admission, conflicts, or policy failures that require intervention.
  • Classify every open PR against codex, codex-unstable, or meta, plus
    retained plan history. Abort before writing if any PR is missing a
    classification or receives more than one.
  • Tie planned, staged, and integrated states to exact frozen source, output, and
    ledger metadata. Preserve unrelated labels, recheck heads before mutation,
    and retain a read-only dry run for auditing.

Validation

Dependency

Depends on #42 for the retained-approval semantics. This PR remains a draft;
the release refs and current repository labels are unchanged.

@ttaylorr-oai
ttaylorr-oai force-pushed the ttaylorr/codex-pr-state-labels branch from d69563b to 94c6f81 Compare August 24, 2026 21:10
@ttaylorr-oai ttaylorr-oai changed the title codex: reconcile reviewed topic and build state labels codex: classify every release pull request state Aug 24, 2026
@ttaylorr-oai ttaylorr-oai added kind:controller Codex release controller change build:codex-controller Codex release controller codex:draft Draft; no review action requested labels Aug 24, 2026
@ttaylorr-oai
ttaylorr-oai marked this pull request as ready for review August 24, 2026 23:20
@ttaylorr-oai ttaylorr-oai added codex:needs-review Current topic head needs a qualifying review and removed codex:draft Draft; no review action requested labels Aug 24, 2026
GitHub presents reviewed topics, mechanical plan transitions, and
controller changes as ordinary pull requests even though they have
different review and publication paths.  The existing reconciler also
skipped draft topics with noncanonical names and ordinary meta changes,
leaving most open Codex pull requests without useful state.

Derive one role, build target, and lifecycle state for every open pull
request against codex, codex-unstable, or meta, as well as retained plan
history.  Mark invalid topic names and failed admission or merge gates
as blocked instead of silently omitting them.  Abort before writing
labels if any pull request is missing a classification or receives more
than one.

Keep planned, staged, and integrated states tied to the exact frozen
source and output metadata.  Preserve unrelated labels, recheck live
heads before mutation, and retain a read-only dry run for auditing the
complete classification.
@ttaylorr-oai
ttaylorr-oai force-pushed the ttaylorr/codex-pr-state-labels branch from 94c6f81 to 86f1c8f Compare August 24, 2026 23:40
@ttaylorr-oai
ttaylorr-oai merged commit 1066056 into meta Aug 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:codex-controller Codex release controller codex:needs-review Current topic head needs a qualifying review kind:controller Codex release controller change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants