Skip to content

bom: SPDX 3.0-style Model BOM generator + lineage registry + emitted BOMs - #480

Merged
ronaldtse merged 1 commit into
mainfrom
sbom/model-bom-generator
Nov 24, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
sbom/model-bom-generator

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • scripts/generate_model_bom.py: generates a self-contained SPDX 3.0-style JSON Model BOM per model from the org's existing registries — model = Package (artifact checksums, license, release asset refs, parity, eval metric references), training data = Dataset dependencies carrying the corpora split sha256 pins (from corpora/*.yaml), lineage = dependsOn / descendantOf relationships.
  • bom/lineage.yaml: the declarative model -> corpus linkage (implicit today in prose trained_from/card text) + gated-pending entries.
  • Emitted for:
    • heb-vocalized-plane-3.0 (shipped): artifact sha256 d6833fc7…, BSD-3-Clause, both gold + weak-pretrain corpora with their split pins, evals (DER 6.6078 crown protocol).
    • urd-vocalized-2.0 (gated-pending): carries no artifact sha256/urls — never pre-staged per owner law (TODO.sota/92); records the public-only lineage (teacher urd-vocalized-base-1.0 / run-066 trace), the clean-room distill candidates, and the verbatim Clause 16(e) calibrated FAIL verdict (2026-11-23, AUC 0.6475, records path).
  • .sha256 sidecars emitted per the house sidecar pattern.
  • No ship-sequence changes: the ship runbook, models.yaml, and index tooling are untouched; the BOM attaches to existing release tags as a follow-up asset upload.

Local verification

python3 scripts/generate_model_bom.py --model heb-vocalized-plane-3.0 --model urd-vocalized-2.0 -> both documents emitted; gated-pending assertion (no artifact data) enforced in code; committed outputs inspected (checksums/splits/relationships verbatim from registries).

Test plan

  • python3 scripts/generate_model_bom.py --all exits 0
  • Committed BOMs match regeneration modulo creation timestamp
  • Follow-up (after merge): attach bom/heb-vocalized-plane-3.0.spdx.json + sidecar to the existing heb-vocalized-plane-3.0 release tag

…BOMs

Formalizes the recorded model provenance (models.yaml artifact/license/
metrics/parity, corpora/*.yaml sha-pinned splits, card + TODO lineage)
into a self-contained SPDX 3.0-style JSON per model: model = Package,
training data = Dataset dependencies carrying the split sha256 pins,
lineage = relationships. bom/lineage.yaml is the declarative model ->
corpus registry plus gated-pending entries. Emitted for
heb-vocalized-plane-3.0 (shipped) and urd-vocalized-2.0 (gated-pending:
no artifact sha/urls pre-staged per owner law — the ship runbook is not
altered; the BOM records the 16(e) FAIL verdict and lineage).
@ronaldtse
ronaldtse merged commit f8385e6 into main Nov 24, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant