From dbf8aaac74d6f94c5307ff86afda32d852fb3891 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Wed, 14 Oct 2026 18:42:40 +0200 Subject: [PATCH] docs(18.1-05): record plan complete in state and roadmap --- .planning/ROADMAP.md | 6 +++--- .planning/STATE.md | 18 +++++++++++------- .../18.1-05-SUMMARY.md | 6 ++++++ 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index f9ccf07..48ba419 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -1156,7 +1156,7 @@ Plans: 4. A host test proves checkout, activation, `invoice.paid`, `past_due` with its grace period, cancel and duplicate-event idempotency against a Stripe fake. 5. The new code has unit tests, delivered in the phase's last plan. -**Plans:** 4/6 plans executed +**Plans:** 5/6 plans executed Plans: **Wave 1** @@ -1168,7 +1168,7 @@ Plans: - [x] 18.1-04-PLAN.md — sm-paymentgatewaysubscriptions-plugin admin (plans with taglist, flat reorder and sync actions; subscriptions list and preview), permissions, EN/PL, customer API after its contract gate (D-13) **Wave 3** *(blocked on 18.1-04)* -- [ ] 18.1-05-PLAN.md — vue-paymentgateway-layer subscription client, composables and Pg components (D-14); tag `v0.2.0` with go-ahead +- [x] 18.1-05-PLAN.md — vue-paymentgateway-layer subscription client, composables and Pg components (D-14); tag `v0.2.0` with go-ahead **Wave 4** *(blocked on 18.1-01..18.1-05)* - [ ] 18.1-06-PLAN.md — Unit tests last across all repositories, PHP test map, `scripts/check-phase18.1.sh`, validated 18.1-VALIDATION.md, final push approval @@ -1364,7 +1364,7 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → | 16.3. Backend admin personal API tokens with scopes (INSERTED) | 4/4 | Complete | 2026-10-12 | | 17. Blog companions | 6/6 | Complete | 2026-10-13 | | 18. Payment Gateway | 8/8 | Complete | 2026-10-14 | -| 18.1. Payment Gateway Subscriptions | 4/6 | In Progress| | +| 18.1. Payment Gateway Subscriptions | 5/6 | In Progress| | | 19. Chat and ChatChannels | 0/TBD | Not started | - | | 19.1. Chat satellites | 0/TBD | Not started | - | | 19.2. Chat polish against WavePath clients | 0/TBD | Not started | - | diff --git a/.planning/STATE.md b/.planning/STATE.md index 6e3996b..8772f28 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,16 +4,16 @@ milestone: v1.0 current_phase: "18.1" current_phase_name: Payment Gateway Subscriptions (INSERTED) status: executing -stopped_at: Completed 18.1-04-PLAN.md -last_updated: "2026-10-14T16:19:47.735Z" +stopped_at: Completed 18.1-05-PLAN.md +last_updated: "2026-10-14T16:42:31.908Z" last_activity: 2026-10-14 last_activity_desc: Phase 18.1 execution started -state_head: 35887109a07a9507288f7079f0d1a35fbf394e71 +state_head: 967c0f870c4f2ba1a725658485cfb6b0922a0431 progress: total_phases: 40 completed_phases: 31 total_plans: 182 - completed_plans: 180 + completed_plans: 181 gsd_state_version: "1.0" milestone_name: milestone --- @@ -30,7 +30,7 @@ See: .planning/PROJECT.md (updated 2026-10-12) ## Current Position Phase: 18.1 (Payment Gateway Subscriptions (INSERTED)) — EXECUTING -Plan: 5 of 6 +Plan: 6 of 6 Status: Ready to execute Last activity: 2026-10-14 — Phase 18.1 execution started @@ -237,6 +237,7 @@ Progress: [████░░░░░░] 44% | Phase 18.1 P02 | 45min | 5 tasks | 30 files | | Phase 18.1 P03 | 21 min | 4 tasks | 27 files | | Phase 18.1 P04 | 22 min | 5 tasks | 36 files | +| Phase 18.1 P05 | 20 min | 3 tasks | 20 files | ## Accumulated Context @@ -796,6 +797,9 @@ Recent decisions affecting current work: - [Phase 18.1]: Customer API contract confirmed as api-research (18.1-04 Task 4): money objects per currency, 404 Subscription not found when the user has none, latest subscription with has_access and in_grace_period - [Phase 18.1]: pgsub plan sync admin actions never fail after the first gateway call: per-plan failures are code: message lines in the result, so provider ids saved in the bulk transaction survive - [Phase 18.1]: Customer API redirect targets come only from api.success_url, api.cancel_url and api.portal_return_url, resolved at boot (absolute http(s), a path joined to app.url, or empty = app.url); malformed values fail boot naming the key +- [Phase 18.1]: Layer release 18.1-05: human reply "hold"; vue-paymentgateway-layer main 3dea9cd unpushed, no v0.2.0 tag; plan 06 publishes +- [Phase 18.1]: Layer subscription redirects follow only absolute http(s) checkout_url/portal_url from the API answer +- [Phase 18.1]: PgPlans shows the chosen currency price or the plan first price; subscribe sends the currency of the price shown ### Pending Todos @@ -874,6 +878,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-10-14T16:19:37.668Z -Stopped at: Completed 18.1-04-PLAN.md +Last session: 2026-10-14T16:42:31.184Z +Stopped at: Completed 18.1-05-PLAN.md Resume file: None diff --git a/.planning/phases/18.1-payment-gateway-subscriptions/18.1-05-SUMMARY.md b/.planning/phases/18.1-payment-gateway-subscriptions/18.1-05-SUMMARY.md index 9247df4..c9d1948 100644 --- a/.planning/phases/18.1-payment-gateway-subscriptions/18.1-05-SUMMARY.md +++ b/.planning/phases/18.1-payment-gateway-subscriptions/18.1-05-SUMMARY.md @@ -335,3 +335,9 @@ Plan 06 owns: --- *Phase: 18.1-payment-gateway-subscriptions* *Completed: 2026-10-14* + +## Self-Check: PASSED + +- All 13 created layer files exist, and the layer's working tree is clean. +- Commits `38c8a74` and `3dea9cd` exist on the layer's `main`. `origin/main` is still `ac2b960`, and `v0.2.0` is absent on origin, as the reply "hold" requires. +- SUMMARY commit `967c0f8` exists in the framework repository.