Goal
After Registry publication, install the exact published Hugging Face Registry revision, run CLI doctor compatibility checks, and emit a consumer-owned receipt that identifies rollback action on failure.
Why now
Registry goal StatPan/datapan-registry#589 removes CLI checkout and execution from Registry workflows. CLI remains the downstream consumer that can prove real install and doctor compatibility, but that proof must not make Registry build-time behavior depend on CLI source.
Existing evidence
- Registry currently checks out and executes an immutable CLI SHA in release workflows.
- CLI owns local Registry installation, exploration, execution, export, and user credential behavior.
- Published-artifact compatibility is distinct from Registry-native pre-publication integrity and readiness.
Scope
CLI consumes a published Hugging Face payload revision, installs it through the supported client path, runs bounded doctor checks, and emits an immutable compatibility or failure receipt. It does not publish Registry, mutate Registry branches or manifests, or validate unpublished candidate internals.
Acceptance Criteria
Doctor Impact
CLI doctor becomes the consumer-side compatibility authority for the exact published Registry artifact. Registry-native pre-publication checks remain separate, and a failed post-publication smoke produces an explicit rollback signal.
Dependencies and non-goals
Contract alignment with StatPan/datapan-registry#589 is required. No Registry publication rights, cross-repository source dependency, user credential migration, or pre-publication hard gate is authorized.
Completion evidence
Merged child PRs, deterministic success and failure receipts, exact revision bindings, one published-artifact smoke receipt, and a verified rollback-path drill. Unit tests alone are not completion evidence.
Planning Notes
- First safe child: define the CLI-owned, schema-validated post-publication consumer-smoke and rollback-receipt contract, deterministic success/failure fixtures, and offline validators. It must not download an artifact, run
datapan init, execute a public smoke, or claim rollback proof.
- Later child: execute the contract only after an exact published Hugging Face Registry revision and release assets are identified; bind the resulting smoke to that revision and retain a real rollback receipt.
- Do not turn the smoke into a Registry pre-publication gate or delete Registry checkouts/guards in this goal.
Decomposition
- First safe child: define the CLI-owned, schema-validated post-publication consumer-smoke and rollback-receipt contract, deterministic success/failure fixtures, and offline validators. It must not download an artifact, run datapan init, execute a public smoke, or claim rollback proof.
- Later child: execute the contract only after an exact published Hugging Face Registry revision and release assets are identified; bind the resulting smoke to that revision and retain a real rollback receipt.
- Do not turn the smoke into a Registry pre-publication gate or delete Registry checkouts/guards in this goal.
Stop Conditions
- Stop any real smoke or rollback execution when no exact published Registry revision and release assets are available.
- Stop before any change that makes Registry pre-publication release control depend on CLI execution.
Goal
After Registry publication, install the exact published Hugging Face Registry revision, run CLI doctor compatibility checks, and emit a consumer-owned receipt that identifies rollback action on failure.
Why now
Registry goal StatPan/datapan-registry#589 removes CLI checkout and execution from Registry workflows. CLI remains the downstream consumer that can prove real install and doctor compatibility, but that proof must not make Registry build-time behavior depend on CLI source.
Existing evidence
Scope
CLI consumes a published Hugging Face payload revision, installs it through the supported client path, runs bounded doctor checks, and emits an immutable compatibility or failure receipt. It does not publish Registry, mutate Registry branches or manifests, or validate unpublished candidate internals.
Acceptance Criteria
Doctor Impact
CLI doctor becomes the consumer-side compatibility authority for the exact published Registry artifact. Registry-native pre-publication checks remain separate, and a failed post-publication smoke produces an explicit rollback signal.
Dependencies and non-goals
Contract alignment with StatPan/datapan-registry#589 is required. No Registry publication rights, cross-repository source dependency, user credential migration, or pre-publication hard gate is authorized.
Completion evidence
Merged child PRs, deterministic success and failure receipts, exact revision bindings, one published-artifact smoke receipt, and a verified rollback-path drill. Unit tests alone are not completion evidence.
Planning Notes
datapan init, execute a public smoke, or claim rollback proof.Decomposition
Stop Conditions