docs(16-03): complete host, migration runbook and staging deploy plan

This commit is contained in:
2026-10-09 18:56:51 +02:00
parent 6ff7d5da3e
commit 296b9cda87
4 changed files with 396 additions and 10 deletions

View File

@@ -4,8 +4,8 @@ milestone: v1.0
current_phase: 16
current_phase_name: grzybyfunkcjonalne.pl on reusable blog views
status: executing
stopped_at: Phase 18 context gathered
last_updated: "2026-10-09T16:45:15.252Z"
stopped_at: Completed 16-03-PLAN.md
last_updated: "2026-10-09T16:56:24.832Z"
last_activity: 2026-10-09
last_activity_desc: Phase 16 execution started
state_head: 65d577b8285e7119db790b640324917fb180b98e
@@ -13,7 +13,7 @@ progress:
total_phases: 31
completed_phases: 13
total_plans: 148
completed_plans: 141
completed_plans: 142
gsd_state_version: "1.0"
milestone_name: milestone
---
@@ -30,7 +30,7 @@ See: .planning/PROJECT.md (updated 2026-09-16)
## Current Position
Phase: 16 (grzybyfunkcjonalne.pl on reusable blog views) — EXECUTING
Plan: 3 of 5
Plan: 4 of 5
Status: Ready to execute
Last activity: 2026-10-09 - Completed quick task 261009-mys: subtitle, avatar and My account page for backend users
@@ -196,6 +196,7 @@ Progress: [██████████] 100%
| Phase 14.3 P04 | 19min | 3 tasks | 32 files |
| Phase 16 P01 | 1h 34m | 4 tasks | 55 files |
| Phase 16 P02 | 16 min | 3 tasks | 44 files |
| Phase 16 P03 | 22 min | 3 tasks | 32 files |
## Accumulated Context
@@ -628,6 +629,10 @@ Recent decisions affecting current work:
- [Phase 16]: Under routeRules swr the site app records the visitor address in event.context (Nitro request hook) and overrides useJournalApi, because Nitro's cached handler strips request headers; the proper fix belongs in vue-journal-layer
- [Phase 16]: Site page URLs answer errors with the HTML error page even for fetch-like requests (server/plugins/html-errors.ts); /api/, /_ and .json paths keep Nuxt JSON errors
- [Phase 16]: Site rich-text copy stays in pl.json (i18n compilation.strictMessage false); contact data lives in app/data/contact.ts
- [Phase 16]: Plugin commands in a summer-build host open and publish the database themselves (lookupDB via lagoon); the journal import runs as grzyby:import-posts because the generated main.go publishes no DB for plugin commands
- [Phase 16]: migrate.sh imports from a copy of the PHP export with empty translations [] arrays normalized to {}; the importer fix is deferred to sm-journal-plugin
- [Phase 16]: The URL rehearsal gives each URL its own X-Forwarded-For visitor (203.0.113.N) so ~90 SSR pages stay under Go's 120/min per-visitor journal limit
- [Phase 16]: The staging nginx image location declares its own types map and matches extensions case-insensitively so images keep an image type under nosniff
### Pending Todos
@@ -697,6 +702,6 @@ Items acknowledged and carried forward from previous milestone close:
## Session Continuity
Last session: 2026-10-09T16:45:14.650Z
Stopped at: Phase 18 context gathered
Resume file: .planning/phases/18-payment-gateway/18-CONTEXT.md
Last session: 2026-10-09T16:56:24.257Z
Stopped at: Completed 16-03-PLAN.md
Resume file: None