Repository navigation
[RULE-REVIEW] Entries live again: stock and options entries order again (human directive 2026-11-04) (v1.0.1272) - #1612
Merged
Conversation
…in (human directive 2026-11-04) SHADOW_ENTRY_SLEEVES "stocks,options" -> "off" in system_config.py and the Node mirrors (server/entryShadow.ts, server/brain.ts). Human directive 2026-11-04 (paper account): trade the sleeves live, see what works best, the goal is to beat SPY. The 2026-10-28 shadow switch stays as the rollback: VOLTRADE_SHADOW_ENTRIES=stocks,options (or =options) wins when present, no deploy. Tests: the default pins move to "off" with the rollback value still shadowing both sleeves; the old all-shadowed Brain scenario keeps every assertion under an explicit config, plus a test for the live default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BrrwY7BFkP8VNdwKPfaVn5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BrrwY7BFkP8VNdwKPfaVn5
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.
Summary
The human's directive today (paper account): "i didnt want you to stop trading … it a paper account and see what work the best you know the goal is th beat the sp". This turns stock and options entries back on. They have been shadow-only (logged, never ordered) since 2026-10-28.
system_config.pySHADOW_ENTRY_SLEEVES:"stocks,options"→"off", with a dated comment (prior value, reason, expected effect, rollback).server/entryShadow.tsENTRY_SHADOW_DEFAULTSandserver/brain.tsBRAIN_CONFIG_MIRROR. The parity tests stay green.VOLTRADE_SHADOW_ENTRIESstill wins when present, so a rollback is one Railway variable, no deploy:stocks,options, oroptionsto re-shadow only options.Downstream
SPY_FLOOR_NEUTRAL0.90 +DEFENSIVE_FLOOR_NEUTRAL0.08 = 98% of equity, against the tier engine's 95% invested cap (TIER-KILL … 96.7% >= 95%today at 14:46Z). BULL leaves about 17% of room and CAUTION about 45%. This is pre-existing and not changed here.Evidence / promotion
research/experiments.mdas an exploratory experiment.Tests
test_entry_shadow.pyandserver/entryShadow.test.ts: pin the new default and that the env rollback still shadows both sleeves.server/brain.test.ts: keeps every assertion of the old all-shadowed scenario (now under an explicit config) and adds a test for the live default.Generated by Claude Code