Repository navigation
Conversation
Drop `harness: codex`, its model pin, and `codex.auth_refresh` from `.config/tend.yaml`, and regenerate the workflows with tend 0.3.23. The hand-maintained `review-reviewers.yaml` moves to `max-sixty/tend/claude` with a `/review-reviewers` prompt, and the overlay names the Claude artifacts again. Mackup's rotator reads the harness from main and publishes `CLAUDE_CODE_OAUTH_TOKEN` and `CLAUDE_ACCOUNT` once this lands. `codex-model-smoke.yaml` still reads `CODEX_AUTH_JSON` from the `tend` environment for the release gate; the rotator stops renewing it for a Claude repo, so the last published access token lapses on 2026-11-05.
tend-agent
approved these changes
Nov 3, 2026
This was referenced Nov 3, 2026
max-sixty
pushed a commit
that referenced
this pull request
Nov 3, 2026
…o 1-second turns (#1641) Codex sessions that wait on a CI poll spend most of their tokens checking in on it every few seconds, even though `codex/agents-tail.md` already says to wait once. The current guidance covers only `exec_command` and `write_stdin`. Under the pinned Codex 0.160.0 those calls run inside a code-mode `exec` cell. The cell's `// @exec` pragma has its own `yield_time_ms`, and so does the `wait` tool that resumes a yielded cell. A short value there hands control back early, whatever the inner `write_stdin` asked for. This PR names those two layers in the existing bullet and gives every layer an hour (`3600000`). **What we saw.** Triage of #1632 ([run 41409163237](https://github.com/max-sixty/tend/actions/runs/41409163237)) started `tend runtime poll-pr-checks` and correctly called `write_stdin(..., yield_time_ms: 300000)`. But it did so inside a cell headed `// @exec: {"yield_time_ms": 1000}`. The cell yielded after one second, and the model then called `wait` on it 43 times at 1–10 s intervals, plus 15 `sleep` calls. The fix was finished about 5 minutes in. The remaining roughly 22 minutes went on CI jobs queued behind other runs, and that waiting accounts for about 7.5M of the session's 10.9M input tokens. The weekly pin subagent in [run 41409250004](https://github.com/max-sixty/tend/actions/runs/41409250004) shows the same pattern. **Why the new values are accepted.** Codex 0.160.0's code-mode source (`code-mode-protocol/src/description.rs`) documents the pragma's `yield_time_ms`, and `wait` defaults to 10 s. `code-mode-runtime/src/service.rs` caps that wait only by an optional per-cell limit, which local sessions do not set. `write_stdin` is already allowed six hours by `background_terminal_max_timeout` in `runner.py`. `exec_command` clamps to 30 s on its own, so the bullet still sends a long wait through `write_stdin`. This repo now runs on Claude (#1639), so the change won't show up in its own runs. It reaches Codex consumers with the next release. The related tests (`test_repo_pins.py`, `test_codex_runner.py`) and pre-commit pass. Co-authored-by: tend-agent <[email protected]>
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.
Drop
harness: codex, its model pin, andcodex.auth_refreshfrom.config/tend.yaml, and regenerate the workflows with tend 0.3.23. Thehand-maintained
review-reviewers.yamlmoves tomax-sixty/tend/claudewith a
/review-reviewersprompt, and the overlay names the Claudeartifacts again. Mackup's rotator reads the harness from main and
publishes
CLAUDE_CODE_OAUTH_TOKENandCLAUDE_ACCOUNTonce this lands.codex-model-smoke.yamlstill readsCODEX_AUTH_JSONfrom thetendenvironment for the release gate; the rotator stops renewing it for a
Claude repo, so the last published access token lapses on 2026-11-05.