{
  "schema": "codex_1c_moxel_schema_registry.v1",
  "generated_at": "2026-06-27T15:19:20Z",
  "sources": [
    "reports\\1c-template-probes\\upo_test_auto_moxel_schema_discovery.json",
    "reports\\1c-template-baselines\\Primer3_moxel_schema_discovery.json",
    "reports\\1c-template-baselines\\moxel-named-range-rules.json"
  ],
  "policy": {
    "read_use": "Only verified_read rules may be used as decoder behavior without additional diagnostics.",
    "write_use": "All MOXCEL write rules are blocked until a disposable-base round-trip proves exact behavior."
  },
  "rules": [
    {
      "id": "inline_text_column_from_last_preceding_scalar_plus_one",
      "target": "moxel.inline_text_cell.column",
      "expression": "one_based_column = int(last_numeric(preceding_scalars)) + 1",
      "raw_scalar_indexes": null,
      "confidence": "high",
      "read_status": "verified_read",
      "write_status": "blocked_until_roundtrip",
      "evidence": {
        "ok": 16,
        "total": 16
      },
      "source_rule": {
        "id": "inline_text_column_from_last_preceding_scalar_plus_one",
        "target": "moxel.inline_text_cell.column",
        "expression": "one_based_column = int(last_numeric(preceding_scalars)) + 1",
        "confidence": "high",
        "evidence": {
          "ok": 16,
          "total": 16
        },
        "samples": [
          {
            "text": "3-7",
            "style_tree_position": "$.20",
            "expected_col": 7,
            "predicted_col": 7,
            "ok": true,
            "preceding_last": 6,
            "current_decoded_col": 7
          },
          {
            "text": "4-6",
            "style_tree_position": "$.27",
            "expected_col": 6,
            "predicted_col": 6,
            "ok": true,
            "preceding_last": 5,
            "current_decoded_col": 6
          },
          {
            "text": "10-2",
            "style_tree_position": "$.60",
            "expected_col": 2,
            "predicted_col": 2,
            "ok": true,
            "preceding_last": 1,
            "current_decoded_col": 2
          },
          {
            "text": "10-3",
            "style_tree_position": "$.62",
            "expected_col": 3,
            "predicted_col": 3,
            "ok": true,
            "preceding_last": 2,
            "current_decoded_col": 3
          },
          {
            "text": "10-4",
            "style_tree_position": "$.64",
            "expected_col": 4,
            "predicted_col": 4,
            "ok": true,
            "preceding_last": 3,
            "current_decoded_col": 4
          },
          {
            "text": "11-2",
            "style_tree_position": "$.69",
            "expected_col": 2,
            "predicted_col": 2,
            "ok": true,
            "preceding_last": 1,
            "current_decoded_col": 2
          },
          {
            "text": "11-3",
            "style_tree_position": "$.71",
            "expected_col": 3,
            "predicted_col": 3,
            "ok": true,
            "preceding_last": 2,
            "current_decoded_col": 3
          },
          {
            "text": "11-4",
            "style_tree_position": "$.73",
            "expected_col": 4,
            "predicted_col": 4,
            "ok": true,
            "preceding_last": 3,
            "current_decoded_col": 4
          },
          {
            "text": "12-1",
            "style_tree_position": "$.78",
            "expected_col": 1,
            "predicted_col": 1,
            "ok": true,
            "preceding_last": 0,
            "current_decoded_col": 1
          },
          {
            "text": "12-2",
            "style_tree_position": "$.80",
            "expected_col": 2,
            "predicted_col": 2,
            "ok": true,
            "preceding_last": 1,
            "current_decoded_col": 2
          },
          {
            "text": "12-3",
            "style_tree_position": "$.82",
            "expected_col": 3,
            "predicted_col": 3,
            "ok": true,
            "preceding_last": 2,
            "current_decoded_col": 3
          },
          {
            "text": "12-4",
            "style_tree_position": "$.84",
            "expected_col": 4,
            "predicted_col": 4,
            "ok": true,
            "preceding_last": 3,
            "current_decoded_col": 4
          },
          {
            "text": "17-2",
            "style_tree_position": "$.89",
            "expected_col": 2,
            "predicted_col": 2,
            "ok": true,
            "preceding_last": 1,
            "current_decoded_col": 2
          },
          {
            "text": "18-4",
            "style_tree_position": "$.94",
            "expected_col": 4,
            "predicted_col": 4,
            "ok": true,
            "preceding_last": 3,
            "current_decoded_col": 4
          },
          {
            "text": "18-5",
            "style_tree_position": "$.96",
            "expected_col": 5,
            "predicted_col": 5,
            "ok": true,
            "preceding_last": 4,
            "current_decoded_col": 5
          },
          {
            "text": "18-6",
            "style_tree_position": "$.98",
            "expected_col": 6,
            "predicted_col": 6,
            "ok": true,
            "preceding_last": 5,
            "current_decoded_col": 6
          }
        ]
      }
    },
    {
      "id": "moxel_rule_2",
      "target": "moxel.named_range.left",
      "expression": "one_based = int(raw_scalar) + 1",
      "raw_scalar_indexes": [
        2,
        4
      ],
      "confidence": "medium",
      "read_status": "candidate_read",
      "write_status": "blocked_until_verified_read",
      "evidence": {},
      "source_rule": {
        "target": "moxel.named_range.left",
        "raw_scalar_indexes": [
          2,
          4
        ],
        "expression": "one_based = int(raw_scalar) + 1",
        "confidence": "medium"
      }
    },
    {
      "id": "moxel_rule_3",
      "target": "moxel.named_range.right",
      "expression": "one_based = int(raw_scalar) + 1",
      "raw_scalar_indexes": [
        2,
        4
      ],
      "confidence": "medium",
      "read_status": "candidate_read",
      "write_status": "blocked_until_verified_read",
      "evidence": {},
      "source_rule": {
        "target": "moxel.named_range.right",
        "raw_scalar_indexes": [
          2,
          4
        ],
        "expression": "one_based = int(raw_scalar) + 1",
        "confidence": "medium"
      }
    },
    {
      "id": "moxel_rule_4",
      "target": "moxel.named_range.top",
      "expression": "one_based = int(raw_scalar) + 1",
      "raw_scalar_indexes": [
        3,
        5
      ],
      "confidence": "medium",
      "read_status": "candidate_read",
      "write_status": "blocked_until_verified_read",
      "evidence": {},
      "source_rule": {
        "target": "moxel.named_range.top",
        "raw_scalar_indexes": [
          3,
          5
        ],
        "expression": "one_based = int(raw_scalar) + 1",
        "confidence": "medium"
      }
    },
    {
      "id": "moxel_rule_5",
      "target": "moxel.named_range.bottom",
      "expression": "one_based = int(raw_scalar) + 1",
      "raw_scalar_indexes": [
        3,
        5
      ],
      "confidence": "medium",
      "read_status": "candidate_read",
      "write_status": "blocked_until_verified_read",
      "evidence": {},
      "source_rule": {
        "target": "moxel.named_range.bottom",
        "raw_scalar_indexes": [
          3,
          5
        ],
        "expression": "one_based = int(raw_scalar) + 1",
        "confidence": "medium"
      }
    }
  ],
  "counts": {
    "rules": 5,
    "verified_read": 1,
    "candidate_read": 4,
    "write_enabled": 0
  }
}