Repository navigation
fix(reporting): require complete tier evidence for publication - #77
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 <[email protected]>
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 <[email protected]>
…ence Signed-off-by: Narendran Raghavan <[email protected]>
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 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
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 <[email protected]>
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.
|
@chrisknvidia - Please resolve merge conflicts and merge the PR. |
- Move the breaking CLI changes from Fixed to Changed with a migration note: an explicit --output-dir inside the evaluated skill and a custom Tier 3 --results-dir inside the skill are now rejected. - Add a Changed entry, and notes in the CLI reference and the Tier 3 guide, for --block-on-agent-eval: a blocking Tier 3 now passes only with a completed PASS verdict and complete attempt coverage, so NEUTRAL and FAIL exit 1. This is intended and already covered by test_validate_block_on_agent_eval_gates_complete_tier3_verdict. - Rewrite Fixed entries that described iterations of code that never shipped: SkillSpector issue paths with NUL bytes or lone surrogates used to be accepted and now make the scan incomplete, the source identity details are folded into the main publication entry, and the gate entry names the PASS-card checks. - Drop the claim that Tier 1/Tier 2 omit exactly the digest's exclusions, and describe skip-reason handling as it now works. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Resolve the evaluation/tier3_report.py conflict with NVIDIA#77 by keeping both sides: the attempt score policy and historical-policy flag from this branch, and the run ID and publication target from NVIDIA#77, in the loader, the payload builder signature and both payloads. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Resolve the THIRD_PARTY_NOTICES.md conflict with #77 by keeping the dashboard row in the dependency table and main's new Unicode security data section. `uv lock --check` passes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…ompacted Since #77 the embedded-size budget compacts a non-best agent's conditions (status, errors and attempt counts) instead of dropping them, so requiring empty conditions no longer recognized a pruned agent. Its canonical row then read "0 with / 0 without" with a generic reason. Detect pruning from the truncation marker and the emptied trial lists only, which covers both report shapes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Brings in NVIDIA#77 (required publication evidence and runtime source binding). Conflicts: - src/skillevaluator/tier3/harbor/runner.py: take main's report rendering (_render_current_report, re-render when the publication identity changes, and removal of the stale report), then keep this branch's GKE Workload Identity security notice after the report is rendered. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Brings in main through 3d91107, including #182 (Kata), #188 (model defaults), #193 (Docker agent bootstrap), and #77 (publication evidence). Kata, Runta, and Mosaic are all exposed: 26 Harbor-native backends plus local, 27 modes in total. cua-cloud, opensandbox, hf-sandbox, podman, prime, and smol stay disabled. Conflicts: - src/skillevaluator/tier3_environments.py: the registry-only comment lists the six backends that remain unexposed. - src/skillevaluator/tier3/harbor/runner.py: took main's Sequence import and staged_task_paths.extend(task_paths) for the #77 runtime-binding check. The Mosaic staging check from this branch stays after it. - docs/cli-reference.mdx, docs/tier3-live-evaluation.mdx, docs/agents-and-sandboxes.mdx: 27 modes / 26 Harbor-native backends, with kata, runta, and mosaic listed. The disabled list is the six above. Kept main's Kata kwarg notes, and kept both main's Podman rationale and this branch's Prime/Smol rationale. - tests/test_harbor_environment_contract.py: kept main's Kata tests and this branch's Runta/Mosaic tests. - tests/test_harbor_local_mode.py: the unexposed-backend set is the six above. - tests/test_oss_packaging.py: 27 environments, 26 native, and matching doc counts. - CHANGELOG.md (auto-merged into the released 0.5.0 section): restored 0.5.0 to main's text. Moved the Runta/Mosaic entry to Unreleased/Added, and folded the backend count into main's Unreleased/Changed Kata entry (24th-26th backends, six still disabled). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Main now requires complete, target-bound Tier 3 evidence for a publication recommendation (#77). The --previous-skill skip returns an advisory skipped Tier 3 result that carries no benchmark_policy waiver, so publication-ready Tier 1/2 evidence plus that skip must assess as INCOMPLETE ("Tier 3 was skipped.") with tier3_required still true, in every reporter and in the public benchmark gate. No code change was needed; this test keeps the two features from drifting apart. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Main added two terminal failure paths to _run_harbor_eval_impl: the Kata staged-task environment rejection (#182) and the publication source changing while the evaluator snapshot is created (#77). Both already return coded results through the branch's existing handlers; these tests pin that they report SKILLEVALUATOR-UNKNOWN-001 and, for the post- reservation case, persist it in result.json. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Main's #77 test for a publication source that changes while the private evaluator snapshot is created still compared the legacy {"error": [...]} shape. That path returns through the branch's snapshot handler, so it now yields the coded UNKNOWN failure; update the expectation and drop the duplicate stub-based test added in the previous commit, since main's test exercises the real snapshot path. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…ompacted Since #77 the embedded-size budget compacts a non-best agent's conditions (status, errors and attempt counts) instead of dropping them, so requiring empty conditions no longer recognized a pruned agent. Its canonical row then read "0 with / 0 without" with a generic reason. Detect pruning from the truncation marker and the emptied trial lists only, which covers both report shapes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Brings in #77 (publication evidence: required-tier rule, source digest and publication target identity, recognized Tier 1/2 producers, Tier 3 run ID, report-output isolation, runtime binding), #182 (Kata), #196 (target dependency audits, negative-case accuracy, resource usage), #190 (criterion-derived accuracy), #201 (failed skill reads earn no credit) and the third-party notice updates. Conflicts: - CHANGELOG.md: every entry from both sides under one Unreleased Added, Changed, Fixed and Security heading. The PR entry saying NEUTRAL never fails --block-on-agent-eval is dropped for main's PASS-only rule. - THIRD_PARTY_NOTICES.md: no generator exists, so merged by hand: the Base row lists Packaging (main) and regex (PR); both the OpenClaw fixture and the Unicode data notices are kept. - docs/ci-integration.mdx, cli-reference.mdx, tier1-validation.mdx, tier3-live-evaluation.mdx: both sides' rows and text. The blocking Tier 3 rule is main's (only a completed PASS with complete coverage passes); the PR's regression, partial-run and gated-skip wording stays. Kata and Hermes rows are both kept. The dependency audit text describes the merged audit below. - cli.py: the PR's target resolution and plugin dispatch, with main's publication_name, report-output isolation (on the resolved content root, plugins included), pre-Tier 1 autopilot generation, sanitized Tier 3 skip reasons, repo-context exclusions and expected_skill_name. - deduplication/utils/skill_collector.py: the PR's descriptor-anchored collector; generated files are matched with main's matches_filesystem_name, since main renamed the constant to BENCHMARK.md. - evaluation/tier3_report.py: the PR's dataset source and HTML helper, with main's persisted publication target, skill name and agent seconds. - reporting/base.py, cli.py, console_ui.py, json_reporter.py: main's publication assessment, skip-reason and display hardening, with the PR's plugin helpers and run-status rows. The PR's lift-basis line is limited to finite in-range scores. - reporting/html.py and templates/report.html.j2: the PR's run-status cards and rows with main's publication badge, cleanly-skipped filter and data-attribute handlers. A completed Tier 3 card can only become more conservative from main's evidence status. _results_to_dict takes an optional run status. - reporting/markdown.py: the PR's run-status headline and rows, with main's publication status line, Validators Run and advisory-skip rows, and main's inline, code-span and number hardening. - reporting/benchmark.py: the PR's run-status card and plugin card. The skill card's verdict and each Tier Status row are the more conservative of the run status and main's publication assessment (_publication_evidence_tier_status keeps main's row rules whole). Main's metadata lines (source digest, Tier 3 run ID, Tier 2 policy) and text hardening are kept. - tier1/commands.py: main's per-check producer stamps and target binding on the PR's plugin flow. Skill-scoped plugin checks scan skills/ but bind the plugin root. - tier2/commands.py, tier3/commands.py: imports and keyword arguments from both sides. - tier3/eval_core/atif_helpers.py, llm_judge.py, harbor/templates/eval.py: the PR's tool-call iteration and N/A judges, with main's is_error marking and skill-identification applicability on accuracy. - tier3/harbor/report_data.py: imports from both sides. - tier3/harbor/runner.py: main's Docker-engine env modes and repo-context exclusions in the PR's shared task inputs. Every arm's staged tasks are checked for publication-target binding. - validators/base.py, schema.py: main's filesystem-aware exclusions with the PR's plugin-tree pruning. - validators/dependencies.py: the PR's no-install engine for requirements, npm, container and MCP pins, with main's #196 rules. pyproject.toml follows main's static PEP 621 contract; anything it cannot audit is INCOMPLETE. pip-audit evidence is validated strictly and missing or failed evidence is INCOMPLETE in every run. Clean runs record success details and per-target dependency_coverage. - tests/reporting/test_advisory_skip_verdict.py: main's Markdown counts. - tests/reporting/test_reporters.py: both sides' new tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…ation evidence contract After merging #77 the PR's run status (reporting/run_status.py) and main's publication assessment disagreed, and plugin BENCHMARK.md cards bypassed the evidence contract. Decision: #77 applies to plugin evaluations wherever they feed BENCHMARK.md or publication (fail-closed). Run status: - A Tier 3 result with an incomplete scan is INCOMPLETE (FAILED only with a blocking finding), a cleanly skipped Tier 3 result is SKIPPED (FAILED when it gated), and execution_status failed or incomplete is FAILED or INCOMPLETE instead of SKIPPED. - A skipped Tier 2 or Tier 3 check keeps the card publishable only when the persisted, source-bound policy does not require that tier. - A payload the reports cannot carry whole (main's serialization bound) is read only through its bounded root truth; plugin_sections reads at most MAX_AGENTS agents without materializing the mapping. Publication assessment (reporting/base.py): - is_unfailed_partial_plugin_agent_eval: a partial plugin run that validate stamps as not passed is incomplete evidence, not a validator failure, unless its verdict, dimensions or a confirmed Skill Lift regression already failed. BENCHMARK.md: - The plugin card's verdict is the more conservative of the run status and assess_publication, with the plugin root as the expected target. Plugin Tier 1 and Tier 2 are already stamped with the plugin root's source identity. Plugin Tier 3 runs a staged package that records no plugin-root identity, so a plugin card stays INCOMPLETE until Tier 3 evidence is bound to the plugin root or a catalog waives Tier 3. - Tier Status rows keep the evidence contract's wording on a tie; the run status's wording wins for FAIL (gate and regression context) and for a partial plugin run. - The gate script accepts "# Plugin Benchmark:" as the card title in the rendered-heading check too, and still flags a second title heading. Tier 3 gate wording (main's rule: a gated Tier 3 passes only with a completed PASS and complete attempt coverage): the --block-on-agent-eval help, docs/plugin-evaluation.mdx, the card's Exit code line and the run-status docstring no longer say NEUTRAL never fails; the footer and reasons name "Tier 3 verdict NEUTRAL did not pass the gate". HTML: a skipped row uses main's warn badge, and the details card defines result_is_skipped again so the skip reason renders. Tests: complete synthetic Tier 3 fixtures carry attempt coverage and, for publication-ready runs, the #77 evidence fields; waivers are bound; the gated NEUTRAL test expects exit 1; plugin card tests expect INCOMPLETE without bound evidence, plus a new test that a bound complete plugin run passes; header checks read main's "Process:" prefix; the fail golden drops the dimension clause main's stricter aggregate check no longer recomputes; the no-baseline golden removes the baseline arm; the CLI surface golden adds kata to evaluate-plugin. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…aged from Decision 1 (#77 for plugins). A plugin's Tier 3 run evaluates a package staged from the plugin root, and the run's publication identity was the temporary package's (with the member skills outside it, the runtime context check always failed it), so no plugin card could pass. - Staging: prepare_plugin_eval_package records the plugin root and its publication target (name and source digest, with #77's digest rules) before anything is staged; the target is kept only if the root is the same snapshot after staging. - Run: the plugin options carry that root and target to the runner (EvaluationOptions.publication_root / publication_target, then publication_root / staged_publication_target). The runner certifies the plugin root instead of the package: it snapshots the root at the start, fails closed when the snapshot differs from the staged target or none was recorded (staging_publication_target_conflict), checks the runtime context against the root, and re-checks the root at the end. A skill run is unchanged. - Report: the run's result.json publication_target is the plugin root's, so the shared assessment accepts the plugin Tier 3 evidence only when it matches the plugin root the card reports. The plugin card judges the Tier 3 row against the root its static tiers were bound to, so evidence naming the staged package, no identity, or another digest is flagged on the Tier 3 row and leaves the card INCOMPLETE. - Docs: the plugin card section describes the binding. Tests: - test_plugin_eval: staging records the root's identity (not the package's); a root that changes while staged records none; the run options carry the staged root and target. - test_tier3_progress: a plugin run persists the plugin root's target; a run without a staging target, with a root changed after staging, or with a root changed during the run gets no identity and a conflict marker; the conflict helper's cases. - test_plugin_benchmark: a complete plugin run bound to its root is PASS in BENCHMARK.md, JSON, HTML and Markdown and passes the public gate; a staged-package identity, a missing identity and a mismatched digest are INCOMPLETE everywhere (Tier 3 row flagged) and still pass the gate. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
* fix(reporting): require complete publication evidence Signed-off-by: Christopher Kevin <[email protected]>
* fix(reporting): address review integration gaps * fix(reporting): close publication review gaps * fix(reporting): harden publication evidence validation * fix: fit main's telemetry and tier workflows into publication evidence * fix(reporting): strip terminal escape sequences from shared skip reasons * test: align merged tests with default Tier 3 and publication evidence * fix(reporting): keep malformed optional Tier 2 evidence incomplete * fix(cli): expect the recorded publication target name for path aliases * fix(reporting): keep multi-line Tier 3 text lossless * fix(reporting): render Tier 3 run IDs verbatim in BENCHMARK.md * test: anchor PASS assertions to the BENCHMARK.md verdict callout * fix(ci): accept earlier non-PASS cards in the public benchmark gate * fix(reporting): defuse decision wording in untrusted card text * fix(reporting): assess HTML publication only on persisted Tier 3 payloads * fix(console): keep skip setup instructions readable in the pipeline view * fix(reporting): require the applicable Tier 1 check lineup for publication * fix(publication): keep paths that Tier 1 skips from certifying publication * fix(tier3): do not bind runs that stage digest-excluded task inputs * fix(tier3): skip linked generated entries in runtime skill copies * test: use Path.symlink_to in the linked generated entry test * docs(changelog): describe the publication-evidence changes against 0.5.0 Signed-off-by: Narendran Raghavan <[email protected]>
Main added two terminal failure paths to _run_harbor_eval_impl: the Kata staged-task environment rejection (#182) and the publication source changing while the evaluator snapshot is created (#77). Both already return coded results through the branch's existing handlers; these tests pin that they report SKILLEVALUATOR-UNKNOWN-001 and, for the post- reservation case, persist it in result.json. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Main's #77 test for a publication source that changes while the private evaluator snapshot is created still compared the legacy {"error": [...]} shape. That path returns through the branch's snapshot handler, so it now yields the coded UNKNOWN failure; update the expectation and drop the duplicate stub-based test added in the previous commit, since main's test exercises the real snapshot path. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Main now requires complete, target-bound Tier 3 evidence for a publication recommendation (#77). The --previous-skill skip returns an advisory skipped Tier 3 result that carries no benchmark_policy waiver, so publication-ready Tier 1/2 evidence plus that skip must assess as INCOMPLETE ("Tier 3 was skipped.") with tier3_required still true, in every reporter and in the public benchmark gate. No code change was needed; this test keeps the two features from drifting apart. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Brings in #77 (publication evidence: required-tier rule, source digest and publication target identity, recognized Tier 1/2 producers, Tier 3 run ID, report-output isolation, runtime binding), #182 (Kata), #196 (target dependency audits, negative-case accuracy, resource usage), #190 (criterion-derived accuracy), #201 (failed skill reads earn no credit) and the third-party notice updates. Conflicts: - CHANGELOG.md: every entry from both sides under one Unreleased Added, Changed, Fixed and Security heading. The PR entry saying NEUTRAL never fails --block-on-agent-eval is dropped for main's PASS-only rule. - THIRD_PARTY_NOTICES.md: no generator exists, so merged by hand: the Base row lists Packaging (main) and regex (PR); both the OpenClaw fixture and the Unicode data notices are kept. - docs/ci-integration.mdx, cli-reference.mdx, tier1-validation.mdx, tier3-live-evaluation.mdx: both sides' rows and text. The blocking Tier 3 rule is main's (only a completed PASS with complete coverage passes); the PR's regression, partial-run and gated-skip wording stays. Kata and Hermes rows are both kept. The dependency audit text describes the merged audit below. - cli.py: the PR's target resolution and plugin dispatch, with main's publication_name, report-output isolation (on the resolved content root, plugins included), pre-Tier 1 autopilot generation, sanitized Tier 3 skip reasons, repo-context exclusions and expected_skill_name. - deduplication/utils/skill_collector.py: the PR's descriptor-anchored collector; generated files are matched with main's matches_filesystem_name, since main renamed the constant to BENCHMARK.md. - evaluation/tier3_report.py: the PR's dataset source and HTML helper, with main's persisted publication target, skill name and agent seconds. - reporting/base.py, cli.py, console_ui.py, json_reporter.py: main's publication assessment, skip-reason and display hardening, with the PR's plugin helpers and run-status rows. The PR's lift-basis line is limited to finite in-range scores. - reporting/html.py and templates/report.html.j2: the PR's run-status cards and rows with main's publication badge, cleanly-skipped filter and data-attribute handlers. A completed Tier 3 card can only become more conservative from main's evidence status. _results_to_dict takes an optional run status. - reporting/markdown.py: the PR's run-status headline and rows, with main's publication status line, Validators Run and advisory-skip rows, and main's inline, code-span and number hardening. - reporting/benchmark.py: the PR's run-status card and plugin card. The skill card's verdict and each Tier Status row are the more conservative of the run status and main's publication assessment (_publication_evidence_tier_status keeps main's row rules whole). Main's metadata lines (source digest, Tier 3 run ID, Tier 2 policy) and text hardening are kept. - tier1/commands.py: main's per-check producer stamps and target binding on the PR's plugin flow. Skill-scoped plugin checks scan skills/ but bind the plugin root. - tier2/commands.py, tier3/commands.py: imports and keyword arguments from both sides. - tier3/eval_core/atif_helpers.py, llm_judge.py, harbor/templates/eval.py: the PR's tool-call iteration and N/A judges, with main's is_error marking and skill-identification applicability on accuracy. - tier3/harbor/report_data.py: imports from both sides. - tier3/harbor/runner.py: main's Docker-engine env modes and repo-context exclusions in the PR's shared task inputs. Every arm's staged tasks are checked for publication-target binding. - validators/base.py, schema.py: main's filesystem-aware exclusions with the PR's plugin-tree pruning. - validators/dependencies.py: the PR's no-install engine for requirements, npm, container and MCP pins, with main's #196 rules. pyproject.toml follows main's static PEP 621 contract; anything it cannot audit is INCOMPLETE. pip-audit evidence is validated strictly and missing or failed evidence is INCOMPLETE in every run. Clean runs record success details and per-target dependency_coverage. - tests/reporting/test_advisory_skip_verdict.py: main's Markdown counts. - tests/reporting/test_reporters.py: both sides' new tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…ation evidence contract After merging #77 the PR's run status (reporting/run_status.py) and main's publication assessment disagreed, and plugin BENCHMARK.md cards bypassed the evidence contract. Decision: #77 applies to plugin evaluations wherever they feed BENCHMARK.md or publication (fail-closed). Run status: - A Tier 3 result with an incomplete scan is INCOMPLETE (FAILED only with a blocking finding), a cleanly skipped Tier 3 result is SKIPPED (FAILED when it gated), and execution_status failed or incomplete is FAILED or INCOMPLETE instead of SKIPPED. - A skipped Tier 2 or Tier 3 check keeps the card publishable only when the persisted, source-bound policy does not require that tier. - A payload the reports cannot carry whole (main's serialization bound) is read only through its bounded root truth; plugin_sections reads at most MAX_AGENTS agents without materializing the mapping. Publication assessment (reporting/base.py): - is_unfailed_partial_plugin_agent_eval: a partial plugin run that validate stamps as not passed is incomplete evidence, not a validator failure, unless its verdict, dimensions or a confirmed Skill Lift regression already failed. BENCHMARK.md: - The plugin card's verdict is the more conservative of the run status and assess_publication, with the plugin root as the expected target. Plugin Tier 1 and Tier 2 are already stamped with the plugin root's source identity. Plugin Tier 3 runs a staged package that records no plugin-root identity, so a plugin card stays INCOMPLETE until Tier 3 evidence is bound to the plugin root or a catalog waives Tier 3. - Tier Status rows keep the evidence contract's wording on a tie; the run status's wording wins for FAIL (gate and regression context) and for a partial plugin run. - The gate script accepts "# Plugin Benchmark:" as the card title in the rendered-heading check too, and still flags a second title heading. Tier 3 gate wording (main's rule: a gated Tier 3 passes only with a completed PASS and complete attempt coverage): the --block-on-agent-eval help, docs/plugin-evaluation.mdx, the card's Exit code line and the run-status docstring no longer say NEUTRAL never fails; the footer and reasons name "Tier 3 verdict NEUTRAL did not pass the gate". HTML: a skipped row uses main's warn badge, and the details card defines result_is_skipped again so the skip reason renders. Tests: complete synthetic Tier 3 fixtures carry attempt coverage and, for publication-ready runs, the #77 evidence fields; waivers are bound; the gated NEUTRAL test expects exit 1; plugin card tests expect INCOMPLETE without bound evidence, plus a new test that a bound complete plugin run passes; header checks read main's "Process:" prefix; the fail golden drops the dimension clause main's stricter aggregate check no longer recomputes; the no-baseline golden removes the baseline arm; the CLI surface golden adds kata to evaluate-plugin. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…aged from Decision 1 (#77 for plugins). A plugin's Tier 3 run evaluates a package staged from the plugin root, and the run's publication identity was the temporary package's (with the member skills outside it, the runtime context check always failed it), so no plugin card could pass. - Staging: prepare_plugin_eval_package records the plugin root and its publication target (name and source digest, with #77's digest rules) before anything is staged; the target is kept only if the root is the same snapshot after staging. - Run: the plugin options carry that root and target to the runner (EvaluationOptions.publication_root / publication_target, then publication_root / staged_publication_target). The runner certifies the plugin root instead of the package: it snapshots the root at the start, fails closed when the snapshot differs from the staged target or none was recorded (staging_publication_target_conflict), checks the runtime context against the root, and re-checks the root at the end. A skill run is unchanged. - Report: the run's result.json publication_target is the plugin root's, so the shared assessment accepts the plugin Tier 3 evidence only when it matches the plugin root the card reports. The plugin card judges the Tier 3 row against the root its static tiers were bound to, so evidence naming the staged package, no identity, or another digest is flagged on the Tier 3 row and leaves the card INCOMPLETE. - Docs: the plugin card section describes the binding. Tests: - test_plugin_eval: staging records the root's identity (not the package's); a root that changes while staged records none; the run options carry the staged root and target. - test_tier3_progress: a plugin run persists the plugin root's target; a run without a staging target, with a root changed after staging, or with a root changed during the run gets no identity and a conflict marker; the conflict helper's cases. - test_plugin_benchmark: a complete plugin run bound to its root is PASS in BENCHMARK.md, JSON, HTML and Markdown and passes the public gate; a staged-package identity, a missing identity and a mismatched digest are INCOMPLETE everywhere (Tier 3 row flagged) and still pass the gate. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
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