Target repo
SourceOS-Linux/sourceos-devtools
Context
sourceosctl now has read-only/dry-run scaffolding and schema-backed NLBoot evidence validation. NLBoot now has proven release-candidate artifacts, Cargo.lock, cargo metadata, SBOM wiring, and operator-test release notes. Devtools should inspect local NLBoot release archives before operators attempt installation.
Scope
Implement the smallest bounded change that does the following:
- Add read-only inspection for NLBoot release archive metadata, either under
sourceosctl release inspect <path> or a new adjacent command.
- Validate presence of expected files in a local unpacked fixture or archive fixture:
nlboot-client, Cargo.lock, cargo-metadata.json, sbom.spdx.json, release-manifest.json.
- Add valid and invalid fixtures.
- Update tests and
make validate.
- Update README usage.
Acceptance criteria
make validate passes.
- CLI remains read-only.
- No host mutation or install behavior is added.
- Valid release fixture passes.
- Invalid release fixture fails with a clear error.
- PR body includes validation evidence.
Validation commands
Boundaries / non-goals
- Do not install binaries.
- Do not fetch releases from the network at runtime.
- Do not publish a release.
- Do not change NLBoot runtime behavior.
- One PR only.
Target repo
SourceOS-Linux/sourceos-devtoolsContext
sourceosctlnow has read-only/dry-run scaffolding and schema-backed NLBoot evidence validation. NLBoot now has proven release-candidate artifacts, Cargo.lock, cargo metadata, SBOM wiring, and operator-test release notes. Devtools should inspect local NLBoot release archives before operators attempt installation.Scope
Implement the smallest bounded change that does the following:
sourceosctl release inspect <path>or a new adjacent command.nlboot-client,Cargo.lock,cargo-metadata.json,sbom.spdx.json,release-manifest.json.make validate.Acceptance criteria
make validatepasses.Validation commands
Boundaries / non-goals