TradingAgents/web_dashboard/backend/tests
陈少杰 a245915f4e Recover the next verified Phase 4 improvements without waiting on team teardown
The team run reached a quiescent state with no in-progress work but still had pending bookkeeping tasks, so the next safe step was to pull only the newly verified commits into main. This batch adds a frontend contract-view audit guard and the reusable contract cue UI so degradation and data-quality states are visible where the contract-first payload already exposes them.

Constraint: The team snapshot still has pending bookkeeping tasks, so do not treat it as terminal cleanup-ready
Rejected: Wait for terminal team shutdown before any further recovery | delays low-risk verified changes even though no workers are actively modifying code
Rejected: Pull the entire worker-3 checkpoint verbatim | unnecessary risk of reintroducing snapshot-only churn when only the frontend files are needed
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep frontend contract cue rendering centralized; avoid reintroducing page-specific ad-hoc degradation badges
Tested: python -m pytest web_dashboard/backend/tests/test_frontend_contract_view_audit.py web_dashboard/backend/tests/test_api_smoke.py web_dashboard/backend/tests/test_services_migration.py -q
Tested: npm run build (web_dashboard/frontend)
Not-tested: manual browser interaction with the new ContractCues component
Not-tested: final OMX team terminal shutdown path
2026-04-14 01:19:01 +08:00
..
__init__.py fix: add security tests + fix Header import (#4) 2026-04-07 19:01:02 +08:00
test_api_smoke.py Carry Phase 4 rollout-readiness work back into the mainline safely 2026-04-14 01:15:18 +08:00
test_executors.py Expose data-quality semantics before rolling contract-first further 2026-04-14 00:37:35 +08:00
test_frontend_contract_view_audit.py Recover the next verified Phase 4 improvements without waiting on team teardown 2026-04-14 01:19:01 +08:00
test_main_api.py fix: add security tests + fix Header import (#4) 2026-04-07 19:01:02 +08:00
test_portfolio_api.py Make backend task and recommendation APIs contract-first by default 2026-04-14 00:26:28 +08:00
test_services_migration.py Make backend task and recommendation APIs contract-first by default 2026-04-14 00:26:28 +08:00