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
I’ll trace the Go implementations of
check,coverage, and workspace config resolution, then add a regression test for this exact multi-skill layout before fixing discovery and updating the relevant docs. - Assistant
rgisn’t installed in this environment, so I’m switching tofind/grepand continuing the same inspection. - Assistant
The mismatch is now clear: shared workspace detection only scans one directory level under
skills/, whilecoveragescans recursively. That prevents both name resolution and separated eval lookup for categorized skills. I’m updating the shared detector to recurse safely and makingcheck’s fallback honor.waza.yaml, with tests covering both path and name invocations. - Assistant
The first targeted run exposed an intentional boundary in existing detection: arbitrary sibling directories must remain a shallow scan. I’m preserving that behavior while limiting recursion to configured skill roots (
paths.skillsand.github/skills), which fixes categorized workspaces without broadening unrelated discovery. The command package build also hit the container’s process limit, so I’ll rerun with constrained Go parallelism. - Assistant
The regression tests now pass for both
waza check skill-creatorand the categorized path form, including custom.waza.yamlskill/eval roots. I’ve also documented the exact lookup order. I’m running the full Go suite and docs build now. - Assistant
All Go tests pass. The docs build can’t run because
npmis not installed in this environment; I’m doing the remaining local diff/static checks and will call that limitation out explicitly.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.