Skip to content

Commit 8a65349

Browse files
author
ddx-checkpoint
committed
fix: validate canonical ddx skill path
1 parent 9d97e25 commit 8a65349

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cli/internal/skills/embed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package skills
33
import "embed"
44

55
// SkillFiles contains the single portable `ddx` skill tree. The content
6-
// is copied from the repo-root `/skills/ddx/` tree by `make copy-skills`
6+
// is copied from the repo-root `library/skills/ddx/` tree by `make copy-skills`
77
// (run automatically as a prereq of `make build`, `make test`, `make dev`).
88
// //go:embed cannot traverse upward out of the package directory, so we
99
// copy into this package and embed from here.

scripts/eval-skill.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
# 2 — invocation error (missing files, no ddx binary, etc.)
1515
#
1616
# Validation (always runs):
17-
# - SKILL.md exists at skills/ddx/SKILL.md
17+
# - SKILL.md exists at library/skills/ddx/SKILL.md
1818
# - Frontmatter contains only `name` + `description` (portable agentskills.io minimum)
1919
# - Body is under 500 lines
2020
# - All reference/*.md files linked from SKILL.md exist
2121
#
2222
# Routing eval (skipped in --validate mode):
23-
# - For each row in skills/ddx/evals/routing.jsonl, invoke
23+
# - For each row in library/skills/ddx/evals/routing.jsonl, invoke
2424
# `ddx agent run --harness <h> --text <phrase>` and check that the
2525
# response mentions the expected reference file OR the expected CLI command.
2626

2727
set -euo pipefail
2828

2929
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
30-
SKILL_DIR="$REPO_ROOT/skills/ddx"
30+
SKILL_DIR="$REPO_ROOT/library/skills/ddx"
3131
SKILL_MD="$SKILL_DIR/SKILL.md"
3232
EVAL_FILE="$SKILL_DIR/evals/routing.jsonl"
3333

0 commit comments

Comments
 (0)