Skip to main content
Version: Next · Working draft

REL-005 · Artifact Publication Hygiene

Working copy · unratified collection

Standard 0.2.1 · Release Process. Individual standard versions vary within the working collection. Source status labels and predecessor dates do not approve working-copy changes.

Read recorded ratified 0.1.0 · Version history · All versions & release notes

Published OSERA releases preserve the ecosystem's expected package files and bind each promoted file to the patched release with retained acceptance evidence.

Working YAML · Working JSON

Requirement​

Official OSERA releases MUST publish the expected package files and checksums for their package-manager and build-tool ecosystem. A companion artifact (or sidecar) is a separately published file accompanying a package, such as source, documentation, metadata or a test report.

This generic standard defines the publication obligations. Ecosystem profiles define concrete file kinds and content checks; REL-005-JAVA specializes them for Maven/Gradle/JVM publications, regardless of implementation language. REL-005-JAVASCRIPT proposes npm tarball and metadata checks as a Pre-Draft. Unoverridden parent requirements and checks continue to apply under the profile lifecycle.

Required release inventory​

The producer MUST identify the exact upstream baseline package version and repository location, and record its published file inventory. The gate MUST derive the required patched inventory from that inventory and the applicable versioned profile. Every upstream package file MUST have a counterpart for the patched version with the same role, classifier or variant, except for exclusions explicitly defined by that profile. Upstream signatures and checksums are replaced by those for the patched bytes; copying them is not preservation. Repository-wide indexes and mutable download statistics are not package release files.

The upstream baseline release's published package artifacts define the minimum, not a ceiling. Producers MAY publish additional companion artifacts, but profiles MUST NOT require them when upstream does not publish them, and their absence MUST NOT cause acceptance to fail. Any additional artifacts supplied MUST satisfy the applicable identity, integrity and content checks. This inventory rule does not waive OSERA's separately required test and provenance evidence. A producer declaration alone MUST NOT waive a required file. If the upstream inventory cannot be established, the check is unresolved and MUST NOT pass. The acceptance record MUST retain the observed inventory so subsequent repository changes cannot change what was evaluated.

Package metadata MUST identify the patched version consistently with REL-003 and its applicable naming profile.

Per-file binding and promotion​

For each content file to be promoted, the gate MUST record its package/release identity, filename, byte size and SHA-256 digest calculated from the actual uploaded bytes. It MUST verify that the file was uploaded by the same account as the primary package file, and verify its producer signature using the producer identity accepted for that release. A shared upload account or a filename alone is insufficient. Signature and checksum companion files are verified against their target content file; this does not require recursively signing signatures or checksums. The gate MUST ensure that the bytes promoted are the bytes checked.

Every file MUST also pass its applicable profile checks. A missing required file, a digest or signature mismatch, a mismatched uploader, or a failed required content check blocks promotion of the release's required file set, including the primary package. Unexpected uploads MUST remain in staging and be listed with a reason in the verdict; their presence alone need not block an otherwise valid required set. An unexpected file cannot become publishable just because a producer lists it: the applicable profile must recognize its role and checks.

Test-report binding follows REL-001. A legitimately inherited report may remain at its tested release; it is verified there and need not be uploaded again with the consuming release. Re-uploaded copies MUST have identical bytes and meet this release's upload and signature rules.

Retained acceptance record​

For every released binary, or the primary metadata of a metadata-only package, the gate MUST retain an immutable record containing:

  • the package coordinate, source repository, release tag and resolved source commit;
  • filenames, sizes and SHA-256 digests of the promoted set, plus upstream inventory and staged-file disposition;
  • exact standards-pack identifier/version and checksum, the retained pack definition, and every evaluated standard/profile identifier and version;
  • the effective inherited, overridden and added check IDs, severities, results and supporting evidence;
  • the producer, observed upload accounts, signature verification results, and the fitness result and release evidence inspected, retained by content digest.

References MUST resolve to retained immutable evidence or accompany retained copies; a mutable URL alone is insufficient. The record MUST remain available for as long as the release is distributed. The gate MUST finalize and persist the record as part of promotion; it cannot claim CHECK-004 passed merely because it intends to retain a record later. A later evaluation creates a new record without overwriting the original decision.

Versioning and transition​

These additions are proposed for OSERA-SP-0.2.0 in #78. They become required only when a ratified pack includes these exact standard versions and checks. OSERA-SP-0.1.0 remains pinned to REL-005 0.1.0 and its original checks. Implementers MUST NOT evaluate that frozen pack using this draft's revised semantics.

