{
  "schema-version": "0.1.0",
  "standard": {
    "schema-version": "0.1.0",
    "sequence": 220,
    "standard_id": "REL-002",
    "title": "Bytecode Compatibility",
    "summary": "Patched artifacts preserve the bytecode level of the last released artifact unless an explicit exception is approved.",
    "doc-status": "Draft",
    "standard-version": "0.1.0",
    "candidate-pack": "OSERA-SP-0.1.0 candidate",
    "ratified-in": "Not ratified",
    "ratified-date": "Not ratified",
    "fitness-role": "Required evidence",
    "type": "REL",
    "category": "Release Process",
    "applies-to": [
      "Patch providers",
      "Enterprise recipients"
    ],
    "requirements": [
      {
        "id": "REL-002.REQ-001",
        "level": "MUST",
        "text": "Patched Java artifacts must preserve the bytecode level of the last released artifact unless an exception is approved.",
        "checkability": "automated",
        "checks": [
          {
            "id": "REL-002.CHECK-001",
            "title": "Bytecode level matches the prior released artifact",
            "type": "artifact",
            "severity": "blocking",
            "implementation": "osera-fitness.rel002.bytecode_level",
            "evidence": [
              "artifact_digest",
              "bytecode_level",
              "reference_artifact"
            ]
          }
        ]
      }
    ],
    "source_path": "docs/_standards/rel-002-bytecode-compatibility.md",
    "url": "/standards/rel-002-bytecode-compatibility/"
  }
}
