Issue #24: add deterministic Hugging Face identity observation - #25
Draft
mark-e-deyoung wants to merge 1 commit into
Draft
Issue #24: add deterministic Hugging Face identity observation#25mark-e-deyoung wants to merge 1 commit into
mark-e-deyoung wants to merge 1 commit into
Conversation
Contributor
Author
Exact-head verification checkpointPR head
This is sufficient evidence for the bounded #24 gate: the reviewed HF fixture can be transformed deterministically into an exact repository-commit-strength observation without network access or model bytes. It does not authorize broader #9 implementation or native acquisition before the first consumer local-handle contract is known. |
This was referenced Sep 1, 2026
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.
Purpose
Implement issue #24: the minimum deterministic Hugging Face identity gate required by the first
desktop-ui-cvconsumer, without waiting for the entire #9 observatory.This is a stacked draft PR on top of #23 (
impl/issue-12-provider-fixtures). Retarget after the prerequisite stack lands.Included
schemas/model-observation-v1.schema.jsontools/normalize_hf_observation.pyidentity_strength: repository_commit;observed_atfrom captured provenance rather than wall clock;tests/test_hf_observation.py.github/workflows/issue-24-hf-observation.ymlcmps byte output;repository_commitstrength.Deliberate boundary
This increment does not add Civitai/Ollama/OpenRouter normalization, drift persistence, append-only events, experiment binding, standards export, database/service infrastructure, acquisition, or model bytes.
The point is to prove that the already-captured HF evidence can produce the exact immutable binding needed by the first consumer using small deterministic machinery.
Critical identity rule
The underlying #12 fixture pair proves:
fe7563292bb52ab6c235fc3c87157e6a14017479toa3c224bdd97ed6de15baef3524eb590c480e0d78;The normalized observation therefore keeps
source_revisionand file evidence independent rather than treating repository movement as a payload-digest change.Pre-commit verification
A local isolated prototype using the exact projected #12 fixtures passed 7 tests before staging. The committed CI adds the repository-relative evidence-ref check and exact-head repeatability proof.
Related: #9, #12, #18, #19, #23, #24;
SemperSupra/desktop-ui-cv#17/#19.