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.
This commit is contained in:
teknium1
2026-09-13 19:45:17 -07:00
committed by Teknium
parent 56cc2bd814
commit f94a7a1a05
+1 -5
View File
@@ -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"