Skip to content

Add swarm: bulk external workers under a director model - #14

Merged
Joe975 merged 2 commits into
mainfrom
claude/openai-api-luna-5.6-y0wbsv
Aug 15, 2026
Merged

Add swarm: bulk external workers under a director model#14
Joe975 merged 2 commits into
mainfrom
claude/openai-api-luna-5.6-y0wbsv

Conversation

@Joe975

@Joe975 Joe975 commented Aug 15, 2026

Copy link
Copy Markdown
Owner

scripts/swarm.py fans prompt sets out to a cheap external reasoning model
(default gpt-5.6-luna) via the OpenAI Responses API — stdlib only,
concurrent, checkpointed per job with prompt-hash resume, so a crashed
sweep re-runs nothing it already paid for. Subcommands: plan (template x
values), run, one, status.

docs/SWARM.md is the protocol that keeps this from corrupting the dataset:
the director writes briefs and filters returns; swarm output is candidate
text, never a result; briefs authored by an informed director make the
attempt informed regardless of what workers saw; records name the worker
model next to mode.

Registered docs/SWARM.md as tier 1 and pointed CLAUDE.md at it. Offline
tests cover template expansion, the done/stale/failed resume states,
payload/response shapes, and that plan + dry-run never need an API key.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01F1ewmwg1FieyhJqUiFBrtT

claude added 2 commits August 15, 2026 14:20
scripts/swarm.py fans prompt sets out to a cheap external reasoning model
(default gpt-5.6-luna) via the OpenAI Responses API — stdlib only,
concurrent, checkpointed per job with prompt-hash resume, so a crashed
sweep re-runs nothing it already paid for. Subcommands: plan (template x
values), run, one, status.

docs/SWARM.md is the protocol that keeps this from corrupting the dataset:
the director writes briefs and filters returns; swarm output is candidate
text, never a result; briefs authored by an informed director make the
attempt informed regardless of what workers saw; records name the worker
model next to mode.

Registered docs/SWARM.md as tier 1 and pointed CLAUDE.md at it. Offline
tests cover template expansion, the done/stale/failed resume states,
payload/response shapes, and that plan + dry-run never need an API key.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1ewmwg1FieyhJqUiFBrtT
First attempt on collatz, and the first sweep run on external swarm
workers per docs/SWARM.md: 22 gpt-5.6-luna reports for $0.084, director
filter at full strength. Main finding: the lens taxonomy has weak
purchase here — 17/22 reports collapse onto two classical families, both
closed in the record. Finite-memory residue-Lyapunov certificates are
killed at every modulus by an exact re-derivation of the -1-tower
obstruction (classical root Terras 1976; barrier_checks.py, L <= 200),
and cycle-equation sieving adds nothing beyond recorded cycle-bound
limits. Parity-uniformity entropy barrier certified k <= 16 after
correcting a worker claim that stated the Terras bijection for the
unshortened map, where it is false.

Three leads recorded; queue 21 takes the nonstandard one — a
dominator/treewidth census of truncated Collatz digraphs. Ledger
updated (TL;DR, problem table, queue 8/21).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1ewmwg1FieyhJqUiFBrtT
@Joe975
Joe975 merged commit 8f56f3d into main Aug 15, 2026
2 checks passed
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.

2 participants