Skip to content

feat: prefer intent or matching traces for guided dataset creation - #469

Merged
rng1995 merged 20 commits into
naren/port-tier3-dataset-baseline-fairnessfrom
naren/guided-grounding-default
Nov 13, 2026
Merged

rng1995 merged 20 commits into
naren/port-tier3-dataset-baseline-fairnessfrom
naren/guided-grounding-default

Conversation

@rng1995

@rng1995 rng1995 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Standalone create-eval-dataset defaults to --grounding auto: prefer substantive author guidance (--prompt or the target skill's evals/EVAL.md), then meaningful retained traces from completed skill-scoped runs with matching cases. With neither, fail before provider access, collection or writes. Skill-only generation requires explicit --grounding skill; headings/comments or punctuation alone are not guidance.

Existing datasets return unchanged before skill parsing unless modification is explicitly requested with --refine or --force. Explicit --grounding trace remains an intentional refinement request. Invalid forced auto input explains the required inputs and the --grounding skill --force recovery option.

Trace refinement preserves authored prompts, expectations, fixtures/checks, routing, metadata, source hashes and review history. Authored JSON expectations—including objects, lists, false, zero and empty collections—remain authored; only null/blank strings are unspecified. Every newly inferred outcome, including unmatched cases and nested values/dictionary keys, receives the fairness check. Skill-dependent or incompletely inspected outcomes are left empty with an independent-authoring review reason. No fabricated generic truth is substituted.

Unattended autopilot keeps its distinct one-case skill-grounded starter. CLI help, README, published docs, recovery messages and shipped skill guidance explain these flows. The two stale guided-grounding process files are removed.

Merged into parent #456's branch at 1408215b27fe655e39f9a0bf1cecff402bc0201f on 2026-11-13. The reviewed child head is ac9edee5ff5a3eb8e2499ec738adb42014303c04. These changes reach main through #456; this closed, merged PR needs no retargeting or second merge.

Verification

  • Final generation gate on ac9edee5: 172 passed (113 auto-grounding cases plus grounding and retained-result modules). The unmatched-case regression failed in all three inferred forms before the fix; all authored controls already passed. Independent final runtime probes/review passed.
  • Broader reviewed integration at dee636c3: 812 passed, covering generation/fairness/provenance, CLI/golden, service, reports and recovery. These are overlapping, named scopes; the broad count is not attributed to the later head.
  • Parent 3cafb364: 388 focused tests passed; full hosted suites passed 30,252 tests with 81 skipped on each of Python 3.13 and 3.14.
  • The exact installed final wheel passed all 113 auto-grounding tests, including the new partial-trace cases. Final exact wheel installed in an owned Harbor 0.25.0/certifi 2026.10.23 environment; all 322 runtime/package-data members match source, wheel and installed bytes.
  • Ruff, formatting, review-delta whitespace, OSS boundary and Fern passed. README: 1098 words under the unchanged 1100 limit. Fern has only the existing unauthenticated redirect-check warning.
  • Shipped skill scan: 12/12 complete, zero findings, no LLM inference; its entire tree is byte-identical to the scanned integration.

Whole-project local attempts on earlier heads were interrupted when concurrent published changes invalidated their scopes; no local full-suite pass is claimed. The initial 3ade299c attempt emitted one failure marker before diagnostic details; the later dee636c3 attempt emitted no failing node before interruption. Latest-head hosted CI remains an open requirement.

Release Impact

  • DCO, regression coverage, CLI/golden surface, user docs, shipped skill guidance and changelog updated.
  • No credentials/private datasets, new scoring policy, grader release gates or dataset schema additions.
  • Successful combined-head hosted CI and fix(tier3): keep eval datasets fair and prefer guided grounding #456 merge to main.
  • Central NVSkills validation. Fresh requests fail with Missing NVSKILLS_CI_DISPATCH_TOKEN secret (child request); a repository/central-CI administrator must configure the intended credential. A fresh request is posted for the final head; the administrator requirement remains open.
  • Resolve the inherited all-tier workflow load error: Actions cannot resolve evaluate-all-tiers.yml@80ef7b62 before jobs start (child run). The pinned file is publicly readable and the caller is unchanged from main; the CI release owner must validate pin/ref resolution and Actions access.
  • Real generation→validation→evaluation qualification on Harbor 0.25 and Eval Author handoff tracked in SKILLEVAL-28. Earlier 0.24 receipts remain historical.

@rng1995

rng1995 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator Author

/nvskills-ci

@rng1995

rng1995 commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator Author

/nvskills-ci

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Direction looks right for a draft, and the core preflight is solid in my probes: with no guidance, no matching trace, blank EVAL.md or a blank --prompt file it aborts before any write or provider call; guidance wins over traces; empty, foreign or unmatched traces are rejected; FIFO, linked and hardlinked trial inputs are rejected before reading; and explicit --grounding skill still gives the old starter. The generator-level tests pass on my machine (52 passed); the 14 that fail here are CLI or provider-environment ones (older harbor in my venv; the 6 progress tests fail identically on #456), not something this change introduced.

What I would change before taking it out of draft:

  1. A bare command on an existing evals.json with a matching retained run rewrites the file in place with no --force or --refine (adds assertions and review flags, reformats it). Require one of those flags in auto mode.
  2. The default trace path writes the with-skill run's final message as expected_output; when it says 'I read SKILL.md and ran review.py' the result fails #456's strict validation. Filter skill-use text out of observed ground truth the way #456 does for the autopilot starter.
  3. Update the places that still tell people to run the bare command: README.md:156, skills/skillevaluator/references/tier3-running.md:31, the missing-dataset messages in evals_spec.py, harbor/report.py:969, next_steps.py:238 and docs/configuration.mdx:57.
  4. Land #456 first (it needs its own fixes), then retarget and rebase; finish the open checklist items (exact-head CI, NVSkills CI, live Harbor 0.25 run).

Smaller things: --force over an invalid old dataset now fails with a message about --grounding trace; a headings-only EVAL.md counts as guidance; _parse_skill now runs before the 'already exists' return; and the two docs/superpowers files mention a /tmp path and a stale base commit.

@rng1995

rng1995 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

/nvskills-ci

Validate reviewed head dee636c3dd4fee647b468bd955c207ee699f9f6d, stacked on #456 at 3cafb364. Final focused gate: 812 passed. Central validation remains an open requirement; no gate bypass is requested.

@rng1995
rng1995 marked this pull request as ready for review November 13, 2026 08:26
@rng1995

rng1995 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

/nvskills-ci

Validate final review-fix head ac9edee5ff5a3eb8e2499ec738adb42014303c04, preserving concurrent c26b0c7d and parent #456 at 3cafb364. The partial-trace regression is fixed; 172 final generation tests passed. Central validation remains required; no gate bypass is requested.

@rng1995
rng1995 merged commit 1408215 into naren/port-tier3-dataset-baseline-fairness Nov 13, 2026
26 of 27 checks passed
@rng1995

rng1995 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator Author

Final state update: #469 was merged into #456's branch at 1408215b27fe655e39f9a0bf1cecff402bc0201f during concurrent work. It is closed/merged into the parent branch, not main. No retarget or second #469 merge is needed; #456 carries the combined change to main.

All requested review threads are resolved. The generation/fairness/options/regression paths, shipped skill tree and create-dataset CLI function/options in combined head 1408215b exactly preserve reviewed ac9edee5. Additional concurrent main changes have separate CI scope.

Verified scopes: 172 final generation tests, 113 tests against the exact installed wheel, and all 322 runtime members matched source/wheel/install. Earlier integration dee636c3 passed 812 tests; parent 3cafb364 passed 388 focused tests and 30,252 full-suite tests on each of Python 3.13/3.14. These earlier full counts are not attributed to 1408215b.

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
rng1995 deleted the naren/guided-grounding-default branch November 13, 2026 08:40
rng1995 added a commit that referenced this pull request Nov 13, 2026
…-skill baseline (#456)

* fix(tier3): keep generated and validated eval datasets fair to the no-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]>

* fix(tier3): catch skill-script assertions and keep starter cases fair

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]>

* fix(skills): keep the agent skill's own dataset fair to the baseline

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]>

