feat(oci): embed full component metadata for wasm.directory rendering - #313
Merged
Merged
Conversation
…real page wasm.directory shows a component's WIT (with doc comments) + its EMBEDDED package metadata (description/licenses/source/authors/version), which cargo-component bakes into the wasm `package-metadata` section from Cargo.toml. The flight crate carried only name/description/version, and — being a standalone crate — inherits nothing from the workspace root, so the listing had no license or source link. Add license/repository/homepage/documentation/authors/keywords/categories, and rewrite the description for a stranger (drop the internal meld→loom→synth→gale jargon and the confusing "(v1.26.0)"; lead with "formally-verified" + the actual verification tools). Document this as the metadata contract EVERY published relay component must carry (docs/OCI-DISTRIBUTION.md) — the per-component publishing for falcon-rate/estimator/mixer (jess#167) inherits it. Also mark the wasm.directory listing LIVE (namespace accepted, #467 merged). Takes effect on the next release's ghcr push; no code/interface change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvusAXYbHLyv3uTzfBcMbG
avrabe
enabled auto-merge (squash)
July 23, 2026 20:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why (from the "extend the documentation on wasm.directory" ask)
wasm.directory renders a component's WIT interface (with its
///doc comments) plus the component's embedded package metadata —description,licenses,source,authors,version— whichcargo-componentbakes into the wasmpackage-metadatasection fromCargo.toml(confirmed by readingcomponent-cli/src/registry/inspect.rs).Our flight crate carried only
name/description/version, and — being a standalone crate (its own[workspace]) — inherits nothing from the repo root, so the listing had no license and no source link. Empty metadata → bare listing.What
wasm/cm/flight/Cargo.toml: addlicense,repository,homepage,documentation,authors,keywords,categories; rewrite thedescriptionfor an outside reader (drop the internalmeld→loom→synth→galejargon and the confusing(v1.26.0); lead with "formally-verified" + the actual verification tools).docs/OCI-DISTRIBUTION.md: document this as the metadata contract every published relay component must carry — so the per-component publishing forfalcon-rate/estimator/mixer (jess#167) inherits it, not just falcon-flight. Also mark the wasm.directory listing LIVE (namespace accepted, #467 merged → indexed at wasm.directory/pulseengine/falcon-flight/1.128.0).Takes effect on the next release's ghcr push. No code or interface change.
Note on portability
The rewritten description deliberately stays target-agnostic (no Pixhawk 6X-RT / X500-quad specifics) — per the reminder that today's board isn't the contract. relay's components describe the portable verified core; the target/airframe binding is jess-side.
🤖 Generated with Claude Code