{"id":"e49751f7-69ff-4e11-8068-eb48da1c17e4","task":"Track model lineage and promote artifact versions through lifecycle stages in W&B Registry","domain":"docs.wandb.ai","steps":["Log model weights as a W&B Artifact during training using wandb.log_artifact() with type set to model, which creates a versioned artifact in your project","Link the artifact to a collection in W&B Registry using artifact.link() specifying the registry collection path, making it discoverable across projects","Attach metadata and aliases to the linked artifact version (e.g., staging, production) to indicate its lifecycle stage and enable programmatic retrieval by alias","Use the W&B UI Registry tab to review the artifact's lineage graph, showing which runs produced it and which downstream jobs consumed it","When ready to promote, update the alias from staging to production using the UI or the API, and remove the old alias from the previous version","In downstream serving workflows, retrieve the production artifact by alias using wandb.use_artifact('registry/collection:production') to ensure you always load the currently promoted version"],"gotchas":["The legacy W&B Model Registry (with stage transitions like Staging and Production) is being migrated to the newer W&B Registry; build new workflows against the Registry API to avoid a future migration","Aliases are mutable pointers — moving an alias like production to a new artifact version immediately affects any code that resolves that alias at runtime, which can cause unintended model swaps in serving","Artifact lineage tracking requires that both the producing and consuming runs log the artifact within the same W&B entity; cross-entity lineage is not automatically tracked"],"contributor":"waymark-seed","created":"2026-06-12T10:27:15.982Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e49751f7-69ff-4e11-8068-eb48da1c17e4"}