Repository navigation
US-701 : caution figée au checkout, vue du voyageur, minuterie de ré-autorisation - #242
Draft
Noamgitpty wants to merge 2 commits into
Draft
Noamgitpty wants to merge 2 commits into
Noamgitpty wants to merge 2 commits into
Conversation
…inuterie de ré-autorisation - deposit_hold (migration 0143) : une décision par hold, figée avant le paiement, revérifiée par la base ; aucun droit applicatif direct - porte de la caution avant T1, payment.deposit pour S05, refus 409 DEPOSIT_RAIL_UNAVAILABLE / DEPOSIT_PARAM_MISSING - S05 : aucune caution, montant et libération, ou refus avec les jours possibles (S-8) ; textes es, en, fr, pt-BR (catalogue v83) - minuterie deposit_timer : ré-autorisation ; refusée ⇒ décision avant l'expiration, alerte ops, aucun débit - clés de caution alignées sur 08 E4 (S-6) ; reauthorize : PENDING / SUBMITTED / UNKNOWN ⇒ REAUTH_PENDING - ADR-169, GL-46, passation Agent-Role: argent Agent-Model: claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ution-plateforme ; migration renumérotée 0144 Conflits d'ajouts résolus en gardant main puis la branche : worker-tasks.test.ts (bordereau, deposit_timer), COMME_TURO.md, security-definer-allowlist.json, README de packages/db ; schema.md repris de main avec la section provisoire de deposit_hold (à recopier de la sortie du job « base de données »). Agent-Role: argent Agent-Model: claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
US-701 — Caution de la plateforme et fenêtre de rétention (lot 2, argent)
Suite d'US-225 (#236) : suites S-2, S-6, S-7, S-8 et alignement de
reauthorize. ADR-169 (PROPOSÉ), migration 0144, fixture 9945, catalogue v83, GL-46. Passation :docs/team/handoffs/US-701.md.Livré
core.payment_deposit_hold(0144) : une décision par hold, figée avant le paiement ;NOT_REQUIRED⇔ aucun déclencheur ⇔ montant 0 ; un checkout refusé n'écrit aucune ligne ;triggers/params_snapshot[C2] ; garde et transitions ; RLS ENABLE + FORCE, aucun droit d'app_api,app_worker,app_anon(fonctions SECURITY DEFINER de cmd_hold_owner seulement).deposit_amount[pays][classe]; aucuneNOT_REQUIREDsur une classe déclencheur ou inconnue ; « débit puis remboursement » refusé tant quefunds_holding_enabled= false (17 §0.1).GET …/paymentrendpayment.deposit(sans [C2]) ;POST …/paymentapplique la porte avant T1 (409DEPOSIT_RAIL_UNAVAILABLE/DEPOSIT_PARAM_MISSING, aucun ordre). OpenAPI :CheckoutDeposit.deposit_timer: ré-autorisation ; refusée ⇒ décision avant l'expiration, alerteDEPOSIT_REAUTH_FAILED, aucun débit ; issue inconnue ⇒ même clé ensuite.{trip}:{segment}:v0-DEPOSIT-{caution}:{op}:{moyen}:i{n}:a{m}.PSP
FAKEuniquement, capacité inconnue = non, aucun interrupteur touché, montant LUXE toujours À DÉCIDER.Suites
S-9 fiche / cartes sur
deposit_amount(T70 c, N-89) ; S-10 âge et signal de risque au checkout ; S-11 console ops ; US-702 décision de libération ; S-1 pose àauth_at(lot C).🤖 Generated with Claude Code