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:
textrepo/ ├── .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:yamlpaths: skills: skills/ evals: evals/ results: results/ server: resultsDir: resultsSteps to reproduce
From the workspace root:
powershellwaza 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:
- appears with tasks
- Waza version:
- Assistant
Now I understand the root cause. Let me check who else uses
DetectContextand the existing tests: - Assistant
Now let me check the existing check command tests:
- Assistant
Now update
FindEvalto also try the skill's directory name (matching howcoverage/runkey evals by directory name when frontmatter name differs): - Assistant
All pass. Now add regression tests. First for the workspace package:
- Assistant
Now add a regression test replicating the issue's exact workspace shape:
- Assistant
Tests pass. Now verify end-to-end with the exact workspace shape from the issue:
- Assistant
All three invocations from the issue now work. Verify the improved error message and that
coverageremains consistent: - Assistant
The coverage warnings are just my fixture's grader syntax — coverage discovers all 5 nested skills as before. Check the "not found" messaging and run the full test suite:
- Assistant
Full suite passes. Final lint check on the changed files:
- Assistant
Fixed. The root cause was that
waza checkusedworkspace.DetectContext, whose skill scan only looked at immediate children of the skills directory, whilecoverage/runwalk recursively. With skills nested under category dirs (), found no skills at all — so a name arg silently fell back to checking the cwd ("no SKILL.md found in <workspace root>"), and a path arg couldn't map the skill to its ("Evaluation Suite: Not Found").
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.