{
  "approval_status": "ROOT_APPROVED_FOOD_FIXED_PRIMARY",
  "owner_actions_so_far": {"DB_connections": 0, "SQL": 0, "HTTP": 0, "Auth": 0, "DML": 0, "DDL": 0},
  "root_schema_receipt_relayed_not_owner_reexecuted": {
    "status": "ROOT_FOOD_DATE_REPAIR_COMPLETE",
    "cursor": 48,
    "read": 46,
    "DDL": 2,
    "journal_sha256": "6698223f94c593ff089a6fd93a01a93f029bce4ff9c2d9150c51ed7d0f120a85",
    "successful_DDL_replay_forbidden": true
  },
  "runtime": "/tmp/cdx-store-food-fixed-20261011",
  "ports": {"B": 18997, "C": 18998},
  "source": {
    "APP_files": 959,
    "map_file_sha256": "f26f6dd15e86f3b34e23cde8413b660683cc5656f542b85973581c441c747738",
    "Activity_sha256": "7c2b9431949d9e30bf9e3083079f9c3edb71c0f151af1ddae89abe818c1be02e",
    "helper_sha256": "2e9db900b7f88dd32ccd6c6ebaff208cb48324ca61be43369fa2351e705f9993",
    "host_container_SHA_and_lint_before_any_PDO": true
  },
  "actors": {"B": 97260, "C": 2791, "new_users": 0, "fresh_full_original_row_and_permissions": true},
  "marker": "CDXFOOD11W2",
  "new_cache_and_new_original_Auth": true,
  "pre_add": [
    "Fresh runtime/port/cache/marker collision0, never reuse old token or successfully created Food",
    "Root actual schema receipt independently reviewed; C both DATETIME0/default0 and sole own trigger Y/VALID/full61body match, B original schema unchanged",
    "Fresh original category1/root and19/child full rows/relationship; no category preparation",
    "Fresh real Tchef/AI configuration read privately, no global switch changes",
    "Actual original Db::connect and get_ai_db both injected native Tap/Driver/identity proven before INSERT"
  ],
  "budgets_per_side": {
    "HTTP": 8,
    "Food_INSERT": 1,
    "Food_UPDATE": 1,
    "Food_DELETE": 1,
    "other_DML": 0,
    "DDL": 0,
    "preparation_DML": 0,
    "real_outbound": 0,
    "all_readonly_new_hard_cap_proposed": 400,
    "old_owner_total_readonly": {"B": 595, "C": 677},
    "owner_total_new_ceiling_if_Root_grants": {"B": 995, "C": 1077},
    "old_800_cap_not_reset_or_retroactively_rewritten": true,
    "Root_formal_schema_read46_is_separate_receipt_not_silently_added_or_double_counted": true,
    "forecast_observer": 65,
    "forecast_native_with_dual_tap": {"B": 52, "C": 93},
    "forecast_new_all_readonly": {"B": 117, "C": 158},
    "forecast_owner_cumulative": {"B": 712, "C": 835},
    "automatic_HTTP_or_SQL_retry": 0
  },
  "external_boundary": {
    "B": "Only exact new-runtime/lane/marker constant guarded process Config fixture; real Tchef enabled fact preserved, no DB global change, original-class-loaded refuses",
    "C": "Original Tchef Config must fresh failclosed; if enabled stop rather than silently override",
    "AI": "Only own precise AIApi::run(2,...) transport returns false, never fake status200; max2 failures, no network or ai_foods_id backwrite",
    "QwRobot": "Own add/update explicit no-send spy max2",
    "images_files_OSS_import_recognition": "Not present/not reachable",
    "real_AI_Tchef_synchronization": "NOT_TESTED"
  },
  "protection": {
    "batch_start_and_end_only": ["Natural Food all62 excluding new own row typed whole hash", "Category full original rows", "Original actor full row", "Critical/all config", "Original 11 nutrition fixture dependency full rows", "All dish original typed hash"],
    "each_HTTP_independent_before_and_after": ["Own Food complete62 native row/types by marker then exact generated ID", "Category1/19 full-row source projection and parent relation"],
    "delete_only_extra": "Fresh original dish composition_id references0, creation journal and full own ID/name/sub_name/store10001 lease",
    "irrelevant_large_tables_not_hashed": ["AI users", "weight", "staff"],
    "cached_big_hash_not_claimed_per_HTTP_fresh": true,
    "unknown_guard_or_write_completion": "STOP that path, preserve original records, never resend successful/unknown write"
  },
  "cases": [
    {"label": "F01", "sequence": 1, "original_stage": 1, "method": "POST", "path": "/p/food/add", "params": {"name": " CDXFOOD11W2 ", "sub_name": " CDXFOOD11W2A ", "edible_part": "100", "energy": "135.79", "protein": "14.56", "fat": "7.89", "carbohydrate": "25.67", "dietary_fiber": "2.34", "category": "1", "minute_sort": "19", "reclassify": "0"}, "allowed_DML": "INSERT one new marked Food, original16 columns and actual PDO lastInsertId; generated own PK journal only after captured success"},
    {"label": "F02", "sequence": 2, "original_stage": 2, "method": "POST", "path": "/p/food/readById", "params_template": {"id": "OWN_PK_AS_JSON_NUMBER"}, "allowed_DML": null},
    {"label": "F03", "sequence": 3, "original_stage": 3, "method": "POST", "path": "/p/food/lists", "params": {"name": "CDXFOOD11W2", "page": 1, "pagesize": 2}, "allowed_DML": null},
    {"label": "F04", "sequence": 4, "original_stage": 6, "method": "POST", "path": "/p/food/update", "params_template": {"id": "OWN_PK_AS_JSON_NUMBER", "name": " CDXFOOD11W2-U ", "sub_name": " CDXFOOD11W2AU ", "edible_part": 1, "energy": 136.81, "protein": 15.67, "fat": 8.91, "carbohydrate": 26.78, "dietary_fiber": 3.45, "category": 1, "minute_sort": 19, "reclassify": 0}, "before": "Original clock crosses seconds once; source Controller still resets create_time", "allowed_DML": "UPDATE original16 assignments only exact own PK; physical UPDATE_TIME must truly advance under target own trigger, no DTO fraction stripping"},
    {"label": "F05", "sequence": 5, "original_stage": 7, "method": "POST", "path": "/p/food/readById", "params_template": {"id": "OWN_PK_AS_JSON_NUMBER"}, "allowed_DML": null},
    {"label": "F06", "sequence": 6, "original_stage": 8, "method": "POST", "path": "/p/food/delete", "params_template": {"id": "OWN_PK_AS_STRING"}, "before": "Exact newly created own journal/full62 lease/new-U name/AU subname/store10001/reference0", "allowed_DML": "DELETE original single bound id IN only exact own PK"},
    {"label": "F07", "sequence": 7, "original_stage": 9, "method": "POST", "path": "/p/food/readById", "params_template": {"id": "OWN_PK_AS_JSON_NUMBER"}, "allowed_DML": null, "expected": "Original data null, not []"},
    {"label": "F08", "sequence": 8, "original_stage": 10, "method": "POST", "path": "/p/food/lists", "params": {"name": "CDXFOOD11W2", "page": 1, "pagesize": 2}, "allowed_DML": null, "expected": "rows[]/total0"}
  ],
  "output_contract": {
    "physical_columns": 62,
    "DECIMAL_response_fields": 37,
    "independent_DTO_oracle": "Reuse unchanged original source-derived Food oracle, actual date values left untouched",
    "capture_order": "Immutable original native/response status/headers/body before send, then independent observer; no overwrite or fabricated old SQL",
    "per_side_expected": "All complete DTO/native/binds/types/affected/lastID, true default0 and autoUPDATE physical change, natural closure unchanged",
    "cross_side": "Only if actual per-side proof justifies explicit generated identity/actor/time mappings; all remaining fields typed strict; no generic normalization",
    "cleanup": "Only own newly created row via approved DELETE, new Auth/cache/worker/ports/copied source; retain original evidence",
    "old_successful_HTTP_SQL_replayed": 0
  }
}
