# Tombstone — Councils #22 + #23 dead-code archive (final wave)

**Date:** 2026-05-28
**Council artifacts:** `_council/2026-05-28-dead-code-singletons-final/{BRIEF.md, teammate-notes/*.md, review/SYNTHESIS.md}`
**Verdict shape:** 5-seat parallel pass (balance, performance, race, lore, compliance) on TWO clusters combined.

## What was archived (8 files)

### `cluster-F-advantage/` (2 mcfunctions)

`celebrate_max.mcfunction` + `celebrate_max_announce.mcfunction` were post-Wiring-Audit-#5-W2.1 leftovers. Wiring Audit #5 (earlier today) said they were "preserved as canonical-by-tree-id form" — Council #22 found that wrong on verification. The per-tree `evercraft:advantage/levelup/<tree>:38-39 → max_celebration {tree_name:"X"}` is the canonical winning form: passes the tree name as a macro literal, eliminating the 15-row tree-id lookup table; uses 3 fireworks + golden MASTERED title overlay + 2 sounds (vs dead celebrate_max's 5 fireworks + 1 sound + no title — strictly inferior UX). Archive also eliminates a real race on shared `evercraft:advantage temp.tree_name` storage.

Doc fix piggy-backs (queued as SP-POST-2): `BIG_BRAIN/30-systems/advantage.md:460` mis-documents the data flow — states `celebrate_max` is canonical and `levelup/<tree>` calls it; reality is reversed.

### `cluster-G-singletons/` (6 mcfunctions across 6 systems)

Each cluster is a single-file singleton with a verified ARCHIVE verdict (5/5 unanimous each). Per the council recon:

- **`bestiary-gui/update_page_label.mcfunction`** — old bestiary GUI's paginator. Live equivalent is `codex/hub/bestiary/update_page_label.mcfunction` (Codex hub rewrite); the `Bs.PageLabel` text_display tag this file depended on never spawned. Twin file `bestiary/gui/nav.mcfunction` + `nav_inner.mcfunction` were already archived earlier today via scattered-residue.

- **`dungeon-daily/show.mcfunction`** (was at `dungeon/daily_challenge/show.mcfunction`) — superseded by `evercraft:news/morning_personal_daily.mcfunction` (per-player morning announcer). The Daily Challenge feature lifted its sonic identity (bell + amethyst chime) into the personal-daily flow. Twin `daily_challenge/announce.mcfunction` already archived via Council #9 W2.

- **`friends/daily_reset_loop.mcfunction`** — superseded by `evercraft:friends/daily_reset_streak_loop.mcfunction` (47 LOC, different `temp.ds_*` storage namespace, fused with streak-counter reset). The dead loop's `temp.reset_{list,entry,result}` namespace has no writer in live tree. Lore seat noted: `daily_reset_streak_loop.mcfunction` itself has 0 callers and deserves the same scrutiny — queued as a next-session followup.

- **`milestones-increment/guild_contribute.mcfunction`** — superseded 2026-05-25 by `evercraft:guild/contribution/add:14` which inlined the increment directly. The dead file was the routing slot from before the consolidation. Note: a separate P1 bug surfaced during this council — Guild Dominion milestone display (`milestones/check:90` + `display/page3:25`) is reachable but the writer doesn't increment any milestone counter. Players see `(0)` forever. Queued as SP-POST-1.

- **`mount-training/recall_check.mcfunction`** — twin of `recall_find.mcfunction` already archived via scattered-residue. The Mount Recall feature was cut; live `mount_training/recall.mcfunction` is now a deprecation-redirect stub. 3 shared scratch keys (`#mt_found ec.temp`, `#mt_caller{,1} ec.temp`, `ec.mt_recalling` player tag) had real concurrent-recall race surface — archive resolves the race by eliminating the dead writer side.

- **`world-timber/fell_up.mcfunction`** — recursive log-feller for the Timber mythical-tool ability ("5% Any Axe"). Superseded by `evercraft:world/timber/search.mcfunction` (3D 12-direction marker flood-fill, max-32 logs vs the dead vertical-only/max-10 design). The `evercraft:mythical_tools/is_log` predicate this file referenced is still live, used by the new `search` chain. Archive also eliminates a real `#timber_count ec.var` (global) race between two simultaneous choppers.

