x07-concurrency
Canonical deterministic concurrency patterns in X07 (defasync + task.* + chan.bytes.*), including the determinism constraints.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
x07-concurrency
In deterministic solve-* worlds, X07 concurrency is deterministic and virtual (no OS threads); blocking points are explicit.
In OS worlds (run-os*), use subprocess spawning for multi-core parallelism. In run-os-sandboxed, process spawning must be enabled by policy (start from x07 policy init --template worker-parallel when needed).
Canonical patterns
- Use
defasync+task.*+chan.bytes.*for deterministic concurrency. - Avoid implicit sources of nondeterminism (OS clocks, random, network) in solve worlds.
- Keep scheduling decisions explicit and data-driven (inputs → outputs), so runs are replayable.
For the built-in reference guide, use x07 guide and search for defasync / task. / chan.bytes..
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!