Skip to content

feat(review): signal integrity — digests, classifier, airlock, batch - #16

Merged
afelin merged 4 commits into
mainfrom
feat/review-signal-integrity
Aug 25, 2026
Merged

feat(review): signal integrity — digests, classifier, airlock, batch#16
afelin merged 4 commits into
mainfrom
feat/review-signal-integrity

Conversation

@afelin

@afelin afelin commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Offline curbpack review now emits interpretable schema v2 metrics: reference unit (refclass:1), one state per key, unconfirmed causes (producer/extractor/genuine/external), digest self-checks against one-pager provenance.
  • Producer writes result_digest / sbom_digest / vex_digest into provenance; fingerprint includes digests so prepare rewrites existing packs (fixes silent skip).
  • Reader threat model: Lstat/symlink skip, size caps, pathjail, redact-then-emit airlock; --batch expands parent dirs, ranks unreadable → contradicted → genuine, refuses --full.
  • Assessor offline binary / Ladder 3 notes; phase6 gated on sensitivity+specificity; dogfood after prepare: producer/extractor/genuine = 0.

Why

Kill-test % was dominated by self-inflicted noise (missing digests, backtick junk, context-pack cache paths). Review also ate hostile input without airlock. This makes the reader metric real and safe before any cohort.

Test plan

  • go test ./internal/review/... ./internal/release/... ./internal/cli/...
  • go run ./cmd/curbpack check (green)
  • CI required checks on this PR
  • Spot: curbpack prepare-release then curbpack review ./review-pack --json → digests present, P/E/G ≈ 0
  • Spot: curbpack review --batch <parent-of-packs> ranks; --batch --full usage error

Ops checklist (required)

  • Branch is up to date with main before merge
  • Required CI checks are green
  • No direct push to main (PR merge only)
  • Confirm Pages deploy if site content changed (site/for-reviewers/)

Risk / rollback

  • Rollback: revert this PR; Action pin unchanged (@v0.5.2)
  • Document triage only — not conformity assessment / CE / notified-body approval

Made with Cursor

afelin and others added 3 commits August 25, 2026 21:38
Add repo-free review of received packs, sample fixtures, Phase 0 installer/SDD honesty, and reviewers-first site copy. Preserve on a branch for human review — not merge-ready until claim-safety outside sandbox.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Make offline review metrics interpretable and safe on hostile packs: write
payload/file digests into one-pager provenance (fingerprint includes digests
so prepare rewrites), classify references once with causes, redact-then-emit
airlock, and rank --batch with parent expand. Document schema v2 + assessor
offline binary path. Not conformity assessment.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

Curbpack check

✅ Gates green — readiness 100%

Prepares evidence for human review — not a conformity assessment or certification.

Co-authored-by: Cursor <cursoragent@cursor.com>
@afelin
afelin merged commit 87a87ae into main Aug 25, 2026
17 checks passed
@afelin
afelin deleted the feat/review-signal-integrity branch August 25, 2026 21:24
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