Repository navigation
Conversation
The branch adds infrastructure at the realm capital, costs a daily upkeep per level, and gains hub slots more slowly. Bureaucracy adds a little infrastructure too. A realm guild saved on Supply Lines moves to the new branch at the same level. Hub upkeep now starts at 1 a day. 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; 2 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe change adds realm-only infrastructure branch modifiers, replaces disallowed branches during guild loading, and includes infrastructure upkeep in cashflow, net-income, dividend, settlement and branch-preview calculations. Tests cover hub limits, branch replacement and upkeep amounts. ChangesInfrastructure branches and upkeep
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Ledger
participant GuildModifierOverride
participant Guild
Ledger->>GuildModifierOverride: resolve INFRASTRUCTURE_UPKEEP modifier
GuildModifierOverride-->>Ledger: modifier value
Ledger->>Guild: record external balance delta at settlement
Suggested reviewers: Merge Risk: ⚪ Minimal · up to Realm guilds move from Supply Lines to Infrastructure at the same level, and upkeep is deducted consistently in the ledger and previews. No concrete merge-blocking risk was found. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The reviewed accounting preserves guild-scoped controls, and excess saved hubs remain dormant rather than bypassing the new limit. The main concern is rollback: restoring an older branch configuration after migration can reset saved Infrastructure levels. No new security vulnerability was established, but recovery behavior and effective server configuration are not fully verified. Retained concerns
Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
Comment |
Summary
Realm guilds get an Infrastructure branch where Supply Lines used to be. Other guilds keep Supply Lines unchanged.
branches.ymlstill allows Supply Lines for realms is unaffected.Server files
Guilds/branches.ymlon a server is not replaced by the jar. Until it is edited at release, realm guilds stay on Supply Lines and nothing changes for them.Testing
mvn verify: 2,577 tests pass. New tests cover which branch each guild type gets, the modifier totals, hub limits by level on both branches, the saved-guild move, the ledger line and settlement, and the preview.🤖 Generated with Claude Code