docs(18-05): record plan 05 progress in STATE and ROADMAP

This commit is contained in:
2026-10-13 14:59:20 +02:00
parent 3255a815c7
commit 25cfb0a4cc
2 changed files with 16 additions and 10 deletions

View File

@@ -1113,7 +1113,7 @@ Plans:
4. A host test proves the order-create, Stripe-pay and order-paid flow that Horoskopia relies on.
5. The new code has unit tests, delivered in the phase's last plan.
**Plans:** 4/7 plans executed
**Plans:** 5/7 plans executed
Plans:
**Wave 1**
@@ -1129,7 +1129,7 @@ Plans:
- [x] 18-04-PLAN.md — sm-paymentgateway-plugin settings and mail: PG and Mailer settings pages (D-08), 27 postcard templates PL/EN under the PHP codes, the four mailer groups after commit, mailer keys in the Winter import
**Wave 5** *(blocked on 18-04)*
- [ ] 18-05-PLAN.md — sm-pgstripe-plugin and the proof host: stripe-go v87 operator (Checkout and PaymentIntent, D-16/D-17), signature-only webhooks (D-14), browser return, refunds, encrypted settings with env fallback and `pgstripe:import-winter` (D-13), the D-03/D-04 host test with both pay paths
- [x] 18-05-PLAN.md — sm-pgstripe-plugin and the proof host: stripe-go v87 operator (Checkout and PaymentIntent, D-16/D-17), signature-only webhooks (D-14), browser return, refunds, encrypted settings with env fallback and `pgstripe:import-winter` (D-13), the D-03/D-04 host test with both pay paths
**Wave 6** *(blocked on 18-05)*
- [ ] 18-06-PLAN.md — Customer order API `/_paymentgateway/api/v1` (D-06 contract gate, authz, twelve endpoints) and the new vue-paymentgateway-layer (typed client, Pg* components, i18n, tests); repository creation, fixture request, pushes and layer tag v0.1.0 with go-ahead
@@ -1340,7 +1340,7 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 →
| 15. Journal plugin | 4/4 | Complete | 2026-10-06 |
| 16. grzybyfunkcjonalne.pl on reusable blog views | 5/5 | In Progress| |
| 17. Blog companions | 6/6 | In Progress| |
| 18. Payment Gateway | 4/7 | In Progress| |
| 18. Payment Gateway | 5/7 | In Progress| |
| 18.1. Payment Gateway Subscriptions | 0/TBD | Not started | - |
| 19. Chat and ChatChannels | 0/TBD | Not started | - |
| 19.1. Chat satellites | 0/TBD | Not started | - |

View File

@@ -4,16 +4,16 @@ milestone: v1.0
current_phase: 18
current_phase_name: Payment Gateway
status: executing
stopped_at: Completed 18-04-PLAN.md
last_updated: "2026-10-13T12:32:17.021Z"
stopped_at: Completed 18-05-PLAN.md
last_updated: "2026-10-13T12:59:09.514Z"
last_activity: 2026-10-13
last_activity_desc: Phase 18 execution started
state_head: 79dd3a0bb1c938b57b0db5e69f4b5b00494d6d06
state_head: 3255a815c78ddeaea658e1b2bdf5d35dca28a3f6
progress:
total_phases: 40
completed_phases: 14
total_plans: 175
completed_plans: 172
completed_plans: 173
gsd_state_version: "1.0"
milestone_name: milestone
---
@@ -30,7 +30,7 @@ See: .planning/PROJECT.md (updated 2026-10-12)
## Current Position
Phase: 18 (Payment Gateway) — EXECUTING
Plan: 5 of 7
Plan: 6 of 7
Status: Ready to execute
Last activity: 2026-10-13 — Phase 18 execution started
@@ -229,6 +229,7 @@ Progress: [████░░░░░░] 44%
| Phase 18 P02 | 75min | 4 tasks | 84 files |
| Phase 18 P03 | 45min | 3 tasks | 75 files |
| Phase 18 P04 | 40 min | 3 tasks | 78 files |
| Phase 18 P05 | 20min | 3 tasks | 31 files |
## Accumulated Context
@@ -759,6 +760,11 @@ Recent decisions affecting current work:
- [Phase 18]: 18-04: cabana settings forms serve method-backed dropdowns from the settings model (pact.DropdownOptionsProvider); framework tag still held to the phase gate
- [Phase 18]: 18-04: default_currency validated as required|in:<ISO codes> plus a BeforeValidate 422 settings.default_currency_required (lagoon has no string/size rule)
- [Phase 18]: 18-04: order mails only with orders on, payment mails (customer and staff) only with orders off, as PHP registerSubscribers; mails sent via lagoon.AfterCommit, events.MailSender seam for apps and tests
- [Phase 18]: 18-05: Stripe operator defaults to hosted Checkout; the Details parameter stripe_checkout_mode overrides the checkout_mode setting per order
- [Phase 18]: 18-05: PaymentIntent created without a payment method answers the requires_action bundle for requires_payment_method; only a confirmed payment method ending there is a decline
- [Phase 18]: 18-05: Stripe webhooks are verified by signature only (webhook.ValidatePayload) with a minimal local event decode, so the endpoint API version is irrelevant
- [Phase 18]: 18-05: Authentic notifications for no payment of this application answer 200 ignored via the new paymentgateway sentinel operators.ErrNotificationIgnored
- [Phase 18]: 18-05: All four Stripe secrets fall back to golem15.pgstripe.<column> config keys (SUMMER_GOLEM15__PGSTRIPE__*) while their encrypted column is empty
### Pending Todos
@@ -837,6 +843,6 @@ Items acknowledged and carried forward from previous milestone close:
## Session Continuity
Last session: 2026-10-13T12:32:05.641Z
Stopped at: Completed 18-04-PLAN.md
Last session: 2026-10-13T12:59:08.504Z
Stopped at: Completed 18-05-PLAN.md
Resume file: None