Repository navigation
feat(plugin): Integration lift via a loose-parts arm, Bundle lift wording, one run-status source (stacked on #28) - #197
Merged
chrisknvidia merged 38 commits intoOct 12, 2026
Conversation
…lit it by case type The number reports showed as "Integration lift" is the full plugin minus its member skills alone. The member-skills arm has no wrapper, no rules and no plugin MCP servers, so the number also counts what those add, not only how the parts work together. A plugin with one useful MCP server looked like it integrates well. Reports (HTML, Markdown, CLI, BENCHMARK.md) now call it the Bundle lift and say once, next to it: "Bundle lift = full plugin minus its skills alone. It includes the plugin's rules, MCP servers and wrapper, not only how the parts coordinate." The reason texts in the Integration block use the new name too. JSON keys stay as they are (integration, integration_lift, lift_uncertainty.integration, point_verdict values). SARIF never showed the lift, so it is unchanged. The integration interval of a plugin run also carries by_case_type: the same paired per-case scores and paired case bootstrap, once over the cases marked cross_component: true and once over all other cases, each with n, lift, ci_low, ci_high and reason. A group with fewer than 5 pairs gets a point estimate and a reason, no interval. The Integration block repeats it as by_case_type, and the reports show one line: "On cross-component cases: +X (n=N). On other cases: +Y (n=M)." Report-only: no verdict, band, exit code or score changes. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
… limits plugin-evaluation.mdx and tier3-live-evaluation.mdx now name the plugin-minus-member-skills lift the Bundle lift (previously Integration lift), say what it includes, and document by_case_type. A short "Known limitations and planned work" section after "Arms and lift modes" lists the planned loose-parts arm, native-mode hooks/subagents/commands and renaming, small-run INCONCLUSIVE results, the missing common basis for a three-step split, and that a lift is one model on one harness. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The same validation run got different headlines: on the saved hookify runs the JSON, Markdown and HTML reports said incomplete while the terminal and BENCHMARK.md said FAIL, the HTML Tier 1 card said N/A over a failed Tier 1, a gated partial Tier 3 run read failed in three reports and incomplete in the terminal, and a skipped check read PASS. reporting/run_status.py now owns the rule behind one interface, resolve_run_status(results) -> RunStatus: the headline (the exit gate), each tier's status and its BENCHMARK.md row, each result's row status, the publication verdict, the plugin row and the reasons. A real failure outranks missing evidence, missing evidence outranks a pass, a skipped check is SKIPPED, and a tier outside the exit gate never changes the headline. JSON, Markdown, HTML, SARIF, the terminal summary and table, the validate footer and BENCHMARK.md render it and no longer derive a status themselves. SARIF gains overallStatus, tierStatus and statusReasons run properties; JSON gains tier_status and status_reasons. Deleted the copies: ReporterBase._plugin_status, CLIReporter ._tier3_incomplete_reason and ._missing_evidence_only, cli ._gate_result_incomplete, benchmark._overall_status, ._plugin_overall_status, ._advisory_tier3_failure, ._tier3_gating, ._missing_evidence_only, ._tier3_result_incomplete, has_blocking_finding and the name-based tier splits in benchmark and HTML. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The docs said the JSON overall_status reported incomplete whenever a scanner produced no evidence, even when a check had failed. It now follows the documented precedence like every other report, and incomplete_scans still lists the scanners. Document the new SARIF run properties and the JSON tier_status and status_reasons fields. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…for the split
Review fixes on top of the Bundle lift rename and the case-type split.
- Verdict labels: reports now say Real bundle lift, Cosmetic bundling and
Negative bundle lift. "Real integration" still promised coordination right
under the new definition. JSON values (real_integration, cosmetic_bundling,
negative_integration) are unchanged.
- Interpretation sentence: "The coordinated plugin measurably outperforms its
member components alone" became "The full plugin measurably outperforms its
member skills alone"; the negative one no longer blames coordination only.
- One rule for a cross-component case (is_cross_component_case): the flag and
two or more member skills in expected_skills. The split counted every
flagged case, so the same report could say "3 cross-component case(s)" in
the dataset section and "n=4" in the split. The dataset count, the readiness
gate and the split now share the function.
- A run whose staged cases could not be read records no split (None) instead
of filing every case as "other" with "no cross-component case".
- BENCHMARK.md names the split line ("Bundle lift by case type[ — agent]:"),
since it sits under a paragraph that defines both lifts.
- Docs: the label table, the shared rule, "equals the Bundle lift up to
rounding", and "full plugin" instead of "coordinated plugin" for --lift-mode.
Tests: tests/tier3/test_f90_lift_case_type_split.py adds a property test on
random data (the groups partition the headline's pairs, each group equals the
paired case bootstrap with the default seed and resamples, the case-weighted
mean equals the headline), the 0/5/4-pair and one-arm-only edges, one- and
two-agent runs through the real collector into every report, saved runs
without the field, hostile split values, and the JSON values.
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
eval_core/checks.py and the Harbor verifier template carry the same security and grading functions, and only two blocks of them are kept byte-identical by a test. measure_checks_template_drift.py lists the top-level functions and constants of both files and the shared ones whose ASTs differ once docstrings are gone: 248 shared names, 117 of them in the guarded blocks, 74 with different ASTs (54 only in type annotations). build_checks_parity_corpus.py collects the commands and paths the Tier 3 tests already use and, given saved trajectory.json files, the shell commands agents issued in real Harbor runs. It drops anything shaped like a credential, naming a real home directory, or flagged by the public-release boundary scanner, skips f-string fragments, and keeps the committed real-run group when no trajectories are passed. The corpus (1,803 commands, 96 paths) is committed so a parity test can replay it; the trajectories are not. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
… copies A new parity test runs the shared grading entry points of eval_core/checks.py and the Harbor verifier template on one corpus: the commands of the existing Tier 3 tests, commands from real Harbor runs, hostile shell shapes (compound commands, quoted variables, command substitution, heredocs), secret-shaped strings built at run time, and every tool-name shape. Results must be equal. Both copies raising the same exception type counts as equal, but at least 90% of each probe's cases must return a result, so a probe that calls the checks wrongly cannot pass by comparing errors. On the unmodified branch it found two drifts, both present since the first snapshot: - check_error_recovery: the host copy also treated "timeout" and "connectionrefused" in an observation as a failure. A passing run can print "timeout: 300.0s" (pytest-timeout), which turned a real recovery into a second failure and changed skill_execution (0.6875 on the host, 0.625 in the verifier, on one corpus trace). Python's ConnectionRefusedError already matches "error". - check_tool_efficiency: the host copy returned details with up to five wasted calls as "Tool(first 60 characters of the command)". That puts raw command text, which can hold a credential, into the result. Both are settled on the verifier copy, which computes the scores users see, so no reported score changes. The host copy drops the two keywords and the details; two host tests now read the counts from reason. Pinned tests cover each choice in both copies. The verifier only gains a comment saying what the keyword list leaves out. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
How eval.py reaches the task container (copied by _copy_verifier beside three helper modules it imports sibling-first, run by the image's python3), the options for giving the checks one source, and a recommendation: stage eval_core/checks.py beside eval.py, starting with the two byte-guarded shared blocks as a stdlib-only module. checks.py already imports and runs on Python 3.9.6 with only its two helper modules in a stub package, and 1,448 probes give identical results on 3.9.6 and 3.12.12; copied flat it still needs the sibling-first imports eval.py uses. Not implemented here: it is a multi-thousand-line move in files other branches are changing. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
- A skipped check that failed is FAILED on the BENCHMARK.md Tier Status row too, not INCOMPLETE beside a FAIL card. - A bundled skill's MEDIUM finding that its check made blocking is recognized after merge_with_prefix (Finding.legacy_string_forms), so it outranks a scan that did not complete. - BENCHMARK.md says --block-on-agent-eval made Tier 3 gate the run only when Tier 3 actually failed the exit gate. - Markdown counts skipped checks as "Skipped" (required skips are not advisory) and keeps a skipped check's findings. - The HTML "Passed Only" and "Failed Only" filters match the row statuses (passed; failed or incomplete); they never matched before. - One finding-is-blocking predicate, in run_status, for the status rule and the BENCHMARK.md blocking-finding count. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Score the four arms (no plugin, skills only, loose parts, full plugin) on one common basis: per case, the security, correctness and effectiveness dimensions every arm scored. A case any arm did not score, did not load (load_failures_by_case), or shares no dimension is dropped from every arm and listed in excluded_cases. Each step (skill, capability, integration, plugin) and the common-basis Bundle lift use the same paired case bootstrap, seed and cases, so the steps add up per case, on the means and in every resample. The glue reads cross-component cases on all five dimensions of the three skill arms. build_agent_statistics computes lift_ladder only when loose_parts observations are present (None otherwise) and integration_completeness checks loose parts against the full plugin under loose_parts. The report loader keeps a persisted null block as None. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Copy each agent's lift_ladder statistics into a named payload block (and the best agent's at the run level), like the Integration block. Only the Integration lift (full plugin minus loose parts) gets a verdict, on cross-component cases, reusing the Bundle lift's +/-0.05 bands and inconclusive rules (fewer than 5 pairs, a crossing interval, an incomplete loose-versus-full comparison). It is also inconclusive when content hashes show the capability is not identical across arms, or were not recorded. A full arm that did not load natively is reported as the Wrapper effect with no verdict. The block carries the loose-parts census, per-arm signals next to the glue, and the lift modes; ladder is a known lift mode. The Bundle lift block is unchanged. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…HMARK.md One display model (plugin_sections.lift_ladder_view) words the ladder for every format: the one-line equation, the step table with the case-type split, the glue verdict and reason, excluded cases, the loose-parts line, the capability check and the routing, order, handoff and conflict signals next to the glue. BENCHMARK.md adds one row per agent to its lift table. Loose parts get the arm label "Loose parts". SARIF is unchanged and nothing changes a score, verdict, band or exit code. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…imits Add the ladder lift mode and the loose-parts arm to the arms table, a Lift ladder section (steps, one common basis, the glue verdict, capability parity, reports, +33% cost, limits) and a changelog entry, and replace the planned loose-parts bullet in Known limitations: version 1 stages skills, rules and MCP servers only. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The glue and the ladder's case-type groups are read on one case type, so they follow the Bundle lift's case-type split (and spec section 4): fewer than 5 pairs give a point estimate and a reason, no interval. The whole ladder keeps its intervals as the headline lifts do. A partial glue with enough pairs still says it is partial in BENCHMARK.md. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Add tier3/loose_parts.py: the plugin's skills, rules, MCP servers,
subagents, commands and hooks staged as plain Claude Code user-level
pieces (no plugin, no manifest), so full plugin minus loose parts
measures only the glue. Rules reuse the plugin arm's writer; agents,
commands and every file a hook or MCP server names through
${CLAUDE_PLUGIN_ROOT} are byte- and mode-identical copies; hooks go to
the user settings.json and MCP servers to --mcp-config with only the
root variable replaced. Content hashes per piece prove the full,
loose and skills-only arms carry the same capability, and load
evidence comes from Claude Code's system/init event, with a
successful MCP tool call as the workaround for pending servers.
The runner seam is loose_parts_task_staging (a NativeTaskStaging for
the existing native staging path) and loose_parts_agent_import_path
(tier3/harbor/loose_agents.py: setup first, no --plugin-dir).
NativeBundle gains single-file copies; PluginEvalPackage gains
loose_parts_error() and the loose_parts_ready provenance field. Other
harnesses and wrapper mode get an explicit "not supported" reason.
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Native Claude Code namespaces a plugin's parts (shipit:changelog-collect, mcp__plugin_shipit_reltools__*) while the loose-parts arm uses bare names. Plugin signals now declare the MCP servers, subagents and commands in the loose_parts arm too (PLUGIN_PART_ARMS), keep LSP servers unstaged there, and give it the probed MCP input schemas, so routing, tool selection, order, handoff, MCP calls and activation coverage grade the same session the same way in both spellings. _trajectory_skill_invoked takes an optional native_prefix so a namespaced Skill call credits the bare skill; the default keeps the exact match. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
How the loose parts are staged, what is dropped as glue and why, how the per-piece content hashes prove the arms carry the same capability, how load is verified (system/init, MCP call evidence for pending servers), and the v1 limits (Codex, OpenCode and Hermes not measured; --lift-mode ladder not wired yet). Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The plugin arm's rule writer starts with the same CLAUDE_CONFIG_DIR default line the loose setup already has; keep one. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Lift ladder statistics and reports (stats, report block, display model, docs). Clean merge. Signed-off-by: Christopher Kevin <[email protected]>
Native loose-parts staging, content hashes, load evidence and the plugin-signal name mapping, on top of the lift ladder statistics. One conflict, in docs/plugin-evaluation.mdx (Known limitations, the Bundle lift bullet). Kept both intents: the ladder split from feat/loose-stats and the staging link from feat/loose-staging, with the owners' rule that subagents, commands and hooks are loose parts on Claude Code (only what cannot load standalone is glue), and the note that the runner does not run the arm yet. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…ords
The staging reports load failures as {case: [{arm, attempt, piece,
reason}]} (loose_parts.load_failures_by_case), but the lift ladder read
only {case: {arm: reason}} and silently skipped any other shape. A case
whose subagent or MCP server never loaded stayed in every arm, so the
Integration lift could include an arm that did not have the part.
The ladder now accepts both shapes and folds the records into one
bounded reason per arm ("agent:release-reviewer (attempt 1): ..."). A
malformed record never crashes and still drops its case. The new
contract tests feed the staging's real output to the statistics.
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
…dder
The ladder report was written for a v1 that staged only skills, rules
and MCP servers and kept glue as a list of ids. The staging that landed
next to it follows the owners' rule instead: subagents, commands and
hooks are loose parts on Claude Code, and dropped_as_glue is a list of
{id, reason} records. Merged, the reports printed Python dict reprs as
the glue list, never named the staged subagents, commands or hooks,
said "v1 counts hooks as glue", and showed "No lift ladder statistics
were recorded" for an agent the staging refused with a reason.
The report block now reduces dropped_as_glue to piece ids (either
shape), lists the staged subagents, commands and hooks from the
staging's pieces, and falls back to the staging's error as the
not-measured reason. The ladder definition names every loose kind and
the hooks-as-glue caveat is gone from every format. Contract tests feed
the staging's real info block to the report block and display model,
and check that the report and the staging agree on a changed piece.
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
The lift ladder docs and changelog still described the earlier plan: loose parts as skills, rules and MCP servers only, with hooks, subagents and commands counted as glue. The staging follows the owners' rule that those load standalone on Claude Code and are loose parts; only output styles, LSP servers, plugin settings, bin/, the manifest and userConfig are glue. Align the arms table, the ladder section, the capability paragraph (glue ids, staged kinds, no hooks caveat), the load-failure wording and the changelog, and say plainly that the runner does not run the arm yet. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Both branches defined the "loose_parts" arm key: stats.ARM_LOOSE_PARTS and loose_parts.LOOSE_PARTS_ARM. The staging now takes the statistics' constant (the same way it takes the other arm keys), and plugin signals import it from stats, which they already import, instead of importing the whole staging module for a string. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…rdict Three gaps found reviewing the seam fixes: - An agent entry that only says why it was not measured inherited the measured agent's rules, subagents, hashes and glue, so a refused Codex arm read "Capability identical across arms: yes". A refused agent now gets only its own record. - The report recomputed parity from the hashes and ignored the staging's own equal_across_arms. The staging is the source of truth: when it says false, the report says false and lists its mismatches. - One piece failing in every attempt filled the folded load-failure reason and hid a second failing piece. Each piece is now listed once with all its attempts. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
`tier3 evaluate-plugin` and `validate --tier3` accept `--lift-mode ladder`. On native Claude Code the run gets a fourth, report-only arm next to no plugin, skills only and full plugin, and the collector builds the lift_ladder block from it. - CLI: the fallback table. No cross-component evidence falls back to effectiveness; nothing loose, wrapper mode, or no native Claude Code agent falls back to both with ladder_skip_reason; --skip-baseline is refused. - Runner: per-agent plan (not_measured_reason for every other agent), a looseparts task dir staged like the skills-only arm plus the loose bundle, content hashes of the emitted tasks, and a looseparts job with its own wrapper and the same attempts, timeouts, retries and resources. - Emitter: a control-arm (loose) staging goes with with_skill=False. - Collector: the loose arm, Claude Code system/init load evidence for every scored trial of the three staged arms (MCP call fallback), cases whose part did not load dropped from every ladder arm, loose_parts_lift.json, the evidence file, and the run's loose_parts block. - Provenance, report data and the run summary carry the ladder; the loose wrapper is allowed on Harbor-native backends. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The docs and CHANGELOG said the runner does not run the loose-parts arm. They now give the exact command, the fallback table, where each record lands (run_config, result.json, provenance, evidence file), and that the loose arm is report-only with the same settings as the other arms. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
Claude Code runs a plugin command through its Skill tool as <plugin>:<command> in the full-plugin arm and as <command> in the loose-parts arm. The verifier kept the first out of skill routing but counted the second as a wrong skill, so the same behaviour scored lower in the loose arm and inflated the Integration lift on the routing and efficiency dimensions the glue verdict reads. The loose tasks' entry.json now lists the staged command names in native_plugin_commands (no prefix), and both verifier copies match a listed command by its bare name when there is no plugin prefix. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…reads them differently
Claude Code ignores permissionMode, hooks and mcpServers in a plugin
subagent's frontmatter (its own warning: "ignored for plugin agents")
but honours them in a user subagent. A byte-identical loose copy of such
a subagent is a different capability, yet the hashes called the arms
equal. The loose-parts staging now lists it in capability_differences,
counts it as a mismatch, and equal_across_arms is false, so the report
gives no Integration verdict.
Claude Code also writes the plugin root into a plugin skill, subagent or
command text for ${CLAUDE_PLUGIN_ROOT}; the loose copy keeps the
variable. Those pieces are recorded in plugin_root_in_text (not a
mismatch: the files are the plugin's own).
Adds tests/tier3/test_loose_parts_review.py, which also covers the
previous commit's verifier fix (red before both fixes, green after).
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
…init names Adds the system/init fields Claude Code 2.1.284 reported for the emitted release-kit tasks in the full-plugin (--plugin-dir), loose-parts (user pieces plus --mcp-config) and skills-only arms, recorded with a dead API endpoint (no model call), and checks every piece loads in every arm. Also checks a subagent capability difference reaches the report as no Integration verdict, and that MCP env values never reach the loose_parts record. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
One run-status module (reporting/run_status.py) on top of the loose-parts lift ladder. Git merged every shared file (benchmark.py, reporting/cli.py, markdown.py, report.html.j2, cli.py, the plugin docs, CHANGELOG, test_plugin_reports.py) without a textual conflict; the ladder, Bundle lift and case-type split renderers are additive and keep their place in each report. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The parity test between eval_core/checks.py and the Harbor verifier template, its two drift fixes (error-recovery keywords, no command text in tool-efficiency results) and the single-source design note. The loose-parts change to split_native_command_calls (match a listed command by its bare name when there is no plugin prefix) touched the same two files in a different function; Git merged them without a conflict and the change is identical in both copies. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
… test The loose-parts arm stages plugin commands as user commands, which Claude Code runs by their bare name with no plugin prefix, and both copies of split_native_command_calls now match a listed command that way. The parity probes only had prefixed or skill-named calls, so a copy that lost the bare-name match still passed (checked: the merged probe set passes with the template copy reverted). Two more names, "deploy" and "Deploy " next to "demo", catch it. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
A run with a negative glue verdict, a wrapper-mode ladder or a ladder that fell back gets the same headline, publication verdict, plugin row, Tier 3 status and reasons from run_status as the same run with no ladder, gated or advisory. Every surface (JSON, Markdown, HTML, SARIF, terminal summary and footer, BENCHMARK.md, the HTML Tier 3 card) shows that one status and still shows the ladder. A status rule that read the glue verdict fails it. The run_status docstring now names the Bundle lift and the ladder in its advisory rule. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The note under a bounded Tier 3 HTML preview read tier3_preview_notice.items, which Jinja resolves to the dict's own items method, so every report that cut items or characters printed "<built-in method items of dict object at 0x...> items" (the release- kit pilot report has it). ['items'] falls back to the method too when the key is missing, so the template reads both counts with .get and trims the spaces around the optional parts. Pre-existing since the first snapshot; found while re-rendering the pilot on the consolidated branch. Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
…ift file lift.json, integration_lift.json and loose_parts_lift.json subtracted two arm averages, each over the trials that arm scored. When one arm records a metric as N/A on some cases, the two sides covered different cases. On the release-kit four-arm pilot the skill metrics averaged 32 full-plugin trials against 28 skills-only and 28 loose-parts trials: those arms have no skill to run on the two cases with no expected skill. Each metric now keeps only the cases both arms scored it on, and the loose-parts file also leaves out the cases the lift ladder drops for load evidence. A basis block in each file gives the case and trial counts per metric and lists every metric or case left out, with the reason. Rows with nothing left out keep the arm averages, so lift.json on the pilot is unchanged; the loose-parts skill execution gap moves from -0.0446 to -0.0179, the value the independent recompute found. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
evaluate-plugin could not write the five report formats that validate writes. It now takes validate's own -r/--report and -o/--output-dir options (same choices, defaults and help), builds the plugin's Tier 3 result with the helper validate now shares (_plugin_agent_eval_result), and writes it through the same emit_reports call and file names. Without -r or -o nothing changes: the run summary prints and the run's report.html is refreshed, and no report file is written. A run that did not complete still writes its reports, marked INCOMPLETE, before it exits 1. A bad format is a usage error (exit 2). The golden CLI surface gains exactly the two options on both spellings of the command. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
The runner runs min(arms, --n-concurrent) jobs at once. With --lift-mode ladder (four arms) and --n-concurrent 3, three arms run and the fourth waits for a free slot, which nobody was told. It now logs one warning per agent that names the value that runs every arm at once (--n-concurrent 4, or a multiple of 4). It does not raise the value itself, because that changes how many containers run. Runs without the ladder and --stop-on-pass runs (which go one arm at a time anyway) do not warn. The plugin evaluation docs and the CLI reference say to run the ladder with --n-concurrent 4 or more. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
October 12, 2026 07:17
chrisknvidia
merged commit Oct 12, 2026
114964d
into
naren/plugin-evaluation-all-tiers
17 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #28. The base branch is
naren/plugin-evaluation-all-tiersat5eb44f1e, so the diff is only the work below. Merge it after #28, or retarget it tomainonce #28 lands.What this adds
--lift-mode ladderruns four arms per case: no plugin, skills only, loose parts, and the full plugin. "Loose parts" is the same skills, rules, MCP servers, subagents, commands and hooks that Claude Code can load on its own, staged as separate plain pieces with no plugin packaging. So full plugin minus loose parts isolates the plugin's glue. The lift splits into steps that add up exactly per case on one shared set of scores:reporting/run_status.py). JSON, Markdown, HTML, SARIF, the terminal summary, the footer and BENCHMARK.md now take their headline status from one place. Before, a run with failed Tier 1 validators and a partial scanner said INCOMPLETE in JSON, Markdown and HTML but FAIL in the CLI and BENCHMARK.md, and the HTML Tier 1 card said N/A.eval_core/checks.pyandharbor/templates/eval.py. It runs both copies on the same inputs (1,803 commands and 96 paths from real traces) and found two real drifts, both fixed toward the container copy so no reported score changes.tier3 evaluate-plugintakes the same report options asvalidate; a warning when--n-concurrentis lower than the number of arms in ladder mode.Rules for the Integration lift
inconclusive.both).Evidence
Behavior changes to review
overall_status. The docs used to say it readsincompletewhenever a scanner had no evidence. It now follows the documented rule that a real failure outranks missing evidence, andincomplete_scansstill lists the missing scanners. Docs and CHANGELOG are updated.check_error_recoveryandcheck_tool_efficiencyon the host copy now match the container copy (timeouts and connection-refused no longer count as failures there; the host copy no longer returns raw command text inwasted_calls).statistics.jsonandresult.jsonnow carries"lift_ladder": nullwhen the ladder wasn't requested.loose_parts_lift.jsonandintegration_lift.jsonnow compare both arms on the cases both scored, with abasisblock listing what was left out (before, a case with no expected skill made one arm's average cover fewer trials).Open questions for the owners
b4de17d4is an unrelated old bug (the HTML preview note printed<built-in method items of dict object>instead of a count). Keep it here or drop it.${CLAUDE_PLUGIN_ROOT}. Such pieces are listed inplugin_root_in_textbut not counted as a mismatch, because the spec asked for byte-identical text. release-kit has none. Should the loose copies get the root written in?custom_lift.jsonshould be paired too (left alone because custom metric names are user-defined).Not covered
OpenCode native, Hermes and wrapper mode are "not measured" in v1. Nothing has been run on a Kubernetes sandbox backend; the new code has no Docker-only step. A pooled analysis across plugins is a separate paper script, not part of the product.
How to try it
The plugin needs rules, MCP servers, agents, commands or hooks to stage, and at least one
cross_componentcase naming two or more member skills; otherwise the mode falls back tobothoreffectivenessand records why.🤖 Generated with Claude Code