chinext50_regime_project.SOUL.md, USER.md, MEMORY.md, or daily memory files before this session.chinext50_regime_build_handoff_2026-04-08.md when analyzing the project.add-real-data-regime-input and completed proposal/design/specs/tasks artifacts focused on real-data contract, point-in-time breadth merge, and pipeline quality gate.add-real-data-regime-input tasks end-to-end (9/9), including data contract validation, sidecar merge, strict/non-strict quality gate integration for both pipelines, tests, and README updates.pytest and PyYAML; verification passed with 13 tests and both pipeline smoke runs producing expected quality artifacts.add-real-data-regime-input and synced three new main specs (pipeline-data-quality-gate, point-in-time-breadth-merge, regime-market-data-contract).strengthen-frozen-hypothesis-walkforward, adding train-select/test-freeze walk-forward flow, audit board outputs, and corresponding tests.config or --candidates-json) and min-train/min-test row controls.add-event-anchored-diagnostics, adding event taxonomy diagnostics (crash_onset, false_rebound, true_repair, crowded_unwind) and event_log.csv output in demo pipeline.21 tests), and demo/frozen smoke pipelines both succeeded.enhance-execution-layer-constraints, adding extreme-day/gap execution costs and tracking gap/error diagnostics in ledger + metrics.extend-breadth-concentration-features, adding top1/top10/sector concentration features and integrating them into crowding score.25 tests), and demo/frozen smoke pipelines remained successful.build-real-data-pit-dataset, adding PIT builder (data/pit_builder.py), PIT CLI (pipelines/build_pit_dataset.py), summary metadata fields (sources, pit_columns), dedicated PIT tests, and README PIT usage docs.29 tests and PIT smoke outputs (chinext50_pit.csv, pit_quality_summary.json).pit-dataset-construction and pit-build-artifacts.require-real-pit-input, enforcing full PIT input contract in runtime pipelines and removing synthetic fallback from run_demo/frozen_hypothesis_validation.tiered-data-quality-gate, adding breach severity (error/warning) and blocking_columns-driven strict blocking semantics across all data-quality entrypoints.add-real-walkforward-report, adding pipelines/real_walkforward_report.py with summary JSON + markdown report outputs for strategy-vs-baseline evaluation.add-execution-constraint-calibration, adding pipelines/calibrate_execution_constraints.py for execution-constraint grid calibration outputs.38 tests, 18 specs strict validation, no active OpenSpec changes).add-real-data-ingestion-pipeline, adding provider-based ingestion (csv + optional akshare), layered artifacts (raw/staging/pit), and incremental date-safe merge behavior.pipelines/ingest_real_data.py as unified entrypoint from source ingestion to PIT publication.41 tests, 19 specs strict validation, no active OpenSpec changes).add-mairui-fallback-ingestion.mairui provider and Akshare-to-Mairui fallback in akshare mode, including configurable Mairui breadth endpoint mapping.42 tests), specs validation (20 strict passes), and live Mairui smoke output generation.outputs/system_e2e_20260409_strict/.chinext50_regime_review_2026-04-09.md) against current code/output; the immediate bottleneck is system integrity rather than threshold tuning: NaN propagation breaks breadth_score and crowding_score, hazards are neutralized to 0.5, the state space collapses, exposure quantization hides candidate differences, and the current walk-forward window set is statistically too weak.chinext50_blocker_checklist_for_codex.md; executed a new OpenSpec change fix-regime-integrity-blockers strictly in B1 -> B6 order.breadth_score non-null 0.9611, crowding_score non-null 0.9216, hazards no longer constant 0.5)warmup and invalid-after-warmup fail-fastconcentration_spread_50.25 exposure quantization with configurable 0.10 ladder5/5 valid windows on current real PIT)59 tests, 20 strict OpenSpec spec validations), and the change fix-regime-integrity-blockers reached all_done.derive-real-breadth-sidecar, adding constituent-derived breadth builder, breadth-source integrity gate, ingestion integration for --derive-breadth, and new artifacts (breadth_derivation_summary.json, breadth_integrity_summary.json).63 tests, 24 strict OpenSpec spec validations).outputs/ingestion_derived_smoke_20260409_v9/ with spread variability restored (spread_unique_count=22 vs placeholder baseline 1).outputs/ingestion_derived_smoke_20260409_v12, found cache miss bug: repeated runs still reported hit_count=0, miss_count=12._history_covers_range (requested 2020-01-01, cached series starts 2020-01-02), causing false cache invalidation.data/breadth_builder.py by adding boundary tolerance (CACHE_BOUNDARY_TOLERANCE_DAYS=10) and updated coverage checks to accept small boundary gaps while rejecting true out-of-range panels.test_derive_breadth_sidecar_cache_handles_non_trading_boundaries in tests/test_breadth_builder.py.66 tests, 26 strict spec validations), and cache metrics improved on rerun: hit_count 0 -> 12, miss_count 12 -> 0, provider mix switched to cache:12.outputs/system_e2e_derived_v12_cachefix/; pipeline execution succeeded for demo/frozen/report/calibration with updated artifacts.harden-derived-breadth-production (artifacts + tasks all done, awaiting archive decision).data/breadth_builder.py:
_meta_cache.json under constituent-history cachereal_walkforward_summary.json (annual_return_delta_vs_baseline, max_drawdown_delta_vs_baseline) and updated report tests.68 tests, 26 strict spec validations).outputs/ingestion_derived_full50_20260409_v2/ with 1517 PIT rows and passing breadth integrity.1199.9s vs second rerun ~26.9s; second run shows meta_cache.hit_count=50.deliverables/gpt_pro_blockers_harden_derived_breadth_2026-04-09.md: upstream metadata instability persists (industry_unknown_ratio=1.0, Akshare RemoteDisconnected, Mairui HTTP 429), causing fallback to weight_hhi_proxy sector concentration mode.harden-derived-breadth-production as openspec/changes/archive/2026-04-09-harden-derived-breadth-production/; synced modified specs (constituent-derived-breadth, real-walkforward-report) and added new spec (implementation-issue-log).27 strict spec checks), and there are no active OpenSpec changes.deliverables/gpt_pro_bundle_harden_derived_2026-04-09.zip with blocker log, focused code/spec diffs, archived OpenSpec change artifacts, and key full50 output summaries.real_walkforward_report.py now separates default vs stitched_frozen_oos metrics/comparisons, emits stitched_frozen_oos_ledger.csv, and adds primary-vs-partial window success diagnostics (primary_window_success_ratio, etc.). Added/updated tests in test_frozen_walkforward.py and test_real_walkforward_report_pipeline.py; verification passed (81 tests). New semantic report run output: outputs/real_walkforward_recalibrated_20260410_semantic_v1/.execute-fullcode-guidance-20260410 to execute strict sequence B1->B2->B3->H1->H2->H3 with per-block guardrails and rollback. Completed B1 (stitched same-period baseline semantics) and B2 (utility core/net split + frozen stability de-dup turnover). B3 attempt (state precedence reorder) was rolled back because guardrail failed (risk_off state share stayed high at ~0.3686 > 0.32). Execution halted before H1/H2/H3 by rule.B3 -> B4 -> H1a -> ...). B3 and B4 completed; H1a executed without triggering stop conditions but failed acceptance floor on stitched annual return, so progression to H1b/H2/H3 is currently blocked per guidance rule.chinext50_post_b3_detailed_guidance_for_codex_2026-04-10.md, completed R0/R1 and adopted one-shot H1a microprobe thresholds (risk_off_down_hazard=0.67, risk_off_stress=0.89, risk_off_trend_floor=-0.14, crash_override_down_hazard=0.77). Attempted H1b.1 repair-cleanup pass but rolled it back due stop condition breach (drawdown_ratio_vs_baseline > 0.64).deliverables/chinext50_post_b3_feedback_execution_summary_2026-04-10.{md,json}.build-regime-lite-mvp, introducing regime-lite-runtime spec and lightweight operational pipeline (pipelines/regime_lite_run.py) with focused tests and real PIT smoke outputs. This establishes a practical small-team path while keeping large research modules intact.experiment-timing-and-entry-exit, adding regime_lite_experiment_board capability with HTML/CSV/JSON outputs and focused tests. Initial PIT results show large improvement for combo_fast_hold3, especially trend re-entry speed and return/drawdown profile; requires out-of-sample confirmation before promoting to runtime default.validate-regime-lite-fast-entry-promotion, adding a deterministic lite promotion gate, explicit runtime execution profiles, promotion decision artifacts, and updated lite experiment/report contracts.7 focused lite tests). Real PIT promotion run at outputs/regime_lite_promotion_20260424/ returned promote for combo_fast_hold3 -> runtime profile promoted_fast_entry_hold3.2024-09-10 to 2026-04-09) delta vs baseline for the promoted lite profile: annual_return +0.053994, max_drawdown -0.036674, annual_turnover -0.866667, trend re-entry speed -6.291667 days. Supervisor baseline now prefers promoted_fast_entry_hold3 while retaining baseline as rollback/reference.regime-lite-runtime, regime-lite-experiment-board, regime-lite-promotion-gate) and archived the completed change at openspec/changes/archive/2026-04-24-validate-regime-lite-fast-entry-promotion/.pytest.ini to constrain default test collection to the main tests/ directory so bundled deliverables/backups no longer break full-project verification. Full regression now runs cleanly with py -m pytest -q and currently passes at 101 tests.execute-fullcode-guidance-20260410 at openspec/changes/archive/2026-04-24-execute-fullcode-guidance-20260410/ with an explicit convergence note that H2/H3 were intentionally not pursued further.README.md to reflect the converged operational baseline: preferred lite runtime profile promoted_fast_entry_hold3, promotion artifact location, and the default project health-check command.