KEY=value argument syntax for all options. This page documents every available option across all commands.
Global Concepts
Argument Syntax
All Shannon CLI options use the formatKEY=value after the command:
Boolean Options
Boolean flags are set usingtrue or omitted entirely (defaults to false):
start Command Options
Options for./shannon start command.
URL
Target URL to testFormat: Must be a complete URL including protocolExamples:
URL=https://example.comURL=https://staging.example.com:8443URL=http://localhost:3000
- For local applications running on the host machine, use
http://host.docker.internal:PORTinstead oflocalhost - The URL is used to generate default workspace names:
{hostname}_{timestamp}
REPO
Repository folder name under Container Mapping:
./repos/Format: Folder name only, not an absolute pathSetup:- Host path:
./repos/my-repo - Container path:
/repos/my-repo
- Saved to
./repos/{REPO}/deliverables/directory - Automatically created with write permissions (chmod 777)
CONFIG
Path to YAML configuration fileFormat: Relative or absolute path to Configuration Structure:Validation:
.yaml fileExample:- Validated against JSON Schema (
config-schema.json) - Invalid configs will fail at workflow start
OUTPUT
Custom output directory for reports and logsFormat: Relative or absolute pathExamples:Behavior:Container Mapping:
- Directory is created automatically if it doesn’t exist
- Permissions set to 777 for container write access (UID 1001)
- Worker container is refreshed if OUTPUT changes to ensure correct volume mount
- Host path:
{OUTPUT} - Container path:
/app/output
WORKSPACE
Named workspace identifier for organization and resumingFormat: Alphanumeric string with hyphens/underscoresBehavior:Resume Behavior:
- New workspace: Creates workspace with specified name if it doesn’t exist
- Resume: Automatically resumes if workspace exists (same command)
- Auto-naming: Without this option, workspaces are named
{hostname}_{timestamp}
- Loads
session.jsonto detect completed agents - Validates deliverable existence
- Restores git checkpoints
- Cleans up incomplete deliverables
- Skips completed phases automatically
PIPELINE_TESTING
Enable fast testing mode with minimal promptsPurpose: Development and testing iterationChanges:Warning: Not for production use. Testing mode may skip important analysis steps.
- Shorter, simplified prompts for each phase
- Reduced retry intervals (10 seconds vs production timeouts)
- Faster agent execution
- Same workflow structure (all phases still run)
ROUTER
Enable multi-model routing through Behavior:
See Also:
claude-code-routerPurpose: Use alternative LLM providers (OpenAI, OpenRouter, etc.)Requirements:- Provider API key in
.env(see Environment Variables) claude-code-routerDocker image
- Starts
routercontainer (Docker compose profile) - Sets
ANTHROPIC_BASE_URL=http://router:3456 - Routes all Claude API calls through router
- Router translates to target provider’s API
OpenAI
OpenAI
OpenRouter (Gemini, etc.)
OpenRouter (Gemini, etc.)
claude-code-router documentation for advanced routing configurationsREBUILD
Force Docker image rebuild with Behavior:
--no-cachePurpose: Ensure code changes are picked up when Docker layer caching causes issuesExample:- Runs
docker compose build --no-cache worker - Rebuilds all layers from scratch
- Significantly slower than normal builds
- Changed dependencies in
package.json - Modified Dockerfile
- Updated system packages
- Debugging caching issues
stop Command Options
Options for./shannon stop command.
CLEAN
Remove all data including Docker volumesDefault Behavior (CLEAN not set):Use Cases for CLEAN=true:
- Stops all containers
- Preserves Temporal workflow state
- Preserves PostgreSQL data
- Preserves audit logs in
./audit-logs/ - Allows resuming workflows after restart
- Stops all containers
- Removes Docker volumes (
postgres-data,temporal-data) - Deletes workflow history and state
- Does NOT remove
./audit-logs/directory - Fresh state on next
./shannon start
- Complete reset of Shannon environment
- Clearing old workflow data
- Troubleshooting Temporal state issues
- Freeing disk space
CLEAN=true. Audit logs are preserved but workflow state is lost.logs Command Options
Options for./shannon logs command.
ID
Workflow ID to display logs forFormat:
Use the workflow ID:
Log File Discovery:
{hostname}_{sessionId} or workspace nameFinding Workflow IDs:From start command output
From start command output
From workspaces list
From workspaces list
From Temporal Web UI
From Temporal Web UI
Visit http://localhost:8233 and copy the workflow ID from the UI
- Searches
./audit-logs/{ID}/workflow.logfirst - Handles resume workflow IDs (
workspace_resume_123) - Searches custom OUTPUT directories (up to 3 levels)
- Falls back to
findcommand for deep search
Option Validation
Required vs Optional
start command validation
start command validation
Required:
URL- Must be presentREPO- Must be present and exist in./repos/
.env:ANTHROPIC_API_KEYorCLAUDE_CODE_OAUTH_TOKEN(default)- OR
CLAUDE_CODE_USE_BEDROCK=1with AWS credentials - OR
CLAUDE_CODE_USE_VERTEX=1with GCP credentials - OR
ROUTER=truewith provider API key
logs command validation
logs command validation
Required:
ID- Must be present
Path Handling
Repository paths
Repository paths
REPO option:
- Must be a folder name (e.g.,
my-repo) - NOT an absolute path (e.g.,
/path/to/repo) - Resolved to
./repos/{REPO}on host - Mounted as
/repos/{REPO}in container
- Benchmark paths starting with
/benchmarks/*used as-is - Paths starting with
/repos/*used as-is (advanced usage)
Output paths
Output paths
OUTPUT option:
- Can be relative:
./reports,../output - Can be absolute:
/tmp/shannon-output - Created automatically if missing
- Permissions set to 777 for container access
- Mounted as
/app/outputin container
Config paths
Config paths
CONFIG option:
- Relative to current working directory
- Must exist and be readable
- Passed as absolute path to container
Examples by Use Case
Quick local test
Quick local test
Production audit with custom config
Production audit with custom config
Resume interrupted workflow
Resume interrupted workflow
Multi-model routing with OpenAI
Multi-model routing with OpenAI
AWS Bedrock with custom models
AWS Bedrock with custom models