Repository navigation
feat(tier3): add reproducible local-catalog decoy selection - #263
Conversation
Select description-similar skills into a reviewable manifest and verify one frozen source snapshot for paired group evaluation. Keep helper skills explicit and preserve existing workspace defaults and baseline guards. Signed-off-by: YMuskrat <[email protected]>
Preserve both changelog entries and verify the selector against the updated evaluation runner and CLI. Signed-off-by: YMuskrat <[email protected]>
|
Hi @YMuskrat, we cleaned up We need to push a fix to your branch to bring it onto the new history. It keeps your same 2 commits and identical changes. Could you turn on "Allow edits by maintainers" on this PR (checkbox in the right sidebar)? Once that's on, we'll take care of the rest. If you'd rather do it yourself, this does the same thing from your git fetch https://github.com/NVIDIA/SkillEvaluator.git history-fix/pr-263
git reset --hard FETCH_HEAD
git push --forceSorry for the churn, and thanks! |
39785ec to
9ce8d95
Compare
|
Hi @chrisknvidia No worries, thanks for preparing the fix! I’ve applied it, and the PR now shows the correct two commits with no merge conflicts. I’ve also enabled maintainer edits in case you need to make any further changes. Thanks again, and have a great day! |
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 8 findings (0 P1, 3 P2, 5 P3); 8 posted inline.
Reviewed at 9ce8d95. The selector's catalog validation, ranking and manifest handling check out: ordering is deterministic, the manifest is written atomically with 0600 permissions, and it is re-validated at load without a model call. The trial merge with main a61e1f3 is clean, and the decoy and workspace-staging tests pass on the merged tree (576 passed, 2 skipped). The comments below cover nested and relocated selections, the recommended manifest location, the output guard, and test gaps.
|
Hi @YMuskrat, thank you for this contribution. Reproducible decoy selection from a local catalog is a valuable addition to Tier 3. When you have a chance, could you take a look at the open review comments? Once they are addressed, or answered if you see them differently, we can approve and merge this PR. The branch also has merge conflicts with main in Thanks again for your work on this! |
Resolve the changelog and Tier 3 runner conflicts, preserving both the reproducible decoy workspace helpers and upstream case limiting. Signed-off-by: YMuskrat <[email protected]>
Exclude bundled target skills, make collection roots portable, and bind decoy identities and snapshots to staged runtime content. Preserve explicit helpers, reserve effective skill names, and protect selection output from overwriting evaluation inputs or other authored files. Add regression coverage for manifest loading, workflow preflight, portable checkouts, mutually selected skills, helper staging, and filesystem aliases. Signed-off-by: YMuskrat <[email protected]>
|
Hi @rng1995, just had a chance to go through the reviews. Thanks for taking the time to check everything so carefully. I’ve pushed all the fixes with a quick summary in each thread. Please let me know if I’ve missed anything or you’d like anything adjusted. |
Resolve the changelog conflict by retaining both additions. Preserve the reviewed decoy feature alongside upstream release and runtime changes. Validation: 180 focused tests passed, 2 skipped; lint and distribution builds passed. Additional runtime failures were reproduced on unchanged upstream main. Signed-off-by: YMuskrat <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Thanks for the thorough fixes. All earlier review comments are addressed at 15c36b4. We re-ran the original repros against this head, and the new tests fail when the matching checks are removed.
I left three new P3 comments. None of them blocks this PR, and they can be follow-ups. All three affect whether a committed manifest can be reused:
- The decoy hash includes execute bits that depend on the umask.
- Ignored files, untracked files and empty folders in the selecting checkout count toward the hash, but the docs say clones can reuse the manifest.
- A
--catalog-rootspelled with different letter case is stored as an absolute path.
The branch conflicts with main in CHANGELOG.md only. Keep both entries. It needs a merge from main before it can land.
Resolve the CHANGELOG.md conflict under Unreleased > Added by keeping main's CI onboarding entries and this branch's decoy selection entry. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Address the three follow-up review comments on the decoy selection: - Hash only the owner execute bit of regular files in the decoy runtime digest, so clones made under another umask verify the same manifest. Directory modes no longer participate. Bump the decoy digest recipe to skill-evaluator-decoy-runtime/2. - Decide whether the catalog root contains, or lies inside, the target's parent by file identity, so a case-variant spelling on a case-insensitive filesystem still records a relative root. A symlinked alias test covers the identity match on case-sensitive CI runners. - Document that the runtime hashes cover ignored and untracked files and empty folders, that only the owner execute bit counts, and that Windows checkouts can differ and need their own selection. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Approving at 1cbb8a7. CI is green.
To get this over the line I pushed two commits to the branch: a merge of main that keeps both CHANGELOG entries, and a small follow-up for the three P3s from my last review. The decoy hash now counts only the owner execute bit, catalog roots are matched by file identity, and the docs say what the hashes cover. Thanks again for the contribution.
* docs(changelog): move entries released in 0.7.0-0.7.2 out of Unreleased 0.7.0 (#314) and 0.7.1 (#327) never cut their sections on main, and 0.7.2 (#335) added its section below the whole Unreleased block, so Unreleased still listed work that had already shipped. Place each Unreleased entry under the release that shipped the PR that added it: - 0.7.0: the published section from the 0.7.0 tag, verbatim. It already holds the six entries that main had filed under 0.6.0, so 0.6.0 again matches the v0.6.0 tag, including the original run_config.json entry. - 0.7.1: #264 #271 #274 #281 #284 #289 #293 #299 #316 #317 #318 #323 #324 #326 #327, plus the #320 wording of the Windows Git-root entry, since #320 changed that 0.7.0 fix in 0.7.1. - 0.7.2: #263 #265 #269 #270 #276 #279 #287 #290 #296 #309 #328 #330 merged with the existing #335 entries. Only post-v0.7.2 entries stay under Unreleased, with one heading per subsection. Entry text is unchanged, apart from the published tag wording in 0.7.0 and 0.6.0. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): prepare v0.8.0 Set the package, fallback, lock, citation and developer-guide versions to 0.8.0 and move every entry merged since v0.7.2 under '## 0.8.0 - 2026-11-05', leaving Unreleased empty. The refusal-fallback documentation test now reads the release section that names CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK, requires it to be 0.8.0, and requires exactly one entry there to name the switch. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(release): pin the verified 0.8.0 Tier 1 image and add its CI bundle Pin onboarding to the Tier 1 image published by the reviewed main revision 55d2d04 in "Build and publish Tier 1 image" run 42158955180: ghcr.io/nvidia/skillevaluator-tier1@sha256:9d5483243918937be4f2178f74cf7c622a531dee41e3176906994d52fa14950a (config sha256:d17d6f5105ec5f1bf0cbe4dff0d693aae4ecf01e9c1c6a6ddb7830518acace33). The workflow and publisher refs both move to 55d2d04. ci/bundles/0.8.0 mirrors the 0.7.2 bundle. The templates, README and release.json are the run's github-actions-onboarding artifact and match ci/render_templates.py output for these pins byte for byte. The scanner inventory and verification receipt come from the build's runtime-stage version step, the five-case smoke receipt, the onboarding job's anonymous pull, and the public manifest, whose config digest equals the smoke-tested image ID. The ZIP uses the 0.7.2 layout (sorted members, inner checksums, 1980 timestamps, 0644, deflate level 9) and rebuilds to identical bytes. Point the current-bundle links at 0.8.0 and list 0.7.2 as historical. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Group evaluations currently require operators to choose neighboring skills manually. Add
tier3 select-decoysto rank real skills from an existing local description-embedding catalog and save a reviewable, frozen manifest. This addresses the automated decoy-selection direction described in ACES §9.Evaluation opts in through
skill_workspace.decoy_manifest, verifies target and selected-source identities before model work, and snapshots the selection once for both paired arms and every agent. The manifest is retained in run configuration. Target aliases, stale sources, path escapes, and shadowed skill identities fail closed. Existing manual includes, explicit helpers, isolated defaults, and baseline/publication protections remain in place.The first version supports local skill-only catalogs, stable similarity ranking, requested counts, and explicit exclusions. Similarity is a heuristic for plausible alternatives; lift remains conditional on the declared workspace. No prerequisites are inferred and no evaluation outcome influences selection.
Draft for maintainer feedback on the manifest/config interface.
Verification
Merged current main (
dd81e6f) before submission; the 64 focused tests, lint, and distribution builds pass again.make lintpassed using the committed dependency lockmake buildproduced wheel and source distributionsmake testwith four workers and a failure limit: 3,840 passed, 49 skipped, 50 failed before interruption. Re-running those 50 cases against unchanged upstream618fc0freproduced 49 failures; the remaining release-shell test passed when retried on this branch. Many failures arise because this sandbox's temporary fixtures live beneath an enclosing Git root or require unavailable OS features. This is not a claim that the full suite passes.The pinned Fern check was attempted with telemetry disabled; this environment cannot supply Node's resident-memory query (
uv_resident_set_memory: ENOENT). Offline YAML frontmatter, fence-balance, and six new local-link/anchor checks passed; normal-environment Fern/CI validation is still needed. Selector tests use offline embedding fixtures; no live-agent benchmark was run.Release Impact
CHANGELOG.md