TorbatYar/docs/next-steps.md
Mortezakoohjani e41ecfad4c Sync platform docs, infra, and module services with Accounting integration.
Include Loyalty/Communication/Sports Center backends and registry updates alongside production nginx and compose wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 22:35:23 +03:30

1.5 KiB

Next Steps

Immediate next milestone only. History → progress.md. Future map → roadmap.md.

Current Milestone: Phase 7.2 — Loyalty Point Engine

Follow the permanent AI Development Framework (cursor-guidelines.md, development-loop.md, quality-gates.md).

Why

Phase 7.1 Membership Engine is complete (lifecycle state machine, history, cascade policy, APIs/events).

Mandatory entry: phase-handover/phase-7-1.md.

Scope

  1. Immutable point ledger as sole balance source (no mutable balance column)
  2. Earn / redeem / adjust / expire ledger entries with audit + outbox events
  3. PointAccount remains a shell linked to member/program — balances derived from ledger
  4. Do not implement rewards redemption engine (7.3) or campaign engine (7.4)

Exit Criteria

  • Ledger APIs + validators + tests green
  • Docs: docs/loyalty-phase-7-2.md + progress/registry + handover
  • Quality gates + phase handover per AI framework

After This Milestone

Phase 7.3 — Rewards & Redemption.