Files
WoW-Hybrid-gateway/docs/ADDON-REWRITE-VS-CONVERT-20261129.md

2.6 KiB

Ported add-ons: rewrite natively or keep converting? (2026-11-29, Claude, task #68)

Answer in one line: keep converting the community add-ons, move data add-ons into client DB2s, and rewrite natively only where a native window + gateway translation already exists for the feature.

Facts used: 70334 has the modern C_* API natively (addon-modern-api-native), so ClassicAPI-edition add-ons port with little shim code; ported features go inside native windows (ported-features-inside-native-windows); enter-world profile 11-29: total add-on Lua cost ~1.5 s, of which pfQuest pair ~1.1 s, WoWHybridContent 24 ms, others < 80 ms.

Group Add-ons Verdict Why
Community 1.12 add-ons (owner's Octo set) aux, pfQuest(+turtle), LazyPig, BCS stats, TurtleTalents, SimpleActionSets, TWThreat, Necrosis, Cursive, LockPort convert upstream fixes keep flowing (Gitea forks), players know them; a native rewrite costs weeks each and loses upstream. Only perf hot spot is pfQuest DB build (#51, owner call on lazy-load)
Turtle server-feature add-ons OctoTransmog, Turtle_ShopUI, OctoTitles, OctoHonor, OctoDungeonFinder, OctoBattlegrounds, OctoRaidLocks keep Lua the server speaks TW_* addon messages, not packets; Lua is the native consumer. Move to a native frame only when that frame exists and the gateway translates the feature (done: guild bank; next candidate: transmog NPC window, owner queue 11-23)
Data add-ons WoWHybridContent (2.7 MB icon table), WoWHybridItemDependencies (235 KB set data), WoWHybridArmorPresentation (359 KB armor/block) move to DB2 client-native data first: Item IconFileDataID, ItemSet, ItemSparse armor rows. Not a speed issue (24 ms) — a single-source-of-truth issue (two places to fix icons/sets). Needs an audit: rows where the add-on value differs from the baked DB2 value
Glue/UI shells WoWHybridUI, OctoTextSize, OctoMoveWindows, OctoKeepBindings, OctoSlash, OctoNameplates, OctoMinimapButtons, OctoRested, OctoMerchant, OctoSpecProfiles, OctoErrorLog, WoWHybridWarriorStance keep small, already native-look; nothing to gain from C code
Diagnostics GatewayDiagnostics, *Capture, *Probe, *Readback, LoadTiming, SpellAudit never ship verified 11-29: none is in the octo manifest or the OCTO client

Next actions

  1. Data add-ons -> DB2: audit (Codex, after #46 item A since it is the same bake pipeline), then bake + delete the add-on.
  2. pfQuest lazy-load: waits on owner (#51).
  3. Transmog NPC window native: on the owner queue; uses OctoTransmog's TW_TRANSMOG traffic underneath.