No retroactive sidecar promotion, republishing, evidence rewrite or acceptance-record backfill is required for existing releases. A prior filename-only report binding does not meet the new digest requirement, but does not invalidate an earlier acceptance under its original pack. A new claim against a later pack requires a new evaluation and record.

Scope boundary​

Source archive comparison and artifact digest binding establish consistency of the published files. They do not prove that a binary was built from the claimed source. Full build provenance remains in REL-007. The signature envelope and trust-verification contract are coordinated with #57; listing an implementation binding in the catalog does not mean the fitness or exchange tool already implements it.

See the release-file evidence example and gate responsibilities.

Revisions​

  • 0.1.0, ratified in OSERA-SP-0.1.0 on 2026-09-10: expected package files, checksums and consistent package versions.
  • 0.2.0, draft for OSERA-SP-0.2.0: makes CHECK-001 inventory-based, keeps CHECK-002 ecosystem-neutral, adds CHECK-003 for file binding and staging and CHECK-004 for acceptance records, and introduces REL-005-JAVA. The frozen 0.1.0 pack is unchanged.

Wave 3 profile discovery revision​

Version 0.2.1 adds the JavaScript profile relationship and review link; parent requirement/check semantics are unchanged. This editorial revision is unratified and changes no ratified pack membership.

Version history​

This working copy has moved on. Source content differs from the historical baseline, even if its displayed version is unchanged.

Latest recorded ratified version: 0.1.0, in OSERA-SP-0.1.0 on September 10, 2026. Read the preserved text. No confirmed official archive is published.

CollectionStandard versionStatusEvidence
Next · Working draft0.2.1Working copy; source status: DraftCurrent source
OSERA-SP-0.1.00.1.0Ratified in pack 0.1.0Ratification record · Source snapshot

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: 250
standard_id: REL-005
title: Artifact Publication Hygiene
summary: Published OSERA releases preserve the ecosystem's expected package
files and bind each promoted file to the patched release with retained
acceptance evidence.
extended-by:
- REL-005-JAVA
- REL-005-JAVASCRIPT
doc-status: Draft
standard-version: 0.2.1
candidate-pack: OSERA-SP-0.2.0 required
ratified-in: OSERA-SP-0.1.0
ratified-date: 2026-09-10
fitness-role: Required check
type: REL
category: Release Process
applies-to:
- Patch providers
- Repository operators
- Enterprise recipients
requirements:
- id: REL-005.REQ-001
level: MUST
text: Official OSERA releases must publish counterparts of the exact upstream
baseline release's package files with the required checksums. Additional
companion artifacts are optional; their absence must not fail acceptance
when upstream does not publish them.
checkability: automated
checks:
- id: REL-005.CHECK-001
title: Required release inventory and checksums are present
type: artifact
severity: blocking
implementation: osera-fitness.rel005.package_checksum_hygiene
evidence:
- upstream_release_inventory
- required_release_inventory
- artifact_files
- checksums
- id: REL-005.REQ-002
level: MUST
text: Published package metadata must identify the patched version consistently
with REL-003.
checkability: automated
checks:
- id: REL-005.CHECK-002
title: Package metadata uses the approved patched version
type: artifact
severity: blocking
implementation: osera-fitness.rel005.package_metadata_version
evidence:
- package_metadata
- artifact_version
- release_tag
- id: REL-005.REQ-003
level: MUST
text: Each promoted release file must be bound to the patched release by its
identity, SHA-256 digest, upload account and verified producer signature,
and satisfy the applicable profile's content checks; unrecognized uploads
remain in staging and are reported.
checkability: automated
checks:
- id: REL-005.CHECK-003
title: Promoted files are bound to the release and unrecognized uploads are
staged
type: artifact
severity: blocking
implementation: osera-fitness.rel005.release_file_binding
evidence:
- release_file_inventory
- observed_upload_accounts
- signature_verification
- profile_check_results
- staged_files
- id: REL-005.REQ-004
level: MUST
text: The publication gate must retain an immutable acceptance record for each
released binary or metadata-only package, identifying its exact artifacts,
standards pack, standard versions, effective checks, results and evidence.
checkability: automated
checks:
- id: REL-005.CHECK-004
title: Acceptance record preserves the exact release and evaluation rules
type: release-evidence
severity: blocking
implementation: osera-fitness.rel005.acceptance_record
evidence:
- artifact_digests
- standard_pack
- pack_checksum
- standard_versions
- effective_check_results
- retained_evidence

Source provenance​

Working source · Source SHA-256: 096925acc62eff024bfe96c35990490eb1c3abb673aa9d623199121299aac727.

Supporting guidance links point to the current site guidance; this prototype is not a self-contained release archive.