Repository navigation
fix(tier3): keep eval datasets fair and prefer guided grounding - #456
Conversation
…-skill baseline The template cases from create-eval-dataset, including the one starter case that autopilot writes, asserted that the agent read SKILL.md, ran the skill's script, or used or identified the skill. The no-skill baseline is graded on the same expected output and assertions and cannot meet them, so its behavior_check, accuracy and goal_accuracy scores dropped and lift was inflated. - Template positive cases now describe the task outcome only. The negative template case is unchanged. - The LLM generation guidelines and the --refine prompt ask for outcome checks and say skill use is scored by skill_execution. - Template --refine skips reads and runs of SKILL.md, the skill directory and the skill's scripts. - tier3 validate warns when a prompt points at the skill's files or an expected output or assertion grades skill use. The warning fails only --strict; runs and autopilot gate on errors only. - The spec example, docs/eval-datasets.mdx and the agent skill's dataset reference use outcome assertions. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review follow-ups for the baseline-fairness check and the dataset
generators.
- tier3 validate now flags an expected output or assertion that runs one
of the skill's own scripts (from scripts/ or tools/): a run verb or
interpreter before the script name, or the name under scripts/ or
tools/. "Ran scripts/convert.py" and the old generator text "The agent
executed convert.py or explained how to run it" passed --strict before.
- Fewer false positives: "follow" is no longer a read verb, "SKILL.md
files/format/conventions/..." is the file format, "<name> ... skill
level/set" is not the skill, and negated clauses ("did not read
SKILL.md", "without running review.py") are skipped. "SKILL.md in the
skill directory" or "from the installed skill" now warns.
- Warnings name the field the entry uses (prompt or question,
expected_output or ground_truth, assertions or expected_behavior), so
an evals.jsonl with agentskills.io names gets the right labels.
- Template cases no longer quote a description that names the skill or
its script in graded text; they use generic outcome text instead.
- The autopilot starter case drops LLM or EVAL.md text that grades skill
use, and create-eval-dataset prints a warning for each generated case
that still grades it.
- Template --refine ignores non-string expected_skill and
expected_script values from LLM-written cases instead of raising.
- The init-custom-grader and init-harbor-task starter assertion grades
the outcome, not "using the relevant skill workflow".
- Docs say what the check detects and that it is a heuristic, that
EVAL.md behaviors are graded on the baseline, and that template
refine skips skill-file steps.
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Case 001 of skills/skillevaluator/evals/evals.json asserted "Read the skillevaluator SKILL.md", which the no-skill baseline cannot do. With the fairness check, `tier3 validate skills/skillevaluator --strict`, the command the skill and docs/agent-skill.mdx recommend, exited 1. The assertion is dropped; the case keeps its three outcome assertions. docs/agent-skill.mdx notes that the measured run shown there used the earlier case. A test runs the documented --strict command on the dataset. The CHANGELOG entry now covers the review follow-ups. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dropping "follow" from the read verbs lost true positives such as "The agent followed the SKILL.md workflow step by step", which the autopilot starter then kept as a graded behavior. Restore follow/follows/followed/ following as read verbs and rely on the generic-noun exemption for format wording instead. The exemption now allows one modifier before the noun, so "follows the SKILL.md frontmatter format" stays exempt, but not a connective, so "reads SKILL.md and files under references/" still warns. "the following SKILL.md" is the task's file and does not warn. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
… .py Template cases left out a description that names the skill's script only when the script was Python: _outcome_subject checked against the parsed skill's scripts/*.py and tools/*.py. `tier3 validate` also lists .sh, .js, .ts, .rb, .pl and .ps1 files, so a skill with scripts/review.sh and the description "Runs review.sh on release manifests." got a starter case whose expected output quoted it, and `tier3 validate --strict` failed on it. _parse_skill now records every script file `tier3 validate` lists, and the template cases, the autopilot starter filter, template --refine and the create-eval-dataset warnings all use that one list. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e is left
The autopilot starter used the template's outcome assertions only when
every kept assertion was exactly SECURITY_BEHAVIOR. An LLM that wrote its
own security line ("The agent did not expose secrets") gets no
SECURITY_BEHAVIOR appended, so after its skill-use assertions were dropped
the starter kept only that line, which both arms pass without doing the
task. Detect security lines the way _generate_with_llm does (the text
mentions secrets or destructive commands) and use the template's outcome
assertions when only such lines are left.
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The skill-script check counted "use", "uses", "used", "using" and
"called" before a script name as running it. "The fix uses main.py's
existing parser" and "Writes a file called review.py with the fixed
checks" then warned as graded skill use, and the autopilot starter
dropped such a line. Common script names such as main.py or build.sh
also name files in the user's repo.
"called" is no longer a run verb. A "use" verb counts only when the
script name ends the clause or CLI arguments follow it ("used review.py
to check", "using review.py --all"). "ran", "executed", "invoked",
"calls" and interpreters still count wherever the name appears.
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Prompts for skills that write skills often say "following SKILL.md best practices", "following the SKILL.md structure", "following SKILL.md guidelines" or "following the SKILL.md frontmatter rules". Each warned that the prompt points at the skill's own files, so `tier3 validate --strict` failed on ordinary skill-creator datasets. guidelines, practices, structure, rules, requirements and layout join the nouns after SKILL.md that make it the file format, with one modifier allowed between as before. "followed the SKILL.md workflow" and "reads SKILL.md and files under references/" still warn. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…arter When only lines that mention secrets or destructive commands were left after skill-use assertions were dropped, the autopilot starter replaced them with the template's outcome assertions. Such a line can be the task check itself: for a migration-review skill, "The agent flags the destructive DROP COLUMN statement in 0042_drop_column.sql" was lost, and so was "The agent reports each leaked secret with its file and line" for a secret scanner. The starter now keeps those lines and adds the template's outcome assertions and the security behavior around them, so the task is still tested and the task check survives. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Template prompts quote the skill description. For a description such as "Reads SKILL.md and reports frontmatter errors." the starter prompt was "Use skill-lint to reads skill.md and reports frontmatter errors", which `tier3 validate` warns points at the skill's own files, so `tier3 validate --strict` exited 1 on a dataset SkillEvaluator wrote. Only the expected output and assertions were checked before. A bare SKILL.md in the description is the file the skill works on, so the prompt and the quoted outcome now call it "my SKILL.md" and keep the task. A description that names skills/<name> or <name>/SKILL.md gets the generic task "handle a typical request" and generic graded text, since it cannot be quoted without pointing at the skill. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Open PRs edit generate_dataset.py and docs/eval-datasets.mdx next to this change: one adds an import after the eval_core import and wraps _generate_simple's return, one adds review helpers before _refine_from_trajectory_template and rewrites the line that builds the dataset in main(), and one adds a provenance record in generate_one_case. This branch inserted code at the same places. Without changing behavior: - import evals_spec as a module, sorted before dataset_utils; - put the template outcome helpers before _generate_simple, and _uses_skill_files next to the other fairness helpers; - filter the starter case after its directory is created, and print the create-eval-dataset warnings after the blank line that follows the dataset; - move the fairness note in docs/eval-datasets.mdx from below the field table to between the example and the table, and say that a template prompt calls a SKILL.md named in the description the user's. The template behavior lists and _generate_simple's return still overlap: they are the lines this change removes. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts:
- CHANGELOG.md: main added entries at the top of Unreleased > Changed,
where this branch had put its entry. Kept every main entry as is and
moved this branch's entry to the end of that subsection.
- src/skillevaluator/tier3/evals_spec.py: _validate_dataset_contents now
sets both this branch's skill_scripts list and main's
required_fields_valid flag. Main's declarative-check validation and
"Dataset size" result stay; the per-entry fairness warnings stay.
- src/skillevaluator/tier3/generate_dataset.py:
- imports: kept main's load_dataset_entries and this branch's
evals_spec and normalize_dataset_entries imports.
- _generate_simple and _generate_full: kept this branch's outcome-only
ground_truth and behaviors (no "read the <name> SKILL.md", "executed
<script>", "used the <name> skill" or "identified <name>") and main's
_normalize_generated_cases wrapper. Main's skill_behaviors list is
replaced by the outcome behavior; main's order is kept: under
--grounding intent the authored EVAL.md behaviors come first, and
the final-response and security behaviors always come last.
_outcome_behaviors takes an authored_first flag for that and uses
main's _FINAL_RESPONSE_BEHAVIOR constant.
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed_script Main now normalizes expected_script when it loads a dataset and raises on a value that is neither a string nor null. create-eval-dataset ran the generated dataset through that loader to print the fairness warnings, so an LLM rewrite that returned a list expected_script made --refine fail with a ValueError before the dataset was written. Main writes such a dataset and leaves the error to tier3 validate. The fairness check does not read expected_script, so the warning printer leaves it out before normalizing. The warnings still print and the dataset is written as before. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ate refine Main now treats "None", "null", "N/A", "-" and blank expected_script values as no expected script. Template --refine still matched such a value as a script name when it dropped trajectory commands that run the skill's scripts, so "N/A" (file name "A") dropped "grep -c A grades.csv" and "None" dropped "python3 -c 'print(None)'". Template refine now normalizes a string expected_script the way main does before matching, so a placeholder names no script and task commands become behaviors again. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's grounding and dataset-result tests pinned the skill-use text this branch removes from generated cases: - test_intent_case_002_keeps_all_authored_behaviors expected "The agent executed reconcile.py or explained how to run it". It now checks that case 002 keeps both authored behaviors, first, as --grounding intent orders them, and that no behavior names SKILL.md or reconcile.py. - test_main_trace_refines_real_trajectory_without_losing_authored_content and test_template_refinement_deduplicates_standard_behaviors_and_keeps_trajectory_actions expected template refine to turn a SKILL.md read into "The agent read SKILL.md before taking action". They now check that the read is skipped and the task command is kept; the authored-content, review-flag, provenance and standard-behavior checks are unchanged. - test_plain_refine_keeps_generated_cases_when_collection_is_unavailable expected the old "The agent used the my-skill skill" output. It now expects the generated outcome text. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's --grounding intent puts the authored EVAL.md behaviors before the generated ones, and the final-response and security behaviors last. Add a test that template cases keep that order for skill and intent grounding, with the outcome check where the skill-use lines were, and pass the fairness check. Main's template refine keeps the behaviors and expected output of cases it treats as authored. create-eval-dataset --refine passes no authored case ids for the cases it generated, so the template-refine fairness test now passes authored_case_ids=set() the same way and still checks that trajectory task work replaces the generated text. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…starter case Main's generate_one_case builds a generation record from the generated cases before writing them. The merge left this branch's skill-use filter after that record, so the record was built from the case before skill-use text was taken out. Apply the filter first, so the record describes the case that is written. The record reads only review flags, which the filter does not change, so the output is the same. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aseline Main added a public starter (examples/starter) whose dataset the demo copies next to the text-analyzer skill and whose paired live run the starter guide describes. Its first assertion, "The agent reads text-analyzer/SKILL.md and runs scripts/analyze_text.py with --file and --json.", grades skill use: the no-skill baseline is graded on it and cannot meet it, and tier3 validate --strict now fails on it. Replace it with an outcome check on the reported statistics. The expected output, the second assertion and the demo's checked fixtures are unchanged. A test copies the starter as the demo does and runs tier3 validate --strict on it. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rness warnings Main's all-tier CI checks a committed Tier 3 dataset before its advisory Tier 3 step and treats any tier3 validate warning as a strict validation failure. The fairness warnings are tier3 validate warnings, so a committed dataset that grades skill use now stops that advisory step, as it fails tier3 validate --strict. Local runs, autopilot and plain validate still gate on errors only. The CHANGELOG entry and the eval-datasets note said the warning fails only --strict and never blocks a run. Say instead that it fails --strict and that CI check, and never blocks a local run or autopilot. The CHANGELOG entry also names the public starter dataset fix. A test pins the CI check on a dataset with only a fairness warning and on an outcome dataset. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…warnings Main added tier3 accept-traces, which appends reviewed production-trace cases to evals/evals.json and validates the result with the dataset contents check. Pin that this path runs the fairness check too: a promoted case whose reviewer assertion reads the skill's SKILL.md gets the warning. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
The merge resolution split one expression over three lines that ruff format keeps on one line. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's standalone verifier-bundle test in test_declarative_checks.py leaves a staged secret_redaction module in sys.modules. When it runs earlier in the same worker, importing ci.run_tiers picks that module up and fails, which also makes main's test_repository_skill_has_committed_complete_dataset_prerequisites fail in that order. The new CI dataset-check test drops the stale module first, so the CI scripts import ci.secret_redaction as they do in a clean process. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
The agent skill's dataset (skills/skillevaluator/evals/evals.json) and the public starter dataset (examples/starter/evals.json) are both new in this Unreleased section, listed under Added, and neither shipped in 0.8.0. The Changed entry described edits to them as if a released version had graded skill use there, so it now leaves them out. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
SkillEvaluator CI resultsRequired gate: Passed Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
rng1995
left a comment
There was a problem hiding this comment.
Reviewed the complete production diff and regression coverage; checked normalized dataset warnings, negation/file-format exceptions, generator templates, authored hints, autopilot filtering, refinement and strict-validation behavior. No actionable findings.
Verification at unchanged head e40a8795f0593a9f49d1389da08907c364f97960: 25 existing CI checks succeeded and 2 were intentionally skipped, including the supported Python tests, lint/package and security/platform gates where applicable. Fresh git merge-tree --write-tree is clean against the frozen main commit ce52a09. No new local test run is claimed for this unchanged code.
|
/nvskills-ci |
chrisknvidia
left a comment
There was a problem hiding this comment.
I read the full src diff line by line and ran probes against the branch. Generation side looks good: the template cases, autopilot starter filtering, refine filtering and the repo's own skill dataset all come out clean under tier3 validate, no conflicts with main, DCO fine, required checks green. The new tests are thorough (I ran the module locally; the 23 that go through the CLI fail here only because my venv has an older harbor, the rest pass).
Three things need changing before merge, all in the validator:
- The negation rule skips checks that demand reading SKILL.md ('never edits files before reading SKILL.md', 'does not run any command without first reading SKILL.md', 'should not proceed until it has read SKILL.md', 'doesn't act before it reads SKILL.md' give no warning). Narrow it to a negation right before the verb.
- Bypasses: the expected-output/assertion check only runs when
expected_skillis set in the entry, uses the dataset's name instead of the skill's own, and only looks at plain strings. Dict or nested-list assertions and list/dictexpected_outputpass silently even though the judge renders and grades them. - Bounds: warnings echo unbounded matched text (200 KB from a 200k-space input) and the negation scan is quadratic (90 KB of repeated 'not read SKILL.md' is about 9 s, 360 KB about 136 s), and CI's dataset preflight runs it on contributor data.
Not blocking but worth a look: zero-width, fullwidth and markdown-wrapped spellings get past the patterns; 'used the skill', 'followed the skill's instructions', 'read the contents of SKILL.md', 'ran cat SKILL.md' and 'python3 -I review.py' are not caught; the prompt check ignores scripts and the template prompt can still carry a script name from the description; and the upgrade note should say that datasets written by earlier versions will now make CI's dataset preflight fail and Tier 3 report incomplete.
CI note: the red check is only require-nvskills-ci (no NVSkills CI status for the commit that edits skills/skillevaluator/evals/evals.json; admin has to fix the dispatch token and /nvskills-ci has to be run on the final head). The earlier paid-tiers (3) failure on 62b0cf9 ended with the runner's generic 'CI execution could not complete safely.' after the skill result was recorded, and nothing in that log points at this change; the current head has no live Tier 3 run because the all-tiers workflow did not start (same as main's own runs).
The check that warns when a prompt, expected output or assertion depends on the skill, which the no-skill baseline does not have, could be passed by rewording, by an odd entry shape, or by a large input. - A negation that covers another action no longer hides a required read: "never edits files before reading SKILL.md", "does not run a command without first reading SKILL.md", "should not proceed until it has read SKILL.md" and "doesn't act before it reads SKILL.md" now warn. A word that ends the negation's reach (before, until, unless, skips, fails to) or a second negation cancels it. "no" counts as a negation, so a negative case such as "no release-review commands or skill workflow" still passes. - Every string inside the prompt, expected output and assertions is checked, whatever the shape (dicts, nested lists, a bare string). A value with more than 1000 nested values is reported instead of skipped. - The check no longer depends on the entry's expected_skill. tier3 validate also uses the skill's own directory name and the name in its SKILL.md frontmatter, so a missing, null, wrongly typed or different expected_skill does not skip it. - Dataset text quoted in a warning is whitespace-collapsed and cut to 80 characters with redact_printable_text, so a warning no longer echoes hundreds of kilobytes or terminal controls. - Only the 160 characters before a match are read to decide whether it is negated, so the scan is linear instead of quadratic in the text length. Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…sions 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.
Reviewed and preserved the concurrent author fix 9b4da3c, then strengthened Unicode/Markdown spellings, script references, generic skill-use wording and template prompts. Independent review found additional unrelated-action negation cases (while/after/yet reading); those now warn while directly negated, need/asked/required controls stay fair. Bounded frontmatter/name parsing, nested-field budgets, and credential/control-safe warning excerpts from the author update are retained. The repository skill dataset remains outcome-oriented and passes strict validation.
Verification: 562 dataset fairness, grounding, generation, Tier 3 source and source-reporting tests passed. After integrating main b64e351, 53 CLI/current-main integration cases passed; only CHANGELOG required manual conflict resolution. Ruff and pinned Fern checks passed (0 errors, one existing authenticated-redirect warning). Independent subagent review approved the reconciled source.
#456 remains blocked as requested because successful NVSkills verification is unavailable (last verified missing NVSKILLS_CI_DISPATCH_TOKEN). Main supplied the repaired native workflow/tools pin 80ef7b6, replacing the earlier missing e56ced7 pin; exact-head native CI is being observed without manual retries or dispatch. The prior incomplete native run remains historical evidence. No secrets or repository settings were changed.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
|
/nvskills-ci Validate reviewed head |
|
Final state update: #469 was merged into #456's branch at All requested review threads are resolved. The generation/fairness/options/regression paths, shipped skill tree and create-dataset CLI function/options in combined head Verified scopes: 172 final generation tests, 113 tests against the exact installed wheel, and all 322 runtime members matched source/wheel/install. Earlier integration Combined-head CI, the missing NVSkills dispatch secret, reusable-workflow pin/ref resolution, and real Harbor 0.25/human qualification remain open. The descriptions now reflect the actual merged-child/open-parent state. No main merge or CI gate bypass was performed by this review-fix task. |
rng1995
left a comment
There was a problem hiding this comment.
Reviewed the concurrent3caf source update against previously reviewed96a595e9. Original history is preserved. The matcher now uses literal alias replacement with bounded excerpts instead of contributor-controlled compiled regexes, direct/indirect negation with linear clause events, and bounded iterative field traversal with explicit cycle diagnostics. Generic skill wording is checked before aliases; directory and frontmatter identities use bounded parse_markdown. Script-aware template prompt behavior and the nested-field compatibility API are preserved.
Independent verification:165 alias, negation, cycle/bounds, script, and diagnostic regressions passed in33.35s. Full source/caller delta and the bounded parser contract were read. Actual Git merge with latest checked main91ecf1ac is clean. #456 remains blocked by the accepted NVSkills verification prerequisite; no manual #456 trigger, dispatch, retry or secret/settings change was performed.
) * feat: default guided dataset creation to intent or traces Signed-off-by: Narendran Raghavan <[email protected]> * fix: preserve guided trace inputs and legacy dataset metadata Signed-off-by: Narendran Raghavan <[email protected]> * fix: report automatic trace refinement fallback honestly Signed-off-by: Narendran Raghavan <[email protected]> * docs: qualify target skill eval guidance path Signed-off-by: Narendran Raghavan <[email protected]> * docs: keep guided generation README within landing-page budget Signed-off-by: Narendran Raghavan <[email protected]> * Protect automatic dataset generation and observed expectations Signed-off-by: Narendran Raghavan <[email protected]> * Preserve authored JSON expectations during dataset refinement Signed-off-by: Narendran Raghavan <[email protected]> * docs: clarify guided dataset generation and recovery Signed-off-by: Narendran Raghavan <[email protected]> * fix: preserve reviewed datasets during automatic grounding Signed-off-by: Narendran Raghavan <[email protected]> * fix: review nested inferred outcomes and explicit recovery guidance Signed-off-by: Narendran Raghavan <[email protected]> * Filter inferred outcomes for cases without retained traces Signed-off-by: Narendran Raghavan <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]>
|
/nvskills-ci Validate combined reviewed head |
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Reviewed the exact adopted source at 83d4e89. The apparent large update consists of two verified automatic integrations: 3cafb36 + main6eb75632 produces the exact07e2e718 tree, and07e2e718 + final #469 headac9edee5 produces the exact1408215b squash tree. #469 retained reviewedc26b0c7d in its own history; squash semantics explain why its source commits are not ancestors of140.
The genuine additional #469 change removes the matching-trajectory restriction when checking newly inferred outcomes. That correctly clears skill-use narration in unmatched inferred cases while preserving authored references; six new string/nested-value/nested-key controls cover both paths. The prior fairness implementation, nested-reference traversal, typed-reference preservation, guidance/no-op contract and metadata safeguards are retained.
A subsequently observed real CHANGELOG conflict with main0434e81c was resolved by retaining both entries. The final tree differs from the computed merge only in CHANGELOG; fairness/generation source, their regression suites and dependency files remain byte-identical to1408215b. Current main90dfd5a7 also merges cleanly, so no freshness-only merge was made.
Validation:1,264 focused adoption/integration cases passed at140 (generation/fairness/grounding/results, shared Codex normalization, fixed-source interactions and CLI golden);492 affected automatic-generation/CLI/golden/inference cases passed after the main conflict resolution. These scopes overlap. Ruff, whitespace and pinned Fern checks pass (0 errors,1 existing optional warning).
Source adoption is sound. Hosted CI and external validation remain independent gates: the final head is being checked separately. The previous140 native workflow failed before creating jobs because evaluate-all-tiers.yml@80ef7b626… was not found; that is distinct from missing NVSkills evidence and is not waived by the accepted NVSkills blocker. No manual workflow dispatch, retry, trigger comment, or secret/settings change was performed.
#456 made create-eval-dataset default to --grounding auto, which needs evals/EVAL.md, --prompt or a matching trace, and rewrote Harbor's missing-dataset error to say so. The Gym backend kept its own copy of the old message, which told users to run create-eval-dataset, and that now fails without guidance. Both backends now use one shared message. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
* chore: start Nemogym integration Signed-off-by: Christopher Kevin <[email protected]> * feat(tier3): add selectable NeMo Gym execution backend Add `tier3 evaluate --backend harbor|nemo-gym` (default harbor). With nemo-gym, the evals.json cases are generated as the same task folders and run by NeMo Gym's own orchestrator, agent harness and Docker sandbox in a separate pinned process. Rollouts are normalized back into trial results, so the shared collector, scores, lift and reports are reused, and result.json records the backend and Gym version. Unsupported options are rejected before execution with no fallback to Harbor. Also credit SKILL.md reads wrapped in `bash -lc '...'`, which NeMo Gym's Codex agent records, as skill activation. Signed-off-by: Christopher Kevin <[email protected]> * test(tier3): score shell-wrapped SKILL.md reads in the plugin-signal test The scored activation check now credits `bash -lc 'cat .../SKILL.md'`, so move that case from the lenient-only group to its own test. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): honor run options and result contract on the NeMo Gym backend - Resolve unset options from evals/config.yml as Harbor does and reject config-set features Gym cannot honor (stop_on_pass, timeout_multiplier, agent_runtime_preflight, base_image_mode, custom Dockerfile modes). - Apply --skip-with-skill and --max-cases, and pass one --agent-model string per agent. - Reject --agent-runtime-preflight, and reject unsupported Gym flags before --autopilot writes a dataset. - Write run_config.json and the run_config/attempt_policy/report_status/duration result fields so result discovery finds Gym runs. - Launch Gym with only the host variables a Harbor backend may receive, plus the policy and judge credentials. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): honor config agent models and resources on the NeMo Gym backend Use harbor.agents.<agent>.model and harbor.resources (cpus, memory_mb) when no flag overrides them, reject the Harbor-only config keys Gym cannot honor (task_source native_harbor, agent_workdir, pre_agent_setup, setup_commands, passthrough_env, resources.storage_mb), and list the supported keys in the docs. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): address NeMo Gym backend review findings Merge Gym launch errors into results, tolerate truncated rollout JSONL, stage harbor.runtime_env into agent tasks, forward only Harbor's Docker-backend environment allowlist, publish the latest link, record dataset snapshot and publication target, run Gym in its own process group with graceful shutdown, resolve the Gym binary and version robustly, require a policy key for a custom model URL, validate SKILL_EVAL_NEMO_GYM_TIMEOUT_S, reject skill_workspace.decoy_manifest and harbor.timeout_multiplier, skip Harbor runtime preflight for tier3 PATH --backend nemo-gym, and drop duplicated CHANGELOG entries. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): let CLI overrides win in NeMo Gym config checks Skip a config key in nemo_gym_config_errors when its flag is given, read the workflow's environment_kwarg param, and stop rejecting the passthrough_env/setup_commands aliases that load_evals_config already normalizes (passthrough_env now reaches the agent via runtime_env staging). Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): address round-3 NeMo Gym review findings Isolate the Gym version probe, stage judge overrides into the verifier, keep partial rollouts as scored arms, let Codex inherit runtime_env, refresh Vertex ADC per launch, harden process cleanup and log redaction, reject MCP servers, native Harbor tasks, URL credentials and Windows before any work, stage every arm once before the first launch, remove staged tasks/jobs as Harbor does, and carry failed status into reports. Signed-off-by: Christopher Kevin <[email protected]> * feat(tier3): support --timeout-multiplier on the NeMo Gym backend Scale each staged task's agent, verifier and environment-build timeouts by Harbor's multiplier before Gym runs, since Gym enforces the task's own timeouts. Validate the multiplier as Harbor does and record it in run_config.json. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): live case progress and doctor for the NeMo Gym backend Fill the live per-case progress rows from Gym's rollouts.jsonl as attempts finish, and add tier3 doctor --backend nemo-gym to check the Gym CLI, version, docker CLI, settings and agent/env-mode support. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(golden): add tier3 doctor --backend to the CLI surface snapshot Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): support agent_workdir, pre_agent_setup and --copy-repo on NeMo Gym Gym reads [environment].workdir and [environment.healthcheck] from task.toml, and builds the repo-context COPY lines, so the staged Harbor tasks carry these settings unchanged. The baseline-isolation rule for pre_agent_setup matches Harbor's. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): support skill_workspace.decoy_manifest on NeMo Gym Resolve the frozen decoy selection with Harbor's helpers, stage the same verified snapshot into every arm, and record the manifest in run_config.json. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): accept custom_dockerfile_mode preserve on NeMo Gym Without a shared base image, preserve and rebase build the same image, as on Harbor; record the mode in run_config.json. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): run native evals/harbor tasks on NeMo Gym Resolve task_source like Harbor and stage native tasks with Harbor's own native staging; record the resolved source in run_config.json. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(tier3): support harbor.base_image_mode on NeMo Gym Build Harbor's shared eval base image for reuse/rebuild and stage the task Dockerfiles on top of it, honouring --custom-dockerfile-mode. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): keep engine failures in re-rendered reports Fall back to the run's result.json when no engine result is passed, and mark the payload summary and affected agents failed, not only the root. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): address NeMo Gym review round 4 - Codex inherits the task environment on every docker launch; reject an unsupported SKILL_EVAL_NEMO_GYM_SANDBOX. - Score a numeric reward.txt when reward.json is missing, as Harbor does. - Redact rollout row failure text before it reaches trial results. - Run the full Gym preflight before --autopilot writes a dataset, and reject a missing dataset before a run dir is reserved. - Reject [[environment.mcp_servers]] in native task.toml files. - Keep Gym's process group killed on a second interrupt and tolerate the macOS EPERM race; record other stop errors against the arm. - Apply --override-cpus/--override-memory-mb to native tasks and scale the default 600 s verifier timeout with --timeout-multiplier. - Exclude the results root from the repo context, report a failed base image build as degraded, and start the reporter with the run plan. - Refresh the Vertex policy token whenever the policy uses the provider key; score live Gym marks from verifier logs and skip normalized jobs. - tier3 doctor --backend nemo-gym probes the Docker daemon and resolves each agent's policy endpoint; document doctor --backend. Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * chore(gitleaks): allowlist the synthetic NeMo Gym policy key test value Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs(tier3): state that NeMo Gym supports only --env-mode docker Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): report excess NeMo Gym rollouts instead of dropping them silently Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): reject incompatible Gym CLIs and excess rollouts Signed-off-by: Narendran Raghavan <[email protected]> * fix(tier3): bound Gym help output and contain probe processes Signed-off-by: Narendran Raghavan <[email protected]> * fix(tier3): keep unattributed engine errors off agents, keep Ctrl-C on stop failure, replace legacy memory key Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(tier3): reject a NeMo Gym CLI without the Harbor task-folder interface before staging Signed-off-by: Christopher Kevin <[email protected]> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: recognize public Gym TARGET positional help Signed-off-by: Narendran Raghavan <[email protected]> * fix(tier3): validate Gym runtime_env and max_agents before reserving a run folder Resolve the judge and harbor.runtime_env environment before _reserve_run_dir, so an unset ${VAR} or an operator-owned name leaves no results/ folder behind, as on Harbor. Reject --max-agents and harbor.max_agents below 1 on the Gym path with Harbor's message. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): reject --tolerate-baseline-timeouts for --backend nemo-gym main's #430 added --tolerate-baseline-timeouts and harbor.tolerate_baseline_timeouts, but only the Harbor runner reads them. After the main sync, a NeMo Gym run accepted either and silently ran without the tolerance, the same gap the budget and baseline-reuse options had. Gym now rejects the option when it is on, from the flag or the config key, before dataset generation, a run folder or a Gym launch, with the same "is not supported with --backend nemo-gym yet" message. Off is Gym's own behavior, so --no-tolerate-baseline-timeouts stays allowed and, as on Harbor, overrides a config key that turns it on. The docs list the new rejected flag and key. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> * docs: use site paths for the Execution backends links The --backend row in the CLI reference and the SKILL_EVAL_NEMO_GYM_BIN row in the environment variables page linked to tier3-live-evaluation.mdx by file path. Published pages need the /skills/skillevaluator/<slug> form, as docs/AGENTS.md requires. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): end a NeMo Gym run when its process group will not stop When a timed-out gym eval run could not be stopped (killpg refused or the leader was not reaped), the failure was recorded against the arm and the next arm launched beside Gym servers and sandboxes that might still be running. _run_gym now makes one last bounded SIGKILL and reap after a failed stop and checks the group is empty. If it still cannot confirm that, it raises GymCleanupError; the runner reports the agent as failed and aborts instead of starting another arm. Signed-off-by: Christopher Kevin <[email protected]> * fix(tier3): keep finished Gym arms when a group cannot be confirmed stopped Re-raising GymCleanupError ended the evaluation before collection, so the arms and agents that had already finished lost their scores: no result.json, report or latest. Now nothing else is launched beside the group, each skipped arm is recorded as not started, and the run is still collected and saved as failed with the cleanup error. On Ctrl-C, SIGTERM or SIGHUP the interrupt still ends the run, but a failed cleanup progress event now says Gym may still be running, instead of only "Aborted!". _group_is_gone reaps our own zombies in the group before each probe, so SkillEvaluator as PID 1 (or a subreaper) without an init no longer reports an already-dead group as running. New tests cover a member that outlives the leader, a retried EPERM probe, the Linux subreaper case, the interrupt event, and a finished arm kept beside a hung one. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> * fix(tier3): show the Gym cleanup warning in the summary When an earlier arm finished, the summary without --verbose folded the cleanup error into "N failure detail(s)", so with --progress off nothing said that Gym's servers or sandboxes may still be running. Record it as a warning too, which the summary always prints, and record that the arm timed out before its stop failed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> * fix(tier3): give Gym the same missing-dataset advice as Harbor #456 made create-eval-dataset default to --grounding auto, which needs evals/EVAL.md, --prompt or a matching trace, and rewrote Harbor's missing-dataset error to say so. The Gym backend kept its own copy of the old message, which told users to run create-eval-dataset, and that now fails without guidance. Both backends now use one shared message. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> --------- Signed-off-by: Christopher Kevin <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Narendran Raghavan <[email protected]> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
…ch SKILL.md becomes my SKILL.md (#571) * fix(tier3): close dataset fairness gaps for negative cases, located SKILL.md files and script-naming descriptions Follow-up to #456. tier3 validate checked the expected output and assertions of a case labelled should_trigger: false for skill use. Such a case grades the skill going unused, which the no-skill baseline meets, but text such as "the lookup-code skill is not needed for arithmetic" failed --strict. Those fields are now skipped for an explicit should_trigger: false label; the prompt is still checked, and an entry whose expected_skill is null is still checked against the skill's own names. The skill-files check read "the SKILL.md at /workspace/input/pdf-tools", "within ../pdf-tools" and "located in ./pdf-tools" as the skill's own SKILL.md, so a skill that reviews other skills failed --strict. "at" and "within" now name a location before a path or URL (POSIX, Windows, environment variable or URL), and an optional "located" may come first. "read SKILL.md at the start" and "within its first two tool calls" still warn. A path that ends in the skill's own name is the skill's own directory, as <name>/SKILL.md already is, so "at ./release-review" and "in ./release-review" warn. Template cases quoted a skill description that names one of the skill's scripts without running it ("Checks release manifests with review.py and reports blockers") in the expected output and first assertion. A whole-word mention of one of the skill's script files now gives the generic outcome text; the prompt still quotes the description. The eval dataset docs and the _template_task docstring said any SKILL.md in the description becomes "my SKILL.md". Only a SKILL.md the description reads, opens, loads, consults or follows without saying where it is is renamed; they now say so. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): narrow the located SKILL.md and negative-case skips A path that ends in the skill's own name stopped counting as the skill's directory when a sentence's final period followed it, so "Read the SKILL.md at ./release-review." passed `tier3 validate --strict`. The name now ends before a period that ends the sentence, as script names already do; release-review.bak is still another place. "at" and "within" read any word/word pair as a relative path, so "at start/end of each phase" stopped warning. A bare relative path now needs a trailing slash, a second separator or a file name. A should_trigger: false case skipped its whole expected output and assertions. They are now checked for reading the skill's SKILL.md or running its scripts, which the no-skill baseline cannot do; only wording that names the skill or its use is skipped. The eval dataset docs name create-eval-dataset where "Its LLM prompts" followed a sentence about the description. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): read only real paths after "at" and "within" "at" and "within" named a location before any token that started with ~, ., $, % or a backslash, and before words joined by two slashes. So "reads SKILL.md within ~3 tool calls", "within .5 seconds", "at $0 extra cost" and "at start/middle/end of each phase" were read as another skill's SKILL.md. Graded text that reads the skill's own SKILL.md then passed tier3 validate --strict. A path start now needs a real path shape: /, ./, ../, .dir/, ~/ or ~user/, $VAR or ${VAR}, %VAR%, a backslash, a drive letter or a URL. A bare relative path, with any number of separators, must end in a separator or a file name. Extra spaces after the location word let the lookahead stop one space short, where the skill's own place cannot match, so "at ./release-review" and "in the skill directory" passed. The spaces are now consumed first. After "at" or "within", a variable such as $SKILL_DIR is read as another location, as "in $SKILL_DIR" already was; a test pins this. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say a null expected_skill negative case needs should_trigger: false tier3 validate checks the expected output and assertions of a should_trigger: false case only for the skill's files and scripts. A negative case labelled only with expected_skill: null is still checked in full, so text such as "the lookup-code skill is not needed for arithmetic" still warns there. The eval dataset docs and the Unreleased entry now say so and tell authors to add should_trigger: false. A test pins both labels and the docs sentence. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): keep checking the graded text of negative cases in full Drop the change that checked the expected output and assertions of a should_trigger: false case only for the skill's files and scripts. Both arms are scored on that text and it feeds Skill Lift, so wording that names the skill, such as "the lookup-code skill is not needed for arithmetic", still warns, as it does on main. Tests now pin that for agentskills.io and legacy entries. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): keep variables and skill install paths after "at" flagged "at", "within" and "located in" name another location only before a path or URL. A variable such as $CLAUDE_SKILL_DIR, ${SKILL_ROOT} or %USERPROFILE% no longer counts as one, and neither does a path through a skill or skills directory such as /workspace/skill/SKILL.md, because these may name the skill's own install. Reading SKILL.md there warns, as it does on main. "located in" follows the same rule instead of reading any place after it as another location. The CHANGELOG now says a path that ends in or passes through a directory named after the skill is the skill's own, and a test pins "in ./release-review/fixtures/pdf-tools". Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): read a path through the skill-named directory after "in" as another place A path that passes through a directory named after the skill counted as the skill's own directory after every location word. After "in", "of", "from", "under" and "inside", where any path named another place, a skill with a generic name then failed --strict for another skill's file: skill pdf with "Read the SKILL.md in /workspace/pdf/fixtures/bad-skill", skill review with "in ./review/pdf-tools" or skill docs with "in ./docs/examples/demo-skill". After those words only a path that ends in the skill's name, such as "in ./release-review" or "in ./release-review/", is the skill's own directory. After "at", "within" and "located in", which named no place before, a path through it still warns, so "at ./release-review/fixtures/pdf-tools" and "at /workspace/pdf/fixtures/x" are flagged as before. The Unreleased entry says so. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say a description that names another place keeps its SKILL.md The eval dataset docs and the Unreleased Documentation entry said a description SKILL.md becomes "my SKILL.md" when the description reads, opens, loads, consults or follows it "without saying where it is". A description that names the skill's own place still says where the file is, and it is still renamed: "Reads SKILL.md in the skill directory" gives "reads my SKILL.md in the skill directory". Only a description that names another place, such as "at ./pdf-tools", keeps the bare SKILL.md. The docs, the CHANGELOG entry and the _template_task() docstring now say "without naming another place for it (such as at ./pdf-tools)". A test pins the wording in all three and checks the three cases against the template generator. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say which located SKILL.md prompts tier3 validate accepts The eval dataset docs described the prompt check only as "reading or following SKILL.md". They did not say that a SKILL.md the prompt places somewhere else does not warn, or which places still count as the skill's own. So "Read the SKILL.md at /workspace/input/pdf-tools" passing, and "Read the SKILL.md in ./<name>" failing --strict, were not visible to dataset authors. The page now says that a SKILL.md placed "in", "of", "from", "under" or "inside" another place, or "at", "within" or "located in" a URL or a path, does not warn; that the skill directory and a path ending in the skill's name still warn; and that after "at", "within" or "located in" a variable, a path through a skill or skills directory and a path through the skill's own directory still warn. The Unreleased Documentation entry says so. A test pins each sentence and checks every place it names through the dataset check. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * revert(tier3): keep tier3 validate's SKILL.md location wording as on main Drop this branch's changes to the strict dataset preflight's SKILL.md location rules: reading "at", "within" and "located in" a path as another place, warning on a path that ends in a directory named after the skill after "in", "of", "from", "under" and "inside", and consuming extra spaces after the location word. tier3 validate --strict now reads every SKILL.md prompt exactly as main does. Their tests, the docs sentences that listed the accepted places and the CHANGELOG entry go with them. The branch keeps the template fix for descriptions that name a skill script and the docs correction about which SKILL.md becomes my SKILL.md. That correction now gives "in ./pdf-tools" as its example of another place, since "at" is not a location word. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): find the my SKILL.md CHANGELOG entry in any section The docs-correction check read only the Unreleased section, so it would fail as soon as a release moved the entry into a versioned section. It now finds the entry by its opening words anywhere in CHANGELOG.md and asserts only that it sits in Unreleased or a release after 0.9.0, whose entry stays as released. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): match script names in template descriptions as tier3 validate does A description that names a skill script with a zero-width space before ".py", or in fullwidth letters, was still quoted in the expected output and first assertion of template cases. tier3 validate normalizes those spellings before it matches script names. The template check now also matches the normalized description and script names. It still matches the text as written, so a Markdown link target that names a script keeps the graded text generic. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): name the place words that keep a description's SKILL.md The eval dataset docs, the _template_task() docstring and the Unreleased CHANGELOG entry said a description keeps its SKILL.md when it names another place for it. Only in, of, from, under or inside another place right after SKILL.md does that. "Reads SKILL.md at ./pdf-tools" and "within ./pdf-tools" are still renamed. The docs page and the CHANGELOG entry also listed only reading verbs, but any description that points at the skill's own SKILL.md as a prompt tier3 validate warns about would is renamed, such as "cat SKILL.md" or "uses the skill's SKILL.md". All three now name those place words and the tier3 validate rule. The docs tests check each listed verb and place word against the generator, check that "at" and "within" are still renamed, and check the same wording in the CHANGELOG entry. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): restore tier3 validate's lowercase fullwidth script case The strict preflight test for normalized script names had its lowercase fullwidth script name replaced with an uppercase one. tier3 validate is unchanged on this branch, so its existing case comes back as on main. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say which read SKILL.md stays and when the task is generic The eval dataset docs said a template prompt calls a SKILL.md my SKILL.md whenever the description reads, opens, loads, consults or follows one. The generator does not rename "a SKILL.md", "the following SKILL.md", or a SKILL.md followed by a format noun such as files, format, spec or template, right after it or one word later. A description that still points at the skill's files after the rename, such as <name>/SKILL.md, skills/<name> or "uses the installed skill", gets the generic task "handle a typical request" instead. The docs and the _template_task() docstring now say both, and the Unreleased CHANGELOG entry names both cases. The docs test checks these cases against the generator and the wording in all three. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say a connective before a format noun keeps the SKILL.md rename A format noun one word after SKILL.md keeps a description's SKILL.md only when that word is not a connective such as and, for, to or with, so "Reads SKILL.md for format errors" is still renamed to my SKILL.md. The eval dataset docs and the _template_task() docstring said any word in between counted. The docstring also gave "The release-review skill checks manifests" as a description whose task stays quoted with no outcome. That description gets the generic task; "Uses release-review for manifests" is the quoted case. The docs test now checks each listed connective against the generator and each docstring example against the branch it is given for. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): name every word that keeps the SKILL.md rename before a format noun The eval dataset docs and the _template_task() docstring now name all nine words that do not count as the one word between SKILL.md and a format noun: and, or, then, but, before, after, to, for and with. So "reads SKILL.md for format errors" is still renamed, while "reads SKILL.md on format errors" keeps its SKILL.md. The sentence about a place word right after SKILL.md now follows the format-noun rule directly, and the docs paragraph is rewrapped. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): give the generic task when the skill's name comes before SKILL.md A description that reads SKILL.md right after the skill's name, "the <name> skill's" or "the installed skill's" had that SKILL.md renamed in place, so the template prompt and graded text quoted a garbled task such as "reads release-review's my SKILL.md". Such a description now gets the generic task "handle a typical request" and generic graded text, as one that names <name>/SKILL.md does. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(tier3): cover the LLM starter case for a description that names a script When an LLM reply grades running review.py, the autopilot starter case replaces that expected output and those assertions with the template outcome text. For a description that names review.py, that text no longer quotes the description, and the test now pins this. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say when the starter case uses the script-free outcome text The CHANGELOG entry said the autopilot starter case no longer quotes a description that names one of the skill's scripts. With an LLM reply, the starter case keeps LLM-written text that does not grade skill use, even when it names a script. The entry now says the template outcome text no longer quotes such a description, and that the starter case uses it when it has no LLM reply or when it replaces graded text that uses the skill. It also names the outcome assertion instead of the first one, since authored behaviors come first under --grounding intent. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say every bare SKILL.md is renamed and which words after it keep it Once one SKILL.md in a description counts, every bare SKILL.md in it becomes my SKILL.md, even one after "a" or "the following", one before a format noun or one before "in ./pdf-tools". The docs and the CHANGELOG entry described the rename one SKILL.md at a time. In, of, from, under or inside right after SKILL.md keeps it whatever follows, unless the skill itself does, so "reads SKILL.md in full" keeps it too. The docs, the _template_task docstring and the CHANGELOG entry said only another place did. The docs and docstring also give "reads <name>'s SKILL.md" as an example of a description that gets the generic task. The docs test checks each wording against the generator. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): keep generic wording before SKILL.md for a skill named after it A skill named after a read verb or a SKILL.md qualifier, such as read, follow, cat, skill, own or of, had a description like "Read SKILL.md and report errors" or "Reads its own SKILL.md" turned into the generic task "handle a typical request", because the name right before SKILL.md was taken as the skill owning that file. As in tier3 validate, generic wording now comes first: when a read verb, the/its/this/that/own/skill's or "the contents of" covers the words before a SKILL.md, the name there does not count, and the SKILL.md is renamed to my SKILL.md as for any other skill. A description that reads SKILL.md right after the skill's name or "the installed skill's", such as "Reads release-review's SKILL.md", still gets the generic task. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say a description that only names the skill's SKILL.md is quoted The eval dataset docs and the _template_task docstring said a description gets the generic task whenever the skill's name, "the <name> skill's" or "the installed skill's" comes right before SKILL.md. A description that only names such a SKILL.md, such as "Validates release-review's SKILL.md frontmatter" or "Checks the installed skill's SKILL.md for errors", is quoted as it is. The docs and the docstring now give the rule for a description that reads SKILL.md right after those words, as the CHANGELOG entry does, and the docs test checks those descriptions against the generator. The docs, the docstring and the CHANGELOG entry also say that generic wording comes first, so for a skill named read or own, "read SKILL.md" and "its own SKILL.md" are renamed as for any other skill. The docs test pins both and checks them against the generator. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier3): give the generic task when the skill's name precedes [SKILL.md] The check for the skill's name, "the <name> skill's" or "the installed skill's" right before a SKILL.md allowed only quotes, asterisks and underscores in between. "Reads release-review's [SKILL.md] and reports errors" still became "reads release-review's [my SKILL.md] and reports errors". An opening bracket now counts too, as it does for the generic wording before SKILL.md, so such a description gets the generic task "handle a typical request". Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier3): say the skill's name before any SKILL.md gives the generic task The eval dataset docs, the _template_task docstring and the CHANGELOG entry said a description gets the generic task "handle a typical request" when it reads SKILL.md right after the skill's name, "the <name> skill's" or "the installed skill's". The generator also gives it when one SKILL.md in the description counts and those words come right before another SKILL.md in it, so "Reads SKILL.md, then validates release-review's SKILL.md frontmatter" gets the generic task too. They now say that it comes when one SKILL.md counts and those words come right before any SKILL.md in the description, and that a description where no SKILL.md counts, such as "Validates release-review's SKILL.md frontmatter", keeps that SKILL.md. The sentence after it, that generic wording such as "read SKILL.md" for a skill named read comes first, is unchanged. The docs test pins the wording in all three places and checks these descriptions against the generator. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Tier 3 datasets must grade both arms on the task outcome, and guided generation must protect authored cases. This PR now carries both the baseline-fairness fixes and #469's guided-generation changes after #469 was squash-merged into this branch at
1408215b27fe655e39f9a0bf1cecff402bc0201f.--grounding skill; existing datasets require explicit refinement or overwrite.All requested inline review threads in #456 and #469 are resolved and have implementation/test replies.
Verification and integration
Reviewed child source
ac9edee5contains the final partial-trace fix. Its generator, fairness validator, options, regression tests, README, dataset docs, shipped skill tree and create-dataset CLI function/options are preserved exactly in combined head1408215b. The parent also incorporates a concurrent main merge; those additional main changes are not attributed to the earlier test counts.ac9edee5: 172 passed. The exact installed final wheel passed 113 auto-grounding tests; all 322 of its runtime/package-data members match source, wheel and installed bytes.dee636c3: 812 passed. Parent fairness/grounding/utils/Harbor gate3cafb364: 388 passed.3cafb364: 30,252 passed, 81 skipped on each of Python 3.13 and 3.14 (run). This is not a full-suite result for the later combined head.The matcher remains a documented wording heuristic. Local full-suite attempts on superseded heads were interrupted when concurrent updates invalidated their scope; no local full-suite pass is claimed.
Remaining merge requirements
Missing NVSKILLS_CI_DISPATCH_TOKEN secret(confirmed request). The repository/central-CI administrator must configure the intended credential; no personal-token substitution or gate bypass was performed.evaluate-all-tiers.yml@80ef7b62(observed run). Actions reports the workflow unavailable before jobs start, despite its public readability. The CI release owner must validate pin/ref resolution and Actions access.#469 is already merged into this branch and does not need retargeting or a second merge. Merge this combined PR to main once the remaining requirements pass.