All kits

Supply chain kit

Vocabularyv2.0.0

Suppliers, facilities, components and the products that use them, with compliance certificates and supply-chain incidents.

$ cruxible kit add supply-chain
Source on GitHub How kits work

It previews first and writes nothing. Add --commit --at ID with the id it prints to propose the kit.

7kinds36fields5named queriesNames under supply.

Ontology

7 kinds, 36 fields
incident5 fieldsusage4 fieldscertificate6 fieldscomponent7 fieldsproduct3 fieldsfacility6 fieldssupplier5 fields

A field on one kind names a Subject of anotherSelect a kind to open its fields

In the Python SDK

approve_component.py
from cruxible_client import Cruxible

cx = Cruxible.connect()
w = cx.world()

part = w.supply.component["fw-crypto-2.4"]
cert = w.supply.certificate["acme--soc2_type2"]

part.set(
    review_status="approved_for_production",
    # reopens if the certificate verdict or expiry moves
    based_on=[*cert.verdict, *cert.valid_until],
    because="Acme holds an accepted SOC 2 Type II.",
)

Questions to ask it first

  • Which products does a supplier touch?

    supply.affected_products

  • Which certificates lapse soon?

    supply.expiring_certificates

  • Which critical parts lack production approval?

    supply.unapproved_critical_components

  • Where are we exposed to sole-source risk?

    supply.sole_source_critical

  • Which supply incidents are still open?

    supply.open_incidents

  • Which approvals rest on a changed certificate?

    cruxible next lists each as claim_dependency_stale

Full manifest reference