stock-bot/docs/development/backlog/tasks/CL34.md

1.4 KiB

CL34 — Normalize provider symbols and remove unused scaffolding

Parent: E13. Priority: P2. Scheduling: manifest.

Scope and acceptance

Pure typed symbol adapters; preserve verified mappings; remove no-op pool configuration and unused QM wrappers after import inventory.

Affected modules: data-pipeline/repositories/PipelineSyncRepository.ts; symbols operations; container-setup.ts; ingestion/qm/shared. Root reserves actual files before delegation.

Dependencies: None.

Verification

Provider variant fixtures; PostgreSQL pipeline mapping/safety; types/imports. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.

Exclusions

No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.

Accepted verification

Independent provider normalization suite: 6 passed, 10 assertions. Disposable PostgreSQL pipeline safety: 8 passed, 28 assertions, including verified mapping preservation, unverified update and replay identity. Scoped lint/format passed; active QM session manager preserved.