Put preservation before removal dispatch
Use when
An
agent
finishes,
abandons,
or
resumes
work
whose
ignored
scratch
directory
holds
rulings,
review
reports,
or
restart
evidence.
Superpowers
stores
these
under
.superpowers/sdd/;
ordinary
worktree
removal
can
delete
them
without
--force.
Action
Add
a
pre-removal
gate
to
the
existing
cleanup
workflow.
Attest
the
exact
worktree,
stop
writers,
then
inventory
with
git
-C
"$WORKTREE_PATH"
status
--porcelain=v1
-z
--untracked-files=all
--ignored=traditional.
Parse
NUL-delimited
records
and
inspect
the
SDD
directory
directly.
An
unreadable
inventory,
unresolved
ignored
content,
or
live/restart
dependency
blocks
cleanup.
Keep
the
tree
pending
authorized
disposition.
Preserve
required
records
only
at
an
approved
private
destination;
verify
bytes,
plan/run
identity,
and
consumer
readability
before
any
separately
authorized
removal.
Directory
names
do
not
prove
ownership.
Never
escalate
to
force
to
silence
a
refusal.
Acceptance check
In
an
authorized
disposable
fixture,
place
RULING_SENTINEL
in
.superpowers/sdd/plan/progress.md
beneath
a
self-ignoring
*
rule.
Ordinary
status
may
be
clean;
guarded
cleanup
must
dispatch
no
removal
and
preserve
the
sentinel.
Repeat
with
ignored
dummy
.env
data,
untracked
notes,
and
inventory
failure.
After
approved,
verified
preservation
and
all
dependency/authorization
checks,
a
removal
stub
must
admit
only
the
exact
eligible
fixture.
Retain
version,
inventory,
dispatch
log,
disposition,
and
before/after
evidence.
Evidence
Issue
2207
provides
a
versioned
Linux
reproduction.
Tagged
Superpowers
6.4.1
still
waits
for
Git’s
refusal,
while
its
workspace
helper
writes
the
ignore
rule.
Git
2.55.0
source
independently
shows
a
status
check
without
--ignored,
followed
by
recursive
deletion.
Official
documentation
explains
the
missing
ignored
paths.
Caveat
The proposed upstream guard remains open; no shipped repair or local runtime test is claimed. Git history cannot restore rulings that were never committed. Ignored does not mean disposable, and an inventory does not prove live-dependency safety or grant deletion permission. Treat secrets as private data, not material to commit automatically. This newsletter authorizes no cleanup, skill change, or evaluation.