## Not archived (3 PRESERVE verdicts shipped same session)

- **`evercraft:affinity/grant.mcfunction`** — 5/5 PRESERVE-AS-ADMIN. Documented macro entry point (`Call: function evercraft:affinity/grant {class_id:N, delta:N}`). Used when callers know the exact class. Added `# Usage:` + `# Run as:` markers to header so DA-7 auto-recognizes on future audits.

- **`evercraft:craft_affinity/detect_artifact_tool.mcfunction`** — 5/5 PRESERVE-AS-TOMBSTONE. Joseph-authored tombstone from earlier 2026-05-28 work — explicit `# (SUPERSEDED 2026-05-28)` header + intentional `return 0` body. Added `# deprecated — no longer scheduled` line so DA-7 auto-recognizes via existing `deprecated` + `no longer scheduled` markers.

## Restored + wired (Joseph's directive: "death save, yeah no, i want that wired up right away")

- **`evercraft:items/salvation_check.mcfunction`** — restored from `data/.archive/2026-05-28-scattered-residue/items/` (today's morning direct-ship pass had archived it claiming "each milestone routes directly," which was wrong on Council #22+#23 verification — NO live milestone called `salvation_grant`).
- **Wired** via `evercraft:achievements/check/cross_system:32` (same 5s tick aggregator that grants World Boss Conqueror — established pattern shipped earlier today via DA-D3).
- **Six sticky one-shot milestones** now grant the Salvation Stone (death-save item, canonical "rarest item in Forevercraft"):
  1. First Ender Dragon kill (`ec.dragon_killed >= 1`)
  2. All 10 Constellations complete (`ec.cn_done == 1023`, 10-bit field)
  3. DR 50 reached (`luck >= 500`, 1 luck = DR×10)
  4. Castle Floor 100 (`ic.record >= 100`, Infinite Castle Tower)
  5. All 14 Spirit Weapons Metamorphosed (`ec.sp_all_meta == 14`)
  6. First Maxed Beacon (`ec.max_beacon >= 1`)
- Each gate is one-time per player via `ec.salv_*` flag (pre-declared in `tomb/load:6-11`). The grant fn `items/salvation_grant.mcfunction` (was Cluster G's mixed-verdict candidate) is now the live target. The consume mechanism via `advancement/items/consume_salvation.json` re-grants on stone-use.
- Scattered-residue TOMBSTONE.md updated to note the restoration + correct the wrong-on-verification claim.

## Followups queued (in `BIG_BRAIN/10-pending.md` under Wiring Audit #22+#23 — Followups)

- **SP-POST-1 (P1 gameplay bug):** Guild Dominion milestone reachable-but-not-incrementable. `guild/contribution/donate_apply` doesn't call any incrementer.
- **SP-POST-2 (P2 doc):** `BIG_BRAIN/30-systems/advantage.md:460` reverse the `celebrate_max` data-flow description.
- **DA-11 (audit-tool):** add `"macro entry point"`, `"superseded"`, `"tombstone"` to `ADMIN_HEADERS`; add `"grant"` as a leaf-name pattern. Same Bug DA-11 family as the previous council's audit-tool work.
- **WC-POST-1 (next-session residue):** 3 wild_companions id_map_prune chain items newly-surfaced this audit run — quick recon next session.
- **PROC-1 (process learning):** when a council/direct-ship archives a dispatcher, batch-archive its now-orphan leaves same-day. Three leaf-survivors this council had to clean up this morning.
- **PROC-2 (process learning):** wiring-audit "preserved as canonical-by-X" notes should require evidence of the canonical caller. If 0 callers exist at audit close, the preservation is a placeholder.

## Restoration

To revive any of the 8 archived files: copy back to its original path under `data/evercraft/function/<system>/`. Note: each file in this archive was superseded by a verified live equivalent — restoration without removing the live equivalent will create a double-write race condition. The Synthesis cites the live winner for each.
