Repository navigation
fix: block early finishes and hits before materials - #26
Conversation
Finishing with the branding tool now waits until every material and hit group has at least the amount the project menu lists. Before that it only shows a message and the project is kept. Past that point the exact-match check still decides between the furniture and a failed craft. Hits are refused until every material group has at least its listed amount. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe woodworking station now checks material and hit completion before tool work and finishing. It returns distinct results for missing materials and missing hits, and StationManager provides corresponding feedback. The README describes these prerequisites. ChangesWoodworking Station Progress Gates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The material and hit prerequisites have no identified merge-blocking issue. Merge after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new gates appear to narrow destructive behavior without expanding who can use a station. No new security weakness was established, though ownership and recovery behavior are not fully verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
A rabbit taps the timber stack, Comment |
Problem
Since 0.1.5 (#25) any finish that isn't an exact match ruins the project with no refund. That includes a player who clicks the branding tool before they have added everything, where 0.1.4 only showed a message. 0.1.5 also let hits start before any material was added.
Change
The gates use "at least", not "exactly", so an over-filled or wrong-wood bench can still be finished (and fail) instead of getting stuck like 0.1.4.
Testing
mvn clean verifywoodworking-DEV-20260928-1537): 25/25 checks on Marauder Rum Bottles (live recipe: goldmaple x1, hit x6, small hit x1).🤖 Generated with Claude Code