Continuous enhancement: dashboard context contract - #3
Open
ryun6249 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continuous Enhancement Report
1. Current Status
/ui/shell, FastAPI routers, domain modules, runtime-checked model selector, All-default dashboard view, and top-right quality summary remain intact./api/v1/dashboard/decision-cardswas referenced by the UI but returned 404; dynamic JS Korean copy was not covered by the mojibake contract; clean stacked branch still lacks the broader Quantamental router/service implementation.2. Changes Made
Compatibility
/api/v1/dashboard/decision-cardscontract without changing existing dashboard, strategy, trading/order, secret, or model routes.Data Consistency
UI/UX
dashboard_decision_cards.v1instead of silently falling back after 404.Visualization
/ui/?range=1Y#quantamental.AI Briefing
Translation
scripts/check_ui_contract.pynow scansapp.jsand domain UI modules for dynamic-copy mojibake, not only static HTML.Performance
Tests / Validation
3. Changed Files
app/api/routers/dashboard.pyscripts/check_ui_contract.pytests/test_dashboard_api.pytests/test_ui_routing_contract.pytests/test_quantamental_ui_ai_panel.pydocs/CONTINUOUS_ENHANCEMENT_LOG.md4. Validation Results
git diff --check -- ...package.jsonorpnpm-lock.yamlpython -m pytest tests/test_dashboard_api.py tests/test_api_routing_contract.py tests/test_ui_routing_contract.py tests/test_quantamental_ui_ai_panel.py tests/test_ui_modules.py -q68 passed, 4 subtests passedpanelView=all, no mobile horizontal overflow,dashboard_decision_cards.v1visibleGET /api/v1/dashboard/decision-cardstests/test_quantamental_ui_ai_panel.pypython -m pytest tests/test_quantamental_api.py -qpipelines.quantamental.servicepython scripts/ai_portfolio_ui_smoke.py --base-url http://127.0.0.1:8408 --timeout-s 120 .../api/v1/quantamental/*routes in this clean branch5. Remaining Risks
automation/continuous-enhancement-20260519-1103, notmaster.6. Next Enhancement Suggestions
Not Found.7. Safety Notes
codexandcodex-automationlabels are unavailable in this repo; usingenhancementonly.