Skip to content

fix(torghut): block capital-unsafe replay feedback#6823

Closed
gregkonush wants to merge 1 commit into
mainfrom
codex/torghut-block-capital-unsafe-feedback
Closed

fix(torghut): block capital-unsafe replay feedback#6823
gregkonush wants to merge 1 commit into
mainfrom
codex/torghut-block-capital-unsafe-feedback

Conversation

@gregkonush

Copy link
Copy Markdown
Member

Summary

  • Blocks replay feedback that already violated realized capital constraints from being selected again as positive repair candidates.
  • Propagates realized capital breaches through exact spec, signature, shape, and risk-profile feedback with hard block selection reasons.
  • Keeps small down-day feedback eligible when drawdown and worst-day loss remain within the profit-target oracle policy, while treating excessive drawdown as a hard feedback blocker.

Related Issues

None

Testing

  • uv run --frozen ruff format scripts/run_whitepaper_autoresearch_profit_target.py tests/test_run_whitepaper_autoresearch_profit_target.py
  • uv run --frozen ruff check scripts/run_whitepaper_autoresearch_profit_target.py tests/test_run_whitepaper_autoresearch_profit_target.py
  • uv run --frozen pytest tests/test_run_whitepaper_autoresearch_profit_target.py tests/test_portfolio_optimizer.py tests/test_candidate_specs.py tests/test_profit_target_oracle.py -q
  • uv sync --frozen --extra dev
  • uv run --frozen pyright --project pyrightconfig.json
  • uv run --frozen pyright --project pyrightconfig.alpha.json
  • uv run --frozen pyright --project pyrightconfig.scripts.json

Breaking Changes

None

Checklist

  • Testing section documents the exact validation performed (or N/A with justification).
  • Screenshots and Breaking Changes sections are handled appropriately (removed or filled in).
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush gregkonush force-pushed the codex/torghut-block-capital-unsafe-feedback branch from 18704ca to e131766 Compare May 16, 2026 19:29
@gregkonush

Copy link
Copy Markdown
Member Author

Closing as stale/noisy PR cleanup. This branch is no longer current with main; reopen or recreate if the change is still needed.

@gregkonush gregkonush closed this Jun 1, 2026
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