Skip to content

Add lawful-collapse universe overlay - #20

Merged
Mopati123 merged 2 commits into
masterfrom
codex/lawful-collapse-universe-overlay
May 8, 2026
Merged

Add lawful-collapse universe overlay#20
Mopati123 merged 2 commits into
masterfrom
codex/lawful-collapse-universe-overlay

Conversation

@Mopati123

@Mopati123 Mopati123 commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the rootfile manifest and operator metadata overlay for H1-H13 lawful-collapse architecture.
  • Adds orchestration adapters for scheduler, evidence, reconciliation, root setup, and metadata registry.
  • Adds field Hamiltonian diagnostics plus the pipeline FIELD_EVALUATION stage.
  • Adds disabled-by-default QPT minting as a post-reconciliation proof artifact.
  • Adds rootfile validation tooling, CI integration, docs, and focused tests.
  • Aligns the MT5 close tracker so PPO receives the same full lifecycle realized net PnL standard used by settlement.

Safety

  • No broker, canary, MT5, Deriv, or real-money path was run while preparing this PR.
  • Field refusal remains disabled by default unless ENABLE_FIELD_HAMILTONIAN=1.
  • QPT minting remains disabled by default unless ENABLE_QPT=1.
  • Runtime artifacts, .env, logs/, and data/ are not included.

Validation

  • python -m tools.validate_rootfile --repo-root .
  • python -m pytest tests/rootfile/test_lawful_collapse_universe.py -q -> 12 passed
  • python -m pytest tests/rootfile/test_mt5_position_close_tracker.py -q -> 3 passed
  • python -m pytest tests/rootfile/test_demo_trade_settlement.py -q -> 8 passed
  • python -m pytest tests/rootfile -q -> 142 passed
  • python -m pytest tests -q -> 235 passed, 9 warnings
  • verify_execution_evidence_chain('logs/execution_evidence.jsonl').valid -> True
  • git diff --check passed after excluding recurring local .github/instructions drift.
  • Kluster was attempted, but the trial has ended and no verification results were available.

Latest commit

  • f679934 - Align MT5 close tracker realized PnL

Roadmap position

After merge, the next safe step is one controlled MT5 demo canary to prove post-fix PPO pending-state persistence end to end, followed by T3-A production hardening before any scaling.

Copy link
Copy Markdown
Owner Author

Final pre-merge update for the roadmap pass:

  • Latest head: f679934 (Align MT5 close tracker realized PnL).
  • MT5 close tracker now uses full lifecycle realized net PnL (profit + swap + commission) and requires a real closing deal before feeding PPO.
  • Validation after the tracker update:
    • git diff --check passed after restoring local .github/instructions whitespace drift.
    • python -m pytest tests/rootfile/test_mt5_position_close_tracker.py -q -> 3 passed.
    • python -m pytest tests/rootfile/test_demo_trade_settlement.py -q -> 8 passed.
    • python -m pytest tests/rootfile -q -> 142 passed.
    • python -m pytest tests -q -> 235 passed, 9 warnings.
  • No MT5/Deriv broker execution was launched while preparing this PR.
  • No raw logs/ or data/ artifacts are included.
  • kluster review was attempted, but the kluster.ai trial has ended and no verification output is available.

Next after merge: one controlled MT5 demo canary to prove PPO pending-state persistence end to end, then T3-A production hardening.

@Mopati123
Mopati123 marked this pull request as ready for review May 8, 2026 08:03
@Mopati123
Mopati123 merged commit e7bbfaa into master May 8, 2026
@Mopati123
Mopati123 deleted the codex/lawful-collapse-universe-overlay branch May 12, 2026 15:08
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