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 start by exploring the repository structure.
Assistant
Let me reproduce the issue by building the CLI and creating the workspace shape.
Assistant
Now let me implement the workspace changes: recursive skill scanning under skills roots, and richer eval discovery.
Assistant
Now update imports and the recursive scanning.
Assistant
Now the recursive skill scanning under explicit skills roots.
Assistant
Now update
checkReadinesseval discovery in cmd_check.go.Assistant
Now add the
findEvalForSkillhelper and the slog import.Assistant
Now update the JSON output and
runCheck's fallback error messaging.Assistant
Now improve
runCheck's handling when a skill name can't be resolved (currently falls back to cwd and gives a confusing message).Assistant
Now add documentation of the discovery rule to the CLI reference (and README where relevant).
Assistant
Now update the command's
Longhelp text to document discovery.Assistant
Let me move the context helper into the workspace package and reuse it in both places.
Assistant
Now update
internal/checks/eval_suite.goto use the shared discovery.Assistant
Now let me test the tricky edge cases: eval matched only by the
skill:field, and eval.yml.Assistant
Good, go.mod restored. Now let me compare old vs new behavior on this repo to check for regressions.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.