From f94a7a1a051cb39fd72cd504ac2b920fc032c9e2 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 13 Sep 2026 19:45:17 -0700 Subject: [PATCH] test: scrollcraft skill test resolves the skill dir from the repo only Drop the ~/.hermes/hermes-agent fallback: a test must exercise the tree under review, never a machine-local clone that may hold a different copy. --- tests/skills/test_scrollcraft_skill.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/skills/test_scrollcraft_skill.py b/tests/skills/test_scrollcraft_skill.py index 0b8fb584df..6a88660ba5 100644 --- a/tests/skills/test_scrollcraft_skill.py +++ b/tests/skills/test_scrollcraft_skill.py @@ -5,11 +5,7 @@ from pathlib import Path import yaml -_STAGING = Path(__file__).resolve().parents[2] / "optional-skills/web-development/scrollcraft" -_FALLBACK = ( - Path.home() / ".hermes/hermes-agent/optional-skills/web-development/scrollcraft" -) -SKILL_DIR = _STAGING if _STAGING.is_dir() else _FALLBACK +SKILL_DIR = Path(__file__).resolve().parents[2] / "optional-skills/web-development/scrollcraft" SKILL_MD = SKILL_DIR / "SKILL.md"