# TOMBSTONE — Dead-code archive: `bough/codex/<class>/refollow` ×21 + `bough/dancer/crown_apply` ×1

- **Archived:** 2026-06-21
- **Count:** 22 `.mcfunction` files
- **Council ref:** `_council/2026-06-21-deadcode-bough-refollow/` (SYNTHESIS.md — unanimous 5/5 ARCHIVE)
- **Wiring Audit rows:** #58 PARKED — **BO-DEAD-REFOLLOW** + **BO-DEAD-CROWNAPPLY**
- **Scope:** LAB ONLY. NOT /reload-tested. NOT deployed (no fc-upload / fc-sync).

## What was archived

### Group A — `bough/codex/<class>/refollow` ×21 (v1 GUI view-follow reposition)

The 21 per-class refollow functions repositioned the live bough-tree GUI to follow
the player's view. They are the v1 reposition path, orphaned from the only
bough-GUI tick chain.

```
data/evercraft/function/bough/codex/archer/refollow.mcfunction
data/evercraft/function/bough/codex/beastlord/refollow.mcfunction
data/evercraft/function/bough/codex/berserker/refollow.mcfunction
data/evercraft/function/bough/codex/dancer/refollow.mcfunction
data/evercraft/function/bough/codex/dual_swordsman/refollow.mcfunction
data/evercraft/function/bough/codex/gearwright/refollow.mcfunction
data/evercraft/function/bough/codex/growseer/refollow.mcfunction
data/evercraft/function/bough/codex/healer/refollow.mcfunction
data/evercraft/function/bough/codex/hoplite/refollow.mcfunction
data/evercraft/function/bough/codex/hunter/refollow.mcfunction
data/evercraft/function/bough/codex/javelin/refollow.mcfunction
data/evercraft/function/bough/codex/knight/refollow.mcfunction
data/evercraft/function/bough/codex/lamentor/refollow.mcfunction
data/evercraft/function/bough/codex/lumberfell/refollow.mcfunction
data/evercraft/function/bough/codex/rogue/refollow.mcfunction
data/evercraft/function/bough/codex/sentinel/refollow.mcfunction
data/evercraft/function/bough/codex/sirencall/refollow.mcfunction
data/evercraft/function/bough/codex/stonestrike/refollow.mcfunction
data/evercraft/function/bough/codex/striker/refollow.mcfunction
data/evercraft/function/bough/codex/tank/refollow.mcfunction
data/evercraft/function/bough/codex/terrawarp/refollow.mcfunction
```

### Group B — `bough/dancer/crown_apply` ×1 (author self-tombstoned)

```
data/evercraft/function/bough/dancer/crown_apply.mcfunction
```

A pure comment ledger — **0 command lines** (`grep -vcE '^\s*(#|$)'` = 0). The file's
own header declared it "no longer dispatched per-second" (Wave 13). It documented the
Cloudstep design: perfect-dodge heal, Resistance/Regen pivots, and an unbuilt
charge-economy `[TODO]`.

## Why archived (superseded)

- **refollow → anchored-rebuild.** Replaced by the v2 anchored-rebuild path:
  `ec.bough_dirty` (set at `evercraft:bough/codex/tick:16`) → `evercraft:bough/codex/tick:30`
  → `evercraft:bough/codex/rebuild` (dispatches each class's `spawn` at the fixed
  `@e[bough_anchor_<cls>]` marker). Decommission note already on record at
  `evercraft:bough/codex/load:18` ("Replaces the old refollow reposition"). The
  bough-GUI tick chain (`bough/codex/tick`) calls `check_clicks` / `close` / `rebuild` —
  **never** `refollow`.

- **crown_apply → event-driven Cloudstep.** The live Cloudstep effect is event-driven:
  `evercraft:advantage/effects/evasion_dodge:27` → `evercraft:bough/dancer/crown_dodge`
  (heal + flurry). `crown_apply` had nothing left to dispatch; `crown_tick` is a bare
  20t heartbeat that calls nothing. The `[TODO]` charge-economy ledger is preserved live
  in `evercraft:bough/dancer/crown_dodge.mcfunction:19-20` AND
  `BIG_BRAIN/30-systems/bough.md:69` (+ dancer table). The dangling `crown_tick:6`
  "see crown_apply ledger" pointer was repointed at archive time to `crown_dodge` +
  `bough.md` (so no live file references this archive).

## Caller verification at archive time (all excl `/.archive/`)

- Direct `function evercraft:…/refollow` across `function/` + `advancement/`: **0 hits.**
- Direct `function evercraft:bough/dancer/crown_apply`: **0 hits.**
- Dynamic `$()` leaf set under `bough/codex/`: `{click_back, click_crown, click_view_combat, click_view_util}` — no refollow / crown_apply.
- Function-tag refs, advancement-reward refs: **NONE.**
- Files are untracked by git (whole `data/` tree untracked, not ignored) → moved via plain `mv`.

## Known harmless residue (NOT in this archive's scope)

Orphaned dummy objectives `ec.<cls>_lx / _lz / _lyaw` (21×3, declared in each
`bough/<class>/load`) become reader-less after this archive. Harmless no-op
registrations — leave or queue a later strip. (SYNTHESIS rider #3.)

## How to restore

These files left `data/evercraft/function/`, so the function namespace no longer
registers them and no live caller references them. To restore, move each file back
to its original relative path (the archive mirrors the original tree under
`data/.archive/2026-06-21-deadcode-bough-refollow/data/evercraft/function/...`):

```sh
cd /Users/josep/forever/forevercraft-datapack
ARCH="data/.archive/2026-06-21-deadcode-bough-refollow"
# Group A (21 refollow):
for cls in archer beastlord berserker dancer dual_swordsman gearwright growseer \
           healer hoplite hunter javelin knight lamentor lumberfell rogue sentinel \
           sirencall stonestrike striker tank terrawarp; do
  mv "$ARCH/data/evercraft/function/bough/codex/$cls/refollow.mcfunction" \
     "data/evercraft/function/bough/codex/$cls/refollow.mcfunction"
done
# Group B (1 crown_apply):
mv "$ARCH/data/evercraft/function/bough/dancer/crown_apply.mcfunction" \
   "data/evercraft/function/bough/dancer/crown_apply.mcfunction"
```

If you restore, you must also re-wire callers — these had **zero** live callers when
archived, so restoring the files alone does nothing without new dispatch sites. Revert
the `crown_tick:6` comment repoint if you restore `crown_apply`.
