ci: make Codex rebuilds explicit and one-command - #7
Draft
ttaylorr-oai wants to merge 1 commit into
Draft
Conversation
Refreshing codex currently requires an operator to dispatch a workflow, locate its run ID, invoke a low-level helper, and wait without useful progress. The aggregate also records only maximal tips, obscuring the topic boundaries codex.config is meant to preserve. Add Meta/rebuild as the end-to-end entry point and Meta/publish for an existing preparation run. Bind dispatch, artifact, and staging CI to one exact run attempt. Report progress, and keep the final push on the operator machine. Give every active topic a canonical two-parent integration merge in dependency order, including fast-forward, already-contained, and empty topics. Independently verify that history before staging and promotion. Canonicalize legacy maximal-tip output once without changing its tree. Cover dispatch and rerun races, progress reporting, self-refresh, integration order, empty topics, no-op reuse, forged history, and atomic publication in t9905.
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
Meta/rebuildas the normal end-to-end operator command andMeta/publish <run-id>for a preparation started in GitHub.chatgpt-codex-connector[bot]for rewritten and generated commit metadata while retaining the human operator as the authenticated pusher.Safety
The Action still executes no candidate code and pushes no refs. Final publication remains on the operator machine because the built-in
GITHUB_TOKENcannot safely preserve the push-triggered staging and release gates.A dry run against the current live
master,codex, and four topic tips produced a candidate whose tree is exactly the current shippedcodextree (85afa6d3b31041e4013c65357821165d381741f9). The first refresh changes only integration history and generatedmetastate. It does not rewrite any topic tip.Validation
t/t9905-codex-branch.sh: 42/42 passed.shanddash; workflow YAML and ruleset JSON parse cleanly;git diff --checkpassed.merge.log=true, and rejection of missing, reordered, or forged integration histories.The operator and topic-maintenance guide is updated at How to maintain the Codex branch in openai/git.