Skip to content

0.5.23: arXiv and PubMed 429 handling, workflow scripts from files everywhere - #320

Merged
Advait Paliwal (advaitpaliwal) merged 3 commits into
mainfrom
codex/rate-limit-retries
Oct 2, 2026
Merged

Advait Paliwal (advaitpaliwal) merged 3 commits into
mainfrom
codex/rate-limit-retries

Conversation

@advaitpaliwal

Copy link
Copy Markdown
Collaborator

From the 2026-10-02 telemetry check:

  • arXiv 429 (3 installs): requests now run 3 s apart (arXiv's API terms) through the shared createRequestPacer, and a 429 is retried once. Live: four parallel ID lookups all succeed in 9.2 s.
  • PubMed 429 (3 installs, 19 failures): NCBI pacing covers one process; subagents in other processes or a shared IP still hit 429. One retry after 1.5 s.
  • workflow: true requires exactly one js workflow fenced block (3 installs on 0.5.22, from /lit, /compare, /review and chat, which had no script-file guidance): SYSTEM.md now says to write the script to outputs/.plans/<slug>-workflow.js and call subagent with that path only after the write succeeds. A first live /lit run called the path in parallel with the write (ENOENT, then recovered); after the tightened wording a second live /lit ran the workflow on the first call, then verifier and reviewer, with every artifact under outputs/.

Not in this release: Pi 1.0. pi-btw 0.7.1 (my PR dbachelder/pi-btw#54) allows it, but pi-subagents 0.74.0 cannot start background subagents on Pi 1.0 (does not provide @earendil-works/pi-agent-core/node, found in a live /lit run). The fix is merged upstream (nicobailon/pi-subagents#2634), unreleased.

Verified: tsc, npm test (327 pass; new tests fail before), check-pi-rpc, root and website audits, website build.

… PubMed 429 once

arXiv's API terms ask for one request every three seconds and parallel
lookups got 429. PubMed pacing covers one process, but subagents in other
processes or a shared IP still drew 429s.
Models still called subagent with workflow: true outside /deepresearch,
which fails when the fenced block is only in hidden reasoning, and one
run called the script path in parallel with the write that created it.
@advaitpaliwal
Advait Paliwal (advaitpaliwal) merged commit d773e6d into main Oct 2, 2026
10 checks passed
@advaitpaliwal
Advait Paliwal (advaitpaliwal) deleted the codex/rate-limit-retries branch October 2, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant