Commit d9f46c1
coordinator: docs + allium spec lockstep catch-up
Following CLAUDE.md #5 ("docs and specs stay in lockstep with code"),
catching up QUICKSTART, README, and the allium spec for today's
rapid-fire changes that drifted them.
QUICKSTART:
- 6f rewritten: api_token_ceiling is now a panic brake (500M default),
not a budget. Real cost control is wall-hours + cost-anomaly
tripwire + auto-pause on streak. Mentions --token-ceiling CLI flag.
- Step 8: `-u` unbuffered flag added to launch command; CLI flag
examples (--token-ceiling, --wall-hours-ceiling) shown.
- New §8a "Autopilot behaviors" — summarizes phase pivot, cost anomaly
tripwire, cooperative pause (.coordinator/pause), and sdk-errors
capture. Things the user doesn't need to trigger but should know
exist.
README:
- Model-routing table rewritten for the proposer-implementer split.
Proposer (Opus) authors detailed implementation_plan; Implementer
(Sonnet when plan present) executes mechanically with max_turns=25
and Task tool blocked. Reviewers see plan + diff, hack_detector has
a plan_fidelity advisory check.
- Added a prose block explaining WHY the split: iter 16 Opus-as-
implementer reached for Task, spawned 17-min sub-agent, crashed
with $291 burned. Moving design into proposer + Sonnet-executes
makes it mechanical, bounded, ~5× cheaper.
allium spec (via allium:tend subagent):
- Config: plateau_pivot_lookback, max_pivots_before_halt, all
cost_anomaly_* fields, api_token_ceiling 500M with panic-brake
prose, CLI flag override semantics.
- Candidate.implementation_plan; Budget.consecutive_cost_anomalies;
Db.pivot_banned_families + pivot_count fields.
- New rules: AutopilotPivotOnPhasePlateau, CheckCostAnomalyAt
IterationEnd, WaitWhilePaused.
- Modified rule guidance: UnanimousReviewRequired (plan passthrough),
ProposeCandidatesWhenQueueDry (plan requirement + pivot_clause),
DiversityBanStuckFamilies (persistent-ban union), PhaseExitOnPlateau
(superseded note + hard-halt path retained).
- New CoordinatorConsole guarantees: TaskToolBlockedForImplementer,
ProposerImplementerSplit, DurableTokenLogging, SdkErrorsCaptured,
LiveBudgetCeilingsFromDb, CooperativePause.
- allium check: 0 errors, 28 pre-existing warnings.
All 102 coordinator tests pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ab12996 commit d9f46c1
2 files changed
Lines changed: 69 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
287 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
288 | 302 | | |
289 | 303 | | |
290 | 304 | | |
291 | 305 | | |
292 | 306 | | |
293 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
294 | 345 | | |
295 | 346 | | |
296 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
425 | 431 | | |
426 | 432 | | |
427 | 433 | | |
| |||
0 commit comments