/trinity — เกิดขึ้น · ตั้งอยู่ · ดับไป
Everything has three stages. "Nothing is deleted" covers only the middle one.
/trinity <thing> # retire one thing, properly
/trinity --audit # find things that already ceased but were never recorded
/trinity --ledger # print the ledger
Why this exists
"Nothing is deleted" on its own is an anti-pattern: preservation without succession. The old index, the old server, the old binary all stay where they were, still looking current, with nothing saying what took over. Something then answers from the dead copy — relic3 served a 9-day-stale index for exactly this reason.
The fix is not "delete more". It is to make ceasing a written act with three parts.
เกิดขึ้น ตั้งอยู่ ดับไป
arise stand cease
│ │ │
▼ ▼ ▼
created ṭhitassa aññathattaṁ stop · record · succeed
"the alteration of all three, written down,
what stands" in the SAME change
│
└─ not frozen: standing IS changing.
A doc that still looks right is already drifting.
The middle mark in AN 3.47 is not "it stays" — it is the alteration of what stands. A thing in its standing phase is already becoming something else. That is why an audit finds so much: nobody wrote the third stage down.
The three steps
A retirement missing any one of these is not finished.
| # | step | the question it answers | proof it is done |
|---|---|---|---|
| 1 | Stop using it | can anything still reach it? | the live path no longer points at it |
| 2 | Keep a record | where did it go, and how do I bring it back? | a path that exists + the restore command |
| 3 | Name the successor | what does its job now? | a name, or the word nothing and the reason |
Step 3 is the one that gets skipped, and skipping it is what makes step 2 dangerous: a preserved copy nobody has superseded is indistinguishable from a live one.
1. Name the thing, and which stage it is in
date "+🕐 %H:%M %Z (%A %d %B %Y)"
git -C . rev-parse --show-toplevel
Say out loud which stage you are performing. Only cease needs the full ritual —
and only when the thing cannot simply be rebuilt.
Can it be rebuilt from source or re-derived on demand?
├─ yes → it may simply cease. Record the row, skip the tombstone.
│ (Nat, 2026-10-15: "ตัดทิ้งไปเลยครับ เพราะว่าเราซ่อนได้ เราทำใหม่ได้")
└─ no → it is the only copy. Tombstone it. This is the grave ritual.
Never rm -rf the only copy of anything. That is not cease, that is loss.
2. Stop it
Whatever makes it reachable, remove that first — before moving a single byte, so nothing is half-retired while still being read.
# the usual live paths, pick the ones that apply
# a running job → stop it, remove the unit / cron / pane
# an MCP entry → remove it from the agent config
# a symlink in the way → unlink it
# a route / import → delete the registration, not just the file
rg -n '<thing>' --glob '!node_modules' . # who still points at it?
If rg still finds a live reference, step 1 is not done. Fix that before continuing.
3. Lock the data — the grave ritual
Move, never delete. The tombstone is outside the live tree but inside somewhere a human will look.
TOMB="${TOMB:-$HOME/.tombstones/$(basename "$(git rev-parse --show-toplevel)")}"
mkdir -p "$TOMB"
mv <thing> "$TOMB"/ # mv, never rm
ls -la "$TOMB"/$(basename <thing>) # prove it landed, with its size
Conventions already in use on this fleet: relic5 keeps attic/, /herdr-trinity keeps
~/.herdr/tombstones/<repo>/. Either is fine. A tombstone whose path you did not print
is not a record.
Then verify the way back, now, while you still remember it:
# the restore command goes in the ledger VERBATIM, and must be one a stranger can run
mv "$TOMB/<thing>" <original path>
4. Name the successor
Write what does the job now. If the answer is nothing, write nothing and why — that is
a real answer and it stops the next reader from hunting for a replacement that never
existed.
5. One ledger row, in the same change
The ledger lives in the repo: docs/RETIRED.md. One row per retirement, appended.
LEDGER=docs/RETIRED.md
[ -f "$LEDGER" ] || cat > "$LEDGER" <<'EOF'
# RETIRED
Trinity: เกิดขึ้น · ตั้งอยู่ · ดับไป (arise · stand · cease). "Nothing is deleted" covers
only the middle stage. Retiring takes three written steps — stop it, keep a record, name
what replaced it — and every one gets a row here, in the same change that retires it.
| when | what | stopped | record (restore with) | succeeded by | why |
|---|---|---|---|---|---|
EOF
printf '| %s | `%s` | %s | `%s` | %s | %s |\n' \
"$(date +%Y-%m-%d)" "<thing>" "<what was unhooked>" "<restore command>" "<successor or nothing>" "<one line>" \
>> "$LEDGER"
tail -3 "$LEDGER"
Same commit as the removal. A ledger row that lands later describes a gap that already confused someone.
6. --audit — the things that ceased without a ceremony
Most repos are carrying retirements nobody finished. Look for the shape: present, unused, unsuperseded.
# backups and leftovers sitting in the live tree
rg --files --hidden --glob '!.git' | rg -i '\.(bak|orig|old|save)$|\.bak-[0-9]|~$'
# files no other file mentions (candidate orphans — verify each, this is a hint)
# branches whose work is already merged
git branch --merged "$(git symbolic-ref --short HEAD)" --format='%(refname:short)'
# ledger rows that claim a tombstone that is gone
rg -o '`[^`]*tombstone[^`]*`|`[^`]*attic[^`]*`' docs/RETIRED.md 2>/dev/null
For each hit, ask the three questions. The usual finding is step 3 missing — it is stopped and kept, but nothing says what replaced it, so it still reads as live.
An audit that finds nothing is a real result. Say so.
Rules
mv, neverrm, for anything that is the only copy. Rebuildable things may cease outright — say in the row that they are rebuildable and how.- Never
git push --forceand never rewrite history to make something cease. History is the record of the arising; erasing it breaks step 2 permanently. - Print the tombstone path and the restore command. A record you cannot
cdto is a claim, not a record. - Stop before you move. A thing that is moved while still wired up fails as both live and retired.
- Three steps or it is not retired. Two out of three is the state that produces a stale index answering live questions.
- One row per thing. Append; never rewrite a past row — supersede it with a new one.
Lineage
Nat asked for this skill on 2026-08-22, in session 3b7ccdc1 — "draft me a proposal
of trinity skill that everything should have anti-pattern if it … เกิดขึ้น". It was
proposed and never shipped. It was asked for again on 2026-10-04 ("we shuld have trinity
… that we should go not only nothing deleted"), and the rule was finally written down on
2026-10-24 in relic5's docs/RETIRED.md, beside seals --retire --why --succeeded-by.
/herdr-tree carries the three phases per worktree.
Shipped here on 2026-11-30, from the same session that first asked — 100 days in its standing phase, altering the whole time.
