Skip to content

docs: 定稿 InviteCode 1.1 規格與 Lifecycle Event ADR - #47

Open
Command1264 wants to merge 3 commits into
developfrom
agent/docs/invitecode-1-1-spec
Open

Command1264 wants to merge 3 commits into
developfrom
agent/docs/invitecode-1-1-spec

Conversation

@Command1264

Copy link
Copy Markdown
Owner

摘要

InviteCode 1.1 的定稿規格與相關領域文件。只改文件,沒有程式碼變更。

  • 新增 docs/spec/invitecode-1.1.md:Lifecycle Event、唯讀 API、PlaceholderAPI 輸出、Inviter Leaderboard(含 Leaderboard Opt-out 與 LuckPerms soft dependency)、管理員以玩家名稱查詢紀錄、Repeating Milestone Reward,以及相容性驗證、1.2 候選與備案。
  • 新增 ADR 0007(已採納):事件在 storage transaction commit 後,由全域排程以同步、不可取消的 Bukkit Event 送出。這補上 1.0 規格已寫明、但 1.0.0 程式碼沒有實作的事件承諾。
  • GLOSSARY.md 新增 Repeating Milestone Reward、Inviter Leaderboard、Leaderboard Opt-out、Lifecycle Event。
  • docs/README.zh-TW.md 連結 1.1 規格。

追蹤:Roadmap #41,子 Issue #42–#46。

驗證

  • 新文件內的相對連結都指向存在的檔案。
  • 規格中的計數定義、里程碑冪等鍵格式與 API 模組依賴,已對照 develop b44b70a 的程式碼。
  • LuckPerms API 的 Java 8 相容性:本機 LuckPerms-Bukkit 5.4.145、5.5.85 與 Bukkit-Legacy 5.5.85 內附 API 類別的 class major version 為 52。
  • 沒有建置或測試:本 PR 只有文件。

🤖 Generated with Claude Code

Command1264 and others added 3 commits November 24, 2026 20:51
- Add docs/spec/invitecode-1.1.md covering lifecycle events, read-only
  API additions, PlaceholderAPI output, Inviter Leaderboard, admin
  record lookup by player name, and Repeating Milestone Reward.
- Add proposed ADR 0007: post-commit, non-cancellable Bukkit events
  dispatched on the global scheduler, filling the 1.0 spec gap.
- Add glossary terms: Repeating Milestone Reward, Inviter Leaderboard,
  Leaderboard Opt-out, Lifecycle Event.
- Link the 1.1 draft from docs/README.zh-TW.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the user's decision to persist the observed opt-out permission at
login, with an optional LuckPerms adapter that refreshes offline
candidates during leaderboard snapshots. Note the resulting schema
migration and the Java 8 bytecode check of the LuckPerms API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Mark the 1.1 specification final and ADR 0007 accepted.
- Require LuckPerms to stay a soft dependency only, never `depend`.
- Reorder delivery so the leaderboard precedes PlaceholderAPI output,
  since rank placeholders read the leaderboard snapshot.
- Link Roadmap #41 and sub-issues #42-#46.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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