Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 79% confidence
- Finding
The skill references
git clean -fdx, a highly destructive command that removes all untracked and ignored files, and notes that it will destroy the workspace. Even though it is presented as a warning rather than an instruction to run it, normalizing this command in a workflow skill increases the chance an agent or user may invoke it and accidentally delete valuable local artifacts outside the intended scratch flow.- Content
md - 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 workspace (it's git-ignored scratch); if that happens, recover from `git log`. Read the plan once, note its context and Global Constraints, and create a
