New
- Handler extraction: 8 core actions extracted from Orchestrator into FeedHandler (POST/REPLY/VOTE), CoreInteractionHandler (PROPOSE/ACCEPT/REJECT), and TaskHandler (CLAIM/SUBMIT) —
_handle_core_action reduced from 130 lines to 5
- Decision theory studies: Full studies comparing TDT vs FDT vs UDT at population scales up to 21 agents, including UDT precommitment advantage analysis
- Prime Intellect bridge:
external_run_id column in scenario_runs for cross-platform run tracking
- Event bus: TypedDict schemas for event payloads and metadata, generalizing the WorktreeEvent pattern to the core framework
- GasTown bridge: Branch-based observation support for multi-branch governance
- CHANGELOG auto-update:
/release command now automatically converts [Unreleased] to versioned entry
Improvements
SoftInteraction.to_dict() → model_dump(mode='json') and from_dict() → model_validate() (DRY)
- Reputation delta formula
(p - 0.5) - c_a documented with full derivation in InteractionFinalizer
- Comprehensive CHANGELOG covering all releases from v0.1.0 through v1.3.1
Fixes
- 87 pre-existing mypy errors across tests/ and scripts/
- CAPTCHA solver dash deobfuscation and multiply detection
- Submission author normalization to SWARM Research Collective
Stats
- 274 files changed, 36,426 insertions, 1,736 deletions since v1.3.1
- 2,922 tests passing
Quick Start
pip install swarm-safety
python -m swarm run scenarios/baseline.yaml --seed 42 --epochs 10 --steps 10