fix(reporting): require complete tier evidence for publication - #77
fix(reporting): require complete tier evidence for publication#77chrisknvidia wants to merge 8 commits into
Conversation
77f26b8 to
c2a546d
Compare
mohgupta-ship-it
left a comment
There was a problem hiding this comment.
Codex review on behalf of Mohit — REQUEST CHANGES
Critical publication-integrity blocker. I safely reproduced a rendered card that recommends publication for skill-b using a complete Tier 3 payload for skill-b, unrelated Tier 1/Tier 2 results for skill-a, and even a blank default-passing Tier 1 ValidationResult. The public benchmark scanner accepted the resulting PASS card.
The documented split-tier aggregation path needs coherence, not only presence checks. Persist a canonical target/run identity — preferably a content digest plus evaluation identity — for every Tier 1/2/3 result and policy record. Return INCOMPLETE unless all required evidence matches the selected Tier 3 identity, and require recognized Tier 1 execution evidence rather than accepting arbitrary default-passing results. Add mixed-skill, blank-Tier-1, and unrelated-policy regressions.
396ce24 to
9a115b2
Compare
There was a problem hiding this comment.
Codex review — REQUEST CHANGES
I reproduced four current-head publication-integrity failures. The inline comments include the concrete failure modes and remediation direction. Focused publication/reporting/runtime regressions passed (1,449 passed, 5 skipped), Ruff and diff checks are clean, and all 15 GitHub checks are green.
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
9a115b2 to
4f4c44f
Compare
rng1995
left a comment
There was a problem hiding this comment.
Current-head re-review: I verified that all four prior rng1995 findings are genuinely fixed, and those already-resolved threads should remain resolved. The remediated publication/confusable/digest cases and focused suites pass. I found three separate current-head integration defects in the new report identity/output plumbing, so I am requesting changes rather than approving. Verification covered 1,114 publication/reporting/gate tests (2 skipped) plus 423 command/runtime/output tests (4 skipped); Ruff and diff checks are clean. The sole red Gitleaks job comes from unrelated fetched-branch commits, not this PR head.
|
@chrisknvidia Gentle ping when you have a chance: the three current review threads are still waiting for an update or response. Please take a look when you can. |
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
…ence Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
rng1995
left a comment
There was a problem hiding this comment.
Thorough re-review of the current head. All GitHub checks are green and the full local test suite passes, but the inline findings below identify reproducible publication-integrity, report-safety, and CLI/context regressions that need correction before approval. Each publication bypass was reproduced end to end through the reporters and generated benchmark gate.
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
rng1995
left a comment
There was a problem hiding this comment.
Re-reviewed the complete final diff after all eight requested changes were addressed. Verified publication-evidence reconciliation, Tier 3 runtime identity binding, benchmark-card parser hardening, report-output isolation, scanner completeness semantics, and renderer/path safety. Local full suite: 7,199 passed, 20 skipped, 4 deselected; Ruff, compileall, diff check, and the required public benchmark scan passed. All 17 GitHub checks are green on this exact commit. Approving.
…ence Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
rng1995
left a comment
There was a problem hiding this comment.
Re-reviewed the exact conflict-resolution head after merging current main. The tests/test_commands.py resolution preserves both the malformed-policy regression from main and the PR tier-banner regression, and the full integrated diff has no remaining blocker. Local verification: 7,211 passed, 20 skipped, 4 deselected; Ruff, compileall, diff checks, and the public benchmark scan passed. All 17 GitHub checks are green. Approving.
Status
Implementation and review-comment remediation are complete; awaiting maintainer re-review.
This PR is squashed to one signed-off commit: 4f4c44f. All five Mohit/rng1995 review threads have been answered and resolved.
Hosted checks at this SHA: 14 passed and zero are pending. Gitleaks is the only failure; its log reports four synthetic fixtures exclusively from older commits on the separate PR #83 branch because the job fetches and scans every remote branch. A same-version Gitleaks scan restricted to origin/main..HEAD scanned the single PR #77 commit and found no leaks. This PR is not merge-ready until that external check is rerun after the narrow fixture allowlists reach main, and the existing requested-changes reviews are re-evaluated.
Problem
BenchmarkReporter could recommend publication while required tier evidence was absent, unrelated to the selected source, supplied by an arbitrary producer, or represented by spoofable provenance text.
Fix
Verification
A live credentialed Harbor/provider run was not performed. The real local CLI/report/gate paths and hosted platform contract suites were exercised, but a provider-backed Tier 3 execution remains the integration gap.
Tracking
Fixes #73