Skip to content

harness v0.3.2: micro-trim — request-budget pacing + budgeted parallelism#25

Open
madhyamakist wants to merge 3 commits into
mainfrom
harness/v0.3.2-micro-trim
Open

harness v0.3.2: micro-trim — request-budget pacing + budgeted parallelism#25
madhyamakist wants to merge 3 commits into
mainfrom
harness/v0.3.2-micro-trim

Conversation

@madhyamakist

Copy link
Copy Markdown
Member

Minimal delta over main (1 file, 3 edits): batched intake rounds, 3-request slice rhythm with chained gate+commit, and budgeted 2-3-worker parallelism under a requests/min cap. Test plan: merge into the h2 build branch mid-A/B and compare 429s + wall-clock per slice vs pure main.

🤖 Generated with Claude Code

madhyamakist and others added 3 commits July 21, 2026 01:54
…ed parallelism

Three surgical, instruction-only changes to the build SKILL (main otherwise
untouched), designed for providers that cap REQUESTS per minute:
- Intake: batch each round's questions as parallel clarify calls in ONE turn.
- Slice rhythm: one slice ≈ 3 requests (parallel writes turn; single chained
  pytest+add+commit+push command; progress note). Never two terminal calls
  where one && chain works. 429 mention → sleep 30 prefix + batch harder.
- Delegation: replace the blanket free-key inline preference with a request
  BUDGET — 2-3 parallel workers on disjoint slices while total request rate
  stays under ~half the provider cap; drop to one worker after any rate limit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… on free tiers

Main harness's resilience was accidental: fat context made calls slow (~2 rpm),
so the loop rarely rolled the dice during a rate-limited pool's empty windows.
The trim's lean-fast calls rolled 4x more often and died 4x more often. This
makes the armor deliberate: keep the trim's batching (fewer requests per unit
of work) but hold the cadence at main's pace via a sleep-15 floor on terminal
commands, escalating to 45s after any rate-limit mention. Steady beats fast.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…oral guards

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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