Race Shield
Race Shield prevents cross-agent write collisions and stdin races in monorepo swarms through a lock-free swarm registry and buffered stdin handling.
Scheduling
- Tasks declare
pathsand optionaldepends_onedges - Pytxo builds a DAG and executes waves of non-conflicting agents
max_agentscaps parallelism per wave
Stdin
- PTY backend: continuous stdin drain loop
- Subprocess backend:
subprocess_stdin = truepumps the Race Shield queue at spawn time
Configuration
max_agents = 3
dag_explicit_deps = false # set true to force DAG mode
Use pytxo run --dry-run to inspect waves before execution.
Back: Three moats