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 let me look at how
coverageandresolveWorkspacediscover skills: - Assistant
Now let me look at the workspace tests and check tests to understand expected behavior:
- Assistant
Now fix
cmd_check.go— the auto-detection should honor.waza.yaml, andFindEvalshould work even when the skill was specified by path: - Assistant
Now add the
findEvalInContexthelper (aftercheckReadiness): - Assistant
Now fix the confusing fallback in
runCheck— when a skill name can't be resolved, surface the workspace error instead of silently checking the cwd: - Assistant
Also improve the "Not Found" message to explain the discovery rule (improvement #2/#4 from the issue):
- Assistant
Resource limits hit during parallel compilation. Retry with reduced parallelism:
- Assistant
All tests pass. Now let me verify the fix with a reproduction of the exact issue scenario, then add regression tests. First look at existing test helpers:
- Assistant
Now add a workspace test for nested skill discovery:
- Assistant
Now check the existing check-workspace test patterns:
- Assistant
Both previously-broken invocations now work. Verify the remaining cases:
- Assistant
Done. The fix makes
waza checkuse the same discovery rules ascoverageandrun.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.