ISSUE DESCRIPTION waza check eval discovery is inconsistent with coverage and run in…
- User
ISSUE DESCRIPTION
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:
- Waza version:
- Assistant
I’ll trace the implementations of
check,coverage, andrun, identify where skill/eval paths diverge, then make the smallest shared-discovery fix. I’ll run focused tests (and broader tests if practical), inspect the diff, and verify the reported multi-skill path cases with a temporary fixture rather than modifying repository tests. - Assistant
The divergence is in
waza check’s explicit path branch: it deliberately callscheckReadiness(..., nil), so the workspace-aware eval lookup is skipped and only a co-locatedeval.yamlis considered. This is exactly the reportedskills/.../skillinvocation. I’ll preserve the direct-path fallback for standalone skills, but first resolve the current configured workspace and pass it into readiness checking; I’ll also make the secondary autodetection use the same config-derived options. - Assistant
The workspace detector has a second gap matching the fixture: its configured
skillsscan only checks immediate children, while the reported skills are nested under category directories (skills/development/skill-creator). I’ll extend the configured workspace scan recursively (without changing the standalone immediate-child fallback), so named and explicit-path checks can resolve those skills and their configuredevalscounterparts. - Assistant
The focused tests pass, and a temporary workspace reproducing the nested category layout now reports the exact separated eval path for both
check skills/development/skill-creatorandcheck skill-creator. I’ll run the full Go test suite, then inspect the final diff/status for unintended changes. - Assistant
The full Go suite passes. One edge case remains worth tightening: when an explicit path is supplied in a workspace containing duplicate skill names, the context should be narrowed to the skill at that exact path rather than allowing
FindSkillto select the first same-named skill. I’ll make that small safety adjustment and rerun the focused command tests before submitting. - Assistant
The fix is verified: explicit-path checks now retain and narrow workspace context, configured skill roots are recursively discovered, and configured eval paths are honored consistently. Focused tests and the full suite passed, with no whitespace errors or test-file modifications. Checklist status: reproduction confirmed with a temporary nested multi-skill fixture; fix confirmed for both path and name invocations; edge cases considered (configured paths, standalone fallback, duplicate names); affected and full tests passed.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.