From caf14aac6693ed3604439eb67f55becca23ad995 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 18 Jun 2026 14:46:21 -0700 Subject: [PATCH] test(sdd): wire test-sdd-workspace.sh into the runner; note git clean -fdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The per-worktree workspace test was added but never registered in run-skill-tests.sh, so it only ran when invoked by hand. Add it to the fast unit-test array alongside the other pure-shell test. Also document, in the Durable Progress section, that the ledger now lives in git-ignored working-tree scratch, so `git clean -fdx` deletes it — recover from `git log` if that happens. --- skills/subagent-driven-development/SKILL.md | 2 ++ tests/claude-code/run-skill-tests.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/skills/subagent-driven-development/SKILL.md b/skills/subagent-driven-development/SKILL.md index b3dfb6f9..d8ca0815 100644 --- a/skills/subagent-driven-development/SKILL.md +++ b/skills/subagent-driven-development/SKILL.md @@ -260,6 +260,8 @@ a ledger file, not only in todos. - The ledger is your recovery map: the commits it names exist in git even when your context no longer remembers creating them. After compaction, trust the ledger and `git log` over your own recollection. +- `git clean -fdx` will destroy the ledger (it's git-ignored scratch); if + that happens, recover from `git log`. ## Prompt Templates diff --git a/tests/claude-code/run-skill-tests.sh b/tests/claude-code/run-skill-tests.sh index cdb8da6e..c94cfec9 100755 --- a/tests/claude-code/run-skill-tests.sh +++ b/tests/claude-code/run-skill-tests.sh @@ -74,6 +74,7 @@ done # List of skill tests to run (fast unit tests) tests=( "test-worktree-path-policy.sh" + "test-sdd-workspace.sh" "test-subagent-driven-development.sh" )