First Workspace
This guide explains how to properly prepare a repository for Boundline, what files are created, how to choose an assistant host, and how to avoid common setup errors.
Workspace Initialization
Workspace setup is local to the repository you operate on:
cd <workspace>
boundline init --assistant codexUse init when you want Boundline to create local state, default directories, and optional setup surfaces. Depending on flags, it writes:
.boundline/config.toml(workspace-level configuration)docs/project/(default root for stable reusable inputs)docs/evidence/(default root for durable feature outputs)- repo-local assistant package folders such as
.codex-plugin/or.claude-plugin/
NOTE
init does not write .boundline/session.json or .boundline/traces/. Those are created automatically when you start an active session via the boundline goal command.
If you only need the runtime state and not a host package yet, boundline init without --assistant is still valid.
Optional Provider Auth
Use provider auth when a selected runtime needs a stored credential:
boundline models auth login --provider github-copilot
boundline models auth statusThese credentials are user-scoped. They are stored outside the repository so a single login can be reused across multiple workspaces.
Use removal when you want to clear a stored profile explicitly:
boundline models auth remove --provider github-copilotOptional Readiness Probe
Use probe as a read-only setup check before the first bounded session:
boundline probeIf probe reports bootstrap is still required, return to init. If it reports a repair-needed state, follow the printed action. If it reports the session path is ready, continue with goal, plan, and run.
When local semantic acceleration is enabled, probe also surfaces derived-index health and hook state so assistants can distinguish bootstrap gaps from a degraded local vector surface.
Optional Framework Adapter Setup
If the workspace should use one explicit framework adapter, register it after init instead of editing .boundline/config.toml directly:
boundline adapter add speckit --workspace <workspace>
boundline adapter show --workspace <workspace> --jsonGlobal Assistant Package Setup
Global assistant packages are user-scoped and available before workspace init when the host supports them:
boundline assistant install --host codex --scope user
boundline assistant install --host claude --scope user
boundline assistant install --host cursor --scope userGlobal commands are intentionally limited to readiness and bootstrap surfaces such as /boundline:init, /boundline:doctor, /boundline:help, /boundline:status, and /boundline:continue.
Repository-Local Assistant Setup
Repository-local packages are generated into a workspace by boundline init --assistant <host>.
Typical package folders:
- Claude Code:
.claude-plugin/ - Codex:
.codex-plugin/ - Cursor:
.cursor-plugin/ - Copilot prompt environments:
.copilot-prompts/plus.github/prompts/
The CLI remains authoritative even when commands are exposed through a chat host.
Canon-Default Setup
Use Canon options during init only when governed delivery is expected:
boundline init \
--assistant codex \
--canon-mode-selection auto-confirm \
--risk medium \
--zone engineering \
--owner platformThe current release documents Canon 0.61.0 support for the machine-facing canon governance start|refresh|capabilities --json v1 surface.
Troubleshooting Setup Failures
Use the printed command from doctor, probe, or status first. Common setup failures include:
- blocked install diagnostics
- workspace not writable
- assistant package generated but not registered by the host
- missing provider authentication
- trying to use repo-local commands before
init
See Troubleshooting for recovery paths.