Skip to content

[RULE-REVIEW] Entries live again: stock and options entries order again (human directive 2026-11-04) (v1.0.1272) - #1612

Merged
github-actions[bot] merged 2 commits into
mainfrom
claude/entries-live
Nov 4, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
claude/entries-live

Conversation

@mctils12-arch

Copy link
Copy Markdown
Owner

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.py SHADOW_ENTRY_SLEEVES: "stocks,options" → "off", with a dated comment (prior value, reason, expected effect, rollback).
  • Node mirrors: server/entryShadow.ts ENTRY_SHADOW_DEFAULTS and server/brain.ts BRAIN_CONFIG_MIRROR. The parity tests stay green.
  • The switch itself is untouched. VOLTRADE_SHADOW_ENTRIES still wins when present, so a rollback is one Railway variable, no deploy: stocks,options, or options to re-shadow only options.

Downstream

  1. Options opens resume. CSPs, puts, scanner setups, spreads, convexity puts and roll re-opens order again. The 11-02 fixes ([REPAIR] options_manager: a multi-leg strategy is closed as a unit and the close is pursued until its legs are gone (v1.0.1251) #1582 multi-leg close-as-a-unit, [RULE-REVIEW] POS-KILL: a leg of a defined-risk structure is never killed on its own (v1.0.1252) #1583 POS-KILL structure hold) now run on fresh entries for the first time.
  2. Stock entries resume, but the floor still crowds them out in NEUTRAL. SPY_FLOOR_NEUTRAL 0.90 + DEFENSIVE_FLOOR_NEUTRAL 0.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

  • Backtest: none. This returns to the pre-10-28 behaviour, and live fills are the honest test of the 11-02 fixes. It is logged in research/experiments.md as an exploratory experiment.
  • Prior: stated before any live result.
  • Review date: 2026-12-04.
  • Rollback triggers: options below −15% per closed lot after 30+ lots on this version, a drawdown-ladder halt, or a defect found by the options-bleed diagnosis running in parallel.

Tests

  • test_entry_shadow.py and server/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.
  • Touched-area suites: Python 89/89, Node/client 48/48.

Generated by Claude Code

…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
@github-actions
github-actions Bot merged commit 23fd955 into main Nov 4, 2026
6 checks passed
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.

2 participants