waza check eval discovery is inconsistent with coverage and run in multi-skill…
- User
waza checkeval discovery is inconsistent withcoverageandrunin multi-skill workspacesSummary
In a multi-skill workspace,
waza coverage .andwaza run evals/.../eval.yamlboth recognize the eval structure, butwaza checkdoes not discover the related eval suite consistently.This creates a confusing user experience because the workspace appears valid for coverage and execution, but readiness checks report that no eval exists or fail to find the skill.
Environment
- Waza version:
0.31.0 - OS: Windows
- Shell: PowerShell
Workspace shape
This was reproduced in a repository with this structure:
repo/ ├── .waza.yaml ├── skills/ │ ├── development/skill-creator/SKILL.md │ ├── copilot-exclusive/mcp-ecosystem/SKILL.md │ ├── copilot-exclusive/fleet-parallel/SKILL.md │ ├── testing/eval-harness/SKILL.md │ └── copilot-exclusive/background-agent/SKILL.md └── evals/ ├── skill-creator/eval.yaml ├── mcp-ecosystem/eval.yaml ├── fleet-parallel/eval.yaml ├── eval-harness/eval.yaml └── background-agent/eval.yamlThe root
.waza.yamlincludes:paths: skills: skills/ evals: evals/ results: results/ server: resultsDir: resultsSteps to reproduce
From the workspace root:
waza coverage . waza check skills/development/skill-creator waza check skill-creator waza run evals/skill-creator/eval.yaml --task create-dev-skill-001 --trials 1 --output-dir results -vActual behavior
waza coverage .Coverage recognizes the pilot evals and shows the skill as partially covered.
Example outcome:
skill-creatorappears with2tasks- other pilot skills also appear in the coverage grid
waza run evals/skill-creator/eval.yaml ...Run executes successfully enough to:
- load the skill directories
- run the selected task
- apply graders
- save a result JSON file under
results/...
waza check skills/development/skill-creatorOutput includes:
Evaluation Suite: Not Foundwaza check skill-creator - Waza version:
- Assistant
Now let me look at the workspace tests and check who else uses
scanForSkills/DetectContext: - Assistant
Let me check how
runresolves things and look atinternal/checks/eval_suite.go: - Assistant
Now add the recursive scanner:
- Assistant
Now
cmd_check.go. First the help text and the misleading fallback inrunCheck: - Assistant
Now build and run the existing tests:
- Assistant
Both pass. Now add regression tests covering the issue's exact workspace shape. First the workspace package tests:
- Assistant
Now the
checkcommand regression tests reproducing the issue's workspace shape: - Assistant
All tests pass. Now verify end-to-end with the exact repro from the issue:
- Assistant
Both broken invocations now work. Verify the improved error message, the diagnostics, and consistency with
coverage: - Assistant
All tests pass. Let me check for a lint setup:
- Assistant
Vet is clean. Let me check if there are docs describing
check's eval discovery that should be updated: - Assistant
Fixed. The inconsistency had one root cause plus two aggravating behaviors in
check:Root cause
waza coveragediscovers skills with a recursivefilepath.WalkDirover , but (used by ) only scanned . With category-nested layouts like , saw an empty workspace — so couldn't resolve the name, and couldn't map the skill to .
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.