Repository navigation
feat: allow gem-free goldsmithing projects and add the Golden Key - #32
Conversation
Projects with `gem: 0` now finish: they give the configured item as is, without a gem stat or quality lore, and still record the gold used for recycling. Their menu entry and finish messages drop the tier, gem and stat-carry lines, and they need no tier. Adds the Golden Key (m.keys.gold_key) with a 10-gold recipe (rough 5, moldable 1, shiny 4), the greater-tier total, using a mix no other project uses. Also makes the exact stat-carry test switch off the random gem-rarity boost, which made it fail about 15% of the time. 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 configuration
📒 Files selected for processing (10)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThis change adds a gem-free goldsmithing project path. It defines the Gold Key recipe, creates configured output without gem infusion, and adjusts project loading, menu lore, prerequisite messages, craft reporting, and related tests. ChangesGem-free goldsmithing
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change lets the Golden Key be crafted from gold alone and keeps the menus and station messages consistent with that. No concrete merge-blocking problem was found. One minor open question is whether the item library returns a fresh item on each lookup; the author may want to confirm this, but it does not block merge. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Gem-free crafting retains the normal permission, ingredient and work requirements. Newly craftable outputs inherit an existing recovery weakness if completed station data survives output delivery. No permission bypass or additional authority conferred by the Golden Key was established; external item-provider and key-consumer behavior remain unverified. Retained concerns
Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
Comment |
Summary
gem: 0can now be finished. Before this change they failed at the branding step with "Could not create that item", because the output builder always needed an infused gem.tier:.m.keys.gold_key). Its recipe is rough 5, moldable 1, shiny 4. That is 10 gold, the same total as the greater-tier projects, in a mix no other project uses (picked at random).jewelryCarriesScaledStatIntoFreshHistoryAndQualityLorenow switches off the random gem-rarity boost added in v2.2.7. That boost made the test fail about 15% of the time.Deploy note
Existing servers keep their own
goldsmithing/projects.yml, so thegold_keyentry has to be added there by hand.Tests
mvn clean verifypasses locally. The two POSIX-permission tests inGoldsmithStationStoreTestwere excluded because they only run on Linux.🤖 Generated with Claude Code