Skip to content

Feat/paper platform baseline - #1

Merged
Eaglemann merged 130 commits into
mainfrom
feat/paper-platform-baseline
Aug 3, 2026
Merged

Feat/paper platform baseline#1
Eaglemann merged 130 commits into
mainfrom
feat/paper-platform-baseline

Conversation

@Eaglemann

Copy link
Copy Markdown
Owner

No description provided.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 350 files, which is 250 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: de86af54-c177-451c-916f-9352efbd2413

📥 Commits

Reviewing files that changed from the base of the PR and between 01750ab and b0b7ddd.

⛔ Files ignored due to path filters (3)
  • dashboard/package-lock.json is excluded by !**/package-lock.json
  • dashboard/public/favicon.svg is excluded by !**/*.svg
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (350)
  • .env.template
  • .github/workflows/ci.yml
  • .gitignore
  • .secrets.baseline
  • AGENTS.md
  • API_ENDPOINTS.md
  • ARCHITECTURE.md
  • BEHAVIOURS.md
  • DATABASE_SCHEMA.md
  • ORCHESTRATOR.md
  • PLAN.md
  • README.md
  • ROADMAP.md
  • SHIPPED.md
  • alembic.ini
  • alembic/env.py
  • alembic/versions/0002_market_data_tables.py
  • alembic/versions/0003_compliance_tables.py
  • alembic/versions/0004_agent_weights.py
  • alembic/versions/0005_event_ledger.py
  • alembic/versions/0006_decision_lineage.py
  • alembic/versions/0007_paper_execution.py
  • alembic/versions/0008_counterfactuals.py
  • alembic/versions/0009_orchestrator.py
  • alembic/versions/0010_exit_trigger_state.py
  • alembic/versions/0011_worker_leases.py
  • alembic/versions/0012_causal_frame_evidence.py
  • alembic/versions/0013_trading_controls.py
  • alembic/versions/0014_funding_mark_price.py
  • alembic/versions/0015_counterfactual_decision_price.py
  • alembic/versions/0016_operator_commands.py
  • alembic/versions/0017_recover_operator_commands.py
  • alembic/versions/0018_counterfactual_research_tracking.py
  • compose.yaml
  • dashboard/index.html
  • dashboard/package.json
  • dashboard/src/App.test.tsx
  • dashboard/src/App.tsx
  • dashboard/src/OperatorConsole.tsx
  • dashboard/src/ResearchLab.tsx
  • dashboard/src/api.test.ts
  • dashboard/src/api.ts
  • dashboard/src/eventFeed.test.ts
  • dashboard/src/format.test.ts
  • dashboard/src/format.ts
  • dashboard/src/main.tsx
  • dashboard/src/styles.css
  • dashboard/src/types.ts
  • dashboard/tsconfig.app.json
  • dashboard/tsconfig.json
  • dashboard/tsconfig.node.json
  • dashboard/vite.config.ts
  • docs/runbooks/incidents.md
  • docs/runbooks/operations.md
  • docs/runbooks/recovery.md
  • docs/runbooks/setup.md
  • docs/runbooks/seven-day-experiment.md
  • docs/superpowers/plans/2026-08-02-maais-master-delivery-plan.md
  • docs/superpowers/plans/2026-08-02-maais-phase-0-baseline-safety.md
  • docs/superpowers/plans/2026-08-02-maais-phase-1-event-ledger.md
  • docs/superpowers/plans/2026-08-02-maais-phase-2-paper-broker.md
  • docs/superpowers/plans/2026-08-02-maais-phase-3-validated-orchestrator.md
  • docs/superpowers/specs/2026-08-02-maais-paper-trading-observability-design.md
  • docs/testing/fault-injection.md
  • maais/agents/base.py
  • maais/agents/carry_yield.py
  • maais/agents/evaluations.py
  • maais/agents/liquidity.py
  • maais/agents/macro_sentiment.py
  • maais/agents/mean_reversion.py
  • maais/agents/momentum.py
  • maais/agents/order_flow_toxicity.py
  • maais/agents/regime_gate.py
  • maais/agents/runner.py
  • maais/agents/stop_run_detection.py
  • maais/agents/technical_structure.py
  • maais/analytics/__init__.py
  • maais/analytics/query.py
  • maais/analytics/research.py
  • maais/api/__init__.py
  • maais/api/app.py
  • maais/api/auth.py
  • maais/api/queries.py
  • maais/api/schemas.py
  • maais/cli.py
  • maais/compliance/fifo_ledger.py
  • maais/compliance/models.py
  • maais/compliance/schemas.py
  • maais/compliance/trade_logger.py
  • maais/config/constants.py
  • maais/config/fees.py
  • maais/config/modes.py
  • maais/config/paper_candidate.py
  • maais/config/settings.py
  • maais/core/logging.py
  • maais/db/models/__init__.py
  • maais/db/models/accounts.py
  • maais/db/models/agents.py
  • maais/db/models/counterfactuals.py
  • maais/db/models/decisions.py
  • maais/db/models/execution.py
  • maais/db/models/experiments.py
  • maais/db/models/ledger.py
  • maais/db/models/operations.py
  • maais/db/recovery_store.py
  • maais/db/replay.py
  • maais/db/repositories/__init__.py
  • maais/db/repositories/controls.py
  • maais/db/repositories/counterfactuals.py
  • maais/db/repositories/decisions.py
  • maais/db/repositories/events.py
  • maais/db/repositories/execution.py
  • maais/db/repositories/experiments.py
  • maais/db/repositories/incidents.py
  • maais/db/repositories/market_data.py
  • maais/db/repositories/operator_commands.py
  • maais/db/repositories/orchestration.py
  • maais/db/repositories/workers.py
  • maais/db/unit_of_work.py
  • maais/decision/adversarial.py
  • maais/decision/consensus.py
  • maais/decision/cost_estimator.py
  • maais/decision/engine.py
  • maais/decision/ev_engine.py
  • maais/decision/gate.py
  • maais/decision/official.py
  • maais/decision/schemas.py
  • maais/decisions/__init__.py
  • maais/decisions/bundle.py
  • maais/domain/__init__.py
  • maais/domain/enums.py
  • maais/domain/events.py
  • maais/domain/ids.py
  • maais/domain/json.py
  • maais/execution/binance_client.py
  • maais/execution/engine.py
  • maais/execution/fill_tracker.py
  • maais/execution/funding_tracker.py
  • maais/execution/leverage.py
  • maais/execution/paper/__init__.py
  • maais/execution/paper/account.py
  • maais/execution/paper/authorization.py
  • maais/execution/paper/broker.py
  • maais/execution/paper/clock.py
  • maais/execution/paper/exits.py
  • maais/execution/paper/fills.py
  • maais/execution/paper/filters.py
  • maais/execution/paper/market.py
  • maais/execution/paper/orders.py
  • maais/execution/paper/positions.py
  • maais/execution/paper/records.py
  • maais/execution/paper/sensitivity.py
  • maais/execution/protocols.py
  • maais/execution/schemas.py
  • maais/execution/testnet/__init__.py
  • maais/execution/testnet/binance_client.py
  • maais/execution/trade_record_writer.py
  • maais/experiments/__init__.py
  • maais/experiments/manifest.py
  • maais/experiments/prepare.py
  • maais/experiments/runtime_policy.py
  • maais/experiments/service.py
  • maais/feature_pipeline/feature_store.py
  • maais/feature_pipeline/features.py
  • maais/feature_pipeline/funding_features.py
  • maais/feature_pipeline/momentum.py
  • maais/feature_pipeline/orderbook_features.py
  • maais/feature_pipeline/pipeline.py
  • maais/feature_pipeline/regime_classifier.py
  • maais/feature_pipeline/volatility.py
  • maais/feature_pipeline/zscore.py
  • maais/live.py
  • maais/market_data/aggregator.py
  • maais/market_data/connectors/binance_contracts.py
  • maais/market_data/connectors/binance_rest.py
  • maais/market_data/connectors/binance_rest_contracts.py
  • maais/market_data/connectors/binance_spot.py
  • maais/market_data/connectors/binance_websocket.py
  • maais/market_data/connectors/bybit_spot.py
  • maais/market_data/connectors/http_transport.py
  • maais/market_data/events.py
  • maais/market_data/frames.py
  • maais/market_data/history.py
  • maais/market_data/ingestor.py
  • maais/market_data/integrity/state_machine.py
  • maais/market_data/integrity/validator.py
  • maais/market_data/kafka_producer.py
  • maais/market_data/models.py
  • maais/market_data/public_runtime.py
  • maais/market_data/recovery.py
  • maais/market_data/schemas.py
  • maais/monitoring/admission.py
  • maais/monitoring/alerting.py
  • maais/monitoring/black_swan.py
  • maais/monitoring/drawdown_monitor.py
  • maais/monitoring/health.py
  • maais/monitoring/kill_switch.py
  • maais/monitoring/schemas.py
  • maais/operations/__init__.py
  • maais/operations/backups.py
  • maais/operations/controls.py
  • maais/operations/daily_supervisor.py
  • maais/operations/database_identity.py
  • maais/operations/final_reporting.py
  • maais/operations/health.py
  • maais/operations/incident_management.py
  • maais/operations/incidents.py
  • maais/operations/operator_commands.py
  • maais/operations/preflight.py
  • maais/operations/process_drills.py
  • maais/operations/qualification.py
  • maais/operations/reporting.py
  • maais/operations/restores.py
  • maais/operations/soak_readiness.py
  • maais/operations/verification.py
  • maais/orchestration/__init__.py
  • maais/orchestration/bootstrap.py
  • maais/orchestration/checkpoints.py
  • maais/orchestration/commands.py
  • maais/orchestration/composition.py
  • maais/orchestration/context.py
  • maais/orchestration/continuous.py
  • maais/orchestration/flatten.py
  • maais/orchestration/observations.py
  • maais/orchestration/operator_control.py
  • maais/orchestration/protection.py
  • maais/orchestration/recovery.py
  • maais/orchestration/results.py
  • maais/orchestration/runtime.py
  • maais/orchestration/service.py
  • maais/orchestration/supervisor.py
  • maais/orchestration/worker.py
  • maais/research/__init__.py
  • maais/research/counterfactuals.py
  • maais/risk/correlation.py
  • maais/risk/drawdown.py
  • maais/risk/engine.py
  • maais/risk/kelly.py
  • maais/risk/official.py
  • maais/risk/portfolio.py
  • maais/risk/schemas.py
  • pyproject.toml
  • scripts/browser-smoke.sh
  • scripts/daily-paper-ops.sh
  • scripts/paper-process.sh
  • scripts/recover-paper-week.sh
  • scripts/run-process-drills.sh
  • scripts/start-paper-drill.sh
  • scripts/start-paper-soak.sh
  • scripts/start-paper-week.sh
  • scripts/status-paper-week.sh
  • scripts/stop-paper-week.sh
  • tests/conftest.py
  • tests/faults/test_disk_full.py
  • tests/integration/conftest.py
  • tests/integration/faults/test_database_outage.py
  • tests/integration/test_continuous_paper_observer.py
  • tests/integration/test_counterfactual_isolation.py
  • tests/integration/test_database_identity.py
  • tests/integration/test_decision_lineage.py
  • tests/integration/test_event_store.py
  • tests/integration/test_experiments.py
  • tests/integration/test_mission_control_api.py
  • tests/integration/test_mission_control_commands_api.py
  • tests/integration/test_mission_control_queries.py
  • tests/integration/test_operational_state_repository.py
  • tests/integration/test_operator_command_executor.py
  • tests/integration/test_operator_command_repository.py
  • tests/integration/test_orchestration_repository.py
  • tests/integration/test_paper_execution_repository.py
  • tests/integration/test_paper_worker_supervisor.py
  • tests/integration/test_recovery_store.py
  • tests/integration/test_replay_consistency.py
  • tests/integration/test_runtime_bootstrap.py
  • tests/integration/test_runtime_composition.py
  • tests/integration/test_runtime_context.py
  • tests/integration/test_soak_snapshot_consistency.py
  • tests/property/test_paper_invariants.py
  • tests/replay/test_golden_paper_sequence.py
  • tests/test_agents.py
  • tests/test_compliance_fifo.py
  • tests/test_config.py
  • tests/test_decision.py
  • tests/test_execution.py
  • tests/test_execution_safety.py
  • tests/test_feature_pipeline.py
  • tests/test_market_data_validator.py
  • tests/test_monitoring.py
  • tests/test_repository_contract.py
  • tests/test_risk.py
  • tests/test_settings.py
  • tests/unit/agents/test_evaluations.py
  • tests/unit/analytics/test_research.py
  • tests/unit/api/test_control_auth.py
  • tests/unit/core/test_logging.py
  • tests/unit/decisions/test_bundle.py
  • tests/unit/decisions/test_official_decision.py
  • tests/unit/domain/test_events.py
  • tests/unit/experiments/test_lifecycle.py
  • tests/unit/experiments/test_manifest.py
  • tests/unit/experiments/test_prepare_live.py
  • tests/unit/experiments/test_runtime_policy.py
  • tests/unit/market_data/test_binance_public_contracts.py
  • tests/unit/market_data/test_binance_rest_connector.py
  • tests/unit/market_data/test_binance_rest_contracts.py
  • tests/unit/market_data/test_binance_spot_connector.py
  • tests/unit/market_data/test_binance_websocket_connector.py
  • tests/unit/market_data/test_bybit_spot_connector.py
  • tests/unit/market_data/test_frame_builder.py
  • tests/unit/market_data/test_gap_recovery.py
  • tests/unit/market_data/test_history.py
  • tests/unit/market_data/test_http_transport.py
  • tests/unit/market_data/test_integrity_state_machine.py
  • tests/unit/market_data/test_observed_events.py
  • tests/unit/market_data/test_public_runtime.py
  • tests/unit/monitoring/test_admission.py
  • tests/unit/operations/test_backups.py
  • tests/unit/operations/test_daily_supervisor.py
  • tests/unit/operations/test_final_reporting.py
  • tests/unit/operations/test_health.py
  • tests/unit/operations/test_incidents.py
  • tests/unit/operations/test_operator_commands.py
  • tests/unit/operations/test_preflight.py
  • tests/unit/operations/test_process_drills.py
  • tests/unit/operations/test_process_scripts.py
  • tests/unit/operations/test_qualification.py
  • tests/unit/operations/test_reporting.py
  • tests/unit/operations/test_restores.py
  • tests/unit/operations/test_soak_readiness.py
  • tests/unit/orchestration/test_checkpoints.py
  • tests/unit/orchestration/test_composition.py
  • tests/unit/orchestration/test_observations.py
  • tests/unit/orchestration/test_operator_flatten.py
  • tests/unit/orchestration/test_protection.py
  • tests/unit/orchestration/test_recovery.py
  • tests/unit/orchestration/test_service.py
  • tests/unit/orchestration/test_worker.py
  • tests/unit/paper/test_account_positions.py
  • tests/unit/paper/test_broker_replay.py
  • tests/unit/paper/test_clock_filters_authorization.py
  • tests/unit/paper/test_counterfactuals.py
  • tests/unit/paper/test_exits.py
  • tests/unit/paper/test_limit_queue.py
  • tests/unit/paper/test_market_fills.py
  • tests/unit/paper/test_sensitivity.py
  • tests/unit/risk/test_official.py
  • tests/unit/test_cli.py
  • tests/unit/test_live_runtime.py
  • tests/unit/test_operational_scripts.py
  • tests/unit/test_replay_index.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Eaglemann
Eaglemann merged commit 92e3b97 into main Aug 3, 2026
7 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.

1 participant