Skip to content

feat: distinguish dry-run and broker PAPER environments - #376

Merged
Pigbibi merged 1 commit into
mainfrom
codex/runtime-execution-environment
Aug 25, 2026
Merged

feat: distinguish dry-run and broker PAPER environments#376
Pigbibi merged 1 commit into
mainfrom
codex/runtime-execution-environment

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

新增兼容的三态 execution_environment 契约:dry_runpaperlive

  • 不改变旧的 dry_run_onlyexecution_mode 行为。
  • 只有显式 execution_environment=paper 才表示券商 PAPER 账户;本地预览继续是 dry_run
  • 非法组合 fail-closed,并补充环境解析测试及中文契约文档。
  • 不启用任何运行目标、PAPER 或 Live 下单。

验证:pytest -q tests/test_runtime_target.py tests/test_paper_execution_admission.py tests/test_runtime_command_gate.pypython -m compileall

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 0507eed into main Aug 25, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/runtime-execution-environment branch August 25, 2026 15:15
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