veza/docs
senke 6b345ede9f docs(audit): 2026-04 correctness/accounting findings (axis 1)
Axis 1 of the 5-axis VEZA audit, scoped to money-movement correctness
and ledger↔PSP reconciliation. Layout: one file per axis under
docs/audit-2026-04/, README index, v107-plan.md derived.

P0 findings (block v1.0.7 "ready-to-show" gate):
  * P0.1 — SellerTransfer.StripeTransferID declared but never populated.
    stripe_connect_service.CreateTransfer discards the *stripe.Transfer
    return value (`_, err := transfer.New(params)`), so the column in
    models.go:237 is dead. Structural blocker for the CHANGELOG-parked
    v1.0.7 "Stripe Connect reversal" item.
  * P0.2 — No Stripe Connect reversal on refund.succeeded. Every refund
    today creates a permanent VEZA↔Stripe ledger gap. Action reworked
    to decouple via a new `seller_transfers.status = 'reversal_pending'`
    state + async worker, so Stripe flaps never block buyer-facing
    refund UX.
  * P0.3 — No reconciliation sweep for stuck orders / refunds / refund
    rows with empty hyperswitch_refund_id. Hourly worker recommended,
    same pattern as v1.0.5 Fix 6 orphan-tracks cleaner.
  * P0.4 — No Idempotency-Key on outbound Hyperswitch POST /payments and
    POST /refunds. Action includes an explicit scope note: the header
    covers HTTP-transport retry only, NOT application-level replay (for
    which the fix is a state-machine precondition).

P1 findings:
  * P1.5 — Webhook raw payloads not persisted (blocks dispute forensics)
  * P1.6 — Disputes / chargebacks silently dropped (new, surfaced during
    review; dispute.* webhooks fall through the default case)
  * P1.7 — Subscription money-movement not covered by v1.0.6 hardening
  * P1.8 — No ledger-health Prometheus metrics

P2 findings:
  * P2.9 — No admin API for manual override
  * P2.10 — Partial refund latent compromise (amount *int64 always nil)

wontfix:
  * wontfix.11 — Per-seller retry interval (re-evaluate at 10× load)

Derived deliverable: v107-plan.md sequences the 6 de-duplicated items
(4 P0 + 2 P1) with a dependency graph, two parallel tracks, per-commit
effort estimates (D→A→B; E→C→F), release gating and open questions
(volume magnitude, Connect backfill %).

Info needed from ops (tracked in axis-1 doc, not determinable from
code): last manual reconciliation date, whether subscriptions are
currently sold, current order/refund volume.

Axes 2-5 deferred: README.md marks axis 2 (state machines) as gated
on v1.0.7 landing first, otherwise the transition matrix captures a
v1.0.6.1 snapshot that's immediately stale.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 03:21:33 +02:00
..
adr stabilisation commit: while implementing v0.10.5 2026-03-09 19:36:33 +01:00
archive chore(cleanup): J1 — purge 220MB debris, archive session docs (complete) 2026-04-14 17:12:03 +02:00
audit-2026-04 docs(audit): 2026-04 correctness/accounting findings (axis 1) 2026-04-17 03:21:33 +02:00
audits batch 1 2025-12-22 22:00:50 +01:00
runbooks chore(release): v0.961 — Playbook (runbooks déploiement, rollback, incident) 2026-03-02 19:09:46 +01:00
API_REFERENCE.md docs: update API_REFERENCE, CHANGELOG, FEATURE_STATUS, PROJECT_STATE for v0.803 2026-03-03 09:25:20 +01:00
API_VERSIONING_POLICY.md chore(release): v0.971 — Phantom (gamification removal, WebRTC Beta, limits doc) 2026-03-02 19:25:37 +01:00
ASVS_CHECKLIST_v0.12.6.md feat(v0.12.6): update pentest deliverables with comprehensive 36-finding audit 2026-03-13 16:52:03 +01:00
BOOT_MODE_STATUS.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
BUDGETS.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
BUG_BASH_V0981.md fix(bugbash): document P1/P2 bug bash completion for v0.981 2026-03-03 19:49:53 +01:00
CHAT_FEATURE_PARITY.md test(chat): Sprint 5 -- unit tests, E2E tests, feature parity validation 2026-02-22 20:49:32 +01:00
DB_MIGRATIONS_AUDIT_V1.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
DB_MIGRATIONS_ORIGIN_DIFF.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
DB_MIGRATIONS_STRATEGY_FINAL.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
DB_MIGRATIONS_V1_VALIDATION.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
DB_TRANSACTION_PLAN.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
DISCOVERY_ALGORITHM.md feat(v1.0.0-rc1): release candidate — GO/NO-GO audit, dark pattern fix, docs 2026-03-13 16:23:18 +01:00
ENV_CONFIG.md fix(chat): ensure WebSocket auth token from query or cookie 2026-02-18 12:42:48 +01:00
ENV_VARIABLES.md feat(v0.10.6): Livestreaming basique F471-F476 2026-03-10 10:21:57 +01:00
ENVIRONMENT_REAL_SETUP.md report generation and future tasks selection 2025-12-08 19:57:54 +01:00
FEATURE_STATUS.md chore(release): v1.0.4 — cleanup sprint complete, CI green 2026-04-15 16:39:30 +02:00
FRONTEND_AUDIT_VISUAL.md small fixes : cors + login loop 2026-02-07 20:36:48 +01:00
FRONTEND_DEEP_DIVE_AUDIT.md docs(audit): TrackDetailPage refactorised 2026-02-05 2026-02-07 06:57:46 +01:00
FRONTEND_ROADMAP_SPOTIFY_DISCORD_QUALITY.md docs(frontend): update roadmap checklist and implementation log 2026-02-07 19:52:48 +01:00
FRONTEND_SETUP.md refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
FRUGALITY.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
GLOBAL_PROJECT_STATE_2026.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
GO_NO_GO_CHECKLIST_v1.0.0.md feat(v1.0.0-rc1): release candidate — GO/NO-GO audit, dark pattern fix, docs 2026-03-13 16:23:18 +01:00
MIGRATION_CONSOLIDATION.md fix(release): v1.0.1 — Conformité complète ROADMAP checklist 2026-03-03 20:17:54 +01:00
MIGRATIONS.md feat(v0.701): AdminTransfers page/route, MSW, stories, Deep Health, API ref, docs, scope v0.702 2026-02-23 23:42:02 +01:00
MINIMAL_WEB.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
MONITORING_SETUP.md chore: consolidate CI, E2E, backend and frontend updates 2026-02-17 16:43:21 +01:00
MONOREPO_ORCHESTRATION.md small fixes : cors + login loop 2026-02-07 20:36:48 +01:00
ONBOARDING.md chore(release): v0.962 — Onboard (API ref, onboarding <30min, ADRs) 2026-03-02 19:11:06 +01:00
PAYMENTS_SETUP.md docs: update PAYMENTS_SETUP for checkout complete URL 2026-02-22 14:42:44 +01:00
PAYOUT_MANUAL.md docs(payout): update PAYOUT_MANUAL for v0.603 auto transfer 2026-02-23 22:59:07 +01:00
PENTEST_REPORT_VEZA_v0.12.6.md feat(v0.12.6): update pentest deliverables with comprehensive 36-finding audit 2026-03-13 16:52:03 +01:00
PERFORMANCE_BASELINE.md fix(release): v1.0.2 — Conformité complète V1_SIGNOFF (21 critères) 2026-03-03 21:18:53 +01:00
PR_READY_CHECKLIST.md STABILISATION: phase 3–5 – API contract, tests & chat-server hardening 2025-12-06 17:21:59 +01:00
PRIVACY_POLICY.md feat(v1.0.0-rc1): release candidate — GO/NO-GO audit, dark pattern fix, docs 2026-03-13 16:23:18 +01:00
PRODUCTION_DEPLOYMENT.md config(template): add comprehensive .env.template 2026-01-29 23:32:18 +01:00
PROJECT_STATE.md chore(release): v1.0.4 — cleanup sprint complete, CI green 2026-04-15 16:39:30 +02:00
PWA_OFFLINE_VERIFICATION.md fix(release): v1.0.2 — Conformité complète V1_SIGNOFF (21 critères) 2026-03-03 21:18:53 +01:00
README.md stabilisation commit: while implementing v0.10.5 2026-03-09 19:36:33 +01:00
REMEDIATION_MATRIX_v0.12.6.md feat(v0.12.6): update pentest deliverables with comprehensive 36-finding audit 2026-03-13 16:52:03 +01:00
REMOTE_DEV_R720.md stabilisation commit: while implementing v0.10.5 2026-03-09 19:36:33 +01:00
REPORT_FRONTEND_PHASE1.md refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
RGPD_CCPA_VERIFICATION.md fix(release): v1.0.2 — Conformité complète V1_SIGNOFF (21 critères) 2026-03-03 21:18:53 +01:00
ROADMAP_V09XX_TO_V1.md feat(v0.923): API contract tests, OpenAPI generation, CI type sync check 2026-02-27 20:23:10 +01:00
SCOPE_CONTROL.md docs: retrospective v0.803, archive scope, update SCOPE_CONTROL 2026-03-03 09:25:34 +01:00
SECRET_ROTATION.md ci: add npm audit, govulncheck, cargo audit to CI 2026-02-11 21:33:27 +01:00
SECRETS_AUDIT.md v0.9.1 2026-03-05 19:22:31 +01:00
SECRETS_VERIFICATION.md Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy 2026-02-14 17:23:32 +01:00
SECURITY_SCAN_RC1.md fix(release): v1.0.1 — Conformité complète ROADMAP checklist 2026-03-03 20:17:54 +01:00
STAGING_DEPLOYMENT.md chore(release): v0.981 — Beta (staging deploy, bug bash, smoke test) 2026-03-02 19:33:42 +01:00
STORYBOOK_CONTRACT.md docs(storybook): final comparison 67%→0%, contract update, silent toasts in Storybook 2026-02-05 13:39:59 +01:00
STRATEGIE_COUVERTURE_ET_TMT_2025_02.md chore: playwright workflow, docs, rapports audit, visual-tests, tmt unit 2026-02-11 22:19:34 +01:00
TEST_PROTOCOL_BOOT.md feat: global update including storybook setup and backend fixes 2026-02-02 19:34:14 +01:00
TODO_TRIAGE_VEZA.md STABILISATION: phase 1 & phase 2 2025-12-06 14:45:07 +01:00
TRANSACTION_TESTS_PHASE3.md P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
TRIAGE_REPORT.md fix: stabilize builds, tests, and lint across all stacks 2026-04-05 16:48:07 +02:00
UUID_DB_CARTOGRAPHY.md P0 UUID Phase A: migrations + backend Go UUID refactor 2025-12-04 02:15:48 +01:00
UUID_DB_MIGRATION_PLAN.md P0 UUID Phase A: migrations + backend Go UUID refactor 2025-12-04 02:15:48 +01:00
V1_LIMITATIONS.md chore(release): v0.971 — Phantom (gamification removal, WebRTC Beta, limits doc) 2026-03-02 19:25:37 +01:00
V1_MVP_SCOPE.md docs: add v1.0.0-mvp scope document 2026-04-05 17:53:26 +02:00
V1_SIGNOFF.md fix(release): v1.0.2 — Conformité complète V1_SIGNOFF (21 critères) 2026-03-03 21:18:53 +01:00
VEZA_PROJECT_DOCUMENTATION.md docs: add project documentation, logging config, status script 2026-03-18 11:36:36 +01:00
VISUAL_TESTING_STRATEGY.md feat(e2e): Playwright + pixelmatch stack for pixel-perfect visual regression 2026-02-07 20:01:30 +01:00

Documentation Veza

Index de la documentation principale du monorepo.

Démarrage

Architecture & Déploiement

Développement

Base de données & Migrations

Sécurité & Opérations

Remédiation & Progression

Archives

Les audits et rapports historiques sont dans docs/archive/.

Documentation par composant

  • Frontend : apps/web/docs/ (FULL_LAYOUT_PAGE, DESIGN_TOKENS, etc.)
  • Backend : veza-backend-api/docs/