Commit Graph

51 Commits

Author SHA1 Message Date
Refactoring Agent 454195cdfb Update hooks and ignore markdown files in size check
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m16s
2026-04-29 12:18:08 +02:00
Refactoring Agent 88d6016557 Test small file 2026-04-29 12:17:08 +02:00
Refactoring Agent 8aacc2c88e Fix Spire Mode floor rendering and swarm floors (Tasks 5 & 6)
- Added enemy naming system with getEnemyName() function
- Updated EnemyState type to include name field
- Updated generateSwarmEnemies() and generateFloorState() to assign enemy names
- Fixed SpireTab.tsx (both versions) to display:
  - Floor type (Combat/Swarm/Speed/Guardian/Puzzle) with icons
  - Named enemies based on element and floor tier
  - Special floor properties (armor %, dodge chance)
  - Multiple enemies for swarm floors with individual HP bars
- Added ROOM_TYPE_LABELS to constants for display
- Verified floor type generation logic works correctly
- Build succeeds with npm run build
2026-04-28 13:36:16 +02:00
Refactoring Agent 47c71e6f54 feat(ui): complete Task 4 UI redesign — all sub-tasks 1-10
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 8m47s
- Implemented complete design system with 40+ CSS custom properties
- Created 9 UI primitives (GameCard, SectionHeader, StatRow, ManaBar, ElementBadge, ValueDisplay, ActionButton, SkillRow, TooltipInfo)
- Redesigned all tabs: Spire, Skills, Stats, Equipment, Crafting, Attunements, Golemancy, Spells, Loot, Achievements, Lab, Debug
- Added toast notification system (GameToast) with success/warning/error/info types
- Added confirmation dialogs for destructive actions
- Removed all dev artifacts and component name labels
- Added empty states to all tabs
- Replaced emoji icons with Lucide React icons
- Added enchantPower placeholder to StatsTab and EquipmentTab
- Mobile audit passed at 375px viewport
- Build passes with 0 errors, lint passes with 0 errors

Sub-tasks completed:
- ST1: Design System Implementation
- ST2: Global Layout & Header
- ST3: Left Panel (Mana Display & Action Area)
- ST4: Skills Tab
- ST5: Spire Tab & Spire Mode UI
- ST6: Stats Tab
- ST7: Equipment & Crafting Tabs
- ST8: Attunements Tab
- ST9: Remaining Tabs
- ST10: Toast System & Confirmation Dialogs

Documentation: 15+ files in docs/task4/
2026-04-28 11:38:45 +02:00
Refactoring Agent 3c29c1c834 Complete Step 4 & 5: UI Audit and Effects & Skills Audit
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 5m35s
2026-04-27 14:22:44 +02:00
Refactoring Agent 111e0211cb Add effects & skills audit report (Step 5)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m32s
2026-04-27 14:21:05 +02:00
Refactoring Agent 4f03544eaf Add effects & skills audit report (Step 5)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 4m34s
2026-04-27 14:11:52 +02:00
Refactoring Agent 712d587ad5 Add UI audit report (Step 4)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 5m53s
2026-04-27 13:56:56 +02:00
Refactoring Agent a69ea7575e Add StatsTab mana breakdown per type (Bug14)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m34s
2026-04-27 13:46:18 +02:00
Refactoring Agent eeb1e3c784 SkillsTab Modifications (Bugs 9,11,12,13)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m12s
2026-04-27 13:26:02 +02:00
Refactoring Agent 749321d2cb Investigate Essence Refining effect compatibility (Bug 15)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m12s
2026-04-27 12:38:53 +02:00
Refactoring Agent 3bcf20636c Fix DebugTab crash (Bug 4): Correct GameStore import path
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 25s
2026-04-27 12:31:06 +02:00
Refactoring Agent ebb9d15e9e Deduct mana conversion rates from raw regen (Bug 10)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 4m35s
- Added getTotalAttunementConversionDrain function to calculate total conversion drain
- Updated computeRegen to include attunement regen bonus
- Added computeEffectiveRegenForDisplay function for UI display
- Added conversionDrains to GameState to track per-attunement drain
- Updated tick function to track and persist conversion drains
- Build passes successfully
2026-04-27 12:25:17 +02:00
Refactoring Agent 8261baab54 Consolidate disenchanting into CraftingTab Prepare step (Bug 8)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m32s
- Add 'tags' field to EquipmentInstance type
- Modify Prepare step to show warning and different button text when item has enchantments
- Consolidate disenchanting into Prepare step (remove separate disenchant UI)
- After successful preparation, item receives 'Ready for Enchantment' tag
- Modify Apply step to only allow applying enchantments to items tagged 'Ready for Enchantment'
- Update subtask_6_progress.md and todo.md to mark Sub-Task 6 as completed
2026-04-27 12:21:14 +02:00
Refactoring Agent 35c69809a1 Fix Sub-Task 1: Spire UI Fixes (Bugs 1, 2, 3)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 5m12s
- Bug 1: Floor health display now reactive (uses Zustand store properly)
- Bug 2: Climb Down button now climbs floor-by-floor, exit only at floor 1
- Bug 3: Redesigned SpireTab as Spire Stats view, moved Enter Spire Mode button to SpireTab, moved activity log to SpireModeUI

