Spec v0.4: cartridge blueprints (SKEEP-007, ADR-015) - #7
Merged
Merged
Conversation
…rovenance cartridge-blueprint.schema.json and materialization-profile.schema.json with a worked FunctionGemma pair; the descriptor resolved from the pair validates against the descriptor schema. Manifest schema gains optional provenance.blueprint and provenance.materialization (additive; the three existing example manifests validate unchanged and still verify). The descriptor spec_version accepts 0.3 and 0.4 -- its shape is unchanged.
…-007 A blueprint is the open, weight-free recipe a cartridge is built from: sources pinned by revision and digest with a license and a redistribution class, a pinned toolchain, targets, flavors, declared inputs, steps from a closed vocabulary, outputs mapped to manifest artifacts. Materialization executes it against a profile and yields an ordinary signed cartridge whose manifest records the blueprint. Concept page cross-references (anatomy, developing, modes B and C, OQ11), roadmap entry for the materializer, changelog v0.4; the concept page header no longer says spec version 0.2.
…blueprint vs. cartridge Tutorial (preview of the materializer interface), how-to for downstream/private materialization without a fork, and an explanation page; navigation and README entries.
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.
Tracking issue: #6. Proposal:
docs/modules/ROOT/pages/skeep/007-cartridge-blueprints.adoc.What this adds
A blueprint is the open, weight-free recipe a cartridge is built from; materialization executes it against a profile and yields an ordinary signed cartridge. This is what lets a cartridge be open source when its weights cannot live in a source repository, and it turns the prose build loop ("Developing a cartridge") into something a machine and a reviewer can check.
blueprints.adoc(normative, drafted): terms; MUST / MUST NOT; anatomy ofblueprint.json; a closed step vocabulary (fetch,convert,quantize,export,compile,build-runtime,measure,pack,sign); the ten-step materialization procedure; descriptor resolution (the honesty rule is kept — a recipe may carry only reference measurements); licensing evaluated at materialization with a per-source redistribution class (allowed/restricted/acceptance-required); provenance; downstream/private materialization without a fork; reproducibility (direction, OQ11); open questions OQ-B1…B4.cartridge-blueprint.schema.json,materialization-profile.schema.json+ a worked FunctionGemma pair.provenance.blueprintandprovenance.materialization(additive). Descriptorspec_versionaccepts0.3and0.4(shape unchanged).Verification
cartridge-descriptor.schema.json.performanceinside a template, a source file without a digest, an unknown redistribution class, blueprint provenance without a digest.verify_manifest.py→ALL SIGNATURES OK.{spec_version}renders 0.4);./gradlew buildgreen.Review notes
SKaiNET-developers/skainet-cartridge-blueprints, which does not exist yet — adjust if the repository gets a different name.