symposium init --project
Sets up project-level configuration for the current workspace.
Flow
-
Find workspace root — run
cargo metadatato locate the workspace manifest directory. -
Prompt for agent override — ask whether to set a project-level agent (default: use each developer’s own user-wide preference).
-
Create project config — create the
.symposium/directory and an empty.symposium/config.toml. If an agent override was selected, write the[agent]section. -
Run
sync --workspace— delegates to thesync --workspaceflow to scan dependencies, discover available extensions, and populate the config file. -
Run
sync --agent— delegates to thesync --agentflow to install the discovered extensions into the agent’s expected locations and ensure hooks are in place.
Combined init: When
initruns both user and project setup (either by default or with both flags), user setup completes first (including its ownsync --agentfor global hooks), then project setup runs. Thesync --agentat this step sees the full context — user config plus project config — and places hooks accordingly.