Phase F
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 10s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 18s

This commit is contained in:
smueller
2026-06-26 15:05:01 +02:00
parent 333ad1cc7d
commit 15cf302afc
23 changed files with 2116 additions and 8 deletions

View File

@@ -2,7 +2,50 @@
Last updated: 2026-06-26
## Current phase: WHMCS Phase D — SSO
## Current phase: WHMCS Phase E + F — Sync & Usage Billing
### WHMCS Phase E completed
| Area | Status | Notes |
|------|--------|-------|
| ListAccounts API | Done | `GET /integrations/whmcs/accounts` |
| Service import | Done | `POST .../services/import` |
| Reconciliation | Done | Full + per-service, severity classification |
| Integration events | Done | Cursor poll + ack/dead-letter |
| Worker daily sync | Done | 03:00 UTC reconciliation tick |
| WHMCS PHP | Done | `ListAccounts`, reconcile/import client |
| Docs | Done | `docs/integrations/whmcs/reconciliation.md` |
### WHMCS Phase F completed
| Area | Status | Notes |
|------|--------|-------|
| Usage metrics API | Done | `GET .../services/:id/usage` |
| Usage adjustments | Done | `POST .../usage/adjustments` |
| Export audit | Done | `WhmcsUsageExport` + content hash |
| Test mode | Done | `testMode=true` → DRAFT exports |
| WHMCS PHP | Done | `MetricProvider`, `UsageUpdate` |
| Docs | Done | `docs/integrations/whmcs/usage-billing.md` |
### Abnahmekriterium Phase E
- [x] ListAccounts liefert alle verknüpften Services
- [x] Reconciliation erkennt Status-, Plan- und Orphan-Drift
- [x] Events cursorbasiert mit Ack/Dead-Letter
- [x] Import bestehender Server möglich
- [ ] Manual E2E: WHMCS Server-Sync + Reconcile-Button
### Abnahmekriterium Phase F
- [x] Metriken aus `usage_records` aggregiert (UTC-Perioden)
- [x] Idempotente Exporte mit Hash
- [x] Adjustments ohne Rohdaten-Mutation
- [x] WHMCS MetricProvider + UsageUpdate
- [ ] Manual E2E: WHMCS Usage Metrics Abrechnungslauf
---
## WHMCS Phase D — SSO ✅
### WHMCS Phase D completed
@@ -191,4 +234,4 @@ Server entry fields:
### Next phase: Post-MVP hardening
- WHMCS Phase E (reconciliation), Phase F (usage billing), Stripe webhooks, penetration test
- Stripe webhooks, penetration test, WHMCS addon dashboard UI