Block a user
[BUG] Cash flow statement items appearing as unmapped
Update: Root Cause Analysis
The Rust sidecar IS being used. Cash flow definitions ARE in rust/taxonomy/fiscal/v1/core.surface.json (lines 883-1527).
Current Coverage:
The cash flow…
[BUG] Balance sheet display order incorrect - should be Assets, Liabilities, Equity
Update: Root Cause Analysis
The Rust sidecar IS being used. The balance sheet order IS correctly defined in rust/taxonomy/fiscal/v1/core.surface.json.
Current Order (from core.surfac…
[BUG] Financial ratios and KPIs appearing in wrong sections
Update: Root Cause Analysis
The Rust sidecar IS being used. The issue is in how KPIs and ratios are surfaced.
Current Architecture:
From rust/taxonomy/fiscal/v1/kpis/core.kpis.json…
[BUG] Tax-related line items appearing as unmapped
Update: Root Cause Analysis
The Rust sidecar IS being used. Tax items are mapped via rust/taxonomy/fiscal/v1/core.income-bridge.json.
Current Tax Mapping:
From `core.income-bridge.js…
[BUG] Missing Cost of Sales/COGS row in income statement display
Root Cause Found
cost_of_revenue surface is MISSING from rust/taxonomy/fiscal/v1/core.surface.json!
Evidence:
cost_of_revenueis referenced incore.income-bridge.json…
[BUG] Duplicate rows: Operating expenses appearing both mapped and unmapped (e.g., Advertising Expense)
Update: Root Cause Analysis
The Rust sidecar IS being used and IS authoritative.
Data Flow Confirmed:
Rust fiscal-xbrl CLI
↓ (spawns via Bun.spawn)
lib/server/taxonomy/parser-…
Fix filing taxonomy persistence schema mismatch that breaks sync and overview loading
[ARCH] Financial statement mapping has two parallel implementations (Rust + TypeScript)
[BUG] Cash flow statement items appearing as unmapped
[BUG] Balance sheet display order incorrect - should be Assets, Liabilities, Equity
[BUG] Financial ratios and KPIs appearing in wrong sections
[BUG] Tax-related line items appearing as unmapped
[BUG] Missing Cost of Sales/COGS row in income statement display
[BUG] Duplicate rows: Operating expenses appearing both mapped and unmapped (e.g., Advertising Expense)
Make resource-scoped task deduplication atomic
Make resource-scoped task deduplication atomic
Fixed via:
- Added partial unique index
task_active_resource_uidxon (user_id, task_type, resource_key) WHERE status IN ('queued', 'running') - Added
createTaskRunRecordAtomic()with…
Make resource-scoped task deduplication atomic
{"body":"Fixed via:
- Added partial unique index
task_active_resource_uidxon (user_id, task_type, resource_key) WHERE status IN ('queued', 'running') - Added
createTaskRunRecordAtomic()with…
Stop substituting synthetic market data when live quote/history providers fail