pipeline-v2-preview-20260603 Preview only — not production

Pipeline v2 Preview

Rollback-safe architecture preview for the multi-agent equity research pipeline. This page documents the free/open-source-first connector stack, Finviz enrichment layer, and paid/MCP fallback rules before the live pipeline is pivoted.

Current production pipeline · Machine-readable v2 spec · Report library

Deployment and rollback posture

Status: preview_not_current. The existing /pipeline/ method page and equityanalysis-reports Cloudflare Pages project remain the production reference until manually promoted.

Preview target: deploy this branch to a separate Cloudflare Pages project named equityanalysis-reports-v2-preview. This makes the rollout rollback-safe: Telegram summaries and production navigation can continue linking to /pipeline/ if v2 has issues.

Free/open-source-first connector policy

  1. Official free/open APIs first: SEC EDGAR, FRED, Congress.gov, Nasdaq Trader-style symbol files.
  2. Self-hosted direct connectors second: local RSS/Nitter collector, public political disclosure ingestion, local scoring.
  3. Reviewed open-source libraries third: yfinance, Finviz connector, pandas/numpy indicators, OpenBB if useful later.
  4. Paid hosted APIs only as fallbacks: Polygon, Alpha Vantage, QuiverQuant, Apify, FMP, FinancialDatasets.
  5. MCP only when reviewed and sandboxed: unreviewed MCP servers are not default data connectors due to cybersecurity concerns.

Default v1 connectors to build

social_rssyahoofredsec_edgarfinvizpolitical_disclosures

These are the minimum free/open connectors needed to move from the current social-signal-first cron to the broader agent pipeline.

Paid connectors deferred

apifypolygonquiverquantalpha_vantagefmp

These stay disabled unless a free connector proves insufficient for reliability, coverage, or data quality.

Agent-by-agent connector map

AgentFree/open-source defaultPaid fallbackPreview scope
01 Macro Regimeyfinance, FRED, pandasPolygon, Alpha VantageSPY/QQQ/IWM/sector trends, VIX, rates, credit spreads, deterministic regime score.
02 SocialCurrent RSS/Nitter-style curated-account collectorX API v2, ApifyKeep social as discovery only; add local baseline scoring before paid broad search.
02B Oversoldyfinance OHLCV, pandas indicators, SEC Companyfacts/Form 4, FinvizPolygon, FMP, FinancialDatasets52-week low/RSI/Bollinger/MACD filters plus fundamental survival check.
02C PoliticalHouse/Senate disclosures, Congress.gov, GovTrack-style open dataQuiverQuant, CapitolTrades/ApifySelf-hosted STOCK Act ingestion; social political accounts become corroboration only.
03 DistillerLocal deterministic scoring, Finviz enrichment, SEC/Yahoo contextNone required for v1Confluence boost across sources; LLM explains rankings but does not invent them.
04 Deep DiveSEC EDGAR, Yahoo, company IR, news RSSLicensed transcripts, FactSet/BloombergUpgrade current citation-verified report schema.
05 ModelSEC Companyfacts, yfinance, custom modelVisible Alpha, FactSet, FMPHuman-gated public-data model only.
06 PMLocal portfolio state, yfinance returns, PyPortfolioOpt/Riskfolio laterOptions/brokerage APIsPaper portfolio/risk dashboard only; no execution connector.

Finviz enrichment

Finviz enrichment is assigned to Agent 03 and Agent 02B support. It should be implemented as a pinned, rate-limited, cached direct Python connector with no secrets. It is an unofficial delayed-data scraper, so outputs must be labeled accordingly and never treated as execution-quality market data.

Useful fields

Valuation, performance, RSI/technicals, ownership, short float, recent news, insider transactions, analyst target/rating changes.

Controls

Pin version or commit, cache results, apply backoff, preserve source timestamps, fail soft if Finviz changes its DOM.

Promotion gate

MRVL selected-ticker smoke test

MRVL smoke test: PASSv1 verifier intact

The selected ticker smoke test exercises the v2 DAG shape with MRVL as a manual override, then routes Agent 04 through the existing Pipeline v1 citation verifier. No portfolio action or target price is generated in smoke mode.

Machine-readable artifacts

Spec: data/pipeline/v2-preview.json

Tag metadata: data/pipeline/tags/pipeline-v2-preview-20260603.json