Home Writing Projects Lab CV

I cataloged 4,064 tasks my laptop didn't need to run and started sending them to Codex cloud

With Codex resets about to expire and my sessions clogging my laptop's disk, I cataloged 4,064 tasks for Codex cloud and submitted 1,949 by Monday morning.

I cataloged 4,064 tasks my laptop didn't need to run and started sending them to Codex cloud

On October 31 and November 1, OpenAI granted users resets that expire today and tomorrow. Yesterday, I realized I hadn’t used them across any of my six ChatGPT Pro accounts. Moreover, I’ve been traveling without steady internet the past week, so I had plenty of ordinary usage left before my accounts’ normal weekly reset on Wednesday. If I wasn’t going to let them go to waste, I had a lot of prompting to do.

Codex cloud could run many of those prompts off my laptop, which I had outgrown despite its 128 GB of RAM. As I cycled through my Claude accounts, my sessions left unfinished work in worktrees, clogging the laptop’s disk. PolicyEngine, which I co-founded, and the Axiom Foundation also had a backlog of open pull requests, most of them from my colleagues and me. This morning, GitHub search counted 1,272 in PolicyEngine’s public, unarchived repositories and 693 in Axiom’s, drafts included. My agents and I had opened 802 of those 1,965 under my GitHub account.

So I built a catalog of everything I could send to Codex cloud, to spend the usage and free my machine for work that needs its RAM or my attention. As of 5 a.m. Eastern today, the catalog held 4,064 task briefs, and I had submitted 1,949 of them to Codex cloud.

What the catalog holds

Each brief describes one task in a self-contained Markdown file. A review or fix brief names the repository and the pull request, usually with its head commit, then says what to do and what form the answer should take.

Going by file names, I count about 520 reviews and 160 fixes among the 4,064 briefs. The rest include source checks, in which Codex compares encoded rules and parameters with their official sources. Of the 2,115 briefs I haven’t sent yet, 858 cover Axiom’s encodings of US rules and 695 cover PolicyEngine US. Another 178 cover Axiom’s UK encodings and 99 cover PolicyEngine UK. Other projects account for the remainder. Five of the briefs open like this, four from my own repositories and one from Axiom’s:

# Codex cloud task: maxghenis.com: independent review of PR #61 at 205a7ecc8c
# Codex cloud task: opencollective-py: diagnose and fix PR #9 at 5783a8141f (1 failing check(s))
# Codex cloud task: openmessage: diagnose and fix PR #264 at 31ea585f43 (conflicts with its base, no checks have run)
# Codex cloud task: tmux-claude-code: diagnose and fix PR #1 at 3ca0ff2ac6 (no checks have run)
# Codex cloud task: axiom: source check of rulespec-us modules on main (specmain-rulespec-us-302)

Who writes the briefs

My Claude Code sessions write the briefs into one shared folder, mostly with scripts that fill a template for every item on a list. One script picks open pull requests and writes a review brief for each. When a pull request’s checks fail or haven’t run, or its branch conflicts with its base, the script writes a diagnose-and-fix brief instead. Others go through Axiom’s public repositories of encoded law and batch the rules on each main branch into source checks. Another does the same for PolicyEngine US’s parameter files, directory by directory, at most 25 files per brief. For unfinished work in my worktrees, a session pushes the branch and writes a brief for Codex to continue the work from its last commit.

My sessions exclude from the catalog any task that needs a private repository, a sign-in, a browser, a secret, restricted data or my judgment. They keep each brief to public facts. Part of one source check, for a module that encodes one of Georgia’s eligibility rules for TANF cash assistance, reads:

Check every parameter and derived rule in the modules below against the official public text of the law it encodes, as that text stood on each version’s dates.

…

Public repositories only. Clone nothing that is not public on github.com.

How Codex runs a task

Codex cloud runs each task in its own virtual machine, set up from an environment: a reusable setup that names the repositories, dependencies, tools and internet access a task needs. In the environments I use, Codex has full public internet access, so it can clone any public repository and read the official text of the laws it checks. The codex cloud command in OpenAI’s Codex CLI doesn’t find the newer cloud environments, so I first sent the tasks through Codex’s web app in Chrome. This morning, one of my sessions started a cloud task from the CLI’s interactive terminal app instead. That route needs a setting, tui_multi_backend, that OpenAI marks as under development. I’m moving the work from Chrome to the terminal app. Until 5 p.m. yesterday, apart from a few push tests, my sessions told Codex in every brief not to push. Codex returned each fix as a patch for a session on my machine to check and push. By 5 a.m. today, I had 1,635 answers back from the 1,949 briefs I’d submitted, along with 417 patches. By then, my agents and I had merged nine pull requests after Codex reviewed them in cloud tasks.

Letting Codex push from the cloud

I wanted Codex in the cloud to do everything my local sessions can, so yesterday afternoon I tested pushing. From a cloud task, Codex can push as me through its GitHub connector. Between 5 and 6 p.m., I sent 26 briefs with permission to push, and by 6 p.m., Codex had 12 draft pull requests from them open in 8 repositories. By 5 a.m. today, Codex had opened more than 100 draft pull requests from cloud tasks under my account. My agents and I had merged six of them into the pull requests they built on.

The session that writes a set of briefs decides whether Codex may push from its tasks, and to which repositories. It also picks how Codex delivers a fix to an existing pull request. The session can have Codex stack a second pull request on the original, open a new one against the main branch, or push a branch alone. One session won’t let Codex push from its tasks until it can have Codex put each fix straight onto the pull request’s own branch, the way my local sessions do.

In some tasks, Codex resolved a pull request’s merge conflicts by stacking a second pull request on the original. Each of those second pull requests shows every change anyone merged into the main branch after the original author branched off. One shows 6.4 million added lines across 5,230 files. Git produces that diff for any such merge, but nobody can review it, so Codex should push a fix like that onto the original pull request’s branch.

In hindsight, I should have let Codex push from a smaller number of tasks first to see how it worked. Still, I expect to waste a lot of effort if other sessions have to turn cloud results into the actual fixes, so I want every agent to fix things itself.

Organizing sessions across machines and providers

While spending the Codex usage, I also began organizing my sessions by where they run, on my machine or in the cloud, and by provider. I’ve started trying Gemini 4 Neon, which Google released on November 18. Google also runs coding sessions in the cloud: Antigravity’s Remote Agents work in a Google-managed environment, and Google winds down Jules, its earlier cloud coding agent, on December 31.

Merging the work

Wherever my agents run, my colleagues and I can’t merge their work as fast as they produce it. In the seven days through yesterday, my agents and I opened 254 pull requests in PolicyEngine’s and Axiom’s public, unarchived repositories. My agents, my colleagues and I merged 129 of mine there, including some from earlier weeks. The two organizations merged 570 pull requests from all authors there, fewer than the 802 open under my account. So for the rest of the week, banked resets included, I’ll send fixes and follow-ups on existing pull requests first, then new changes, reviews and checks. I’m also adding a cap that my local and cloud sessions share. Under it, I won’t open a new pull request in a repository while I have at least as many open there as its maintainers merged in the past week. For example, I have 171 open in policyengine-us, where maintainers merged 30 that week, so once the cap is in place, I’ll open no new ones there for a while.