* fix(tier3): flag "followed SKILL.md" again in the fairness check

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]>

* fix(tier3): check generated text against every skill script, not only .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]>

* fix(tier3): fall back to outcome checks when only an LLM security line 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]>

* fix(tier3): count "uses <script>" as a run only at the end of the clause

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]>

* fix(tier3): do not flag SKILL.md best-practice and structure wording

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]>

* fix(tier3): keep task checks that mention secrets in the autopilot starter

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]>

* fix(tier3): keep template prompts from pointing at the skill's SKILL.md

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]>

* refactor(tier3): keep dataset fairness hunks apart from open dataset PRs

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]>

* fix(tier3): keep fairness warnings from aborting on an invalid expected_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]>

* fix(tier3): treat a placeholder expected_script as no script in template 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]>

* test(tier3): expect outcome-only cases in main's dataset grounding tests

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]>

* test(tier3): pin the grounding order of fair template cases

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]>

* refactor(tier3): build the autopilot provenance record from the fair 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]>

* fix(examples): keep the public starter dataset fair to the no-skill baseline

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]>

* docs(tier3): say that all-tier CI's strict dataset check fails on fairness 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]>

* test(tier3): check that cases promoted by accept-traces get fairness 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]>

* style(tier3): format the merged _outcome_behaviors

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]>

* test(tier3): import the CI scripts cleanly in the CI dataset-check test

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]>

* docs(changelog): drop unreleased dataset edits from the fairness entry

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]>

* docs: use published navigation routes

Signed-off-by: Narendran Raghavan <[email protected]>

* fix(tier3): close gaps in the dataset baseline-fairness check

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]>

* fix(tier3): bound and complete dataset fairness checks

Signed-off-by: Narendran Raghavan <[email protected]>

* fix(tier3): address dataset fairness review cases

Signed-off-by: Narendran Raghavan <[email protected]>

* fix(tier3): recognize skill use before terminal punctuation

Signed-off-by: Narendran Raghavan <[email protected]>

* feat: prefer intent or matching traces for guided dataset creation (#469)

* 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]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Christopher Kevin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants