Skip to content

fix(corpus): make hosted evidence reproducible - #77

Merged
Tom409114 merged 9 commits into
mainfrom
fix/corpus-root-eligible-sample
Sep 1, 2026
Merged

fix(corpus): make hosted evidence reproducible#77
Tom409114 merged 9 commits into
mainfrom
fix/corpus-root-eligible-sample

Conversation

@Tom409114

Copy link
Copy Markdown
Owner

What changed

  • selects immutable root-eligible repositories from two popularity strata with bounded, validated GitHub API use
  • records candidate and selected-sample provenance, exact root blob evidence, request counts, exclusions, hashes, runtime, limits, and a copyable replay contract
  • treats truncated trees and repository failures as explicit exclusions/failures instead of silently promoting incomplete scans
  • keeps findings source-free while preserving stable IDs and immutable source URLs
  • hardens replay against dirty worktrees, hidden index state, Git hooks/filters/fsmonitor, redirected Git state, input collisions, evidence mutation, stale dependencies, runtime drift, and token leakage
  • verifies raw tracked bytes/modes/OIDs, exact index/tree equality, evidence SHA-256 before and after install, and a fresh exact-HEAD checkout supplied by the caller

Verification

  • 59 test files: 968 passed, 7 skipped
  • TypeScript typecheck
  • Biome: 177 files, no warnings
  • actionlint
  • build
  • rules, schemas, and README demo generators
  • README parity and generated-artifact cleanliness
  • git diff --check
  • two independent final reviews: Ready, no Critical/Important/Minor findings

Safety

This PR does not publish npm, create tags/releases, or merge release PR #66. It only hardens the read-only corpus evidence workflow.

@Tom409114
Tom409114 merged commit bf37b41 into main Sep 1, 2026
18 checks passed
@Tom409114
Tom409114 deleted the fix/corpus-root-eligible-sample branch September 1, 2026 03:44
This was referenced Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant