Starting work on #65. Analysis complete: GameContext system (Provider, hooks, context-create, types) is entirely dead code. MemorySlotPicker is the only consumer of useGameContext but is itself…
gameState is undefined
Fixed: Made canProceedDiscipline() defensive — gameState param is now optional, returns true when not provided (optimistic activation). Also made disciplineState param optional.…
game/index.ts
game/index.ts
Fixed: Removed stale export { CraftingTab } from './crafting' from game/index.ts. The crafting barrel file exports EnchantmentDesigner, EnchantmentPreparer, EnchantmentApplier, and…
canProceedDiscipline called with wrong arguments
Fixed: In discipline-slice.ts activate(), now correctly looks up discState = s.disciplines[id] and passes (def, discState, gameState) to canProceedDiscipline() instead of (id, gameState).
activeAttunement property missing from store
activeAttunement property missing from store
Fixed: Replaced store activeAttunement access with local useState('base') in DisciplinesTab. Tab switching now works via setActiveAttunement(tab.key) and only the active tab's disciplines…
gameState is undefined
@/types/disciplines — module not found
@/types/disciplines — module not found
Fixed: Changed import from @/types/disciplines to @/lib/game/types/disciplines in DisciplinesTab.tsx.
canProceedDiscipline called with wrong arguments
@/types/disciplines — module not found
Starting work on #51 — root cause of DisciplinesTab feature chain. Investigating broken import path @/types/disciplines.
[priority: 1] CLEANUP — uiStore.ts has identical duplicate reset() and resetUI() functions.
[priority: 2] ORPHANED/DEAD CODE — ConfirmDialog fully implemented but never imported.
[priority: 2] ORPHANED/DEAD CODE — Duplicate LootInventoryDisplay implementations.
[priority: 2] ORPHANED/DEAD CODE — LootInventoryDisplay fully built but never rendered.
[priority: 2] ORPHANED/DEAD CODE — AchievementsDisplay fully built but never rendered.
[priority: 2] ORPHANED/DEAD CODE — StudyProgress exported but never rendered.
[priority: 2] ORPHANED/DEAD CODE — CalendarDisplay orphaned with duplicate displayName.