Skip to main content
Version: Pack 0.1.0

REL-002 · Bytecode Compatibility

✓ Ratified in pack 0.1.0

Standard 0.1.0 · Release Process. Ratified September 10, 2026.

Version history · All versions & release notes

Patched artifacts preserve the bytecode level of the last released artifact unless an explicit exception is approved.

Requirement​

Patch providers MUST guarantee that patched Java artifacts are released at the correct bytecode version.

The bytecode level SHOULD be determined from the last released artifact, not solely from the fork's build configuration.

Rationale​

Old source trees do not always encode the runtime compatibility level that enterprise consumers rely on. Publishing a patch at the wrong bytecode level can break consumers even when source tests pass.

Acceptance check​

The working group SHOULD define an automated publish-time check that compares bytecode level against the last released artifact for the same line.

Evidence​

Release evidence SHOULD include the bytecode level, how it was determined, and whether the published artifact was checked before release.

Illustrative evidence​

See OSERA Commit Evidence for legacy proof-of-concept illustrations. These historical examples do not establish conformance with the ratified pack. Current release examples use the OSERA-SP-0.1.0 naming conventions.

Version history​

This page preserves the proposed historical source. Open the central version register for current history and publication status.

Structured requirements and checks​

These definitions come from this page's source front matter. Profile inheritance remains defined by the referenced parent; these are local definitions, not a resolved conformance catalog.

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: Ratified
standard-version: 0.1.0
candidate-pack: OSERA-SP-0.1.0 ratified
ratified-in: OSERA-SP-0.1.0
ratified-date: 2026-09-10
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 provenance​

Source snapshot: Reconstructed from the source recorded at ratification; snapshot verification pending.

Historical source at 51e0afe · Source SHA-256: 77a2195ef359325df0f3819714977463442eab1a1981389e741b0121d7b2fe78.

Supporting guidance links point to the same historical Git revision; this prototype is not a self-contained release archive.