Prepare database-free BortStack deployment

This commit is contained in:
rob
2026-11-12 10:08:54 +00:00
parent 7ad054b0ca
commit 5c02d88843
14 changed files with 230 additions and 253 deletions
+28 -10
View File
@@ -1,13 +1,31 @@
# BortStack handoff — BS-008 integrated
# BortStack handoff — BS-009 candidate
Updated 2026-11-12. Integration root `/home/rob/projects/bortstack` is on `codex`. Captain accepted BS-008 and explicitly ordered commit and merge. Scoped pre-integration Code Review found no blocking defect. Task commit `ebfb10d` was fast-forwarded into `codex`; this context refresh follows it. No push, release or production deployment authorized. Retain `bs-008` and its worktree; no cleanup order was given. BS-006 history remains in Git and its retained task worktree.
Updated 2026-11-12. Integration root is clean on `codex` at `7ad054b` after
Captain-authorized BS-008 integration. BS-009 is engaged in isolated
`.task-worktrees/bs-009` on `bs-009`, based on that commit. The worktree was
clean before BS-009 edits. Captain accepted the candidate with “task complete”
on 2026-11-12 without supplying runtime observations. No commit, merge, push,
release or production deployment. BS-006 and BS-008 worktrees remain retained.
BS-008 covers the approved marketing site and independent Contact service, excluding inherited account scaffolding. `/privacy` is a factual draft naming Robert O'Reilly and `support@bortstack.com`, describing enquiry/theme flows, a 12-month review for non-client enquiries, Hetzner mail in Helsinki, and Resend's published US storage/transfer arrangement. It is `noindex` and explicitly incomplete. Captain's private address is not published. Full legal review, lawful basis, mail backup retention, configured Resend plan/DPA, verified email delivery, and production hosting remain publication gates. Captain may publish the website before planned January 2027 sole-trader operations and accept enquiries to plan work; production remains unauthorized.
BS-009 adapts production Compose from inherited MySQL/account startup to the
independent `contact_app:app` and marketing nginx. It removes MySQL service,
volume, migration command and MySQL CI gate; keeps the external SWAG network
and loopback diagnostics. The sample environment has blank mail identities and
delivery disabled. CI runs Contact tests and a database-free topology check;
the public frontend job remains. `docs/DEPLOYMENT.md` now describes the
planned topology, commissioning sequence, limits and rollback. Inherited
account source remains untouched. No external infrastructure has been changed.
The frontend build now emits static HTML with route metadata for nine public routes plus a noindex 404 page. Matching pages hydrate; unknown paths receive 404 from the changed nginx configuration and client-render recovery. No new dependency. Canonical origin is unconfirmed, so canonical URLs and sitemap are deferred. Do not claim live nginx behavior until the Captain-controlled runtime is checked.
Pre-acceptance validation: 38 unit tests, lint, build, 27 offline Chromium route/viewport/axe checks, Compose configuration and whitespace checks passed. Browser checks included 1440/390/320 widths, light privacy contrast, static metadata, hydration and simulated 404 status. Contact config was mocked unavailable. `scripts/check-privacy-build.cjs` is the repeatable offline check. Full server-backed Playwright/nginx and real email delivery were not run by Engineering; the Captain did not supply actual testtask observations. No checks were rerun for the acceptance/integration-only turn.
The exact BS-008 manual-test snapshot was refreshed before integration (342 verified files). Task runtime is Captain-controlled: `./scripts/testtask.sh TASK-008` from the integration root opens `/privacy`; it must be restarted after any future source change. The snapshot is test-only, not an editing source. No server or testtask runtime was started by Engineering.
Next proposed missions remain BS-009 deployment topology/regression and BS-010 final visual/launch prep; neither is engaged here. Authentic logo/project media, legal/domain/email choices and production readiness remain separate gates. See `docs/TASKS.md`, `docs/DECISIONS.md`, `docs/CONTACT.md` and `docs/TEMPLATE_RECONCILIATION.md` for durable scope and limitations.
At this handoff, local `python3 scripts/check-deployment-config.py`, Compose
config, workflow YAML/job parsing, Python syntax and `git diff --check` passed.
The Contact unit suite could not collect because local Python lacks Flask;
CI has not run. The candidate is Captain-accepted, awaiting separately
authorized commit/integration. The exact test-only snapshot was
prepared with 343 verified files at `.test-worktrees/task-009`. The acceptance
context edits postdate the snapshot; its refresh is currently refused because
another test session owns the snapshot lock. Refresh it after that session ends.
No testtask or dev server was started by Engineering;
Captain controls startup under BS-ADR-006. Real SWAG client-IP forwarding,
host access, sender/domain, inbox delivery, privacy review and launch authority
remain open. Health checks alone do not prove delivery. See `docs/TASKS.md`,
`docs/CONTACT.md` and `docs/DEPLOYMENT.md`.