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
resolveWorkspaceand howcoveragedoes discovery: - Assistant
Let me check the workspace tests and the discovery package:
- Assistant
Now let me look at the existing check tests:
- Assistant
Now fix
cmd_check.go— the eval-detection fallback and the swallowed error: - Assistant
Now build and run the existing tests:
- Assistant
Both target packages pass; the
FAILis fromgo vetfork/exec failures (resource limits in this sandbox), not test failures. Let me rerun with vet off and limited parallelism to confirm: - Assistant
All pass. Now let me verify the fix end-to-end with a workspace mirroring the issue's repro:
- Assistant
check,coverage, andrundiscovery now agree. Now add regression tests — first to the workspace package: - Assistant
Now add cmd-level regression tests mirroring the issue's repro:
- Assistant
All check tests pass. Run the full test suite to catch any ripple effects from the
DetectContextchange: - Assistant
Everything checks out. Cleaning up the repro artifacts:
- Assistant
The fix is complete. Here's a summary of what caused the inconsistency and what changed:
Root causes
- Shallow skill scan in
workspace.DetectContext— only looked at of , while () and () walk recursively. With a nested layout like , found zero skills, so fell through and couldn't map the skill to its eval.
- Shallow skill scan in
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.