First Run
Workspace initialization
From your project root:
syndicate init
Initialization creates:
.syndicate/control.db(SQLite in WAL mode).syndicate/context.md.syndicate/config.toml
These files are workspace-local and should be ignored by Git (.syndicate/ in .gitignore).
Normative basis: bootstrap_and_initialization_spec.md §18.2.
v1 deployment note This page describes the v1 local-embedded deployment. Team and enterprise deployments use
syndicate-server; startup stages 2-10 shift to the remote control-plane side and the local client runs a reduced sequence.
Bootstrap stages (deterministic order)
On first syndicate invocation, the startup sequence runs in this fixed order:
- Configuration load
- Storage open
- First-run detection
- Schema migration (first run only)
- Genesis event (first run only)
- Default policy and identity bootstrap (first run only)
- Chain integrity verification
- Policy load
- Workspace binding
- Control plane readiness
- Accept proposals
Bootstrap fails closed; no partial ready state is allowed.
Normative basis: bootstrap_and_initialization_spec.md §12 and BI-006.
Launching the TUI
syndicate
At session start, the five-pane layout is visible:
- title bar (session, governance mode, active provider, workspace, policy version)
- left sidebar (session tree, specialist registry, navigation)
- main pane (conversation/output/diff/evidence inspector)
- right sidebar (live evidence stream, audit feed, trust state summary)
- footer/chat (last turn summaries, mode badge, active input)
Normative basis: tui_build_spec.md §3 and operator_interface_spec.md.
Your first governed workflow
- Enter an objective in the footer input.
- The control plane creates a proposal.
- The proposal is converted to canonical form and evaluated by policy.
- If required, a checkpoint appears in the TUI as a pending decision.
- Approve with
y, deny withn, or inspect withi. - On approval, the control plane issues a permit.
- Execution proceeds, and evidence entries populate the right sidebar.
Important: the TUI renders pending decisions; it does not enforce policy or authorize execution.
Normative basis: governed_execution_spec.md §5 and §7, operator_interface_spec.md authority model.
Headless / CI first run
syndicate run --no-tui --objective "<text>"
In headless mode, mandatory checkpoints produce denial output and exit code 2.
syndicate run --no-tui --output json --objective "<text>"
Normative basis: cli_command_reference.md §6.1 and §6.3.
Audit chain verification
syndicate audit verify
A clean chain reports successful continuity verification and exits 0. Any mismatch, gap, or missing anchor fails verification.
Normative basis: cli_command_reference.md §8.4 and audit_and_evidence_model.md integrity requirements.
State location and precedence
- Workspace state database:
.syndicate/control.db - Config precedence: CLI flag > env var > project file > operator-level file > system file > embedded defaults
- DB path precedence: CLI flag >
SYNDICATECODE_DB_PATH> config >$XDG_DATA_HOME/syndicatecode/control.db
Normative basis: bootstrap_and_initialization_spec.md §4.2 and §10.1.
Non-guarantee callout A clean first run proves governance and initialization behavior, not model-output correctness and not elimination of hallucination risk.