Skip to content

feat(paper): shared command roots and migration-ready arguments - #13

Merged
BadgersMC merged 2 commits into
mainfrom
feature/paper-command-composition-parity
Nov 17, 2026
Merged

BadgersMC merged 2 commits into
mainfrom
feature/paper-command-composition-parity

Conversation

@BadgersMC

Copy link
Copy Markdown
Owner

Goal

Prepare Nexus Paper command infrastructure for the LumaGuilds migration from ACF to Nexus. No LumaGuilds changes.

Changes

  • Compose multiple command classes with the same root into one Brigadier tree and deduplicate aliases.
  • Reject duplicate routes, conflicting root permissions/descriptions, and alias collisions.
  • Support default/root handlers, optional/default trailing arguments, and greedy final String arguments.
  • Preserve per-route permissions and player-only checks through shared literals and argument branches.
  • Honor annotation-specified argument names for Brigadier and completion bindings.
  • Add migration documentation and regression tests.

Verification

  • JDK 25 / Gradle 9.1
  • :nexus-paper:test PASS
  • :nexus-core:test PASS
  • git diff --check PASS

Before merge

  • Integration tests on Paper 26.2 for command dispatch, permissions and suggestions.
  • Audit all existing LumaGuilds ACF commands for feature parity.
  • Coordinate lifecycle verification with open Nexus PR feat(core): verify contexts before activation #11.

Draft: do not merge or release until integration verification.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 6eea6053-855c-419f-9cdf-c520aa7e5aec
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codacy-production

codacy-production Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 6 minor

Alerts:
⚠ 6 issues (≤ 0 issues of at least minor severity)

Results:
6 new issues

Category Results
CodeStyle 3 minor
Complexity 3 minor

View in Codacy

🟢 Metrics 62 complexity · 0 duplication

Metric Results
Complexity 62
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@BadgersMC
BadgersMC marked this pull request as ready for review November 17, 2026 03:02
@BadgersMC
BadgersMC merged commit 5ae8b64 into main Nov 17, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant