Repository navigation
Propose guarded daily Codex currency with 0.162.0 canary evidence - #893
Closed
seathatflowsinourveins wants to merge 1 commit into
Closed
seathatflowsinourveins wants to merge 1 commit into
seathatflowsinourveins wants to merge 1 commit into
Conversation
Collaborator
Author
|
Superseded by #1006: this PR’s Codex 0.162.0 pin work is replaced by the measured 0.162.1 qualification and pins. The unresolved timer and launcher-map integration remains an unadopted proposal for a separately scoped follow-up. |
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.
Scope
Native Codex update routes activate a release immediately and do not provide a protected two-lane canary gate. This draft proposes a daily Dagu/systemd flow that stages the complete publisher package, requires co-op-owned release review and real queued-task canaries, then selects future launches or retains/restores the prior wrapper on failure. It also records the independently qualified 0.162.0 stage and two current native canaries. No installed launcher, user unit, provider configuration, paper worktree or N2 bundle was changed by currency.
9f7b38b23d15e47ceb6f68c6651b86088f621797.lane:foundation.examples/codex-native/currency/, proposedadoption/templates/systemd/codex-currency.{service,timer}, one newtests/test_codex_currency.py, the dated decision and sanitized receipt, plus nine registered rows inmanifests/evidence.json.SOTA sources
c1382380de69521303b416720a52f42d51af6248; tagged installation README, native package extraction, published SHA256SUMS and official installation documentation. The full installer changes selection; the stage used publisher bytes and its native extraction reference only.gh api,gh release download, required-check queries andgh pr create --draft --body-file.ExecConditionrefusal, finite timeouts, daily persistent scheduling and native lock ownership. The existingobservability/collector/codex-identity-launcher.sh.exampleand its documented sed route supply the local selection format; this remains local integration glue.codex updateactivates without this gate; Renovate github-releases and draftPR cover release-pin PR maintenance, not host canary selection. Renovate was neither installed nor measured. No custom model/task runner or vendor fork was introduced.Evidence-class table
native_provenevidence/receipts/codex-0162-stage-canary-20261008.json; original returned checksum/version/preservation streams retained privatelynative_provennative_provenlocal_integrationwithsyntheticinputslocal_integrationsource_reviewThe current canary PASS is scoped to smoke and completed queued tasks. PR887's observed five passing/two failing checks and diverged base are its accurate task result, not PR readiness. Recovered context-mode #852 refusals and a strict checkpoint-field extraction error do not establish a 0.162.0 client regression. Full hidden provider/transport/retry totals remain unknown. Exact local turn/call identifiers stay in private evidence; publication validation caught and removed them from the public receipt.
Local commands run
No existing test expectation changed. No full local suite, provider A/B, upstream Codex test suite or broker execution was run.
Decision record
docs/decisions/2026-10-08-codex-0162-stage-and-currency-proposal.md; the implementation and exact adapter/receipt contract are inexamples/codex-native/currency/README.md.Deployment remains proposed. The co-op callback must be supplied and reviewed through its existing launch/queue ownership, with native two-lane acceptance and exact cleanup on timeout. All cooperating selector writers must use the proposed lock. Review and resolve unit/environment placeholders before any future installation. No standing host timer or default cutover is claimed by this draft.
The proposed
promotephase changes which executable the base identity launcher (~/.local/share/codex-ecosystem/bin/codex) runs by replacing its authenticatedexecpath. It does not modify the CC-ownedcodex_versionmap. Under the rollout policy recorded on 2026-10-08, each lane takeshold.<lane>or the mappeddefault, with 0.161.0 fallback for a missing/invalid map; an explicit per-launchCODEX_VERSIONoverride supports rollback. That selection remains authoritative over the base wrapper. The co-op launcher compares the requested version with the base wrapper's exec line and needs a per-launch wrapper copy for every differing version, including held 0.161.0 and the previous version used for rollback. No mass relaunch or paper-session change is part of this proposal.Before adopting this standing workflow, co-op-owned selection must integrate the mapped default/holds with this global-wrapper change and retain native rollout evidence. Changing only the base wrapper cannot promote a new release for lanes whose map still selects the prior release. This integration is an explicit deployment gap in the draft; this PR neither edits that private map nor installs any unit. Current CC-approved 0.162.0 mapped rollout is separate from execution of the proposed timer.
Host evidence
No
evidence/hosts/files or platform acceptance status changed. The receipt is a compact, sanitized native-stage/canary record and distinguishes fixture checks from upstream acceptance.Checklist