grande-alpha-cli uses the same sandbox engine, Evidence Lab, gate definitions, glossary, and local
SQLite receipts as the desktop application. It is a research and inspection companion: there is no
CLI command that bypasses the desktop application's visual permission review, exact typed phrases,
matching evidence certificate, bounded live-session grant, or broker risk checks.
After setup.ps1, the repo-local wrapper is the easiest entry point:
.\cli.ps1 status
.\cli.ps1 activation --width 150
.\cli.ps1 evidence show
.\cli.ps1 evidence show --failures-only --width 150
.\cli.ps1 glossary "Deflated Sharpe"
.\cli.ps1 plans
.\cli.ps1 receipts --limit 20The installed command is also available as grande-alpha-cli when its Python Scripts directory is
on PATH. Every table wraps to the terminal width; --width N gives explicit control without
truncating long evidence requirements.
plans prints the same built-in Community entitlement and Pro-coming-soon roadmap as the desktop
dialog. plans --json reports that checkout and paid entitlement are unavailable. The optional
GRANDE_ALPHA_UPGRADE_URL value is identified as an information link only; it cannot change access.
If PowerShell blocks local scripts, use the signed-system PowerShell wrapper through the provided CMD launcher:
& ".\GRANDE Alpha CLI.cmd" activation --width 150activation reads only local configuration and the latest evidence receipt. It labels every
condition as APP CHECK, APP GATE, APP + YOU, YOU, RESEARCH, or EXTERNAL REVIEW, prints the
exact next action, and expands every failed evidence gate. It does not connect to Robinhood and has no
command that grants, schedules, reviews, places, or cancels orders.
The first row always records that scheduled auto-shadow is structurally read-only. After offline
conditions are resolved, run Morning Check.cmd, then use Live Readiness in the normal GUI for
fresh connected-account and quote checks. See the complete activation checklist.
The companion Morning Check invokes a separate read-only broker diagnostic:
.\Morning Check.cmdIt discovers accounts and fails unless exactly one active Agentic account exists. Through a
structural read-only broker facade, it fetches only that account's portfolio, positions, orders, and
the exact QQQ/TQQQ/SQQQ quote batch. Each quote must contain valid prices, its matching symbol, a
fresh venue timestamp, and bounded timestamp skew. Recognized terminal order states are normalized;
unknown states are reported open for the downstream flat/order-free preflight. The report prints
Read-only boundary: ENFORCED (review/place/cancel blocked) and Write tools called: 0.
This diagnostic may trigger provider OAuth, whose granted scope can be broader than the calls made by the diagnostic. It does not grant or restore live authority, create an evidence certificate, or claim the account is suitable for trading.
The default source is deterministic and offline. It can verify mechanics but can never create an eligible live-review certificate.
.\cli.ps1 sandbox run --source demo --days 7 --fills 25
.\cli.ps1 sandbox run --source csv --csv .\history.csv --interval 1m
.\cli.ps1 runs
.\cli.ps1 runs --id COMPLETE-RUN-IDAll fills are virtual TQQQS/SQQQS fills. Add --json to any inspection command for scripts.
.\cli.ps1 evidence run --source demo --days 7
.\cli.ps1 evidence run --source csv --csv .\history.csv --interval 1mAn attested exact runtime trace has a separate, range-bound source path. --start and --end
are inclusive U.S. equity trading dates and are mandatory for an Evidence Lab trace run:
& ".\GRANDE Alpha CLI.cmd" evidence run `
--source runtime-trace `
--database "$env:LOCALAPPDATA\GRANDEAlpha\grande_alpha.db" `
--bar-seconds 5 `
--session regular_hours `
--start 2026-08-20 `
--end 2027-03-12 `
--manifest "C:\data\grande-runtime-20260820-20270312.manifest.json" `
--width 150This explicit evidence run is the only runtime-trace CLI path that enters the normal Evidence Lab
service. If the range is input-ready, that service records trials and may reserve, freeze, claim, and
consume the one-use final holdout. Audit and template commands below never do so.
The CLI calls the same shared pipeline as the GUI and records the trial ledger and promotion receipt. It prints all independent gates, then explains every blocker and its next defensible action. Passing every gate creates only a time-limited local review certificate; it does not start a strategy or authorize an order.
Community data remains double opt-in. First enable it in Settings & Permissions, then include
--acknowledge-community-data on the CLI command. This sends only requested symbols, dates, and
intervals; it sends no broker or account data.
8/18 gates passed (or any partial count from a legacy receipt) is not a percentage of progress
toward trading. The current policy is conjunctive: every canonical gate must
pass on one eligible run. Synthetic source, inadequate breadth, weak trial-adjusted statistics, or a
missing walk-forward test cannot be averaged away by strong execution-cost or drawdown results.
The data audit reads caches, a supplied CSV, and the evidence-ledger inventory without registering a trial or reserving/revealing a final holdout:
.\.venv\Scripts\python.exe -m grande_alpha.cli data audit --target-interval 5s --width 150
.\.venv\Scripts\python.exe -m grande_alpha.cli data manifest-template --target-interval 5sFor a supplied file, --interval is mandatory because the command never guesses or relabels cadence.
Add --manifest to bind exact source, license attestations, construction method, native resolution,
coverage, and hashes. See Observed-data readiness for the complete schema and
one-use sealed-holdout checklist.
Audit a selected SQLite range without a broker call, evidence trial, or holdout action:
& ".\GRANDE Alpha CLI.cmd" data runtime-trace audit `
--database "$env:LOCALAPPDATA\GRANDEAlpha\grande_alpha.db" `
--bar-seconds 5 `
--session regular_hours `
--start 2026-08-20 `
--end 2027-03-12 `
--width 150Then print a template bound to that exact date range, selected source rows, canonical dataset hash, and source-trace hash:
& ".\GRANDE Alpha CLI.cmd" data runtime-trace manifest-template `
--database "$env:LOCALAPPDATA\GRANDEAlpha\grande_alpha.db" `
--bar-seconds 5 `
--session regular_hours `
--start 2026-08-20 `
--end 2027-03-12The template is printed only; the command does not create a file. Its rights attestations default to
false. Save a copy outside the command, review the actual provider/product terms, complete only
truthful fields, then rerun data runtime-trace audit with --manifest PATH. A changed range or
source row invalidates the old manifest instead of silently expanding the evidence dataset.
manifest-template requires both dates, and a manifest-backed audit also requires the matching
--start and --end. An unbounded audit is collection-progress reporting only; it cannot define an
Evidence Lab input range.