Changes:
- Added climbDownFloor() action to store.ts
- Modified exitSpireMode() to only work at floor 1
- Updated SpireTab.tsx: removed Current Floor stat, added Enter Spire Mode button
- Updated page.tsx: Climb Down climbs one floor, added Exit Spire button at floor 1, moved activity log to SpireModeUI
2026-04-27 11:15:54 +02:00
Refactoring Agent 900c0e8fe9 Sub-Task 5: Mark CraftingTab Design Phase Compatibility (Bug 7) as completed
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 5m51s
The fix was already implemented in the repository - the getOwnedEquipmentTypes() function in EnchantmentDesigner.tsx now correctly checks store.equipmentInstances (actual owned items) instead of store.lootInventory.blueprints.

Acceptance Criteria Met:
1. In CraftingTab Design phase, only enchantments compatible with items the player currently owns are shown
2. Compatibility is determined by enchantment type (e.g., weapon enchantments only show if player owns weapons)
3. No performance issues when filtering enchantments (uses Set for O(1) lookups)

Sub-Task 6 (Bug 8) can now proceed as it depends on this.
2026-04-27 11:03:57 +02:00
Refactoring Agent 2696f76069 Update documentation for Sub-Task 3 completion
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 6m8s
- Marked Sub-Task 3 as completed in todo.md
- Updated subtask_3_progress.md with completion status and notes
2026-04-27 10:58:10 +02:00
Refactoring Agent f31b98b378 Remove pause button from header (Sub-Task 3)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 7m43s
- Removed pause button from TimeDisplay component
- Removed pause-related props (paused, onTogglePause) from TimeDisplay
- Cleaned up unused imports (Play, Pause from lucide-react, Button)
- Updated page.tsx to pass insight prop instead of pause props
- Header now shows: game title, day/hour, and insight display
2026-04-27 10:57:09 +02:00
Refactoring Agent 06778f96b3 Task 3: Step 2 complete - plan sub-tasks for bug fixes
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 6m42s
2026-04-27 10:53:08 +02:00
Refactoring Agent 5f1f72d892 Docs: Clean up docs folder - remove all old task/phase files
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m42s
2026-04-27 00:25:42 +02:00
Refactoring Agent f37e76166d Docs: Update skills.md after Ascension skills deletion
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m58s
2026-04-26 22:14:23 +02:00
Refactoring Agent f59be77e50 Docs: Update GAME_BRIEFING.md after Task 2 completion
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m42s
2026-04-26 21:41:45 +02:00
Refactoring Agent 326dd43b34 Task 2: ALL 12/12 TASKS COMPLETE!
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m54s
2026-04-26 18:54:19 +02:00
Refactoring Agent b10d92b7ae Task 2: 11/12 completed, Task 1 blocked due to framework bug
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m2s
2026-04-26 17:45:38 +02:00
Refactoring Agent 563e41dbe3 WIP: Task 1 ActionButtons Rework - investigating approach
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m47s
2026-04-26 17:43:58 +02:00
Refactoring Agent 50ce70efdd Task 2: SpireTab Overhaul - add Climb the Spire button, implement Spire Mode with exit condition 2026-04-26 13:44:45 +02:00
Refactoring Agent fc9e4c8327 Add context files for Task 2 sub-agents
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m46s
2026-04-26 10:46:21 +02:00
Refactoring Agent 419371885a WIP: Task 2 - completed 5/12 tasks, investigating remaining
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m44s
2026-04-26 10:35:02 +02:00
Refactoring Agent a6ce36b6e0 WIP: Task 2 progress - investigating Show Component Names debug option
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m49s
2026-04-26 10:33:10 +02:00
Refactoring Agent 7c05bea896 Update task2 progress: completed LootTab and Ascension skills tasks
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m47s
2026-04-25 19:10:56 +02:00
Refactoring Agent e9bf5a99f8 Task 2: Flag blocked ActionButtons Rework due to repeated sub-agent failures
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m49s
2026-04-25 12:21:08 +02:00
Refactoring Agent ad4b1a545e Task 2: Initialize progress tracking file
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m54s
2026-04-25 11:33:32 +02:00
Refactoring Agent 063b37dd45 Docs: Phase 4 progress (49+ effects done, 9 blocked)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m3s
2026-04-25 11:07:54 +02:00
Refactoring Agent d9058bafec Docs: Phase 4 blockers for remaining 9 effects
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m57s
2026-04-25 11:06:39 +02:00
Refactoring Agent 6e3b867e7d Phase 4: Mana Flow effects 2026-04-24 15:52:14 +02:00
Refactoring Agent 7d1bfbe4dc Phase 3: Extract sub-components from StatsTab.tsx 2026-04-24 14:45:07 +02:00
Refactoring Agent eea5ed1585 Phase 3: Lazy load tabs in page.tsx 2026-04-24 14:27:14 +02:00
Refactoring Agent d6b85d6367 Phase 3: Split DebugTab.tsx into functional components
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 4m17s
2026-04-24 14:12:52 +02:00
Unknown a528feb8e2 Phase 3: Split CraftingTab.tsx into crafting stage components 2026-04-24 13:05:12 +02:00
Unknown 3d05f03570 Phase 3: Add refactor plan for large files 2026-04-24 10:57:44 +02:00
Unknown c974f2e4d9 Phase 2: Add safe deletions summary documentation 2026-04-24 10:56:20 +02:00
Unknown c20ab62827 Phase 2: Remove 29 unused shadcn/ui components 2026-04-24 10:28:13 +02:00
Unknown 94830509c2 Phase 1: Add audit report documenting unused code, large files, and unused effects 2026-04-24 10:26:24 +02:00
Unknown ac70ed1910 Update documentation: GAME_BRIEFING and skills.md
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m52s
- Document all implemented hybrid skills
- Remove outdated NOT IMPLEMENTED for Invoker skills
- Document 5-tier talent tree structure
- Note removed skills (Scroll Crafting, Temporal Memory)
2026-04-23 14:48:56 +02:00
Unknown ca5cbbcb77 Clean up: Remove task1.md and task1_progress.md (Task 1 complete)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m32s
- Task 1 fully implemented:
  * 5-tier talent tree structure for all skills
  * Hybrid skills (Pact-Weaving, Guardian Constructs, Enchanted Golemancy)
  * Core design pillars enforced (removed violating skills)
  * All 512 tests passing
