Skip to content

實作可復原的 Reward Delivery 與 Vault 支援 #9

Closed

Description

@Command1264

上層 roadmap:#1

受阻於:#5、#8

目標

實作可復原且具 idempotency 的 Inviter/Invitee 獎勵,包括離線補發與 crash recovery。

驗收條件

  • 執行 external effect 前先持久保存 Reward Action。
  • 每個 logical action 都有穩定的 idempotency key 與 terminal status。
  • 玩家離線時 Reward 維持 Pending,登入後繼續交付。
  • 透過 soft dependency 提供 Vault economy reward。
  • Command 與 message action 會驗證 placeholder 與執行 context。
  • Recovery 能區分可安全重試與結果不確定的 external outcome,並提供管理員處理方式。
  • 測試在每個持久化邊界前後注入失敗,並證明不會重複發放。

Activity

  1. added
    needs-triage
    on Sep 20, 2026
  2. changed the title [-]Durable reward delivery with Vault support[/-] [+]實作可復原的 Reward Delivery 與 Vault 支援[/+] on Sep 20, 2026
  3. added
    ready-for-agent
    and removed
    needs-triage
    on Sep 22, 2026
  4. Command1264 commented on Sep 22, 2026

    @Command1264
    OwnerAuthor

    Triage 完成:#5 與 #8 已關閉;ADR 0002、1.0 Reward 規格、既有 SQLite Reward transition 與本 Issue 驗收條件足以界定設定 parser、deterministic idempotency、delivery coordinator、離線補發、crash recovery、Vault soft dependency 與安全 command/message 執行契約。測試 seam 為 Reward 設定 parser、delivery planner/coordinator、action executor 與 SQLite recovery transaction。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions