Skip to content

[codex] Add reserved cash controls to switch console#40

Merged
Pigbibi merged 1 commit into
mainfrom
codex/reserved-cash-switch-console
Jun 9, 2026
Merged

[codex] Add reserved cash controls to switch console#40
Pigbibi merged 1 commit into
mainfrom
codex/reserved-cash-switch-console

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add reserved-cash floor and ratio controls to the strategy switch console
  • pass reserved-cash overrides through the Worker to manual-strategy-switch.yml
  • document the new switch-console behavior and add Worker validation coverage

Validation

  • node --experimental-default-type=module tests/strategy_switch_worker_validation.mjs
  • python3 -m pytest tests/test_runtime_settings.py -q
  • node --check --input-type=module < web/strategy-switch-console/worker.js
  • 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
  • sed -n '/<script>/,/<\/script>/p' web/strategy-switch-console/index.html | sed '1d;$d' | node --check --input-type=commonjs
  • git diff --check

@Pigbibi Pigbibi marked this pull request as ready for review June 9, 2026 18:28
@Pigbibi Pigbibi merged commit f32f2ab into main Jun 9, 2026
2 checks passed
@Pigbibi Pigbibi deleted the codex/reserved-cash-switch-console branch June 9, 2026 18:29
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