{
  "schema_version": 1,
  "updated_at": "2026-08-03T21:31:06+08:00",
  "status": "standalone_closure_verified_checkpoint_pending",
  "migration_mode": "behavior_preserving_source_migration",
  "source_of_truth": "standalone_app_runtime_and_source",
  "source_root": ".",
  "target_root": ".",
  "failed_roots": [],
  "retired_external_roots": [
    "parent original runtime",
    "parent next directory"
  ],
  "current_slice": "standalone-closure",
  "last_completed_slice": "standalone-closure",
  "last_automated_slice": "standalone-closure",
  "last_checkpoint": "xiaobai-standalone-closure-20260803",
  "next_action": "create and push the standalone closure checkpoint, then clean retired parent content in a separate reversible commit",
  "authoritative_documents": [
    "AGENTS.md",
    "ARCHITECTURE.md",
    "docs/product/小白复盘-完整产品规格说明书.md",
    "docs/maintenance/人工维护指南.md"
  ],
  "hard_invariants": [
    "do_not_use_next_as_migration_source",
    "do_not_rewrite_existing_product_behavior",
    "do_not_change_technology_stack_without_explicit_user_approval",
    "preserve_visual_interaction_animation_calculation_and_data_semantics",
    "do_not_depend_on_parent_source_tests_static_config_or_data",
    "keep_one_canonical_owner_for_each_runtime_responsibility",
    "keep_secrets_databases_private_skills_and_runtime_artifacts_out_of_git",
    "do_not_switch_docker_or_nas_before_user_approval"
  ],
  "approved_decisions": {
    "target_directory_name": "app",
    "target_directory_structure": "approved_2026-07-30",
    "migration_slice_order": "approved_2026-07-30",
    "execution_mode": "autonomous_until_complete",
    "manual_visual_and_functional_acceptance": "approved_2026-08-01",
    "slice_11_trial_retirements": "confirmed_retired_2026-08-01",
    "styles_css_governance": "automated_complete_manual_visual_pending_2026-08-02",
    "frontend_html_governance": "automated_complete_manual_visual_pending_2026-08-03",
    "frontend_app_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "frontend_market_runtime_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "screener_engine_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "tushare_provider_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "heaven_service_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "market_insights_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "application_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "preservation_audit_governance": "automated_complete_manual_acceptance_pending_2026-08-03",
    "root_compatibility_modules": "19_retired_after_reference_scan_2026-08-03",
    "runtime_artifact_boundary": "centralized_under_runtime_2026-08-03",
    "standalone_source_boundary": "verified_2026-08-03",
    "permanent_documents_inside_app": "verified_2026-08-03",
    "migration_comparison_scaffolding": "retired_after_standalone_acceptance_2026-08-03"
  },
  "manual_acceptance": {
    "accepted_at": "2026-08-01T09:42:04+08:00",
    "runtime": "http://127.0.0.1:8797/",
    "scope": "all pages and all user-testable functions",
    "result": "visual and functional preservation accepted; observed issues were predominantly original-version legacy issues, with no migration regression found that blocks acceptance"
  },
  "verification": {
    "python_tests": 289,
    "javascript_files": 39,
    "api_routes": 74,
    "playwright_tests": 46,
    "sqlite_integrity": "ok",
    "parent_runtime_references": 0
  },
  "open_decisions": [
    "retired_parent_cleanup_after_checkpoint",
    "docker_and_nas_switch_timing"
  ]
}
