Skip to content

feat(swarm): reuse directives with event-driven replanning - #55

Merged
christopherjnelson merged 1 commit into
mainfrom
feat/0046-persistent-swarm-directives
Sep 20, 2026
Merged

christopherjnelson merged 1 commit into
mainfrom
feat/0046-persistent-swarm-directives

Conversation

@christopherjnelson

Copy link
Copy Markdown
Member

Summary

  • Reuse committed, unexpired worker directives between Agent Zero reviews, with a fixed five-tick cadence and deterministic event triggers.
  • Ask Jev for a bounded replan probability in the same TypeSafe request as its legal action choice; committed signals reach Zero on the next planning phase.
  • Reserve provider attempts according to actual calls, retain cancellation-safe attempt accounting, and show plan reuse and replan telemetry in World Lab.

Validation

  • pnpm validate — passed locally and confirmed by the repository owner.
  • pnpm test:e2e — passed locally and confirmed by the repository owner.
  • Focused five-tick test records 36 provider attempts: one Zero plan and 35 worker choices.

Scope

PR D only. The stronger optional human-pressure simulator remains PR E.

@christopherjnelson
christopherjnelson marked this pull request as ready for review September 20, 2026 05:12
@christopherjnelson
christopherjnelson merged commit 9b75322 into main Sep 20, 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.

1 participant