From 61944af2b71c53b4de7d528a7988bc56ad160613 Mon Sep 17 00:00:00 2001 From: Command1264 Date: Tue, 13 Oct 2026 21:42:40 +0800 Subject: [PATCH] docs: conclude issue 12 acceptance and preserve evidence references --- README.md | 2 +- docs/README.zh-TW.md | 6 +- docs/operations/bukkit-workflow.md | 2 +- docs/operations/cross-backend-transfer.md | 2 +- .../current-artifact-human-acceptance.md | 14 ++-- ...02-issue-12-current-artifact-manifest.json | 73 ++++++++++++------- ...-10-02-issue-12-current-artifact-retest.md | 8 +- docs/testing/final-human-acceptance.md | 2 +- docs/testing/issue-12-release-gates.md | 52 +++++++++++++ 9 files changed, 121 insertions(+), 40 deletions(-) create mode 100644 docs/testing/issue-12-release-gates.md diff --git a/README.md b/README.md index d241458..09c01e3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ InviteCode is a Kotlin invitation and referral rewards plugin for Spigot and Paper, with experimental Folia support. `InviteCodeKt` is the repository name; the plugin and its data directory are named `InviteCode`. -The project is currently `0.1.0-SNAPSHOT`. It builds one Java 8 compatible plugin JAR and keeps newer Minecraft APIs behind isolated adapters. SQLite and MySQL 8.4 are production storage backends; JSON is available for small single-instance installations. Cross-version, storage recovery, and optional integration checks are recorded in the [current artifact retest](docs/testing/evidence/2026-10-02-issue-12-current-artifact-retest.md). Folia remains experimental; automated checks and [player acceptance](docs/testing/current-artifact-human-acceptance.md) are tracked separately. +The project is currently `0.1.0-SNAPSHOT`. It builds one Java 8 compatible plugin JAR and keeps newer Minecraft APIs behind isolated adapters. SQLite and MySQL 8.4 are production storage backends; JSON is available for small single-instance installations. The [release gate conclusion](docs/testing/issue-12-release-gates.md) records automated evidence and player acceptance confirmed on 2026-10-13 for Spigot 1.8.8, Paper 26.2, and Folia 26.1.2. Folia remains experimental. These results cover the tested artifact and versions; a formal 1.0 release has not been published. The complete maintainer guide is in [繁體中文](docs/README.zh-TW.md) and is the primary maintained documentation. See also the [product specification](docs/spec/invitecode-1.0.md), [Bukkit operations](docs/operations/bukkit-workflow.md), [JSON setup](docs/operations/json-storage.md), [MySQL setup](docs/operations/mysql-storage.md), [offline anonymization](docs/operations/offline-anonymization.md), and [cross-backend transfer](docs/operations/cross-backend-transfer.md). These documents are maintained in Traditional Chinese. diff --git a/docs/README.zh-TW.md b/docs/README.zh-TW.md index 2e47042..634d16d 100644 --- a/docs/README.zh-TW.md +++ b/docs/README.zh-TW.md @@ -5,7 +5,7 @@ InviteCode 是從零重寫的 Kotlin Minecraft 邀請與推薦獎勵插件;`InviteCodeKt` 是 repository 名稱,`Kt` 只表示實作使用 Kotlin。單一可安裝 JAR 支援 Spigot 與 Paper 1.8.8 到最新已測試版本,並以隔離 adapter 實驗性支援 Folia 26.1.2。 > [!IMPORTANT] -> 這個 repository 目前是 `0.1.0-SNAPSHOT`。舊版相容的 Bukkit 指令、聊天輸入、SQLite lifecycle、Qualification、可復原 Reward Delivery 與新版原生 Dialog adapter 已完成串接;Folia 26.1.2 的隔離合成玩家 smoke 也已通過。Folia 上的第三方整合與原生 Dialog 畫面、以及最終玩家體驗仍未完成驗收。 +> 這個 repository 目前是 `0.1.0-SNAPSHOT`。跨版本、儲存與復原自動證據已完成;使用者於 2026-10-13 確認 `1405745` 在 Spigot 1.8.8、Paper 26.2、Folia 26.1.2 的人工驗收通過,並已透過 PR #30 合併至 `develop`。完整範圍見[發行門檻結論](./testing/issue-12-release-gates.md)。Folia 維持實驗性,其第三方整合不能由 Paper 的結果推定;尚未正式發布 1.0。 ## 專案目標 @@ -43,7 +43,7 @@ mise exec java@local-8 -- .\gradlew.bat clean check shadowJar `local-8` 與 `local-11` 由開發機的 mise 設定連結至既有 JDK。GitHub Actions 沒有這些本機 alias,因此 CI 透過 `MISE_JAVA_VERSION` 改用對應的 Temurin Java 8 與 Java 11。 -可安裝的骨架 JAR 會輸出至: +可安裝的插件 JAR 會輸出至: ```text invitecode-plugin/build/libs/InviteCode-0.1.0-SNAPSHOT.jar @@ -102,6 +102,6 @@ Qualification Reward 與 Inviter Milestone Reward 會先以穩定冪等鍵保存 ## 目前狀態 -最新 develop 產物、跨核心/backend 證據及固定 Human 部署狀態見[本輪驗證紀錄](./testing/evidence/2026-10-02-issue-12-current-artifact-retest.md)。真人驗收使用保留資料的三台固定測服,依[短版步驟](./testing/current-artifact-human-acceptance.md)補齊最終產物證據;歷史已通過項目保留,正式發行與遠端交付另依授權。 +目前以[Issue #12 發行門檻結論](./testing/issue-12-release-gates.md)為驗證狀態入口;[自動紀錄](./testing/evidence/2026-10-02-issue-12-current-artifact-retest.md)與[真人驗收紀錄](./testing/current-artifact-human-acceptance.md)分開保存。三台固定測服的本次人工驗收已通過,不再列為待驗收。文件收尾、GitHub Issue 結案及正式發行是不同階段,遠端操作另依授權。 實作工作記錄於本 repository 的 GitHub Issues。不規劃相容或匯入舊版 InviteCode 的資料與設定。 diff --git a/docs/operations/bukkit-workflow.md b/docs/operations/bukkit-workflow.md index a0075a6..68a1d0e 100644 --- a/docs/operations/bukkit-workflow.md +++ b/docs/operations/bukkit-workflow.md @@ -1,6 +1,6 @@ # Bukkit 操作與維護 -本文件說明 InviteCode 在 Spigot/Paper 上的玩家流程、管理指令、儲存初始化、維護模式與人工驗收方式;Folia 26.1.2 目前僅有[實驗性 smoke 證據](../testing/evidence/2026-09-24-issue-12-startup-matrix.md),第三方整合尚未驗證。可選擇 `SQLITE`、`MYSQL` 或小型單實例環境使用的 `JSON`。JSON 與 MySQL 的設定及復原細節分別見 [`json-storage.md`](./json-storage.md) 與 [`mysql-storage.md`](./mysql-storage.md)。 +本文件說明 InviteCode 在 Spigot/Paper 上的玩家流程、管理指令、儲存初始化、維護模式與人工驗收方式;Folia 26.1.2 已有固定產物自動證據與 2026-10-13 使用者驗收,仍維持實驗性,第三方整合限制見[發行門檻結論](../testing/issue-12-release-gates.md)。可選擇 `SQLITE`、`MYSQL` 或小型單實例環境使用的 `JSON`。JSON 與 MySQL 的設定及復原細節分別見 [`json-storage.md`](./json-storage.md) 與 [`mysql-storage.md`](./mysql-storage.md)。 ## 首次啟動 diff --git a/docs/operations/cross-backend-transfer.md b/docs/operations/cross-backend-transfer.md index 231ad9f..705b5bb 100644 --- a/docs/operations/cross-backend-transfer.md +++ b/docs/operations/cross-backend-transfer.md @@ -47,4 +47,4 @@ MySQL → SQLite/JSON 時,將 MySQL 設為 `--from-backend mysql`,目的 - MySQL 初始化或匯入中斷:目的 database 保留 `invitecode_transfer_guard`,插件會拒絕啟用。不要手工刪除 guard 來繞過檢查;先保留事故證據,使用全新空白 database 重試,或從經驗證的備份還原後再處理。MySQL DDL 不能靠交易回滾清除。 - 若切換設定後需要回復來源,先停止目的地所有寫入者;目的地啟用後新增的資料不會自動回流,須先人工核對差異。不得同時讓來源與目的地接受新 Claim 或獎勵交付。 -真人遊戲內操作驗收依 Issue #12 延後。隔離測試與 dump 不得使用正式玩家資料。 +三核心遊戲內人工驗收已於 2026-10-13 由使用者確認通過,範圍見 [Issue #12 發行門檻結論](../testing/issue-12-release-gates.md);此確認不新增跨 backend 搬移的真人測試主張。搬移仍以本文件的隔離自動證據為據;隔離測試與 dump 不得使用正式玩家資料。 diff --git a/docs/testing/current-artifact-human-acceptance.md b/docs/testing/current-artifact-human-acceptance.md index 444f90e..15ebeac 100644 --- a/docs/testing/current-artifact-human-acceptance.md +++ b/docs/testing/current-artifact-human-acceptance.md @@ -1,15 +1,19 @@ # 最新產物短版真人驗收 -本輪只補最終產物證據。先前三台確認畫面、同意/不同意、逾時與重啟通過的紀錄保留,不要求重新執行整套長流程。自動結果與部署狀態見[最新產物驗證紀錄](./evidence/2026-10-02-issue-12-current-artifact-retest.md)。三台部署與 migration、重啟及資料保留比對已完成,可執行下列步驟。 +## 2026-10-13 驗收結果:通過 -## 待驗收版本 +使用者明確回覆「`1405745` 在 folia 26.1.2、paper 26.2、spigto 1.8.8 進行完成驗收,可以進行合併」。此為三台的整體人工驗收確認,不補造逐步截圖、客戶端版本或個別操作 log。受測固定 JAR 與先前部署證據依下節記錄;PR #30 已合併至 `develop`,合併 commit 為 `1b46780ccc5bfbbe4ff63898999852f61e5fa218`。 + +先前三台確認畫面、同意/不同意、逾時與重啟通過的紀錄保留。自動結果與部署狀態見[最新產物驗證紀錄](./evidence/2026-10-02-issue-12-current-artifact-retest.md),逐條判定見[發行門檻結論](./issue-12-release-gates.md)。下列步驟保留供日後同範圍複驗,不代表目前仍待人工操作。 + +## 受測版本 - 產品來源:`418c8298e8deb6c7fdef66d6e0ff67f78d807a89`,已合入 develop `fb215c09ee4bbce96050ef4aebf97a1905ed984a`。 - 插件 SHA-256:`D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C`。 - 固定測服:`invitecode-spigot-1.8.8`、`invitecode-paper-26.2`、`invitecode-folia-26.1.2`,位於 `D:\Code\Java\Plugin\InstanceHarbor\instances\Human\InviteCode\`。 - 使用既有世界、帳號與邀請資料;不清空資料、不重設資格。三台保持同 IP `DENY`,本清單不需要新的成功 Claim。 -## 每台依序操作 +## 保留的複驗步驟 1. 從 Windows 開始功能表開啟已安裝的 **PowerShell 7**,在桌面視窗執行: @@ -37,10 +41,10 @@ 6. 完成後切回 lobby,正常停止該台,再對下一台重複步驟 1–5。測試結束後三台 InviteCode 都關閉;共用入口若其他測試還需要使用,不必為本插件關閉。 -## 回覆及限制 +## 日後複驗的回覆方式與限制 請分別回覆三台的「切服/指令、六碼提示與複製、資格預檢、繁體中文、重啟保留」是否通過;失敗時附實際畫面或文字及 `logs/latest.log`,保留原資料,不重建伺服器。不要提供帳號密碼或 anti-abuse key。 此短版不會重新建立 Invitation。原生 Dialog 的實際提交與同意/不同意沿用已確認的歷史結果;合成封包只算自動證據。若日後要以全新合資格帳號複驗完整流程,再另外界定測試帳號與可回復資料;不要為了開啟 Dialog 直接 unlink 或清空現有資料。 -真人結果通過後,仍須完成 Issue #12 的門檻結論與文件交付;這不代表允許 push、PR、merge、tag 或正式發行。Folia 保持實驗性,第三方 provider 的支援範圍另列限制。 +本次真人結果與 PR #30 合併已確認;Issue #12 的門檻結論見[收尾文件](./issue-12-release-gates.md)。後續文件 PR、Issue 結案及正式發行另依授權;Folia 保持實驗性,第三方 provider 的支援範圍另列限制。 diff --git a/docs/testing/evidence/2026-10-02-issue-12-current-artifact-manifest.json b/docs/testing/evidence/2026-10-02-issue-12-current-artifact-manifest.json index e0a79b0..24773ed 100644 --- a/docs/testing/evidence/2026-10-02-issue-12-current-artifact-manifest.json +++ b/docs/testing/evidence/2026-10-02-issue-12-current-artifact-manifest.json @@ -14,7 +14,7 @@ "serverSha256": "6ED6046687CE9255228FE7BD31E097DA49BEFF2A0C577E7BE56D14F09753239C", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-spigot-1.8.8.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-spigot-1.8.8.log" }, { "profile": "spigot-1.12.2", @@ -23,7 +23,7 @@ "serverSha256": "CA59A730F5B1C2E85A2ABE907D9689CC2636BE0200F333C1E1B87E2D620D8513", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-spigot-1.12.2.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-spigot-1.12.2.log" }, { "profile": "spigot-1.16.5", @@ -32,7 +32,7 @@ "serverSha256": "C738DCB9AC8114228107BB4CDA97BFEC62A243C99FE0E7C6CAF9D424BD1EF93C", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-spigot-1.16.5.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-spigot-1.16.5.log" }, { "profile": "spigot-latest", @@ -41,7 +41,7 @@ "serverSha256": "27A348344D42ED2BA76AAD6FCEEBB7A26365F09C9AC6EEA4C0918BA83BA7E3DD", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-spigot-latest.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-spigot-latest.log" }, { "profile": "paper-1.20.6", @@ -50,7 +50,7 @@ "serverSha256": "4B011F5ADB5F6C72007686A223174FCE82F31AEB4B34FAF4652ABC840B47E640", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-paper-1.20.6.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-paper-1.20.6.log" }, { "profile": "paper-1.21.8", @@ -59,7 +59,7 @@ "serverSha256": "8DE7C52C3B02403503D16FAC58003F1EFEF7DD7A0256786843927FA92EE57F1E", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-paper-1.21.8.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-paper-1.21.8.log" }, { "profile": "paper-latest", @@ -68,7 +68,7 @@ "serverSha256": "B1D8F6BFA1B6101FA8E947B53041CB3BDF5540E7B83B6547CA19BA7EDEFEB083", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-paper-latest.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-paper-latest.log" }, { "profile": "folia-latest", @@ -77,7 +77,7 @@ "serverSha256": "607AFD1C3320008E1FFD2EAEE6780ACE4419D5F8C527B75E79F259BE79EBF57B", "pluginSha256": "D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C", "result": "PASS", - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\smoke-folia-latest.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\smoke-folia-latest.log" } ], "playerAndProviderFlows": [ @@ -147,7 +147,7 @@ "qualified-after-rejoin", "qualified-after-restart" ], - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-verification-20261002\\papi-flow.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-verification-20261002\\papi-flow.log" }, { "name": "json-playerflow-paper1206", @@ -161,7 +161,7 @@ "offline-reward-on-login", "stats" ], - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-verification-20261002\\json-flow-final.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-verification-20261002\\json-flow-final.log" }, { "name": "mysql-interrupted-migration-recovery", @@ -174,7 +174,7 @@ "applied-ledger-durable", "no-local-secret" ], - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-verification-20261002\\mysql-migration-recovery-shortname.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-verification-20261002\\mysql-migration-recovery-shortname.log" }, { "name": "actual-plugin-mysql-guard-lock", @@ -187,7 +187,7 @@ "drop-owned-fixture-guard-recovers-active", "sentinel-preserved" ], - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-verification-20261002\\actual-mysql-guard-lock-final.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-verification-20261002\\actual-mysql-guard-lock-final.log" } ], "recovery": [ @@ -210,7 +210,7 @@ ] }, "port": 63811, - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\recovery\\sqlite.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\recovery\\sqlite.log" }, { "scenario": "mark-delivered", @@ -232,7 +232,7 @@ ] }, "port": 63812, - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\recovery\\mark-delivered.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\recovery\\mark-delivered.log" }, { "scenario": "retry", @@ -254,7 +254,7 @@ ] }, "port": 63813, - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\recovery\\retry.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\recovery\\retry.log" } ], "runnerRegression": { @@ -262,8 +262,8 @@ "passed": 7, "failed": 0, "skipped": 0, - "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\runner-tests-reviewed.log", - "postPatchRealFlowLog": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\recovery\\runner-recheck.log" + "log": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\runner-tests-reviewed.log", + "postPatchRealFlowLog": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\recovery\\runner-recheck.log" }, "humanDeployment": [ { @@ -390,30 +390,53 @@ ], "rawManifests": [ { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-startup-matrix-20261002\\matrix.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-startup-matrix-20261002\\matrix.json", "sha256": "6979BB046DB9DE8AB655A85CCEE49A29730732F0428F7C8652FE01A6C3CF786B" }, { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-20261002-run1\\results.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-20261002-run1\\results.json", "sha256": "A4848B4BAAF5C7BB167470DCD52AC5B2925246EB67DDFF6F80923EDAACAEE715" }, { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\issue12-current-artifact-verification-20261002\\evidence-summary.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\issue12-current-artifact-verification-20261002\\evidence-summary.json", "sha256": "EEB130DB1D895D3FD4824F525C314C589BD214A0FED57746276907090C1C5D9A" }, { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\recovery\\results.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\recovery\\results.json", "sha256": "5252EE904494D22AD7ADDAC164CF95D26648B799B26FD2991282ACDD56BB0115" }, { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\human\\deployment.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\human\\deployment.json", "sha256": "468DE7A620BD09B6120D40D72C6BA9C16969C4DDC48CE4815570A3C59578F050" }, { - "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\worktrees\\test-issue-12-current-artifact\\invitecode-plugin\\build\\current-artifact\\human\\data-preservation.json", + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745\\human\\data-preservation.json", "sha256": "B0FE6096503A3D456B9AA6872B5BBE3843FFD1ECEEF24AB66A94D05C10893605" } ], - "humanClientAcceptance": "PENDING", - "remoteWritesPerformed": false + "humanClientAcceptance": "PASS", + "humanAcceptanceRecord": { + "date": "2026-10-13", + "acceptedCommit": "1405745c6fc049c7df2217304e8df801c728fb68", + "source": "explicit-user-confirmation", + "servers": ["Folia 26.1.2", "Paper 26.2", "Spigot 1.8.8"], + "scope": "Overall acceptance confirmed by user; no additional per-step client evidence inferred.", + "document": "../current-artifact-human-acceptance.md" + }, + "evidenceArchive": { + "path": "D:\\Code\\Java\\Plugin\\InviteCodeKt\\artifacts\\merged-issue12-1405745", + "manifest": "archive-manifest.json", + "originalWorktreeRemoved": true, + "rawEvidenceBytesPreserved": true + }, + "remoteWritesPerformed": true, + "delivery": { + "pullRequest": "https://github.com/Command1264/InviteCodeKt/pull/30", + "headCommit": "1405745c6fc049c7df2217304e8df801c728fb68", + "target": "develop", + "mergeCommit": "1b46780ccc5bfbbe4ff63898999852f61e5fa218", + "mergedDate": "2026-10-13", + "ciPassed": true, + "formalReleasePublished": false + } } diff --git a/docs/testing/evidence/2026-10-02-issue-12-current-artifact-retest.md b/docs/testing/evidence/2026-10-02-issue-12-current-artifact-retest.md index 3e7eaed..227c0a9 100644 --- a/docs/testing/evidence/2026-10-02-issue-12-current-artifact-retest.md +++ b/docs/testing/evidence/2026-10-02-issue-12-current-artifact-retest.md @@ -8,7 +8,7 @@ D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C ``` -JAR:`D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue26-418c829\worktree\invitecode-plugin\build\issue26-evidence\InviteCode-418c829.jar`。原始 runtime log、runner 輸出與 manifest 保留在本 Worktree 的 `invitecode-plugin/build/current-artifact/`。 +JAR:`D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue26-418c829\worktree\invitecode-plugin\build\issue26-evidence\InviteCode-418c829.jar`。原始 runtime log、runner 輸出與 manifest 於合併後封存至 `D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue12-1405745\`;`archive-manifest.json` 記錄逐檔 SHA-256 與原來源位置。原 Worktree 已移除,證據索引已改指向封存路徑;可重建的依賴與隔離 MySQL 資料目錄不納入封存。 自動測試僅操作本輪新建的 `InstanceHarbor/instances/Agent/InviteCode/` 隔離實例,不接入人工 Velocity,不把 Human 世界或玩家資料當成 fixture。沿用 InstanceHarbor 的持續 EULA 授權、已編譯 BuildTools 核心與既有測試依賴。JDK 由 mise 的已安裝 local alias 選擇,未安裝新 Java 或新增 production dependency。 @@ -43,8 +43,10 @@ JAR:`D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue26-418c829\worktre ## 真人與交付狀態 -使用者先前已確認三台的確認畫面、同意/不同意、逾時與重啟全部通過,見[真人紀錄](../final-human-acceptance.md)。本輪不抹除那些結果,也不因測服不足而暫緩。最終產物部署、遷移、自動矩陣及資料比對已完成。TUI 再次發現三台且皆已停止,共用 lobby/Velocity 仍監聽。接下來依[短版真人步驟](../current-artifact-human-acceptance.md)驗證實際客戶端的六碼 hover/複製、繁體中文、資格預檢與重啟狀態。37 個相關 UI class bytes 與歷史受測 JAR 相同;另一個 RuntimeCommandExecutor 的 javap 方法反組譯相同,保留歷史確認畫面與按鈕驗收,但不冒稱本輪已有真人登入。 +使用者先前已確認三台的確認畫面、同意/不同意、逾時與重啟全部通過,見[真人紀錄](../final-human-acceptance.md)。最終產物部署、遷移、自動矩陣及資料比對已完成;當時 TUI 發現三台且皆已停止,共用入口狀態只代表該次核對,不代表目前仍運行。37 個相關 UI class bytes 與歷史受測 JAR 相同;另一個 RuntimeCommandExecutor 的 javap 方法反組譯相同,保留歷史確認畫面與按鈕驗收。 + +2026-10-13 使用者明確確認 `1405745` 在 Folia 26.1.2、Paper 26.2、Spigot 1.8.8 人工驗收通過並授權合併;確認原文與範圍見[短版真人紀錄](../current-artifact-human-acceptance.md)。此為使用者確認,與自動封包結果分開,不補造逐項真人 log。 Folia 保持實驗性;Paper 的第三方結果不代表 Folia 第三方已驗證。未執行的真人畫面及按鈕不可用合成封包取代。 -本輪未 push、建立 PR、merge、tag 或發布。依 [Issue #12 驗收條件](https://github.com/Command1264/InviteCodeKt/issues/12)與 [Roadmap #1 發行門檻](https://github.com/Command1264/InviteCodeKt/issues/1),下一步是由使用者回覆固定 Human 短版真人驗收;驗收通過後才整理 Issue #12 的發行門檻結論,遠端交付與正式發行仍需明確授權。 +PR #30 的五項 CI 全部通過,已將 `1405745c6fc049c7df2217304e8df801c728fb68` 合併至 `develop` 的 `1b46780ccc5bfbbe4ff63898999852f61e5fa218`。尚未建立 tag 或正式發布。依 [Issue #12 驗收條件](https://github.com/Command1264/InviteCodeKt/issues/12)與 [Roadmap #1 發行門檻](https://github.com/Command1264/InviteCodeKt/issues/1),後續是[門檻結論及文件收尾](../issue-12-release-gates.md),不再要求本次三台重做真人驗收。 diff --git a/docs/testing/final-human-acceptance.md b/docs/testing/final-human-acceptance.md index ca40bd5..90f7ce2 100644 --- a/docs/testing/final-human-acceptance.md +++ b/docs/testing/final-human-acceptance.md @@ -2,7 +2,7 @@ ## 最新 develop 產物 -最新 `fb215c0` 產品來源的同 JAR 證據及固定 Human 部署狀態見[本輪驗證紀錄](./evidence/2026-10-02-issue-12-current-artifact-retest.md)。本輪真人操作依[短版驗收清單](./current-artifact-human-acceptance.md),保留既有世界、玩家與已通過的歷史結果,不因測服不存在而暫緩。下列 BA2D48 與 889DAD 產物區段是歷史證據,不能代替最終 D6AF 產物的當次驗收。 +使用者於 2026-10-13 確認 `1405745` 在 Spigot 1.8.8、Paper 26.2、Folia 26.1.2 人工驗收通過;PR #30 已合併至 `develop` 的 `1b46780`。最新 D6AF 固定 JAR 的版本與確認原文見[短版真人紀錄](./current-artifact-human-acceptance.md),完整門檻結論見[Issue #12 收尾文件](./issue-12-release-gates.md)。下列 BA2D48 與 889DAD 產物區段及「待/暫緩」描述保留為歷史時點,不是目前待辦事項,也不能代替最終 D6AF 產物的證據。 ## 同產物自動複驗(先前產物) diff --git a/docs/testing/issue-12-release-gates.md b/docs/testing/issue-12-release-gates.md new file mode 100644 index 0000000..0825e3a --- /dev/null +++ b/docs/testing/issue-12-release-gates.md @@ -0,0 +1,52 @@ +# Issue #12 發行門檻結論 + +## 結論與範圍 + +截至 2026-10-13,固定 D6AF 產物的跨版本自動證據與三核心人工驗收已完成。依下列證據,Issue #12 的技術驗證門檻可判定通過,支援範圍保留本文件列出的限制。本次是文件收尾候選;GitHub Issue #12 仍為 OPEN,尚須將收尾文件合併、在 Issue 留下驗收證據後結案。Roadmap #1 與正式 1.0 發行未完成。 + +- 產品來源:`418c8298e8deb6c7fdef66d6e0ff67f78d807a89`,已整合至 `fb215c09ee4bbce96050ef4aebf97a1905ed984a`。 +- 受驗收的 runner/文件來源:`1405745c6fc049c7df2217304e8df801c728fb68`;產品 runtime 沿用上述來源,不因文件 commit 改稱另一個 JAR。 +- 已合併:[PR #30](https://github.com/Command1264/InviteCodeKt/pull/30),`develop` 合併 commit `1b46780ccc5bfbbe4ff63898999852f61e5fa218`。 +- 固定 JAR:`D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue26-418c829\worktree\invitecode-plugin\build\issue26-evidence\InviteCode-418c829.jar`。 +- SHA-256:`D6AF246F62256E2BEF1FB441DC282B4ADE6001269776D8966C7652F5E264ED6C`。 + +本結論只涵蓋記錄中的受測版本與產物,不宣稱未測版本、自動升級或未來最新核心相容。日後重建或改動產品 runtime 的 JAR 須重新綁定雜湊並依影響驗證;不能直接套用本次人工驗收。 + +## 逐條核對 Issue #12 + +| 驗收條件 | 判定 | 可追溯證據與邊界 | +| --- | --- | --- | +| 最舊、中間與新版 Spigot/Paper smoke | 通過 | 同 D6AF JAR 的 Spigot 1.8.8/1.12.2/1.16.5/26.2、Paper 1.20.6/1.21.8/26.2,共七個 Spigot/Paper profile 的 enable、doctor ACTIVE、help、reload 與正常停止。另有 Folia 26.1.2 實驗性 profile。 | +| 相同 JAR 於兩端執行 critical user path | 通過 | Spigot 1.8.8 與 Paper 26.2 的合成玩家 Claim、Confirm、Qualification、離線 Reward、Restart 與 Stats;2026-10-13 使用者確認三核心人工驗收通過。人工確認不補造逐步截圖或 log。 | +| SQLite 支援邊界,MySQL/JSON 代表性 integration | 通過 | SQLite 為八組矩陣預設 backend;JSON 完整邀請、離線補發及重啟。MySQL 8.4.11 實測初始化、DDL/checksum 拒絕、中斷 ledger 復原、共享 lock/guard 與資料保留;另有共用 storage contract 及跨 backend 搬移證據。 | +| Vault/PlaceholderAPI 存在與不存在 | 通過於已測環境 | 基本矩陣檢查兩者不存在;Paper 1.21.8 的 Vault 1.7.3 + EssentialsX 2.21.2 實際入帳與重啟,Paper 1.20.6 的 PlaceholderAPI 2.12.3 資格轉換及重啟。不能推定其他 provider 或 Folia 第三方已通過。 | +| Folia smoke 與實驗性標示 | 通過於實驗性範圍 | Folia 26.1.2 同產物啟動、玩家流程、Dialog 合成封包、重啟與使用者驗收。保留實驗性標示,不提升為全面正式支援。 | +| Reward/migration 重啟及注入失敗復原 | 通過於已測故障 | SQLite DDL 交易回滾、schema 9 明確遷移與資料/密鑰保留;MySQL APPLYING 恢復;外部效果後 JVM halt、UNCERTAIN 不自動重播,人工 mark-delivered/retry 持久化。未測 OS 斷電與資料庫服務中斷不包含在內。 | +| 相容性、安裝、設定與限制文件符合證據 | 本收尾候選已核對 | README、真人紀錄、證據索引與操作文件已同步;歷史待驗收段落標為歷史,不覆蓋舊證據。文件交付仍須 review/合併。 | + +自動測試來源:[固定產物驗證紀錄](./evidence/2026-10-02-issue-12-current-artifact-retest.md)與[逐項 manifest](./evidence/2026-10-02-issue-12-current-artifact-manifest.json)。搬移證據另見 [Issue #26 複驗](./evidence/2026-10-02-issue-26-transfer-retest.md)。 + +## 人工確認、CI 與封存 + +使用者於 2026-10-13 明確確認 `1405745` 在 Folia 26.1.2、Paper 26.2、Spigot 1.8.8 完成人工驗收並授權合併。完整確認原文與保留的複驗流程見[短版真人紀錄](./current-artifact-human-acceptance.md);先前確認畫面、同意/不同意、逾時及重啟通過的紀錄見[歷史真人紀錄](./final-human-acceptance.md)。 + +PR #30 的 CI 五項均成功:Linux/Windows 各自使用 Java 8 與 Java 11 建置檢查,以及隔離 MySQL integration。結果見 [CI run 38403715266](https://github.com/Command1264/InviteCodeKt/actions/runs/38403715266)。此為該 PR 的證據,本文件候選尚未執行遠端 CI,不把它說成新候選已通過 CI。 + +原始證據封存於 `D:\Code\Java\Plugin\InviteCodeKt\artifacts\merged-issue12-1405745\`;`archive-manifest.json` 記錄原來源、逐檔雜湊、三核心驗收及 PR。舊 Worktree 已安全移除,索引改指向封存檔案,原始 log/manifest bytes 保留。該封存排除可重建的 node_modules、依賴副本及隔離 MySQL 資料目錄;固定 JAR 與原 Human 備份另外保留。 + +## 明確保留的限制 + +- Folia 26.1.2 維持實驗性;本次最終產物的 Folia Vault/PlaceholderAPI 整合未驗證。Paper 結果與舊產物的 Folia provider 證據不替代本產物驗證。 +- MySQL 的正式驗證系列是 8.4;MariaDB 未承諾相容。JSON 僅適合小型單實例與資料交換,不是多服共寫方案。 +- 原生 Dialog 視覺與剪貼簿使用者體驗以使用者確認為據,合成封包不等同真人操作。舊版 Spigot 的複製操作是填入聊天列供手動選取。 +- 外部效果無法判定時仍為 UNCERTAIN,只能經具稽核的管理處理決定重試或視為已交付,不承諾外部服務 exactly-once。 +- 後續排版與美術改善已記錄為另行討論,非本次功能驗收失敗,也未在本輪新增設計需求。 + +## 接下來的交付順序 + +1. 審閱並授權本文件候選 push/建立目標為 `develop` 的 PR;不需重做已確認的三台人工測試。 +2. 收尾文件通過檢查並取得指定 commit 的合併授權後整合;另取得 GitHub Issue 操作授權,在 #12 留下證據再關閉。#25/#26 的實作已合併但 Issue 尚開啟,亦須依各自驗收與授權核對結案,不直接批次關閉。 +3. 依 [Roadmap #1「發行門檻」](https://github.com/Command1264/InviteCodeKt/issues/1)規劃 1.0 發行:確認版號、正式候選來源、JAR 雜湊、穩定目標 `main`、支援/已知限制與發行說明。版本調整若產生新 JAR,要補相稱的產物驗證。 +4. `main` 整合、tag、GitHub Release 與 artifact 發布各依明確授權執行;本輪完成不代表已發布。 + +GitHub 狀態為 2026-10-13 核對時點,後續操作以實際 Issue/PR 狀態為準。本輪不啟動或修改測服,不操作 InstanceHarbor。