Skip to content

Add live-enabled strategy catalog#16

Merged
Pigbibi merged 1 commit into
mainfrom
codex/live-enabled-strategy-catalog
Jun 8, 2026
Merged

Add live-enabled strategy catalog#16
Pigbibi merged 1 commit into
mainfrom
codex/live-enabled-strategy-catalog

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a public live-enabled strategy catalog for the switch console
  • include the runtime-enabled HK profiles: dividend-gold defensive, global ETF tactical, and low-vol dividend quality snapshot
  • serve strategy profiles via /api/strategy-profiles with KV/env/asset fallback
  • update docs and validation so future profile additions follow the catalog path

Tests

  • jq empty web/strategy-switch-console/strategy-profiles.example.json
  • sed -n '/<script>/,/</script>/p' web/strategy-switch-console/index.html | sed '1d;' | node --check --input-type=commonjs
  • node --check --input-type=module < web/strategy-switch-console/page_asset.js
  • node --check --input-type=module < web/strategy-switch-console/strategy_profiles_asset.js
  • node --check --input-type=module < web/strategy-switch-console/worker.js
  • python3 scripts/runtime_settings.py validate
  • python3 -m unittest discover -s tests -v
  • git diff --check

@Pigbibi Pigbibi merged commit 983752d into main Jun 8, 2026
2 checks passed
@Pigbibi Pigbibi deleted the codex/live-enabled-strategy-catalog branch June 8, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant