_type: issue

title: Fix live websocket stale lag and reconnect loop

description: Investigate and fix API live consumer lag causing stale timestamps, feed-behind status, and reconnect loops. Optimize live cache persistence path, add lag telemetry/alerts, and validate in runtime.

status: closed

issue_type: bug

assignee: dirtydishes

created_by: dirtydishes

close_reason: Completed: optimized live cache persistence path, added lag telemetry, deployed api via docker compose on di, verified ws freshness and low hotFeedLagMs


title: Implement options tape table with execution spot

description: Redesign OptionsPane into a dense classifier-colored table and preserve execution-time underlying spot on option prints from equity quote mid.

issue_type: feature

close_reason: Completed


title: Fix false NBBO-missing badges in live Options tape

description: Investigate and fix client-side cases where Options rows show NBBO missing/stale even when a fresh NBBO quote exists in the live nbbo map. Update rendering logic to prefer fresh quote-derived status and add regression tests.

issue_type: task


title: Drop stale backlog events from live fanout

description: Follow-up to live freshness rollout: /ws/live was still fanning out stale backlog events for freshness-gated channels, which kept tape panes in Live feed behind despite active synthetic ingest. Gate fanout and cache ingest by freshness for options/nbbo/equities/flow.


title: Fix tape freshness, NBBO coverage, pause controls, and filter popup

description: Implement the tape fixes requested for synthetic options notional sizing, strict live freshness, live-mode pause/resume behavior, stronger NBBO snapshot coverage, and moving flow filters behind a popup. Includes server-side live cache changes, web terminal state/UI changes, and tests for synthetic pricing, live snapshot freshness/NBBO retention, and live pause/filter interactions.


title: Implement smart-money flow filtering and synthetic firehose modes

description: Implement the approved multi-surface plan for named synthetic market profiles, options raw-vs-signal filtering, live/API filter contracts, Tape page client-side flow filters, firehose-readiness improvements, tests, and README updates.

close_reason: Implemented synthetic market profiles, options signal-path filtering, signal-aware API/replay contracts, Tape page filters, tests, and README updates. Follow-up tracked in islandflow-biq.


title: Support single-token Alpaca auth

description: Support single-token Alpaca authentication across ingest adapters using ALPACA_API_KEY with fallback to ALPACA_KEY_ID/ALPACA_SECRET_KEY, and document env usage.

close_reason: Added ALPACA_API_KEY support with key-pair fallback


title: Add Alpha Vantage event calendar provider

description: Add an Alpha Vantage earnings-calendar provider to services/refdata that fetches CSV, normalizes entries, writes the JSON cache consumed by compute, and documents the required env variables.

close_reason: Added Alpha Vantage event-calendar provider


title: Finish smart-money event-calendar enrichment

description: Finish the smart-money event-calendar provider layer in services/refdata and connect days-to-event / expiry-after-event enrichment into compute using timestamp-available data only.

close_reason: Completed event-calendar provider and compute enrichment


title: Add smart-money replay evaluation harness

description: Add replay-style live-vs-batch consistency tests plus evaluation utilities for parent-event precision/recall, calibration, abstention rate, and economic sanity checks.

close_reason: Completed smart-money replay consistency harness and evaluation utilities.


title: Rebuild synthetic smart-money scenarios

description: Rework services/ingest-options synthetic generation around labeled parent-event templates for the six core smart-money profiles plus neutral background noise, with deterministic test/demo modes and hidden labels for tests.

close_reason: Completed Phase 5 synthetic smart-money scenario rebuild


title: Migrate terminal UI to smart-money profiles

description: Migrate apps/web terminal rendering to consume SmartMoneyEvent directly: primary profile, probability ladder, reason codes, and suppression/abstention state, while preserving legacy alert/classifier displays during the bridge.

close_reason: Completed terminal smart-money profile migration


title: Add plan mode

description: Implement a user-facing plan mode in the application so users can switch into planning before taking action. Scope to be clarified from existing app patterns.

close_reason: Implemented as a global pi extension toggled with Shift+P


title: Finish raw live options delivery and filter/backpressure observability

description: The smart-money signal path and Tape filters are in place, but the next firehose pass should finish server-side selective raw live delivery for options subscriptions and add explicit filtered-out/backpressure observability for API/web counters. This was discovered while landing islandflow-e4r.

issue_id: islandflow-biq

type: discovered-from


title: Document smart-money event calendar env

description: Document smart-money event-calendar environment configuration in env examples and README.

close_reason: Documented event-calendar env variables