fix(kpi): restack provenance JSON byte integrity on 4b45ca main - #323
fix(kpi): restack provenance JSON byte integrity on 4b45ca main#323seonghobae wants to merge 1 commit into
Conversation
|
Warning Review limit reached
Next review available in: 29 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Purpose
Rebuild only PR #321's strict production-KPI provenance byte-integrity hardening onto current protected
mainafter #316 and #322 advanced the base. No predecessor CI, review, scanner, coverage, production-KPI, release, deployment, legal-rights, or acquisition authority transfers.Exact construction
mainimmediately before publication:4b45caae6a543759f54caafb959e2cffe653fe05;7f3519161d2b650cbccd8a4b8300fe53bbcbda4a;5a200e80cbf77fbb0f6dbd33242f56e869008f88;scripts/kpi-gate.mjsandtest/kpi-provenance-json-integrity.test.ts.Protected-main movement since #321's base changes workflow-registry and release-SBOM integrity paths, so this successor overlays #321's exact two head blobs without overwriting intervening protected bytes.
KPI provenance integrity contract
Strict provenance remains raw bytes until fatal UTF-8 decoding, then rejects escape-equivalent duplicate decoded JSON object names before
JSON.parseor production-source identity, collection timestamp, record count, SHA-256/byte-size, verified snapshot, final identity, and least-authority KPI child-process decisions. Existing production-source/provenance binding remains unchanged. This does not synthesize or claim a real 30-day production KPI window.Evidence boundary
Keep Draft until this unchanged exact head receives fresh terminal-success application
ci,reviewer-ci, protected-base-eligible centralSecurity Scan, exact configured 100% owned production statement/branch/function/line coverage with realistic tests, and zero valid unresolved findings. Pending, queued, skipped, absent, neutral, failed, cancelled, stale, predecessor, status-only, model-only, or rate-limited evidence is non-passing.Immediately before Ready or merge, independently re-resolve protected main, exact head/base/ancestry, formal reviews/threads, checks and checkout SHAs, live rulesets, central Security Scan revision/triggers/base filters/thresholds, releases, and writer state.
Supersedes #321 only after fresh exact-head verification and protected integration. Related: #3.