From dbaefe92c6cfc9c89a2c3aedcd55211d3297dcb7 Mon Sep 17 00:00:00 2001 From: Mika Kuns Date: Fri, 3 Jul 2026 09:27:06 +0200 Subject: [PATCH] docs(skills): mark cwd-skill discovery verified in headless mode --- .../specs/2026-07-03-session-skills-design.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/superpowers/specs/2026-07-03-session-skills-design.md b/docs/superpowers/specs/2026-07-03-session-skills-design.md index 719d3ddc..ac3a1935 100644 --- a/docs/superpowers/specs/2026-07-03-session-skills-design.md +++ b/docs/superpowers/specs/2026-07-03-session-skills-design.md @@ -155,14 +155,10 @@ New `SessionSkillDto`. ## Verification (must-check, can't be unit-tested) - **Does `claude -p` actually load and invoke a skill placed in cwd `.claude/skills/`?** - Load-bearing assumption. Smoke test 2026-07-03: `system:init` confirms correct `cwd` + - `Skill` tool present; one authed run engaged the ponytail skill (12 mentions, vs zero on - an unauthed run). **Clean repro is blocked by auth-token rotation in the bash sandbox** - (parallel-session contention, not a design issue) — Mika confirms with one run in a - stable terminal: - `cd /tmp/claudedo-skill-smoke && echo "Use the ponytail-help skill to show the levels table, then stop." | claude -p --permission-mode acceptEdits --max-turns 4`. - If headless does *not* surface cwd skills, fall back to `CLAUDE_CONFIG_DIR` isolation - (heavier — needs credentials copied) and revisit. + **CONFIRMED 2026-07-03.** Mika ran, in a stable terminal, a `claude -p` invocation in a + scratch cwd holding `.claude/skills/ponytail*/SKILL.md`; the model invoked the + `ponytail-help` skill and returned its exact Lite/Full/Ultra table. Headless mode does + surface cwd skills → the whole approach holds; no `CLAUDE_CONFIG_DIR` fallback needed. - Seeded skill is **not** committed by the auto-commit step (worktree run). - Skill does not appear in a normal interactive session (no global leak).