[Back][Agenda] B2 — Matrice temporelle + soft-cancel + cron + no-DELETE carte #216

Closed
opened 2026-10-16 14:09:18 +00:00 by jmartin · 1 comment
Owner

Dépend de

B0 (#214), B1 (#215)

Mini-spec : https://git.ptits-pas.fr/jmartin/petitspas/src/branch/master/docs/33_MINI-SPEC-AGENDA.md (§4–5, §7 ack arrêt)

Périmètre

  • Soft-cancel : remplace cardsRepo.delete / delete événement ; AC no-DELETE carte
  • Matrice : soin [hier–auj.] + 24h ; congé/arrêt/absence antidatés OK, edit 7×24h
  • Congé futur validé : modifiable/annulable tant que non commencé
  • Toute modif de dates d'un événement soumis à validation → nouvelle revision
  • Arrêt : statut initial accepte ; ack parent n'écrit plus sur l'événement (sinon 400)
  • Cron @nestjs/schedule : auto-valid J+7 congé, soft-cancel refusés J+7 ; idempotent ; sockets
  • verrouille_le à la soumission seulement (jamais en GET)
  • Transactions carte/événement

AC

  • Test : après purge_at fil, respond + lecture Agenda OK
  • Test : ack arrêt maladie sans erreur
  • Test : double appel / bornes exactes / DST
  • Aucun DELETE physique applicatif carte/événement
## Dépend de B0 (#214), B1 (#215) Mini-spec : https://git.ptits-pas.fr/jmartin/petitspas/src/branch/master/docs/33_MINI-SPEC-AGENDA.md (§4–5, §7 ack arrêt) ## Périmètre - Soft-cancel : remplace `cardsRepo.delete` / delete événement ; AC **no-DELETE carte** - Matrice : soin [hier–auj.] + 24h ; congé/arrêt/absence antidatés OK, edit 7×24h - Congé futur validé : modifiable/annulable tant que non commencé - Toute modif de dates d'un événement soumis à validation → nouvelle revision - Arrêt : statut initial `accepte` ; **ack parent n'écrit plus sur l'événement** (sinon 400) - Cron `@nestjs/schedule` : auto-valid J+7 congé, soft-cancel refusés J+7 ; idempotent ; sockets - `verrouille_le` à la soumission seulement (jamais en GET) - Transactions carte/événement ## AC - [ ] Test : après purge_at fil, respond + lecture Agenda OK - [ ] Test : ack arrêt maladie sans erreur - [ ] Test : double appel / bornes exactes / DST - [ ] Aucun DELETE physique applicatif carte/événement
jmartin added the enhancementbackendtestsv0.2.0 labels 2026-10-16 14:09:18 +00:00
Author
Owner

✅ B2 livré — mergé dans develop via PR #234

  • Soft-cancel carte/événement (plus de DELETE physique)
  • Matrice temporelle + verrouille_le à la soumission
  • Arrêt accepte dès création ; ack parent informatif
  • Cron horaire auto-valid / soft-cancel refusés J+7
  • Respond OK après purge_at

Déploiement develop en cours.

✅ **B2 livré** — mergé dans `develop` via PR #234 - Soft-cancel carte/événement (plus de DELETE physique) - Matrice temporelle + `verrouille_le` à la soumission - Arrêt `accepte` dès création ; ack parent informatif - Cron horaire auto-valid / soft-cancel refusés J+7 - Respond OK après `purge_at` Déploiement `develop` en cours.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jmartin/petitspas#216