Example
Options
--plan required. --goal verify-links, prepare-campaign or build-content required. --mode local (default), hosted or external. Any other option, a repeated option or a positional argument is a usage error.
Exit status
0 on success; 2 on usage error.Behavior and limits
Behavior and limits
Prints one JSON object (schemaVersion 1, kind setup_plan) with the goal, mode, a known-path inspection of the selected workspace, capabilities, ordered steps, warnings and an effects block that is always zero. Inspection is metadata only: it reports each standard path (.git, the .agentlinkops/ and legacy .linktrail/ ledger files, SITE.md locations, a backlink registry CSV, a CRM SQLite file and the installed plugin directory) as file, directory, missing, symlink, blocked or unreadable without following symlinks, reading contents or resolving custom paths.Hosted mode skips inspection entirely. Steps name who executes them (customer_local, customer_agent, agentlinkops_hosted or customer_external), what they require and what evidence they should produce; a workspace finding adds a resolve-workspace-findings step first.Nothing is written and no request is made.
Full command syntax
Full command syntax
Configuration and file contracts
Configuration and file contracts
Read configuration and file ownership for environment variables, compatibility aliases and writer locks. Read local file contracts for artifact fields. Browse the CLI index for related commands.
Check the selected environment and workspace access before calling hosted operations. See capability status.