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:
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 Found - Waza version:
- Assistant
I’ll inspect the repository structure and locate the implementations for
check,coverage, and eval/skill discovery. I’ll then compare their resolution rules, reproduce the mismatch with focused tests or a temporary fixture, implement the smallest shared-discovery fix, and run the relevant test suite. - Assistant
The repository is a Go CLI. I’m narrowing the search to command handlers and shared workspace/config utilities, then I’ll inspect existing tests around skill and eval path resolution before changing behavior.
- Assistant
The mismatch is caused by two concrete inconsistencies: workspace discovery only scans one directory level under
skills/, while coverage recursively finds nested skills; andcheck’s fallback detection ignores.waza.yamlpath settings and the skill’s workspace location. I’ll make skill scanning recursive and centralize config-aware context detection so explicit paths and name-based checks use the same workspace/eval resolution rules. - Assistant
The core change is in place. I noticed an important edge case before testing: a workspace without
.waza.yamlshould still resolve an explicit nested skill relative to the current working directory, rather than treating the skill directory itself as the workspace root. I’ll adjust that fallback, then run workspace and check tests plus a temporary multi-level fixture. - Assistant
Tests exposed a compatibility issue in the first implementation: recursive scanning at the generic workspace root incorrectly treats arbitrary directories such as
my-skills/as configured skills. I’ll keep recursion limited to the configured skills directory (and.github/skills), while preserving the existing immediate-child fallback semantics. - Assistant
The focused tests and the full Go test suite now pass. The fix discovers grouped skills such as
skills/development/skill-creator, honors configuredpaths.skills/paths.evalsforcheck, and preserves legacy direct-child behavior. I’ll do a final diff/status review and submit.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.