2026-04-23 14:19:16 +02:00
Unknown fe97ef60b4 Task 1: Add Hybrid Skills - Pact-Weaving, Guardian Constructs, Enchanted Golemancy
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 7m37s
- Implement Pact-Weaving (Invoker + Enchanter) hybrid skill
  * Paths: The Weaver, The Warp, The World-Weaver
  * Weave Guardian essence into weapon enchantments/world-effects
  * Requires: Invoker 5+, Enchanter 5+

- Implement Guardian Constructs (Fabricator + Invoker) hybrid skill
  * Paths: The Architect, The Monumentalist, The Eternal
  * Only 1 active at a time, vastly more durable
  * Requires: Fabricator 5+, Invoker 5+

- Implement Enchanted Golemancy (Fabricator + Enchanter) hybrid skill
  * Paths: The Battle-Smith, The Enchanter-Smith, The Spell-Smith
  * Imbue golems with elemental spell logic
  * Requires: Fabricator 5+, Enchanter 5+

- All 512 tests passing
2026-04-23 14:02:52 +02:00
Unknown 52413777cd Task 1: Implement 5-tier talent tree structure
- Rewrite skill definitions with 5-tier Continuous Talent Tree
- Add perk choices at Level 5 and Level 10 for each tier
- Add Elite Perks at T3 L10 and T5 L10
- Remove scrollCrafting (violates NO INSTANT FINISHING pillar)
- Set max:1 for skills that don't need evolution paths
- All 512 tests passing
2026-04-23 13:22:44 +02:00
Unknown 25137d9e0f Add task1_progress.md initial entry 2026-04-23 10:29:47 +02:00
Z User ae780e1bbc docs: add comprehensive game briefing document and fix deprecated tests
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 25s
- Created GAME_BRIEFING.md with full documentation of all game systems
- Fixed getFloorElement to use cycle length instead of hardcoded 8
- Fixed deprecated tests referencing removed elements (life, blood, wood)
- Fixed deprecated tests referencing removed skills (deepReservoir, etc.)
- Fixed guardian tests to not expect floor 70
- Fixed computeRegen tests to account for attunement regen correctly
- All 512 tests now pass

The game briefing document includes:
- Core game loop and progression
- Mana system with all 14 mana types
- Time and incursion mechanics
- Spire and floor system with room types
- Combat system with elemental effectiveness
- Guardian and pact system
- Attunement system (Enchanter, Invoker, Fabricator)
- Skill evolution with 5 tiers and milestone upgrades
- Equipment and enchantment system
- Golemancy system
- Prestige/loop mechanics
- Complete formulas and system interactions
2026-04-03 22:01:46 +00:00
Z User 69a1d87169 Complete skill system redesign: Add all upgrade trees, special effects, and comprehensive tests
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m51s
- Added upgrade trees for ALL skills with max > 1
- Added 40+ new special effects for upgrades
- Created 38 new comprehensive tests for skill system
- Updated docs/skills.md with full documentation
- All new tests pass, lint clean
2026-04-03 12:29:49 +00:00