dev
The dev commands exist for working on cynapse and for trying it out. Neither is meant for a store
you care about.
cynapse dev seed
Section titled “cynapse dev seed”Build an example world in the database: an SDD work hierarchy and mission graph, a cyber-truss mission
with two arbitration rounds, agent coordination with a lease, a change feed, and a direct-message
channel — with unread entries and open needs-input records waiting for the council participant.
Timestamps come from a fixed clock starting 2026-09-21, so the world is the same every time.
The command refuses to touch a database that already has channels: it fails with exit 1 unless you
pass --reset. --reset deletes the database file (and its -wal and -shm companions) first,
so it needs an explicit --db: without one it fails with exit 2 and leaves your real database at
$CYNAPSE_HOME/cynapse.db untouched.
Usage
cynapse --db <path> dev seed [--reset]| Option | Effect |
|---|---|
--reset |
Delete the database first. Requires --db. |
Examples
cynapse --db /tmp/demo.db dev seedseeded /tmp/demo.db13 channels, 185 entries, 15 participantscouncil: 76 unread, 2 open needs-input init-agent-comms sdd.initiative active 9 entries epic-store sdd.epic active 8 entries epic-viewer sdd.epic active 5 entries m-seq-order sdd.mission reconciled 29 entries m-channel-ids sdd.mission active 12 entries m-cortex-shell sdd.mission active 7 entries graph-agent-comms sdd.mission-graph active 31 entries truss-pagination truss.mission active 25 entries truss-pagination-arb-1 truss.arbitration closed 15 entries truss-pagination-arb-2 truss.arbitration escalated 16 entries coord-cynapse coord.channel active 13 entries feed-cynapse feed.changes active 11 entries dm-council-conductor cynapse.dm active 4 entriesThen explore as the Council:
cynapse --db /tmp/demo.db --as council unreadcynapse --db /tmp/demo.db --as council channel show truss-paginationcynapse --db /tmp/demo.db state list --status opencynapse --db /tmp/demo.db gui --no-openThe seed participants include council (human), sdd-conductor, sdd-spec-judge, operator,
pod-store and pod-viewer.
cynapse dev load-test
Section titled “cynapse dev load-test”Check that seq stays correct under concurrent writers. It spawns separate writer processes that all
append to one channel, then verifies that the seq values are contiguous and unique, that each
writer’s own entries stayed in order, and that SQLite’s integrity_check is ok. It exits 1
(load test failed its checks) if any check fails.
Without --db it uses a fresh temporary file, never your real store, and prints its path.
Usage
cynapse dev load-test [--writers <n>] [--entries <n>]| Option | Effect |
|---|---|
--writers <n> |
Concurrent writer processes. Default 12. |
--entries <n> |
Entries each writer appends. Default 200. |
Examples
cynapse dev load-test --writers 3 --entries 203 writers × 20 entries = 60 in 125.85 ms (476.75/s)append latency ms: p50 0.25, p95 1.05, p99 19.68, max 19.68seq contiguous: true, unique: true, per-writer order kept: trueintegrity_check: okdb: /tmp/cynapse-load-Rb3VWZ/load.dbTimings vary by machine. See Storage for how seq is assigned under
BEGIN IMMEDIATE.