Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
667 changes: 667 additions & 0 deletions .kilocode/rules/RESEARCH-SUMMARY.md

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions .kilocode/rules/memory-bank/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@
- Automatic recovery tracking: Successfully read regions removed from state file
- Dynamic state persistence: State updated only with remaining failures
- 16/17 integration tests passing (pre-existing failure unrelated to feature)
- ✅ **Book Generation Tracking** (Version 1.0.4)
- Tracks book copy tier (generation): 0=Original, 1=Copy of Original, 2=Copy of Copy, 3=Tattered
- Multi-format NBT extraction: Handles both pre-1.20.5 (tag.generation) and 1.20.5+ (components) formats
- Generation metadata in all outputs: Stendhal files, CSV exports, mcfunction commands
- New CSV columns: Generation (integer), GenerationLabel (human-readable)
- New Stendhal fields: generation, generation_label
- Generation NBT preserved in all mcfunction commands (1.13, 1.14, 1.20.5, 1.21)
- Generation included in shulker box book NBT for all versions
- Enables provenance tracking and understanding book genealogy
- Resolves GitHub issue #7 (generation tracking implemented; .duplicates folder logic deferred)
- ✅ **Duplicates Folder Post-Processing & Testing Documentation** (Version 1.0.5)
- Implemented parseStendhalFile() helper: Extracts generation, title, pages, and content hash from .stendhal files
- Implemented ensureOriginalsNotInDuplicates() post-processing: Ensures original books (generation=0) never in .duplicates/
- Smart swapping logic: Original in duplicates swaps with copy in books/, or moves if no swap available
- Collision handling: Automatic filename deduplication when moving files
- Integrated into runExtraction() workflow: Runs after all books written, before CSV exports
- Comprehensive error handling: Graceful failures with warnings, no crashes on corrupt files
- **Extensive Research & Documentation** (40+ WebSearch/WebFetch operations performed):
- testing-strategies.md (1000+ lines): Complete Spock 2.4 framework guide, data-driven testing, mocking/stubbing, integration patterns, file I/O testing, NBT testing, performance optimization
- integration-test-specs.md (800+ lines): 40+ test case specifications covering generation extraction, duplicates logic, output formats, multi-version compatibility
- Research covered: Spock best practices, Groovy power assertions, test fixture generation, edge case handling, world corruption testing, duplicate detection algorithms
- Completes GitHub issue #7 implementation (generation tracking + .duplicates logic fully implemented)
- Total documentation added: 1800+ lines of comprehensive testing guidance

## Current Focus / Active Areas
- **Maintenance Mode**: Monitoring for new Minecraft version releases
Expand Down
Loading
Loading