fix(source): repair web delta exact-head validation - #2106
Draft
bartytime4life wants to merge 10 commits into
Draft
fix(source): repair web delta exact-head validation#2106bartytime4life wants to merge 10 commits into
bartytime4life wants to merge 10 commits into
Conversation
4 tasks
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.
Status
CONFIRMED: This bounded repair is complete at head
07337d473dda41195cbc41164f4210c5bb7d6c6f. The focusedsource-web-delta-profileworkflow run31148650755completed successfully at that exact head.This pull request remains draft, open, and unmerged.
Failure record
The initial license-respectful web-delta slice landed through PR #2102 at
3fe819cff5e8d6f022c0a0a0dfd9bbb03a5d839c. Repository automation merged it while its focused workflow run31146556779, job92767075176, was failing.The failure was bounded to deterministic fixture validation and test invocation. It did not involve a live source, source rights decision, source activation, lifecycle write, evidence object, policy decision, release, deployment, or publication.
Root cause
Two implementation defects were confirmed:
validate_web_delta_profile.pyby file path. That execution mode did not reliably provide the repository root as Python鈥檚 import root, so the expected machine-readableUNSAFE_FILEresult was not emitted.304fixture records contained malformed SHA-256 test literals鈥攖wo manifest digests were 62 hexadecimal characters and one raw digest was 66. Strict JSON Schema validation therefore stopped before semantic heartbeat assertions. Correcting those literals restored the payload hashes and event IDs already stored in the original fixture manifests.The generated authoring receipt then became stale as the repair changed tracked artifact bytes.
Repair
identity-corrections.jsonas an append-only correction record for exactly two cases and three malformed digest attributes;replay_web_delta_profile_fixtures.py, which verifies every prior value before applying corrections in memory;Exact-head validation
Focused validation at
07337d473dda41195cbc41164f4210c5bb7d6c6f:31148650755: SUCCESS;304no-action heartbeat: PASS;This record asserts the focused slice only. It does not represent every repository-wide check as uniformly complete; unrelated or broader hosted checks retain their own dispositions.
Trust boundary and non-effects
This remains fixture-only and no-network. It does not:
Unknown or ambiguous rights remain metadata-only and fail closed.
Rollback
Before merge, close this draft pull request and delete
agent/source-web-delta-profile-fix-20260807.After an authorized merge, revert the bounded repair commit or merge commit. No live source, database, queue, lifecycle record, cache, deployment, release, or published artifact requires restoration.