python -m app.demo |
Throwaway demo (make demo); --real-llm, --fake-llm-delay, --fake-chat-mode, --report-mode, --no-image-style |
python -m app.openapi |
Regenerate docs/openapi.v1.json (make openapi) |
python -m app.cluster --rebuild |
Re-cluster every article in the configured DB |
python -m app.cluster.evaluate |
Precision/recall sweep on labelled fixtures — read-only; --threshold, --window-hours, --min-shared-tokens, --same-source-threshold, --markdown |
python -m app.enrich.diagnose --auto\|--story-id N [--dry-run] |
One story's queries, raw responses, decisions; --auto without --dry-run adds pages |
python -m app.enrich.evaluate |
Dry run over recent stories; --stories, --story-ids, --provider, --wait, --backtest, --markdown, --deep (every story on the deep tier, prints the outlets-per-story distribution) — read-only |
python -m app.context.diagnose --story-id N [--dry-run] |
One story's context queries + decisions — read-only |
python -m app.context.evaluate |
Dry run over recent stories; --stories, --markdown — read-only |
python -m app.summarize.diagnose --auto\|--story-id N |
Members, prompt, raw attempts, validation — read-only; --kind, --dry-run, --full, --markdown |
python -m app.summarize.compare |
Quality metrics per endpoint; --endpoints, --stories, --kind, --chat, --markdown, --db — read-only |
python -m app.summarize.smoke |
Real-model briefs/reports for a few stories; --profile, --limit, --kind, --db, --fake |
python -m app.summarize.capture |
Save one raw response for tests/test_summarizer.py; --kind, --out, --db |
python -m app.summarize.fake_server |
Fake LLM over HTTP for the Docker e2e; --port, --mode, --delay |
python -m app.chat.smoke |
One Q&A question against the real chat role; --story-id, --question, --history, --db |
python -m app.alerts.sink |
Standalone fake webhook + ntfy + SMTP receiver; --port, --smtp-port |
python -m app.fixture_server |
Fixture feed/page/search server used by the e2e |
python -m app.telemetry.report |
Workflow summary or one story's trace; --since 24h, --markdown, --story-id, --db — read-only |