PYTHON=/path/to/python3.12
"$PYTHON" -m venv packages/core/.venv
source packages/core/.venv/bin/activate
pip install -e 'packages/core[dev]'scenario-lab demo-run --root .forecastls .forecast/runs/demo-run
cat .forecast/runs/demo-run/report.md
cat .forecast/runs/demo-run/workbench.mdYou should see demo-run complete before inspecting the generated files.
Evidence drafting reads from a local SQLite corpus. The default path is .forecast/corpus.db, and the CLI creates that database automatically when you ingest evidence or draft an evidence packet.
Create a candidate folder, add evidence files, then ingest them:
mkdir -p .forecast/evidence-candidates
# Put relevant Markdown, CSV, JSON, spreadsheet, saved web page, or text-extractable PDF files here.
scenario-lab ingest-directory --root .forecast --path .forecast/evidence-candidates --tag domain=interstate-crisisAfter a run has an intake draft, draft the evidence packet:
scenario-lab draft-evidence-packet --root .forecast --run-id <run-id> --revision-id r1Agents should normally use the packaged runtime instead of raw commands:
scenario-lab run-adapter-action --root .forecast --candidate-path .forecast/evidence-candidates --run-id <run-id> --revision-id r1 --action batch-ingest-recommended
scenario-lab run-adapter-action --root .forecast --run-id <run-id> --revision-id r1 --action draft-evidence-packetUse --corpus-db <path> only when you intentionally want a corpus outside .forecast/corpus.db.