-
Notifications
You must be signed in to change notification settings - Fork 0
feat(evidence): add deterministic exact snapshot manifests #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wolfiesch
wants to merge
21
commits into
master
Choose a base branch
from
feat/evidence-manifest-v1-20260831
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4fea8bf
feat(evidence): add deterministic exact snapshot manifests
wolfiesch a8aaac5
fix(evidence): use collections ABC imports
wolfiesch e819e4f
fix(evidence): report empty snapshots as exact mismatches
wolfiesch b44b7d8
fix(evidence): make manifest helper type explicit
wolfiesch 6636682
fix(evidence): harden manifest replacement boundaries
wolfiesch 621f003
test(evidence): cover destination and schema attacks
wolfiesch 4842924
fix(evidence): enforce portable artifact paths
wolfiesch d9b77c6
test(evidence): cover path aliases and decoder limits
wolfiesch 7ad5311
docs(evidence): render the CLI example as a code block
wolfiesch e6f2c9d
fix(evidence): require portable manifest filenames
wolfiesch 9420e6c
test(evidence): reject nonportable manifest names
wolfiesch 1d54474
fix(evidence): reject unstable and manifest-aliased artifacts
wolfiesch adfb5bf
test(evidence): cover unstable files and name aliases
wolfiesch 95d5c41
fix(evidence): require a stable portable inventory
wolfiesch bbc5c3e
fix(evidence): bind hashes to the initial walk
wolfiesch a1c8859
fix(evidence): align manifest generation and read limits
wolfiesch 05a75a7
fix(evidence): verify snapshot after publication
wolfiesch f5735a2
test(evidence): cover publish races and size bounds
wolfiesch dbce556
fix(evidence): harden manifest validation and reads
wolfiesch 4ee48cb
fix(evidence): close verification race windows
wolfiesch a16160a
test(evidence): keep deep refusal cross-version
wolfiesch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| { | ||
| "$id": "https://excelbench.dev/schemas/evidence-manifest/v1", | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "artifact_count": { | ||
| "minimum": 1, | ||
| "type": "integer" | ||
| }, | ||
| "artifact_set_sha256": { | ||
| "pattern": "^[0-9a-f]{64}$", | ||
| "type": "string" | ||
| }, | ||
| "artifacts": { | ||
| "items": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "path": { | ||
| "minLength": 1, | ||
| "type": "string" | ||
| }, | ||
| "sha256": { | ||
| "pattern": "^[0-9a-f]{64}$", | ||
| "type": "string" | ||
| }, | ||
| "size_bytes": { | ||
| "minimum": 0, | ||
| "type": "integer" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "path", | ||
| "sha256", | ||
| "size_bytes" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "minItems": 1, | ||
| "type": "array" | ||
| }, | ||
| "observed_at": { | ||
| "format": "date-time", | ||
| "pattern": "Z$", | ||
| "type": "string" | ||
| }, | ||
| "schema": { | ||
| "const": "https://excelbench.dev/schemas/evidence-manifest/v1" | ||
| }, | ||
| "schema_version": { | ||
| "const": 1 | ||
| }, | ||
| "snapshot_id": { | ||
| "minLength": 1, | ||
| "type": "string" | ||
| }, | ||
| "source": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "commit": { | ||
| "pattern": "^[0-9a-f]{40}$", | ||
| "type": "string" | ||
| }, | ||
| "repository": { | ||
| "minLength": 1, | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "repository", | ||
| "commit" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "subjects": { | ||
| "items": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "name": { | ||
| "minLength": 1, | ||
| "type": "string" | ||
| }, | ||
| "sha256": { | ||
| "pattern": "^[0-9a-f]{64}$", | ||
| "type": "string" | ||
| }, | ||
| "version": { | ||
| "minLength": 1, | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "name", | ||
| "sha256" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "type": "array" | ||
| }, | ||
| "total_size_bytes": { | ||
| "minimum": 0, | ||
| "type": "integer" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "schema", | ||
| "schema_version", | ||
| "snapshot_id", | ||
| "observed_at", | ||
| "source", | ||
| "subjects", | ||
| "artifacts", | ||
| "artifact_count", | ||
| "total_size_bytes", | ||
| "artifact_set_sha256" | ||
| ], | ||
| "title": "ExcelBench evidence manifest v1", | ||
| "type": "object" | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.