Compare commits
10
Commits
ebfb10d91e
...
codex
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bf56b422e | ||
|
|
504d0ac569 | ||
|
|
470facdaf3 | ||
|
|
17fc1648f0 | ||
|
|
3eb02bc260 | ||
|
|
4037d9eed7 | ||
|
|
f13f20f847 | ||
|
|
1613dcfc4b | ||
|
|
5c02d88843 | ||
|
|
7ad054b0ca |
+5
-27
@@ -1,30 +1,8 @@
|
|||||||
APP_ENV=production
|
CONTACT_EMAIL=
|
||||||
APP_URL=https://app.example.com
|
EMAIL_FROM=
|
||||||
APP_SLUG=bortstack
|
RESEND_API_KEY=
|
||||||
REGISTRATION_MODE=open
|
EMAIL_DELIVERY_ENABLED=false
|
||||||
SECRET_KEY=replace-with-a-long-random-value
|
GUNICORN_WORKERS=1
|
||||||
|
|
||||||
MYSQL_DATABASE=bortstack
|
|
||||||
MYSQL_USER=bortstack
|
|
||||||
MYSQL_PASSWORD=replace-with-a-strong-password
|
|
||||||
MYSQL_ROOT_PASSWORD=replace-with-a-different-strong-password
|
|
||||||
SQLALCHEMY_DATABASE_URI=mysql+pymysql://bortstack:replace-with-a-strong-password@mysql:3306/bortstack
|
|
||||||
SQLALCHEMY_ECHO=false
|
|
||||||
SQLALCHEMY_TRACK_MODIFICATIONS=false
|
|
||||||
|
|
||||||
SESSION_COOKIE_SECURE=true
|
|
||||||
SESSION_COOKIE_HTTPONLY=true
|
|
||||||
SESSION_COOKIE_SAMESITE=Lax
|
|
||||||
CORS_ORIGINS=https://app.example.com
|
|
||||||
|
|
||||||
RESEND_API_KEY=re_replace-with-a-resend-api-key
|
|
||||||
EMAIL_FROM="BortStack <bortstack@roborto.net>"
|
|
||||||
CONTACT_EMAIL=bortstack@roborto.net
|
|
||||||
EMAIL_DELIVERY_ENABLED=true
|
|
||||||
RATELIMIT_ENABLED=true
|
|
||||||
LOG_LEVEL=INFO
|
|
||||||
MAX_CONTENT_LENGTH=1048576
|
|
||||||
GUNICORN_WORKERS=2
|
|
||||||
GUNICORN_TIMEOUT=30
|
GUNICORN_TIMEOUT=30
|
||||||
GUNICORN_GRACEFUL_TIMEOUT=30
|
GUNICORN_GRACEFUL_TIMEOUT=30
|
||||||
GUNICORN_KEEPALIVE=5
|
GUNICORN_KEEPALIVE=5
|
||||||
|
|||||||
@@ -16,55 +16,15 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: api
|
working-directory: api
|
||||||
env:
|
env:
|
||||||
APP_ENV: testing
|
|
||||||
SQLALCHEMY_DATABASE_URI: sqlite:///:memory:
|
|
||||||
SECRET_KEY: ci-test-key
|
|
||||||
REGISTRATION_MODE: open
|
|
||||||
EMAIL_DELIVERY_ENABLED: "false"
|
EMAIL_DELIVERY_ENABLED: "false"
|
||||||
RATELIMIT_ENABLED: "false"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
- run: python -m pip install -r config/requirements-dev.txt
|
- run: python -m pip install -r config/requirements-dev.txt
|
||||||
- run: pytest test_contact_independent.py
|
- run: pytest --cov --cov-report=term-missing test_contact_independent.py
|
||||||
- run: pytest --cov --cov-report=term-missing
|
- run: python ../scripts/check-deployment-config.py
|
||||||
|
|
||||||
backend-mysql:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: api
|
|
||||||
services:
|
|
||||||
mysql:
|
|
||||||
image: mysql:8.4
|
|
||||||
env:
|
|
||||||
MYSQL_DATABASE: app_test
|
|
||||||
MYSQL_USER: app_test
|
|
||||||
MYSQL_PASSWORD: test-password
|
|
||||||
MYSQL_ROOT_PASSWORD: root-test-password
|
|
||||||
ports: ["3306:3306"]
|
|
||||||
options: >-
|
|
||||||
--health-cmd="mysqladmin ping -h localhost -uroot -proot-test-password --silent"
|
|
||||||
--health-interval=10s
|
|
||||||
--health-timeout=5s
|
|
||||||
--health-retries=10
|
|
||||||
env:
|
|
||||||
APP_ENV: testing
|
|
||||||
SQLALCHEMY_DATABASE_URI: mysql+pymysql://app_test:test-password@127.0.0.1:3306/app_test
|
|
||||||
SECRET_KEY: ci-test-key
|
|
||||||
REGISTRATION_MODE: open
|
|
||||||
EMAIL_DELIVERY_ENABLED: "false"
|
|
||||||
RATELIMIT_ENABLED: "false"
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v5
|
|
||||||
- uses: actions/setup-python@v6
|
|
||||||
with:
|
|
||||||
python-version: "3.12"
|
|
||||||
- run: python -m pip install -r config/requirements-dev.txt
|
|
||||||
- run: flask --app api.py db upgrade
|
|
||||||
- run: pytest
|
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -87,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
publish-images:
|
publish-images:
|
||||||
if: github.ref == 'refs/heads/production' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
if: github.ref == 'refs/heads/production' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||||
needs: [backend, backend-mysql, frontend]
|
needs: [backend, frontend]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -226,8 +186,6 @@ jobs:
|
|||||||
compose=(docker compose --env-file "$env_path")
|
compose=(docker compose --env-file "$env_path")
|
||||||
"${compose[@]}" config --quiet
|
"${compose[@]}" config --quiet
|
||||||
"${compose[@]}" pull api nginx
|
"${compose[@]}" pull api nginx
|
||||||
"${compose[@]}" up -d mysql
|
|
||||||
"${compose[@]}" run --rm --no-deps api flask --app api.py db upgrade
|
|
||||||
"${compose[@]}" up -d --no-build api nginx
|
"${compose[@]}" up -d --no-build api nginx
|
||||||
"${compose[@]}" ps
|
"${compose[@]}" ps
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,4 +12,4 @@ ENV HOME=/home/app \
|
|||||||
PYTHONUNBUFFERED=1
|
PYTHONUNBUFFERED=1
|
||||||
USER app:app
|
USER app:app
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD ["gunicorn", "--config", "gunicorn.conf.py", "api:app"]
|
CMD ["gunicorn", "--config", "gunicorn.conf.py", "contact_app:app"]
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
"""Environment-tunable Gunicorn defaults for the generic container."""
|
"""Environment-tunable Gunicorn defaults for the Contact container."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
bind = "0.0.0.0:5000"
|
bind = "0.0.0.0:5000"
|
||||||
workers = int(os.environ.get("GUNICORN_WORKERS", "2"))
|
workers = int(os.environ.get("GUNICORN_WORKERS", "1"))
|
||||||
timeout = int(os.environ.get("GUNICORN_TIMEOUT", "30"))
|
timeout = int(os.environ.get("GUNICORN_TIMEOUT", "30"))
|
||||||
graceful_timeout = int(os.environ.get("GUNICORN_GRACEFUL_TIMEOUT", "30"))
|
graceful_timeout = int(os.environ.get("GUNICORN_GRACEFUL_TIMEOUT", "30"))
|
||||||
keepalive = int(os.environ.get("GUNICORN_KEEPALIVE", "5"))
|
keepalive = int(os.environ.get("GUNICORN_KEEPALIVE", "5"))
|
||||||
errorlog = "-"
|
errorlog = "-"
|
||||||
accesslog = None # Query strings may contain verification/reset tokens.
|
accesslog = None # Avoid logging visitor data or query strings.
|
||||||
capture_output = False
|
capture_output = False
|
||||||
|
|||||||
+2
-25
@@ -1,23 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
mysql:
|
|
||||||
image: mysql:8.4
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
MYSQL_DATABASE: ${MYSQL_DATABASE:?MYSQL_DATABASE must be set}
|
|
||||||
MYSQL_USER: ${MYSQL_USER:?MYSQL_USER must be set}
|
|
||||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:?MYSQL_PASSWORD must be set}
|
|
||||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:?MYSQL_ROOT_PASSWORD must be set}
|
|
||||||
volumes:
|
|
||||||
- db:/var/lib/mysql
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "mysqladmin ping -h localhost -uroot -p$$MYSQL_ROOT_PASSWORD --silent"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 10
|
|
||||||
start_period: 30s
|
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
image: ${API_IMAGE:-bortstack-api:local}
|
image: ${API_IMAGE:-bortstack-api:local}
|
||||||
build:
|
build:
|
||||||
@@ -34,9 +15,8 @@ services:
|
|||||||
- ALL
|
- ALL
|
||||||
env_file:
|
env_file:
|
||||||
- ${APP_ENV_FILE:-.env}
|
- ${APP_ENV_FILE:-.env}
|
||||||
depends_on:
|
environment:
|
||||||
mysql:
|
CONTACT_TRUST_PROXY: 'true'
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:5000/api/health/ready')"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:5000/api/health/ready')"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
@@ -79,6 +59,3 @@ networks:
|
|||||||
swag:
|
swag:
|
||||||
external: true
|
external: true
|
||||||
name: ${SWAG_NETWORK:-swagnet}
|
name: ${SWAG_NETWORK:-swagnet}
|
||||||
|
|
||||||
volumes:
|
|
||||||
db:
|
|
||||||
|
|||||||
@@ -0,0 +1,127 @@
|
|||||||
|
# BS-010 visual and launch audit
|
||||||
|
|
||||||
|
Updated 2026-11-12. This is an evidence ledger for the engaged task, not a
|
||||||
|
release approval. Source inspection used `DESIGN_SPEC.md`, the brand decision,
|
||||||
|
approved page reference images, current React routes/components, Contact service
|
||||||
|
and the BS-009 deployment plan. Offline Chromium inspected the built candidate;
|
||||||
|
no live server or production service was examined.
|
||||||
|
|
||||||
|
## UI design direction
|
||||||
|
|
||||||
|
**Mode: Extend.** Keep the approved dark-first palette, optional light theme,
|
||||||
|
four-link navigation, established page spacing and responsive compositions.
|
||||||
|
Visitors should understand the services and projects, then reach the existing
|
||||||
|
four-field enquiry form. No new page, control, CTA or design system is proposed.
|
||||||
|
Replace existing labelled image/logo placeholders only with authentic approved
|
||||||
|
assets. Concept previews are visual guides, not website media. Reuse the current
|
||||||
|
React-Bootstrap containers, links, form and theme components. Desktop split
|
||||||
|
regions should stack in content order on tablet/mobile; maintain visible labels,
|
||||||
|
focus, validation feedback and an honest unavailable-mail state.
|
||||||
|
|
||||||
|
Captain's later dark-mode direction makes `Dark-logo.png` the visual basis for
|
||||||
|
the site's atmosphere as well as the logo identity. The four labelled palette
|
||||||
|
values were already in CSS tokens. The task candidate adds a restrained shared
|
||||||
|
blue-charcoal gradient and diagonal layer behind dark public pages, with the
|
||||||
|
header transparent over that layer. The presentation board itself is not used
|
||||||
|
as a page bitmap. Desktop and mobile dark screenshots were visually inspected;
|
||||||
|
light mode remains available. Captain subsequently accepted the visual design.
|
||||||
|
|
||||||
|
Captain's live review then found inconsistent headers across routes. Page-level
|
||||||
|
Services, About and Contact CSS had overridden shared header dimensions and
|
||||||
|
navigation scaling. Those overrides were removed. The offline built candidate
|
||||||
|
shows matching header geometry on six primary routes at 1440/768/390 in both
|
||||||
|
themes, with no horizontal overflow.
|
||||||
|
Captain approved the resulting design on 2026-11-12. This is visual acceptance,
|
||||||
|
not approval of the still-open publication and operational gates below.
|
||||||
|
|
||||||
|
| Surface | Current source evidence | Required before visual sign-off |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Header/logo | Approved transparent dark/light horizontal lockups render in the header; supplied symbols serve as browser icons. | Captain visual acceptance of the rendered variants |
|
||||||
|
| Home | `Homepage.jsx` contains approved-hero and featured-work placeholders | Authentic hero art and one publishable featured screenshot/summary; compare 1024 desktop and narrow layouts |
|
||||||
|
| Services | `Services.jsx` uses code-native illustration and four approved services | Browser comparison with approved concept at desktop/tablet/mobile and both themes |
|
||||||
|
| Projects | `Projects.jsx` shows three labelled screenshot placeholders | Genuine approved media for each published project; retain truthful development statuses |
|
||||||
|
| About | `About.jsx` contains an artwork placeholder | Approved original art; review copy against pre-trading status before publication |
|
||||||
|
| Contact | `Contact.jsx` has four visible fields, config and disabled-mail state | Verify actual recipient/sender and inbox path; exercise validation/error/success only with controlled safe fixtures |
|
||||||
|
| Privacy | `Privacy.jsx` states it is incomplete; route is noindex | Legal review, lawful basis, mail backup retention and actual Resend plan/DPA before publication |
|
||||||
|
| Footer | Current two-row BortStack footer and Privacy link | Check approved responsive reference and link/focus behaviour in browser |
|
||||||
|
|
||||||
|
## Operational gates
|
||||||
|
|
||||||
|
**Readiness verdict: Not ready for public launch.** The repository contains
|
||||||
|
intentional publication placeholders and the configured example cannot send
|
||||||
|
enquiries. Production infrastructure and legal details were not verified.
|
||||||
|
|
||||||
|
| Severity / disposition | Evidence and effect | Evidence needed to close |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| High — block launch | `Privacy.jsx` declares the notice incomplete, and `/privacy` is noindex. The page itself says it must be completed before publication. | Review lawful basis, rights wording, retention/backups and actual Resend plan/DPA; approve final notice and indexing policy. |
|
||||||
|
| High — block launch | Home/About and Projects render explicit missing-media placeholders. Concept images are not approved source assets. | Supply authentic page and project media with publication permissions; replace and visually retest. |
|
||||||
|
| High — block enquiry launch | `.env.example` disables mail and leaves sender/recipient/key blank; Contact returns unavailable when unconfigured. | Verify intended BortStack inbox and sender/domain, configure external secrets, controlled provider send and inbox receipt. |
|
||||||
|
| High — fix before public submissions | nginx sends `X-Forwarded-For` with its `$remote_addr` appended; Contact trusts the last forwarded hop (`ProxyFix x_for=1`). Behind SWAG, that last hop is normally SWAG's address. The 5/hour and 20/day process-local limit can therefore be shared by unrelated visitors. Actual SWAG `real_ip` handling is unknown. | Inspect live proxy chain, establish a trusted client-IP boundary, then test independent clients and forged forwarding headers without exposing the API directly. |
|
||||||
|
| Medium — review before publication | `About.jsx` says BortStack *is* a business and *provides* services, while the Captain's recorded plan says sole-trader operation begins January 2027 and pre-launch copy must not imply current trading. | Captain-approved wording that accurately describes pre-January enquiry planning and later operation. |
|
||||||
|
|
||||||
|
These are scoped readiness findings, not new accepted tasks or authority to
|
||||||
|
change provider, legal or hosting policy. No authentication or database-backed
|
||||||
|
account product is in the public runtime. The Compose topology check passes.
|
||||||
|
|
||||||
|
- **Hostname/SEO:** `bortstack.com` is proposed, not confirmed as the canonical
|
||||||
|
deployed origin. Canonical URLs and sitemap remain deferred.
|
||||||
|
- **Contact:** example delivery is off. Verify BortStack inbox, Resend sender
|
||||||
|
domain/key and a real controlled send/receipt before enabling submissions.
|
||||||
|
Process health alone cannot prove delivery. Check actual SWAG client IP so
|
||||||
|
unrelated visitors do not share a process-local rate limit.
|
||||||
|
- **Privacy:** the current draft explicitly requires completion and stays
|
||||||
|
noindex. Review legal basis, rights wording, mail backup schedule, retention
|
||||||
|
operation and configured provider terms before publishing the site.
|
||||||
|
- **Deployment:** BS-009 Compose/CI plan is integrated, not commissioned. Verify
|
||||||
|
host/SWAG/TLS/GHCR access, rollback and monitoring in a separate authorized
|
||||||
|
production readiness and deployment sequence.
|
||||||
|
- **Publication assets/content:** do not replace labelled placeholders with
|
||||||
|
concept screenshots or invented project outcomes. Confirm media permissions
|
||||||
|
and the current business-status wording.
|
||||||
|
|
||||||
|
## Supplied logo assets
|
||||||
|
|
||||||
|
The Captain supplied dark and light Concept 2 boards on 2026-11-12. Their
|
||||||
|
SHA-256 copies in this task worktree match the originals left untracked in the
|
||||||
|
integration checkout. Both are RGB presentation boards (1254×1254 and
|
||||||
|
1448×1086), with the compact horizontal logo embedded among labels, palette
|
||||||
|
swatches and background artwork. They are authoritative visual references,
|
||||||
|
but not isolated transparent logo exports. A reversible exact-pixel CSS crop
|
||||||
|
was previewed at desktop/mobile in both themes. It displayed a visible board
|
||||||
|
background rectangle in the header and added about 1.6 MB per theme image to
|
||||||
|
the build. The preview was removed; no geometry was redrawn or generated.
|
||||||
|
|
||||||
|
The Captain then supplied `bortstack-transparent-logo-assets.zip` outside the
|
||||||
|
repository. Archive inspection found eight standalone RGBA PNGs and a README.
|
||||||
|
Only the supplied dark/light horizontal lockups and matching symbols were
|
||||||
|
copied into `react/public/brand/`; the header uses the horizontal images by
|
||||||
|
site theme and the symbols are browser icons by OS color preference. The
|
||||||
|
accessible home link retains a text label. Offline screenshots of the built
|
||||||
|
candidate show clean edges and legible lockups at 1440, 768, 390 and 320px
|
||||||
|
in both site themes, without horizontal overflow. Captain accepted the result.
|
||||||
|
|
||||||
|
## Verification state
|
||||||
|
|
||||||
|
`bs-010` worktree was clean on creation. Source/config inspection is complete
|
||||||
|
for the listed surfaces. No testtask/dev server was started by Engineering, in
|
||||||
|
line with BS-ADR-006; neither local testtask port nor Vite port was listening.
|
||||||
|
Node was found under the local nvm installation. Fresh `npm run lint`,
|
||||||
|
`npm test` (38/38) and `npm run build` (nine prerendered routes) passed. The
|
||||||
|
repository's offline Chromium script passed 27 route/width checks at 1440,
|
||||||
|
390 and 320px, including DOM metadata, dark theme, 390px light Privacy,
|
||||||
|
axe basics, console errors and horizontal overflow. Six console 404 messages
|
||||||
|
were the expected responses on unknown `/login` and `/projects/example` paths.
|
||||||
|
|
||||||
|
Additional full-page screenshots of the same built candidate were captured
|
||||||
|
offline for six public pages at 1440, 768 and 390px in dark and light themes
|
||||||
|
(`/tmp/bs010-screens/`, transient and outside Git). Desktop, tablet and mobile
|
||||||
|
screenshots were visually inspected against the approved references. The
|
||||||
|
established compositions and responsive stacking were coherent; no in-scope
|
||||||
|
layout defect was confirmed. The labelled missing hero/About artwork and
|
||||||
|
project imagery account for the major differences. The screenshot pass also
|
||||||
|
checked horizontal overflow at 768px in both themes. This is not a live
|
||||||
|
nginx/SWAG test, a Contact delivery test or full WCAG certification.
|
||||||
|
|
||||||
|
Other verified source assets, live Contact/host checks and publication
|
||||||
|
decisions remain pending. The prior BS-008 and page-specific
|
||||||
|
test results are historical evidence separate from this BS-010 run.
|
||||||
+4
-4
@@ -1,13 +1,13 @@
|
|||||||
# Contact service
|
# Contact service
|
||||||
|
|
||||||
BS-007 uses `api/contact_app.py:create_app`, exposed as `contact_app:app`. Start from api/ with existing requirements installed: `gunicorn --bind 127.0.0.1:5000 --workers 1 --timeout 20 contact_app:app`. Vite proxies /api to localhost:5000. The task Compose command selects this entry point explicitly. Existing api:app/account infrastructure and production Compose are unchanged provisional scaffolding; production adaptation remains BS-009, not ready for launch.
|
BS-007 uses `api/contact_app.py:create_app`, exposed as `contact_app:app`. Start from api/ with existing requirements installed: `gunicorn --bind 127.0.0.1:5000 --workers 1 --timeout 20 contact_app:app`. Vite proxies /api to localhost:5000. The task Compose command and BS-009 production image select this entry point. The account app remains in source but is outside the public runtime. Production is not commissioned.
|
||||||
|
|
||||||
No SQLAlchemy, migrations, account routes or enquiry persistence. GET /api/contact/config returns only public email/null and delivery availability with no-store. Health/ready indicates service readiness, separate from mail configuration. POST /api/contact accepts JSON name (1–100), email (up to254), service (blank or one of four approved values), description (10–5000), and hidden website honeypot. Other keys/types rejected. 32KiB body limit. Errors are JSON: 400 fields/body, 413 oversized, 429 attempts, 503 disabled/unconfigured/provider failure; 200 success only after provider acknowledgement with ID. No enquiry content/provider error details logged.
|
No SQLAlchemy, migrations, account routes or enquiry persistence. GET /api/contact/config returns only public email/null and delivery availability with no-store. Health/ready indicates service readiness, separate from mail configuration. POST /api/contact accepts JSON name (1–100), email (up to254), service (blank or one of four approved values), description (10–5000), and hidden website honeypot. Other keys/types rejected. 32KiB body limit. Errors are JSON: 400 fields/body, 413 oversized, 429 attempts, 503 disabled/unconfigured/provider failure; 200 success only after provider acknowledgement with ID. No enquiry content/provider error details logged.
|
||||||
|
|
||||||
Mail configuration is server-only: CONTACT_EMAIL = Captain-verified public inbox and recipient; EMAIL_FROM = verified Resend-domain sender; RESEND_API_KEY = secret; EMAIL_DELIVERY_ENABLED=true only when authorized/configured. Defaults are blank/disabled; no example mailbox is published. No live credentials or real sends used for this task. Configuration cannot independently prove sender/domain verification; Resend must accept the send. Do not put secrets in VITE variables. The separate inherited .env.example contains template values, not approved contact identity.
|
Mail configuration is server-only: CONTACT_EMAIL = Captain-verified public inbox and recipient; EMAIL_FROM = verified Resend-domain sender; RESEND_API_KEY = secret; EMAIL_DELIVERY_ENABLED=true only when authorized/configured. Defaults are blank/disabled; no example mailbox is published. No live credentials or real sends used for this task. Configuration cannot independently prove sender/domain verification; Resend must accept the send. Do not put secrets in VITE variables. The BS-009 `.env.example` has blank identities and delivery disabled.
|
||||||
|
|
||||||
Direct Resend HTTPS call uses Python standard library, timeout10s, visitor email only as reply_to, fixed configured From/To, escaped HTML/plain text and service-derived subject. No new dependencies. Provider acknowledgement means accepted for delivery, not a guarantee of receipt. No automatic retries: draft and request key retained in the current page after failure; unchanged-draft retry uses the same UUID Idempotency-Key, edits create a fresh key. Browser timeout15s. Refresh/navigation loses unsent draft/key; no local-storage enquiry retention. Retry promptly without editing after uncertain outcome; provider idempotency expires after24h. Provider reference: https://resend.com/docs/dashboard/emails/idempotency-keys .
|
Direct Resend HTTPS call uses Python standard library, timeout10s, visitor email only as reply_to, fixed configured From/To, escaped HTML/plain text and service-derived subject. No new dependencies. Provider acknowledgement means accepted for delivery, not a guarantee of receipt. No automatic retries: draft and request key retained in the current page after failure; unchanged-draft retry uses the same UUID Idempotency-Key, edits create a fresh key. Browser timeout15s. Refresh/navigation loses unsent draft/key; no local-storage enquiry retention. Retry promptly without editing after uncertain outcome; provider idempotency expires after24h. Provider reference: https://resend.com/docs/dashboard/emails/idempotency-keys .
|
||||||
|
|
||||||
Limits: 5 attempts/hour and20/day per direct remote IP, including failures, held in memory per process; no rate-limit bypass from untrusted forwarding headers by default. CONTACT_TRUST_PROXY=true only behind one trusted proxy that sets/appends the real client IP and blocks direct external backend access. Task Compose enables it for local nginx; direct diagnostic port is loopback/test-only. Multiworker/multireplica global limits, production proxy/edge policy, provider data handling/privacy review and deployment authorization remain launch work. No claim of comprehensive spam prevention.
|
Limits: 5 attempts/hour and20/day per perceived remote IP, including failures, held in memory per process; no rate-limit bypass from untrusted forwarding headers by default. CONTACT_TRUST_PROXY=true only behind one trusted proxy that sets/appends the real client IP and blocks direct external backend access. Task and production Compose enable it for local nginx; direct diagnostic port is loopback/test-only. The actual SWAG-to-nginx client-IP chain must be verified before public submissions; shared proxy IPs can share a limit. Gunicorn defaults to one worker. Multiworker/multireplica global limits, production proxy/edge policy, provider data handling/privacy review and deployment authorization remain launch work. No claim of comprehensive spam prevention.
|
||||||
|
|
||||||
Validation: `python -m pytest test_contact_independent.py` in api/ exercises this app without account fixtures, plus existing `python -m pytest tests`. CI backend runs both. Browser success/failure are controlled responses; actual local Docker integration has delivery disabled. Manual review from project root: `./scripts/testtask.sh TASK-007`. Validate four fields, dark/light/mobile layout, empty-form errors and honest not-sent response with retained draft. Do not enter sensitive real enquiries into local test fixtures.
|
Validation: `python -m pytest test_contact_independent.py` in api/ exercises this app without account fixtures. CI gates this test plus the deployment topology check; inherited account tests are outside the public deployment gate. Browser success/failure are controlled responses; actual local Docker integration has delivery disabled. Manual review from project root: `./scripts/testtask.sh TASK-007`. Validate four fields, dark/light/mobile layout, empty-form errors and honest not-sent response with retained draft. Do not enter sensitive real enquiries into local test fixtures.
|
||||||
|
|||||||
+58
-21
@@ -1,31 +1,68 @@
|
|||||||
# BortStack current state
|
# BortStack current state
|
||||||
|
|
||||||
BS-008 candidate was accepted by Captain on 2026-11-12 but awaits explicit commit/merge authorization. It remains uncommitted in `.task-worktrees/bs-008` on `bs-008` from `codex/855913c`. Its privacy route describes confirmed Contact and theme flows and names Robert O'Reilly/support@bortstack.com for enquiry-data requests. The incomplete notice stays noindex pending lawful-basis, mail-backup, actual Resend account/DPA and legal review. The candidate prerenders nine public routes with static metadata and a noindex 404; matching pages hydrate. All 38 unit tests, lint, build and 27 offline browser/axe cases passed before acceptance. Full server-backed nginx result was not supplied to Engineering. Canonical origin is unconfirmed, with no sitemap/canonical URLs approved. This paragraph describes the task candidate, not integrated production behavior.
|
On 2026-11-12 Captain requested cleanup of retained task worktrees.
|
||||||
|
The six remaining merged, clean worktrees (`bs-006`, `bs-008`, `bs-009`,
|
||||||
|
`bs-010`, `bs-015`, `bs-016`) and their disposable local snapshots/build
|
||||||
|
outputs were removed. Only the `codex` checkout remains; task branches and
|
||||||
|
commits are retained. No testtask process or container was running.
|
||||||
|
|
||||||
Updated 2026-11-11 for BS-006. Integration codex at2660577 contains Captain-accepted public routing/themes, homepage composition, Services, About, Contact and responsive showcase footer (BS-001/002/003/004/007/011/012/013/014). All old task worktrees were removed after authorized cleanup; task branches/history remain. BS-006 is now engaged in .task-worktrees/bs-006 on bs-006 from2660577. No commit/merge/push/deployment authorized.
|
BS-016 is Complete in `codex` through Captain acceptance and authorized
|
||||||
|
fast-forward merge of `470facd`. The light-mode canvas now uses a softer `#EEF3F7` base and
|
||||||
|
subtle shared blue-steel radial/diagonal layers. Dark mode and components are
|
||||||
|
unchanged. Lint and nine-route prerender build passed. Six public routes were
|
||||||
|
captured in light mode at 1440/768/390/320 with no overflow; selected views
|
||||||
|
were inspected. Eighteen light route/axe checks passed. Dark homepage captures
|
||||||
|
at 1440/390 are byte-identical to the previous build. Captain accepted the
|
||||||
|
result. No push or deployment.
|
||||||
|
|
||||||
## BS-006 candidate
|
|
||||||
|
|
||||||
Projects gallery features RouletteBuddy, gives substantive PitchInvader coverage marked In development, and presents API Admin as a small showcase. Three reusable case-study routes include problem/solution/features/engineering/work-to-date sections. Curated copy grounded in read-only source inspection of ~/projects/{roulettebuddy,pitchinvader,api-admin}; API Admin uses SQLite, overriding concept-image MySQL. Genuine screenshots remain absent and explicitly pending, not replaced by concept imagery. Unknown slugs are unavailable/noindex. Homepage/shared header/footer/Contact/backend unchanged. See BS-006-DESIGN.md.
|
BS-015 is Complete in `codex` through Captain acceptance and authorized
|
||||||
|
fast-forward merge of `3eb02bc`. Captain clarified that the footer, not the logo, was out
|
||||||
|
of place. The logo/header experiment was fully reverted. The candidate keeps
|
||||||
|
the approved BS-010 header and logo unchanged, and replaces the footer's
|
||||||
|
large rounded card with an integrated divider and quieter text/navigation.
|
||||||
|
The footer content and links are unchanged. Fresh lint and prerender build
|
||||||
|
passed; offline screenshots of six public routes at 1440/768/390/320 in both
|
||||||
|
themes had no overflow. Desktop/mobile dark/light captures were inspected.
|
||||||
|
The 27 offline route/axe checks and eight focused footer link/keyboard checks
|
||||||
|
also passed.
|
||||||
|
Captain accepted the result. No push or deployment.
|
||||||
|
|
||||||
## Existing Contact and launch boundaries
|
BS-010 is Complete in `codex` through Captain-approved visual design, task
|
||||||
|
commit `f13f20f` and authorized fast-forward merge. The authentic transparent
|
||||||
|
dark/light logo lockups and symbols are integrated; the dark site shell now
|
||||||
|
echoes the approved Concept 2 board. Page-specific header overrides were
|
||||||
|
removed, giving all six primary public routes consistent header geometry.
|
||||||
|
Lint, 38 unit tests, prerender build and offline browser checks passed on the
|
||||||
|
task candidate; the Captain approved the design. No push or deployment occurred.
|
||||||
|
|
||||||
Independent database-free Flask contact_app:app provides config/health/contact, four visible fields, hidden honeypot, server validation, bounded Resend provider acceptance, escaped email, verified sender/visitor Reply-To and idempotent same-draft retries. Process-local rate limits and disabled/unconfigured delivery returns503 remain intentional; no live mail tested. Accepted custom Service combobox replaces system popup. See CONTACT.md for configuration/privacy/production limits.
|
The site is not ready for public launch. The Privacy notice is incomplete,
|
||||||
|
Home/About and project media remain placeholders, Contact delivery is not
|
||||||
|
verified or enabled, and the live SWAG client-IP boundary is unresolved.
|
||||||
|
About pre-trading wording needs review. See `docs/BS-010-LAUNCH-AUDIT.md`
|
||||||
|
for the evidence and remaining gates.
|
||||||
|
|
||||||
Inherited account/database/production scaffolding is provisional; marketing remains independent of API Admin. Authentic logo/light artwork and project screenshots, verified email/sender/domain/API Admin destination, legal/SEO and production runtime remain launch gates. Existing lockfile alerts:10 (5moderate/3high/2critical); no dependency upgrades. No claim of production readiness or full WCAG compliance.
|
Updated 2026-11-12. Captain accepted BS-009 and authorized commit/merge.
|
||||||
|
Implementation commit `5c02d88` was fast-forwarded into `codex`. The
|
||||||
|
database-free Contact/nginx production configuration, workflow and operations
|
||||||
|
plan are integrated but not deployed. The `bs-009` worktree was later removed
|
||||||
|
in the Captain-authorized task-worktree cleanup.
|
||||||
|
|
||||||
## BS-006 diagnostics
|
The public React/Vite frontend contains the approved marketing routes, theme,
|
||||||
|
homepage, Services, About, Contact, Projects and draft Privacy page. BS-008
|
||||||
|
prerenders nine public routes and a noindex 404. The privacy notice remains
|
||||||
|
noindex pending legal and operational facts; canonical origin and sitemap are
|
||||||
|
unconfirmed. Contact is an independent Flask app with no database, bounded
|
||||||
|
Resend call, truthful disabled/unconfigured response and process-local limits.
|
||||||
|
The inherited account app remains in source but outside the public frontend
|
||||||
|
and BS-009 production entry point. API Admin remains a separate project.
|
||||||
|
|
||||||
Lint, all38 unit tests (including5 new Projects tests), production build, whitespace and shell syntax checks passed. Existing unit TimeoutNaNWarning remains. Browser evidence and final manual-test snapshot recorded in HANDOFF.md and visual-qa/bs-006/. Captain controls dev-server and testtask startup; no runtime started by Engineering. Full server-backed Playwright and backend suite not run for this frontend-only task; no type-check script exists. Manual acceptance remains required.
|
BS-009 topology, Compose config, workflow YAML/job parsing, Python syntax and
|
||||||
|
whitespace validation passed locally with the safe sample environment.
|
||||||
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
The local Python environment lacks Flask, so the Contact unit suite has not
|
||||||
|
been run in this worktree. Captain controls dev-server and testtask startup;
|
||||||
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
no task runtime has been started by Engineering, and no runtime observations
|
||||||
|
were supplied with acceptance. Production SWAG/client-IP
|
||||||
## BS-006 Captain acceptance — 2026-11-11
|
behavior, mail settings and real inbox delivery are unverified. No push or
|
||||||
|
deployment is authorized. Authentic artwork, project media,
|
||||||
Captain confirmed “task complete”, accepting the Projects gallery, three case studies and verified RouletteBuddy links with disclosed pending genuine screenshots. Manual acceptance gate satisfied. Integrated into codex through bc980e4 and dcda09; no push or deployment authorized. Previous pending-review statements are superseded. Existing screenshot/publication gates remain.
|
privacy review and other launch gates remain open.
|
||||||
|
|
||||||
## Worktree cleanup — 2026-11-11
|
|
||||||
|
|
||||||
Captain-authorized cleanup removed the nine earlier task worktrees after verifying their commits were ancestors of codex/2660577. Task branches/history remain retained; no active test processes or containers were found. This cleanup record predates and is preserved alongside the merged BS-006 mission.
|
|
||||||
|
|||||||
@@ -1,5 +1,15 @@
|
|||||||
# BortStack public website — decision log
|
# BortStack public website — decision log
|
||||||
|
|
||||||
|
## BS-010 — dark presentation board as site atmosphere
|
||||||
|
|
||||||
|
Captain confirmed on 2026-11-12 that `docs/references/Dark-logo.png` is the
|
||||||
|
preferred dark-mode visual basis, including its background and colour scheme.
|
||||||
|
Use the already approved Concept 2 charcoal, midnight, steel-blue and cyan
|
||||||
|
tokens; echo the board's restrained layered blue-charcoal background across
|
||||||
|
the public site's dark theme. Keep the authentic logo artwork separate from
|
||||||
|
the presentation board. This refines the dark atmosphere without changing
|
||||||
|
the approved light companion theme or page content.
|
||||||
|
|
||||||
## Confirmed
|
## Confirmed
|
||||||
|
|
||||||
- Name: **BortStack**; formal descriptive name as needed: BortStack Software Development.
|
- Name: **BortStack**; formal descriptive name as needed: BortStack Software Development.
|
||||||
@@ -90,6 +100,16 @@ Within Captain-engaged BS-007, Contact uses a separate database-free Flask entry
|
|||||||
|
|
||||||
Captain instructed Engineering not to start the dev server itself. Prepare incomplete tasks for Captain to launch using the supported testtask command; do not independently start dev servers or test sessions unless Captain explicitly requests it.
|
Captain instructed Engineering not to start the dev server itself. Prepare incomplete tasks for Captain to launch using the supported testtask command; do not independently start dev servers or test sessions unless Captain explicitly requests it.
|
||||||
|
|
||||||
|
## BS-ADR-007 — Database-free marketing deployment path (2026-11-12)
|
||||||
|
|
||||||
|
Captain engaged BS-009 after confirming there is no business database. Production
|
||||||
|
Compose and image startup should run only the independent Contact app and the
|
||||||
|
marketing nginx frontend, behind the existing SWAG network. No MySQL or account
|
||||||
|
migration is part of the marketing deployment. Keep inherited account code in
|
||||||
|
source outside this task; CI production gates should target Contact and the
|
||||||
|
public frontend. Example mail delivery stays disabled with blank identities.
|
||||||
|
This is a configuration decision, not permission for production cutover.
|
||||||
|
|
||||||
## BS-014 footer direction refinement (2026-11-11)
|
## BS-014 footer direction refinement (2026-11-11)
|
||||||
|
|
||||||
Captain requested implementation of the proposed two-row footer: BortStack introduction and Services/Projects/About/Contact links above a separate copyright/Privacy row, using existing theme surfaces and restrained dividers. Text identity only until authentic artwork is available; API Admin link remains pending verified destination.
|
Captain requested implementation of the proposed two-row footer: BortStack introduction and Services/Projects/About/Contact links above a separate copyright/Privacy row, using existing theme surfaces and restrained dividers. Text identity only until authentic artwork is available; API Admin link remains pending verified destination.
|
||||||
|
|||||||
+75
-105
@@ -1,118 +1,88 @@
|
|||||||
# Production Deployment
|
# Deployment plan — not commissioned
|
||||||
|
|
||||||
## Architecture
|
BS-009 prepares a database-free marketing deployment. No server, DNS, mail
|
||||||
|
provider or production GitHub environment has been changed by this task. Launch
|
||||||
|
still requires the Captain's explicit authorization and the gates below.
|
||||||
|
|
||||||
The supported production pattern is a Hetzner-hosted Docker Compose project:
|
## Topology
|
||||||
|
|
||||||
1. LinuxServer SWAG runs as the existing shared TLS reverse proxy on an external
|
Docker Compose runs two services. `nginx` serves the prerendered React build and
|
||||||
Docker network (default `swagnet`).
|
proxies `/api/` to the private `api` service. The API image starts
|
||||||
2. The template's nginx container joins that network, serves the built React SPA,
|
`contact_app:app` under Gunicorn; it has no account routes, SQLAlchemy startup,
|
||||||
and proxies `/api/` to the private API container.
|
database, migration or persistent enquiry store. The existing LinuxServer SWAG
|
||||||
3. Gunicorn serves Flask in the non-root API container.
|
instance should terminate public TLS and reach `nginx:80` over the external
|
||||||
4. MySQL persists to a named volume and is reachable only on the internal network.
|
network named by `SWAG_NETWORK` (default `swagnet`). The API is on the internal
|
||||||
5. Resend provides outbound transactional account/contact email from the generated project's `@roborto.net` product identity when explicitly enabled.
|
network only. Port 8081 (web) and 5001 (API) bind to host loopback for local
|
||||||
6. Cloudflare Email Routing receives mail sent to that product address and forwards it to the captain's private mail server; this inbound path is provisioned outside the repository.
|
diagnostics. No public hostname has been confirmed.
|
||||||
7. GitHub Actions validates pull requests; pushes to `production` publish images
|
|
||||||
tagged with the tested commit SHA and deploy that exact commit and image set.
|
|
||||||
|
|
||||||
## Server prerequisites
|
`/api/health/ready` confirms that the Contact process can serve requests; it
|
||||||
|
does **not** confirm email configuration, provider delivery or inbox receipt.
|
||||||
|
`/api/contact/config` reports whether the configured mail settings are present;
|
||||||
|
that is not a provider or inbox test. The sample environment disables mail and
|
||||||
|
leaves sender, recipient and API key blank. Contact responds with 503 when
|
||||||
|
delivery is disabled or unconfigured.
|
||||||
|
|
||||||
- Docker Engine with the Compose plugin.
|
## Server and GitHub prerequisites
|
||||||
- A running SWAG stack and external Docker network matching `SWAG_NETWORK`.
|
|
||||||
- A clean clone on branch `production` at the path stored in the GitHub variable
|
|
||||||
`PRODUCTION_DEPLOY_PATH`.
|
|
||||||
- A mode-`600` production environment file outside the repository at the path in
|
|
||||||
`PRODUCTION_ENV_PATH`.
|
|
||||||
- A deployment user able to run Docker without an interactive prompt and pull
|
|
||||||
the repository's GHCR packages.
|
|
||||||
- A verified SSH host key and dedicated deployment key.
|
|
||||||
|
|
||||||
Use `.env.example` only as a variable-name reference. Generate unique secrets and
|
- Docker Engine with Compose and an existing SWAG stack on the configured
|
||||||
never commit the production file.
|
external network; validate the final SWAG proxy configuration and TLS.
|
||||||
|
- A clean `production` branch checkout at `PRODUCTION_DEPLOY_PATH`, a readable
|
||||||
|
external mode-600 environment file at `PRODUCTION_ENV_PATH`, and a deployment
|
||||||
|
user with Docker and GHCR pull access.
|
||||||
|
- GitHub Actions secrets `PRODUCTION_SSH_HOST`, `PRODUCTION_SSH_USER`,
|
||||||
|
`PRODUCTION_SSH_PRIVATE_KEY`, `PRODUCTION_SSH_KNOWN_HOSTS`; variables
|
||||||
|
`PRODUCTION_DEPLOY_PATH`, `PRODUCTION_ENV_PATH`, `PRODUCTION_PUBLIC_URL`.
|
||||||
|
Confirm the public URL before enabling this path.
|
||||||
|
|
||||||
## Product email commissioning
|
The current workflow runs on `production` pushes and manual dispatch, publishes
|
||||||
|
commit-tagged API/nginx images, fast-forwards a clean server checkout, pulls and
|
||||||
|
starts the two services, then probes the loopback web endpoint and public Contact
|
||||||
|
readiness. Protect the branch and `production` environment before using that
|
||||||
|
trigger. The workflow is **configured**, not evidence of a successful release.
|
||||||
|
It does not perform automatic rollback.
|
||||||
|
|
||||||
The generator derives a product mailbox from the project slug. For example, a project named `Example Product` receives `example-product@roborto.net` as both the example Resend sender address and contact destination. The visible sender name remains independently configurable in `EMAIL_FROM`.
|
## Commissioning sequence
|
||||||
|
|
||||||
Before setting `EMAIL_DELIVERY_ENABLED=true` in production:
|
1. Confirm the public hostname, SWAG network/proxy configuration, host capacity,
|
||||||
|
firewall, GHCR access, TLS and external environment file. Use `.env.example`
|
||||||
|
only as a variable reference; keep real settings and secrets outside Git.
|
||||||
|
2. With mail disabled, validate
|
||||||
|
`APP_ENV_FILE=/path/to/env docker compose --env-file /path/to/env config --quiet`
|
||||||
|
and `python3 scripts/check-deployment-config.py` in a checkout containing
|
||||||
|
the candidate. The script validates the safe example topology, not the
|
||||||
|
server's secrets or connectivity.
|
||||||
|
3. On a separately authorized deployment, start `api` and `nginx` using the
|
||||||
|
tested images. Probe `/`, a known static route, an unknown route, local
|
||||||
|
`/api/health/ready`, public `/api/health/ready`, and
|
||||||
|
`/api/contact/config`. Confirm an unconfigured submission cannot report
|
||||||
|
success. Check container health and logs without recording visitor data.
|
||||||
|
4. Before enabling delivery, verify a BortStack sender/domain with Resend,
|
||||||
|
verify the intended recipient mailbox and incoming routing, configure
|
||||||
|
credentials outside Git, then make a controlled enquiry and confirm inbox
|
||||||
|
receipt and visitor Reply-To. Provider acceptance alone is insufficient.
|
||||||
|
5. Complete privacy/legal, authentic media, domain/SEO, backup/retention and
|
||||||
|
production readiness review. Record the deployed commit/image tags and
|
||||||
|
operator observations. Captain acceptance and launch authority remain
|
||||||
|
separate from CI checks.
|
||||||
|
|
||||||
1. Confirm the generated address and reserve it for the product.
|
Do not copy inherited account/MySQL keys from an old deployment file. Existing
|
||||||
2. Verify the required `roborto.net` sending identity and DNS records with Resend using the captain's existing domain-management process.
|
MySQL containers or volumes from an earlier stack require a separate inventory
|
||||||
3. Create the matching Cloudflare Email Routing rule and point it to the intended mailbox on the captain's private mail system.
|
and explicit disposal plan; changing Compose does not authorize deleting them.
|
||||||
4. Confirm inbound delivery from an unrelated external account; a successful Resend API call does not prove inbound routing works.
|
|
||||||
5. Send verification and password-reset messages to test users and confirm links use the production `APP_URL`.
|
|
||||||
6. Submit the public contact form, confirm delivery to the product mailbox, and verify that replying targets the visitor address supplied through `Reply-To`.
|
|
||||||
7. Record the sender identity, routing owner, destination owner, and test date without storing API keys, mailbox credentials, or DNS secrets in the repository.
|
|
||||||
|
|
||||||
Resend handles application-originated outbound mail; Cloudflare Email Routing handles inbound mail. The application does not host an SMTP receiver, read the destination mailbox, or provision either provider. Keep `RESEND_API_KEY` and all private-mail-server credentials outside Git.
|
## Operations and rollback
|
||||||
|
|
||||||
## GitHub configuration
|
Gunicorn defaults to one worker because Contact's attempt limits are held in
|
||||||
|
process memory (5/hour and 20/day per perceived IP). Multiple workers or
|
||||||
|
replicas require a shared limiter before scaling. Nginx forwards one proxy hop
|
||||||
|
to Contact; verify the real client IP through the actual SWAG chain before
|
||||||
|
enabling public submissions. A shared proxy IP can cause unrelated visitors to
|
||||||
|
share the limit. Do not trust arbitrary incoming forwarding headers. The
|
||||||
|
sample SWAG config is a starting point, not a verified host configuration.
|
||||||
|
|
||||||
Configure these Actions secrets:
|
Logs are container output; define host retention, monitoring and recovery
|
||||||
|
procedures before launch. There is no application database to back up, but
|
||||||
- `PRODUCTION_SSH_HOST`
|
mailbox records, server configuration and external service recovery still need
|
||||||
- `PRODUCTION_SSH_USER`
|
an operator plan. For rollback, retain the previous verified commit and image
|
||||||
- `PRODUCTION_SSH_PRIVATE_KEY`
|
tags, restore their clean checkout and external image overrides, validate
|
||||||
- `PRODUCTION_SSH_KNOWN_HOSTS`
|
Compose, restart the two services and repeat probes. Do not delete resources
|
||||||
|
or assume that a successful health probe proves mail delivery.
|
||||||
Configure these repository or `production` environment variables:
|
|
||||||
|
|
||||||
- `PRODUCTION_DEPLOY_PATH`, for example `/home/deploy/example-app`
|
|
||||||
- `PRODUCTION_ENV_PATH`, for example `/opt/example-app/.env`
|
|
||||||
- `PRODUCTION_PUBLIC_URL`, for example `https://app.example.com`
|
|
||||||
|
|
||||||
The workflow refuses a dirty remote checkout or a branch other than `production`,
|
|
||||||
fast-forwards to the tested commit, runs migrations from the immutable API image,
|
|
||||||
and checks the local frontend plus the public health endpoint. Protect the
|
|
||||||
`production` environment/branch where the GitHub plan permits it.
|
|
||||||
|
|
||||||
## SWAG
|
|
||||||
|
|
||||||
Adapt `ops/swag/app.subdomain.conf.sample` to the desired SWAG hostname convention.
|
|
||||||
SWAG should proxy to the Compose `nginx` service on port 80 over the shared network.
|
|
||||||
Do not expose MySQL. Loopback-bound ports 8081 and 5001 are provided only for
|
|
||||||
server-local diagnostics.
|
|
||||||
|
|
||||||
## Manual first deployment
|
|
||||||
|
|
||||||
1. Copy `.env.example` to the external production path and replace every example.
|
|
||||||
2. Create the configured MySQL database volume and external SWAG network through
|
|
||||||
the normal Compose/SWAG lifecycle.
|
|
||||||
3. Run `docker compose --env-file /path/to/.env config --quiet`.
|
|
||||||
4. Start MySQL, run `flask --app api.py db upgrade` from the API image, then start
|
|
||||||
the API and nginx services.
|
|
||||||
5. Confirm `/api/health/live` and `/api/health/ready` locally and through the public URL.
|
|
||||||
|
|
||||||
## Health and logs
|
|
||||||
|
|
||||||
- `/api/health` and `/api/health/live` prove that Flask can serve a request; they do not query external dependencies.
|
|
||||||
- `/api/health/ready` executes a minimal database query and returns `503` without database details when persistence is unavailable. Compose and deployment verification use this readiness endpoint.
|
|
||||||
- Application events use one-line JSON on standard error with timestamp, severity, logger, and generic message. Account tokens, request bodies, contact contents, email addresses, credentials, and provider/database exception details must not be added to logs.
|
|
||||||
- Container logs remain the default collection boundary. Add a host-level retention/forwarding policy before production; this template does not select an external observability vendor.
|
|
||||||
|
|
||||||
Use liveness for process restarts and readiness for routing/deployment gates. A healthy probe does not prove registration, email delivery, authentication, or every migration is correct.
|
|
||||||
|
|
||||||
## Deployment failure and rollback
|
|
||||||
|
|
||||||
The workflow stops on failed configuration, pull, migration, service update, or health verification. Because database migrations may be forward-only, application rollback and schema rollback are separate decisions.
|
|
||||||
|
|
||||||
Before each production deployment:
|
|
||||||
|
|
||||||
1. Confirm a recent recoverable database backup and record the current commit and immutable image tags.
|
|
||||||
2. Review the pending migration upgrade and downgrade operations against disposable data.
|
|
||||||
3. Confirm the previous API/nginx image tags remain pullable.
|
|
||||||
|
|
||||||
For an application-only rollback, set `API_IMAGE` and `NGINX_IMAGE` to the previously verified commit tags in the external environment/deployment invocation, restore the corresponding clean Git commit, run `docker compose config --quiet`, and update the API/nginx services. Do not run a database downgrade automatically.
|
|
||||||
|
|
||||||
If the previous application is incompatible with the migrated schema, keep the new application stopped or in maintenance mode while following a migration-specific recovery plan. Restore into disposable infrastructure first; never overwrite the production volume merely because a deployment health check failed.
|
|
||||||
|
|
||||||
## Security and proxy boundaries
|
|
||||||
|
|
||||||
- SWAG is the sole public TLS boundary. MySQL is internal-only; diagnostic API/nginx ports bind to loopback.
|
|
||||||
- Nginx preserves the trusted upstream `X-Forwarded-Proto` value from SWAG and replaces client forwarding headers at the application boundary. Flask trusts exactly one nginx proxy hop.
|
|
||||||
- Production startup rejects wildcard CORS, short secret keys, SQLAlchemy query logging, and insecure `SameSite=None` cookie configuration.
|
|
||||||
- Nginx applies frame, MIME-sniffing, referrer, and browser-permission headers. Add a project-specific Content Security Policy only after inventorying required scripts, styles, fonts, frames, and external origins.
|
|
||||||
- Review host firewalling, Docker daemon access, SSH key scope, GHCR package access, log retention, disk alerts, resource limits, and security updates before launch.
|
|
||||||
|
|
||||||
Production provisioning, Resend identity verification, and DNS/Cloudflare changes remain deliberate operator
|
|
||||||
actions; this repository does not create or mutate external infrastructure.
|
|
||||||
|
|||||||
+31
-40
@@ -1,45 +1,36 @@
|
|||||||
# BS-006 Projects handoff
|
# BortStack handoff — task worktrees cleaned
|
||||||
|
|
||||||
## Current mission — BS-008 (2026-11-11)
|
Updated 2026-11-12. Captain requested removal of retained task-worktree
|
||||||
|
folders. All six remaining task worktrees were clean, merged into `codex`,
|
||||||
|
and had free testtask locks; no BortStack testtask containers were running.
|
||||||
|
They and their disposable snapshots/build outputs were removed. The command
|
||||||
|
`git worktree list` now shows only `/home/rob/projects/bortstack` on `codex`. Task branches
|
||||||
|
and commits remain in Git. No push or deployment occurred. The prior
|
||||||
|
integration record follows.
|
||||||
|
|
||||||
Captain said “task complete” on 2026-11-12, accepting the candidate. No explicit commit/merge/push/deployment order accompanied it. Leave the worktree/branch and test resources intact pending integration authority. The actual Captain testtask/nginx observations were not supplied; do not claim they passed. The incomplete privacy notice remains noindex and publication-gated. Previous technical validation below predates this acceptance-only context update; application source was not changed.
|
Updated 2026-11-12. Captain accepted the subtle light-theme background and
|
||||||
|
explicitly authorized completion, commit and merge. Scoped review found no
|
||||||
|
blocking issue. Task commit `470facd` was fast-forwarded from `bs-016` into
|
||||||
|
`codex`. No push, release or production deployment was authorized. The task
|
||||||
|
worktree and test snapshot were subsequently removed at Captain's request
|
||||||
|
after confirming no active test session.
|
||||||
|
|
||||||
Captain engaged BS-008. Isolated worktree `.task-worktrees/bs-008`, branch `bs-008`, base `codex/855913c`; integration checkout was clean. Scope: approved marketing site and independent Contact service, excluding inherited account scaffolding. Captain does not want a private address exposed. Canonical public origin remains unconfirmed. Privacy route presents Contact/theme flows and stays noindex; incomplete notice explicitly pending. Robert O'Reilly and support@bortstack.com confirmed for enquiry data rights. Enquiries are for project discussion/quotes, no later marketing, no CRM/subcontractor forwarding; 12-month review for non-client enquiries. Hetzner mail in Helsinki confirmed. Resend publishes US storage/SCC safeguards; actual account plan/DPA, lawful basis and mail-backup retention remain publication gates. Site may precede January 2027 sole-trader activity and accept enquiries to plan future work.
|
Only `react/src/styles/app.scss` changed in application source. Light mode now
|
||||||
|
uses a softer `#EEF3F7` canvas with faint blue-steel radial washes and a
|
||||||
|
diagonal layer. Existing content, logo, header/footer, routes and dark mode
|
||||||
|
remain unchanged. Dark homepage screenshots at 1440 and 390 were byte-
|
||||||
|
identical to the prior build.
|
||||||
|
|
||||||
Validation: offline lockfile install succeeded after sandbox EPERM retry with authorized execution. All 38 unit tests, lint and production build passed after final changes. Offline Chromium production-artifact matrix at 1440/390/320 across seven public routes and two unavailable paths (27 combinations): static heading/robots/status, hydrated title/landmark/theme, no overflow, page errors, hydration console errors or axe violations. Expected 404 document resource console message is filtered for 404 paths only. Contact config was mocked unavailable; static files were intercepted locally. Initial browser sandbox launch failed; authorized retry passed. Full server-backed Playwright/nginx and Captain manual testing remain pending. No dev server/testtask/Docker runtime started. `scripts/check-privacy-build.cjs` is the repeatable offline check.
|
Task evidence: frontend lint and nine-route prerender build passed. Offline
|
||||||
|
Chromium screenshots of six public routes at 1440/768/390/320 in light mode
|
||||||
|
had no horizontal overflow; Home, Services and Contact desktop/mobile views
|
||||||
|
were inspected. Eighteen light route/width axe, metadata and overflow checks
|
||||||
|
passed. Unit tests were not rerun for this CSS-only change. The exact
|
||||||
|
350-file application snapshot was refreshed before Captain acceptance; no
|
||||||
|
server, testtask or production service was started by Engineering.
|
||||||
|
|
||||||
SEO implementation: production build now uses Vite client + SSR bundles to write static HTML for six primary routes and three project cases, with shared route metadata, plus a noindex `404.html`. Matching paths hydrate; unknown paths client-render after a static 404 response. nginx config resolves route HTML and emits 404 for unknown URLs. No new dependencies. Canonical origin unconfirmed, so canonical URLs/sitemap deferred. Actual nginx runtime remains untested; Captain controls startup. Manual-test browser URL changed to `/privacy`. No commit/merge/push/deployment authorization. Earlier BS-006 details below are history.
|
BS-016 is Complete. Separate public-launch gates in
|
||||||
|
`docs/BS-010-LAUNCH-AUDIT.md` remain open: incomplete Privacy notice,
|
||||||
An initial Vite dev-server SSR loader failed on the inherited React Router CommonJS export boundary and was reverted. The subsequent Vite production SSR bundle succeeds without that loader. A light-theme Bootstrap `code` contrast issue was fixed with the approved theme link token. Final validation passed after shared metadata consolidation.
|
missing Home/About/project media, unverified Contact delivery, unresolved
|
||||||
|
live SWAG client-IP handling, unconfirmed canonical origin and About
|
||||||
Manual-test snapshot was refreshed from this candidate with `python3 scripts/create-test-snapshot.py 008` (342 files verified). Run `./scripts/testtask.sh TASK-008` from the integration root when Captain elects to test; the task browser opens `/privacy`. Source edits after this line require another snapshot refresh. No task runtime was started by Engineering.
|
pre-trading wording. Production requires an explicit Captain order.
|
||||||
|
|
||||||
Updated 2026-11-11. Captain engaged BS-006 with Frontend UI Design → Webapp Feature → Frontend Visual QA → Code Review and Roborto Project Context throughout. Candidate: /home/rob/projects/bortstack/.task-worktrees/bs-006, branch bs-006, base codex/2660577. Integration root has pre-existing uncommitted cleanup edits in CURRENT_STATE/HANDOFF; preserved. No commit/push/merge/deployment authorized.
|
|
||||||
|
|
||||||
Captain approved RouletteBuddy featured, substantial PitchInvader coverage despite unfinished polish, and modest API Admin presentation. Source repositories in ~/projects inspected read-only; summaries grounded in source/docs. No private data/code copied. No genuine project screenshots supplied: explicitly pending placeholders remain. Project concepts are design references only. Homepage/shared shell/backend unchanged. BS-006-DESIGN.md contains composition, scope, acceptance, evidence and remaining gates.
|
|
||||||
|
|
||||||
Implementation: gallery plus /projects/roulettebuddy, /projects/pitchinvader, /projects/api-admin case studies; unknown slug recovery/noindex; curated local data, existing theme tokens/Poppins/React-Bootstrap. No dependencies changed. TASK-006 opens /projects. Existing project worktrees from earlier missions were cleaned after authorized integration; BS-006 is the only newly created task worktree.
|
|
||||||
|
|
||||||
Diagnostics: npm ci --include=dev, npm run lint, npm test (38passed), npm run build, git diff --check and bash -n checks passed. Initial sandbox install could not execute esbuild; authorized escalation succeeded. One build invocation from task root failed ENOENT (no package.json); correct react/ invocation passed. Existing10 audit alerts and unit TimeoutNaNWarning remain. Browser checks caught mobile row-gutter overflow at390px; mobile gutters narrowed and production build refreshed. See visual-qa/bs-006 for final browser results and before/after evidence. Full server-backed Playwright not run because it starts Vite; new projects.spec.js prepared and linted. No backend tests or standalone type-check.
|
|
||||||
|
|
||||||
Captain controls startup. From /home/rob/projects/bortstack run:
|
|
||||||
|
|
||||||
./scripts/testtask.sh TASK-006
|
|
||||||
|
|
||||||
This uses the task worktree adapter, builds its exact test-only snapshot and isolated Docker runtime, and opens http://127.0.0.1:18081/projects. Contact delivery disabled; no account required. Engineering has not started a dev server, testtask session or Docker runtime. Manual approval and explicit authorized integration remain outstanding. Genuine media and final content review remain required before publication. Do not start another mission or deploy.
|
|
||||||
|
|
||||||
Final browser matrix passed:10theme/viewport combinations (320–1440),50Projects-route axe/overflow checks, gallery/case/Contact navigation,50existing-route overflow checks, zero page errors. Five unchanged public pages byte-identical to2660577 in dark desktop and light mobile. Final evidence in docs/visual-qa/bs-006. Scoped final code review of tracked and untracked BS-006 source/tests/config found no actionable blocking correctness/security/regression defects; media/content publication gates remain.
|
|
||||||
|
|
||||||
Manual-test snapshot prepared using python3 scripts/create-test-snapshot.py 006; source hash manifest verified. Snapshot is a disposable exact file copy as implemented by the existing adapter, not a Git worktree and never an editing source. Engineering started no services. Refresh again after any source edits. Integration root context now points to this candidate while preserving its pre-existing cleanup notes.
|
|
||||||
|
|
||||||
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
|
||||||
|
|
||||||
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
|
||||||
|
|
||||||
## Integration note — 2026-11-11
|
|
||||||
|
|
||||||
BS-006 is now merged into codex at bc980e4. Earlier cleanup history remains preserved in this handoff. No push or deployment authorized; no task worktree cleanup performed by this merge order.
|
|
||||||
|
|
||||||
## BS-006 Captain acceptance — 2026-11-11
|
|
||||||
|
|
||||||
Captain confirmed “task complete”, accepting the Projects gallery, three case studies and verified RouletteBuddy links with disclosed pending genuine screenshots. Manual acceptance gate satisfied. Integrated into codex through bc980e4 and dcda09; no push or deployment authorized. Previous pending-review statements are superseded. Existing screenshot/publication gates remain.
|
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ Public routes: `/`, `/services`, `/projects`, `/projects/:slug`, `/about`, `/con
|
|||||||
|
|
||||||
Homepage follows the approved spacious dark reference: split hero, concise services, one genuine featured project, short Why BortStack section and contact CTA. Dark default, optional persistent light mode applied before first paint. Exact Concept 2 identity and approved palette are authoritative; master assets are missing.
|
Homepage follows the approved spacious dark reference: split hero, concise services, one genuine featured project, short Why BortStack section and contact CTA. Dark default, optional persistent light mode applied before first paint. Exact Concept 2 identity and approved palette are authoritative; master assets are missing.
|
||||||
|
|
||||||
Contact has exactly four visible fields: required name/email/description and optional service. Flask validates server-side, uses honeypot/rate limiting and Resend with verified sender and visitor Reply-To. Business email remains configurable and unverified. BS-007 candidate supplies database-free contact_app:app, bounded provider acceptance and same-draft idempotent retries; production adaptation remains separate. See CONTACT.md.
|
Contact has exactly four visible fields: required name/email/description and optional service. Flask validates server-side, uses honeypot/rate limiting and Resend with verified sender and visitor Reply-To. Business email remains configurable and unverified. BS-007 supplies database-free contact_app:app, bounded provider acceptance and same-draft idempotent retries. BS-009 prepares its production Compose path without commissioning it. See CONTACT.md.
|
||||||
|
|
||||||
## Foundation and boundaries
|
## Foundation and boundaries
|
||||||
|
|
||||||
Generated from maintained `flask-react-auth-base` using its supported generator. React/Vite/React-Bootstrap/SCSS under `react/`; Flask under `api/`; Docker Compose/nginx/SWAG scaffolding. Inherited backend code still includes SQLAlchemy, MySQL, accounts, tests and CI/deployment scaffolding; these are not approved marketing functionality. The accepted integrated frontend removes public account routes/session coupling and implements the marketing shell/themes/corrected homepage, Services and About, with explicit missing-asset placeholders. See TEMPLATE_RECONCILIATION.md for precise gaps and later task ownership.
|
Generated from maintained `flask-react-auth-base` using its supported generator. React/Vite/React-Bootstrap/SCSS under `react/`; Flask under `api/`; Docker Compose/nginx/SWAG scaffolding. Inherited backend code still includes SQLAlchemy, MySQL, accounts, tests and CI/deployment scaffolding; these are not approved marketing functionality. The accepted integrated frontend removes public account routes/session coupling and implements the marketing shell/themes/corrected homepage, Services and About, with explicit missing-asset placeholders. See TEMPLATE_RECONCILIATION.md for precise gaps and later task ownership.
|
||||||
|
|
||||||
Public pages should be static/prerendered for SEO; technique remains unresolved. Target deployment pattern is Compose behind SWAG with Cloudflare DNS, subject to explicit authorization and verified hosting. Domain, email identity, legal content and portfolio permissions are unresolved.
|
Public pages are prerendered for route-specific metadata and hydrate on known routes. Target deployment pattern is database-free Compose behind SWAG with Cloudflare DNS, subject to explicit authorization and verified hosting. Domain, email identity, legal content and portfolio permissions are unresolved.
|
||||||
|
|
||||||
API Admin remains a separate repository/application/deployment with no authentication, database or uptime coupling. No CMS, blog engine, customer portal, billing, marketplace, public account system or consent-dependent analytics in V1.
|
API Admin remains a separate repository/application/deployment with no authentication, database or uptime coupling. No CMS, blog engine, customer portal, billing, marketplace, public account system or consent-dependent analytics in V1.
|
||||||
|
|
||||||
|
|||||||
+183
-6
@@ -1,5 +1,11 @@
|
|||||||
# BortStack authoritative tasks
|
# BortStack authoritative tasks
|
||||||
|
|
||||||
|
Workspace cleanup, 2026-11-12: Captain requested removal of retained
|
||||||
|
task-worktree folders. The six remaining merged, clean worktrees and their
|
||||||
|
disposable test snapshots were removed; task branches/commits remain in Git.
|
||||||
|
Historical worktree paths below describe where tasks were implemented, not
|
||||||
|
currently existing directories.
|
||||||
|
|
||||||
Accepted, scoped implementation work; not a speculative backlog. Original supplied plan preserved in source-handoff/TASKS.md. Captain authorized BS-001 completion/commit/merge and engaged BS-002–004 as a group on 2026-11-10. Captain subsequently authorized the Services dependency-stack integration; no push/deployment. About is accepted for integration under BS-013.
|
Accepted, scoped implementation work; not a speculative backlog. Original supplied plan preserved in source-handoff/TASKS.md. Captain authorized BS-001 completion/commit/merge and engaged BS-002–004 as a group on 2026-11-10. Captain subsequently authorized the Services dependency-stack integration; no push/deployment. About is accepted for integration under BS-013.
|
||||||
|
|
||||||
## BS-001 — Repository foundation and reconciliation
|
## BS-001 — Repository foundation and reconciliation
|
||||||
@@ -37,28 +43,199 @@ Acceptance: approved section order/density; genuine asset gaps explicitly labell
|
|||||||
Validation: lint, 29 unit tests, Vite build and all 38 desktop/mobile Playwright checks passed. Coverage includes 320/768/1440 widths, CTA navigation/link semantics, no public API session requests, reduced-motion setting, mobile nav, first keyboard skip link, both-theme axe contrast, persistence, storage denial and before-React preference. Desktop/mobile dark/light screenshots visually inspected; invisible light mobile-menu icon corrected and rechecked. Actual project-root testtask TASK-004 reached ready using exact snapshot/Docker/migrations/direct+proxied HTTP/real headless Firefox; cleanup verified. Captain graphical/manual acceptance remains pending.
|
Validation: lint, 29 unit tests, Vite build and all 38 desktop/mobile Playwright checks passed. Coverage includes 320/768/1440 widths, CTA navigation/link semantics, no public API session requests, reduced-motion setting, mobile nav, first keyboard skip link, both-theme axe contrast, persistence, storage denial and before-React preference. Desktop/mobile dark/light screenshots visually inspected; invisible light mobile-menu icon corrected and rechecked. Actual project-root testtask TASK-004 reached ready using exact snapshot/Docker/migrations/direct+proxied HTTP/real headless Firefox; cleanup verified. Captain graphical/manual acceptance remains pending.
|
||||||
Deviation/asset gate: reference photograph replaced by restrained decorative CSS engineering illustration; approved authentic logo and genuine featured project not supplied. Text/media placeholders visibly marked. Final brand/media fidelity awaits assets; do not publish placeholders as verified work.
|
Deviation/asset gate: reference photograph replaced by restrained decorative CSS engineering illustration; approved authentic logo and genuine featured project not supplied. Text/media placeholders visibly marked. Final brand/media fidelity awaits assets; do not publish placeholders as verified work.
|
||||||
|
|
||||||
## Subsequent proposed work — not engaged
|
## Subsequent mission register
|
||||||
|
|
||||||
| ID | Task | Gate |
|
| ID | Task | Gate |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| BS-005 | Services and About | Services Complete under BS-012; About Complete under BS-013 |
|
| BS-005 | Services and About | Services Complete under BS-012; About Complete under BS-013 |
|
||||||
| BS-006 | Projects gallery and case studies — engaged 2026-11-11; see detailed task below | Captain review; genuine imagery pending |
|
| BS-006 | Projects gallery and case studies — engaged 2026-11-11; see detailed task below | Captain review; genuine imagery pending |
|
||||||
| BS-007 | Contact UI and Flask service — engaged; see detailed task below | Captain manual review; verified mail configuration before real delivery |
|
| BS-007 | Contact UI and Flask service — engaged; see detailed task below | Captain manual review; verified mail configuration before real delivery |
|
||||||
| BS-008 | Privacy/legal, SEO and accessibility — Captain accepted candidate 2026-11-12; see mission note below | Authorized integration still pending; publication gates remain |
|
| BS-008 | Privacy/legal, SEO and accessibility — Captain accepted 2026-11-12; see mission note below | Complete in `codex`; publication gates remain |
|
||||||
| BS-009 | Docker/SWAG plan and regression tests | Adapt production database-free topology/readiness; no live cutover. Existing manual-test runtime already operational |
|
| BS-009 | Docker/SWAG plan and regression tests — Captain accepted 2026-11-12; see mission note below | Complete in `codex`; no live cutover |
|
||||||
| BS-010 | Final visual reconciliation and launch prep | Authentic brand/media, verified contact/domain and final review |
|
| BS-010 | Final visual reconciliation and launch prep — Complete in `codex`; see mission note below | Publication gates remain separate; no production release |
|
||||||
|
| BS-015 | Footer visual reconciliation — Complete in `codex`; see mission note below | Publication gates remain separate; no production release |
|
||||||
|
| BS-016 | Subtle light-theme background — Complete in `codex`; see mission note below | Publication gates remain separate; no production release |
|
||||||
|
|
||||||
## Lifecycle and constraints
|
## Lifecycle and constraints
|
||||||
|
|
||||||
|
## BS-016 mission — subtle light-theme background
|
||||||
|
|
||||||
|
Status: Complete in `codex` after Captain acceptance, scoped review, task
|
||||||
|
commit `470facd` and authorized fast-forward merge on 2026-11-12. Based on
|
||||||
|
clean `codex` at `17fc164` in `.task-worktrees/bs-016`. No push or deployment
|
||||||
|
authorized.
|
||||||
|
|
||||||
|
Objective: give light mode gentle blue-steel depth while retaining its readable
|
||||||
|
light identity. Scope: light semantic page-background colour and shared app
|
||||||
|
background CSS in `react/src/styles/app.scss`, plus focused visual validation.
|
||||||
|
Non-goals: changing dark mode, logo, header/footer layout, page components,
|
||||||
|
content, routes, behavior, dependencies or backend. Acceptance: a visibly
|
||||||
|
softer light canvas with restrained layered depth across public routes;
|
||||||
|
readable text/controls, no horizontal overflow at 1440/768/390/320, and
|
||||||
|
dark mode unchanged. Run lint, build, browser axe/overflow checks and inspect
|
||||||
|
dark/light screenshots. Captain visual approval is required. Risk: a too-dark
|
||||||
|
base or strong layer could weaken card/field separation; tune from real
|
||||||
|
captures rather than inventing a new brand swatch.
|
||||||
|
|
||||||
|
Candidate: light semantic base changed from `#F5F7FA` to `#EEF3F7`, with
|
||||||
|
low-opacity radial blue/teal washes and a faint diagonal band on the shared
|
||||||
|
app shell. Dark-mode CSS and all components are unchanged. Fresh lint and
|
||||||
|
nine-route prerender build passed. Offline screenshots of six public routes
|
||||||
|
at 1440/768/390/320 in light mode had no overflow; Home, Services and Contact
|
||||||
|
were visually inspected at desktop/mobile widths. Eighteen light route/width
|
||||||
|
axe, metadata and overflow checks passed. Dark homepage screenshots at
|
||||||
|
1440/390 are byte-identical to the BS-015 build. No unit suite was rerun for
|
||||||
|
the CSS-only change. Captain approved the result with “noice. task complete.”
|
||||||
|
Commit and merge were separately and explicitly authorized. This acceptance
|
||||||
|
does not approve public launch or close the BS-010 publication gates.
|
||||||
|
|
||||||
|
Integration result: scoped review found no blocking issue. Only light-theme
|
||||||
|
background CSS changed in application source; dark desktop/mobile captures
|
||||||
|
were byte-identical to the previous build. The task worktree and any
|
||||||
|
Captain-owned test session remain undisturbed. No push or deployment occurred.
|
||||||
|
|
||||||
|
## BS-015 mission — footer visual reconciliation
|
||||||
|
|
||||||
|
Status: Complete in `codex` after Captain acceptance, scoped review, task
|
||||||
|
commit `3eb02bc` and authorized fast-forward merge on 2026-11-12. Based on
|
||||||
|
clean `codex` at `4037d9e` in `.task-worktrees/bs-015`.
|
||||||
|
The brief logo/header trial was fully restored before footer work; no
|
||||||
|
application changes from it remain. No push or deployment authorized.
|
||||||
|
|
||||||
|
Objective: make the footer belong with the approved header and public page
|
||||||
|
styling. Scope: shared footer presentation in dark/light modes, preserving its
|
||||||
|
identity text, description, four navigation links, Privacy and copyright.
|
||||||
|
Non-goals: changing the approved logo/header, page content, routes, backend,
|
||||||
|
new dependencies, or production. The prior `responsive-footer-showcase.png`
|
||||||
|
reference remains historical approved direction, but Captain's newest request
|
||||||
|
supersedes its boxed-card treatment. Acceptance: restrained footer integrated
|
||||||
|
with the page rather than a prominent floating panel, readable type and links,
|
||||||
|
visible keyboard focus, no overflow at 1440/768/390/320 in both themes, and
|
||||||
|
Captain visual approval. Validation: lint/build, offline browser screenshots
|
||||||
|
and navigation checks, exact TASK-015 snapshot. Risk: aesthetic preference
|
||||||
|
requires Captain review; avoid changing footer content or site behavior.
|
||||||
|
|
||||||
|
Current candidate: the only application change is `Footer.module.scss`.
|
||||||
|
The full BS-010 header/logo are restored unchanged. The footer uses the page
|
||||||
|
background, a header-aligned top rule, smaller identity/navigation/legal type
|
||||||
|
and no floating card. Fresh lint and nine-route prerender build passed.
|
||||||
|
Offline Chromium captured six public routes at 1440/768/390/320 in both
|
||||||
|
themes with no overflow; desktop/mobile dark/light captures were inspected.
|
||||||
|
The repository's 27 route/axe checks passed. Focused footer checks passed at
|
||||||
|
all eight viewport/theme combinations: five expected destinations, 44px link
|
||||||
|
targets and visible keyboard focus. No unit suite was rerun for CSS-only work.
|
||||||
|
Captain visual review passed on 2026-11-12 with “better. tASK COMPLETE.”
|
||||||
|
Commit and merge were separately and explicitly authorized. Task completion
|
||||||
|
does not approve public launch or close the BS-010 publication gates.
|
||||||
|
|
||||||
|
Integration result: scoped review found no blocking defect. Only footer CSS
|
||||||
|
changed in application source; the approved header/logo stayed byte-identical.
|
||||||
|
The task worktree and Captain-owned test session remain undisturbed. No push
|
||||||
|
or deployment occurred.
|
||||||
|
|
||||||
|
## BS-010 mission — visual reconciliation and launch preparation
|
||||||
|
|
||||||
|
Status: Complete in `codex` through Captain-approved design, scoped review,
|
||||||
|
task commit `f13f20f` and authorized fast-forward merge on 2026-11-12.
|
||||||
|
No push, release or production deployment authorized.
|
||||||
|
|
||||||
|
Objective: reconcile the existing public site against approved visual authority
|
||||||
|
and prepare a truthful, verifiable launch handoff. Scope: review current public
|
||||||
|
routes, layout, responsive states and placeholders; inspect domain, Contact,
|
||||||
|
privacy and SWAG launch dependencies; make only evidence-backed, in-scope
|
||||||
|
corrections when the needed design/product facts are available; record exact
|
||||||
|
verification and outstanding gates. Non-goals: inventing logo/media or claims,
|
||||||
|
changing approved identity, provisioning external services, enabling live mail,
|
||||||
|
publishing privacy text without review, production cutover or replacing the
|
||||||
|
independent Contact architecture.
|
||||||
|
|
||||||
|
Acceptance: route-by-route visual/state review against approved references at
|
||||||
|
desktop/tablet/mobile and dark/light; confirmed defects corrected and retested;
|
||||||
|
genuine assets used only when supplied and authorised; no placeholder claimed
|
||||||
|
as final; Contact and legal/domain gates clearly distinguished from working
|
||||||
|
code; lint/unit/build and browser/runtime evidence recorded when available;
|
||||||
|
Captain manual review and separately authorised integration. Dependencies:
|
||||||
|
authentic logo and media, confirmed hostname, sender/inbox, privacy/legal
|
||||||
|
review and actual SWAG chain. Risks: reference images are conceptual rather
|
||||||
|
than publishable assets; live runtime remains Captain-controlled. Local Node
|
||||||
|
and offline Chromium checks are available. See `docs/BS-010-LAUNCH-AUDIT.md`.
|
||||||
|
|
||||||
|
Captain supplied standalone transparent logo exports after the presentation
|
||||||
|
boards. The dark/light horizontal lockups and symbols are integrated in the
|
||||||
|
header and browser icons. Offline built screenshots at 1440/768/390/320 in
|
||||||
|
both themes show clean rendering and no overflow. Captain visual acceptance
|
||||||
|
was subsequently granted; media, legal, Contact and hosting gates remain open.
|
||||||
|
|
||||||
|
Captain then selected the dark presentation board as the basis for the app's
|
||||||
|
dark background and colours. The approved named colours were already wired as
|
||||||
|
tokens; BS-010 now adds a layered blue-charcoal shared dark page background.
|
||||||
|
Acceptance for this refinement: board-like depth across public routes, readable
|
||||||
|
content, light theme retained, no mobile overflow. CSS-only shell/header change;
|
||||||
|
no page structure, content or interaction change. Offline visual review and
|
||||||
|
frontend lint/unit/build are required; Captain visual review remains the gate.
|
||||||
|
|
||||||
|
Captain reported inconsistent headers across pages during TASK-010 review.
|
||||||
|
Source inspection found page-specific header height, width, nav and theme-toggle
|
||||||
|
overrides in Services, About and Contact. BS-010 removes those overrides so the
|
||||||
|
shared header governs every route. Acceptance: same header geometry across the
|
||||||
|
six primary public routes at 1440/768/390 in dark and light modes, with no
|
||||||
|
horizontal overflow. Offline Chromium verified all 36 route/width/theme cases;
|
||||||
|
lint and prerender build passed.
|
||||||
|
|
||||||
|
Captain approved the resulting design on 2026-11-12, including the shared
|
||||||
|
header correction and dark board-inspired atmosphere, then explicitly ordered
|
||||||
|
BS-010 completion, commit and merge. Remaining publication gates are recorded
|
||||||
|
in the audit as separate follow-up work; task completion does not approve
|
||||||
|
public launch.
|
||||||
|
|
||||||
|
Integration result: scoped pre-integration review found no blocking defect;
|
||||||
|
the accepted task branch was committed at `f13f20f` and fast-forwarded into
|
||||||
|
`codex`. The two originally untracked presentation boards were byte-matched,
|
||||||
|
preserved during merge and now tracked. The task worktree and Captain-owned
|
||||||
|
test session were left intact. No push or deployment occurred.
|
||||||
|
|
||||||
|
## BS-009 mission — database-free deployment path
|
||||||
|
|
||||||
|
Status: Complete in `codex` through Captain-authorized commit and fast-forward
|
||||||
|
merge on 2026-11-12 (`5c02d88`). Captain accepted the BS-009 candidate with
|
||||||
|
“task complete”, then explicitly ordered commit and merge. Task branch/worktree
|
||||||
|
`bs-009` at `.task-worktrees/bs-009` remains retained. No push, release or
|
||||||
|
production deployment authorized.
|
||||||
|
|
||||||
|
Objective: make the production deployment path match the independent Contact
|
||||||
|
service and marketing frontend. Scope: production Compose and API image entry
|
||||||
|
point, safe environment example, CI/deployment commands, SWAG/operations plan
|
||||||
|
and topology regression check. Non-goals: removing inherited account source,
|
||||||
|
changing Contact contract or public pages, choosing a hostname or email
|
||||||
|
identity, provisioning SWAG/DNS, live email, migration of old resources or
|
||||||
|
production cutover.
|
||||||
|
|
||||||
|
Acceptance: Compose resolves to only `api` and `nginx`, with private Contact
|
||||||
|
API and external SWAG link; API starts `contact_app:app` with database-free
|
||||||
|
readiness; CI requires no MySQL service or account migration; deployment starts
|
||||||
|
and checks only those two services; sample mail remains disabled; docs distinguish
|
||||||
|
process health from delivery and list unverified commissioning gates. Validate
|
||||||
|
Compose config/topology script, Contact unit tests where dependencies are
|
||||||
|
available, workflow/static diff checks, and Captain-controlled manual runtime
|
||||||
|
as requested. Local results: topology script, Compose config, workflow YAML/job
|
||||||
|
parse, Python syntax and `git diff --check` passed. Contact pytest could not
|
||||||
|
collect because local Python lacks Flask; CI has not run. No frontend code or
|
||||||
|
runtime was changed/started. Risks/dependencies: actual SWAG forwarding/client IP, verified
|
||||||
|
domain/inbox/Resend settings, host/GHCR access and production authorization.
|
||||||
|
Captain acceptance did not include runtime observations or authorization to
|
||||||
|
push or deploy. Scoped pre-integration review found no blocking issue. The `/api/health`, `/api/health/live` and
|
||||||
|
`/api/health/ready` aliases return the same process status; manual review can
|
||||||
|
focus on page loading and honest disabled-mail behavior.
|
||||||
|
|
||||||
## BS-008 mission — privacy, SEO and accessibility
|
## BS-008 mission — privacy, SEO and accessibility
|
||||||
|
|
||||||
Status: Captain accepted the BS-008 candidate with “task complete” on 2026-11-12; commit/merge authorization has not been given, so the repository lifecycle is awaiting integration rather than Complete. Candidate is on `bs-008` at `.task-worktrees/bs-008`, based on `codex/855913c`. Captain engaged the task on 2026-11-11. Scope confirmed as the approved public marketing site and independent Contact service, excluding inherited account scaffolding. Captain will not publish a private address. Canonical origin remains unconfirmed. Resend's published GDPR information says message content and delivery records are stored in the US under its DPA/SCCs; verify the actual account plan and DPA before publication: https://resend.com/security/gdpr/ .
|
Status: Complete in `codex` through Captain-authorized commit/fast-forward merge on 2026-11-12 (`ebfb10d`). Captain accepted the BS-008 candidate with “task complete” and then explicitly ordered commit and merge. Task branch/worktree `bs-008` at `.task-worktrees/bs-008` remains for history; no cleanup, push or deployment authorized. Captain engaged the task on 2026-11-11. Scope confirmed as the approved public marketing site and independent Contact service, excluding inherited account scaffolding. Captain will not publish a private address. Canonical origin remains unconfirmed. Resend's published GDPR information says message content and delivery records are stored in the US under its DPA/SCCs; verify the actual account plan and DPA before publication: https://resend.com/security/gdpr/ .
|
||||||
|
|
||||||
Objective: provide accurate public privacy information, deliberate route indexing and accessibility verification. Scope: existing `/privacy` route, metadata and public-route checks; assess static/prerender technique. Non-goals: publishing unverified legal claims, private address, account product, production runtime, dependency upgrades, deployment. Acceptance: no template privacy copy; verified data flows represented accurately; incomplete notice excluded from indexing; public routes maintain accessible navigation and responsive layout; lint/unit/build/browser evidence and Captain legal/manual review recorded. Risks: legal basis, mail-backup retention, actual Resend plan/DPA, production hosting and canonical origin require confirmation. Full privacy publication and canonical sitemap are gated on those facts.
|
Objective: provide accurate public privacy information, deliberate route indexing and accessibility verification. Scope: existing `/privacy` route, metadata and public-route checks; assess static/prerender technique. Non-goals: publishing unverified legal claims, private address, account product, production runtime, dependency upgrades, deployment. Acceptance: no template privacy copy; verified data flows represented accurately; incomplete notice excluded from indexing; public routes maintain accessible navigation and responsive layout; lint/unit/build/browser evidence and Captain legal/manual review recorded. Risks: legal basis, mail-backup retention, actual Resend plan/DPA, production hosting and canonical origin require confirmation. Full privacy publication and canonical sitemap are gated on those facts.
|
||||||
|
|
||||||
Current implementation: Vite client and server builds produce prerendered HTML for the six primary public routes, three project case studies and a noindex 404 document, with route-specific title, description and robots tags. nginx serves known route files and a 404 status for unknown URLs. React hydrates matching static routes and client-renders unknown paths. No framework/dependency added. The production origin remains unconfirmed, so canonical URLs and a sitemap are deferred; `robots.txt` permits crawling. Runtime nginx behavior still requires Captain-controlled testtask verification.
|
Current implementation: Vite client and server builds produce prerendered HTML for the six primary public routes, three project case studies and a noindex 404 document, with route-specific title, description and robots tags. nginx serves known route files and a 404 status for unknown URLs. React hydrates matching static routes and client-renders unknown paths. No framework/dependency added. The production origin remains unconfirmed, so canonical URLs and a sitemap are deferred; `robots.txt` permits crawling. Runtime nginx behavior still requires Captain-controlled testtask verification.
|
||||||
|
|
||||||
Captain acceptance does not approve publication of the incomplete privacy notice or production. No explicit commit/merge order accompanied acceptance. Actual testtask/nginx runtime result was not supplied to Engineering; do not infer that diagnostic passed.
|
Captain acceptance/integration does not approve publication of the incomplete privacy notice or production. Actual testtask/nginx runtime result was not supplied to Engineering; do not infer that diagnostic passed. Pre-integration scoped Code Review found no blocking defect. Offline unit/lint/build/browser evidence remains as recorded in HANDOFF; no tests were rerun in the integration turn.
|
||||||
|
|
||||||
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. Green checks/local commits do not authorize merge or deployment. Captain accepted the homepage composition and engaged Services as BS-012; no other-page continuation without further approval. Missing brand masters/portfolio permissions and unverified legal/domain/email/hosting remain launch gates.
|
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. Green checks/local commits do not authorize merge or deployment. Captain accepted the homepage composition and engaged Services as BS-012; no other-page continuation without further approval. Missing brand masters/portfolio permissions and unverified legal/domain/email/hosting remain launch gates.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
+6
-3
@@ -10,6 +10,9 @@ replace the placeholder domain settings using normal SWAG conventions, and
|
|||||||
restart or reload SWAG. The exact SWAG filesystem location is a server concern
|
restart or reload SWAG. The exact SWAG filesystem location is a server concern
|
||||||
and is intentionally not encoded in this repository.
|
and is intentionally not encoded in this repository.
|
||||||
|
|
||||||
Do not expose MySQL publicly. The loopback API and frontend port mappings exist
|
The API is private on the Compose internal network. Loopback API and frontend
|
||||||
for server-local health diagnostics; SWAG should reach the frontend by Docker
|
ports exist for server-local diagnostics; SWAG should reach the frontend by
|
||||||
service name over the external network.
|
Docker service name over the external network. Confirm the real client IP and
|
||||||
|
forwarded scheme at the Contact API before enabling submissions. The sample
|
||||||
|
hostname is illustrative; the public hostname is not confirmed. See
|
||||||
|
`docs/DEPLOYMENT.md` for commissioning gates.
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
<meta name="description" content="Custom software, websites, APIs, hosting and ongoing maintenance for businesses and research projects." />
|
<meta name="description" content="Custom software, websites, APIs, hosting and ongoing maintenance for businesses and research projects." />
|
||||||
<meta name="robots" content="index, follow" />
|
<meta name="robots" content="index, follow" />
|
||||||
<meta name="theme-color" content="#0E1117" />
|
<meta name="theme-color" content="#0E1117" />
|
||||||
|
<link rel="icon" type="image/png" href="/brand/bortstack-dark-symbol.png" media="(prefers-color-scheme: dark)" />
|
||||||
|
<link rel="icon" type="image/png" href="/brand/bortstack-light-symbol.png" media="(prefers-color-scheme: light)" />
|
||||||
<script src="/theme-init.js"></script>
|
<script src="/theme-init.js"></script>
|
||||||
<title>BortStack</title>
|
<title>BortStack</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 134 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 143 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
@@ -1,56 +1,100 @@
|
|||||||
.footer {
|
.footer {
|
||||||
--footer-line: color-mix(in srgb, var(--bs-steel-blue) 70%, var(--site-text));
|
position: relative;
|
||||||
margin: 0 24px 24px;
|
padding-block: 30px 18px;
|
||||||
padding-block: 28px 16px;
|
|
||||||
border: 1px solid var(--footer-line);
|
|
||||||
border-radius: 18px;
|
|
||||||
color: var(--site-text);
|
color: var(--site-text);
|
||||||
background: linear-gradient(115deg, var(--site-surface), color-mix(in srgb, var(--site-bg) 65%, var(--site-surface)));
|
background: transparent;
|
||||||
|
&::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 35px;
|
||||||
|
right: 35px;
|
||||||
|
height: 1px;
|
||||||
|
background: var(--site-line);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.footer :global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
|
|
||||||
.mainRow { display: grid; grid-template-columns: 39% 1fr; padding-bottom: 24px; }
|
.footer :global(.container) {
|
||||||
.identity { padding-right: 32px; }
|
width: calc(100% - 112px);
|
||||||
|
max-width: 1280px;
|
||||||
|
padding-inline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mainRow {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) auto;
|
||||||
|
align-items: start;
|
||||||
|
gap: 32px;
|
||||||
|
padding-bottom: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
margin: -3px 0 8px; font-size: 44px; font-weight: 700; line-height: 1.12; letter-spacing: -.045em;
|
margin: 0 0 5px;
|
||||||
|
font-size: 25px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.2;
|
||||||
|
letter-spacing: -.045em;
|
||||||
span { color: var(--site-link); }
|
span { color: var(--site-link); }
|
||||||
}
|
}
|
||||||
.description { max-width: 33ch; margin: 0; font-size: 18px; line-height: 1.45; }
|
|
||||||
.navigation { min-width: 0; border-left: 1px solid var(--footer-line); padding-left: 48px; }
|
.description {
|
||||||
.navigationHeading {
|
max-width: 34ch;
|
||||||
display: flex; align-items: center; gap: 20px; margin: 4px 0 10px;
|
margin: 0;
|
||||||
color: var(--site-link); font-size: 14px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase;
|
color: var(--site-muted);
|
||||||
&::after { content: ''; flex: 1; height: 1px; background: var(--footer-line); }
|
font-size: 14px;
|
||||||
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
.links { display: flex; justify-content: space-between; gap: 8px 20px; padding-right: 14%; }
|
|
||||||
|
.navigation { min-width: 0; }
|
||||||
|
.navigationHeading {
|
||||||
|
margin: 3px 0 6px;
|
||||||
|
color: var(--site-muted);
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: .14em;
|
||||||
|
line-height: 1.5;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.links { display: flex; align-items: center; gap: 8px 27px; }
|
||||||
.links a, .privacy {
|
.links a, .privacy {
|
||||||
display: inline-flex; align-items: center; min-height: 44px; color: var(--site-text); text-decoration: none;
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 44px;
|
||||||
|
color: var(--site-text);
|
||||||
|
text-decoration: none;
|
||||||
&:hover, &:focus-visible { color: var(--site-link); text-decoration: underline; }
|
&:hover, &:focus-visible { color: var(--site-link); text-decoration: underline; }
|
||||||
}
|
}
|
||||||
.links a { font-size: 18px; line-height: 1.5; }
|
.links a { font-size: 14px; line-height: 1.5; }
|
||||||
|
|
||||||
.legalRow {
|
.legalRow {
|
||||||
display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
|
display: flex;
|
||||||
border-top: 1px solid var(--footer-line); padding-top: 10px; font-size: 14px;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px 24px;
|
||||||
|
border-top: 1px solid var(--site-line);
|
||||||
|
padding-top: 8px;
|
||||||
|
color: var(--site-muted);
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.copyright { margin: 0; }
|
.copyright { margin: 0; }
|
||||||
@media (max-width: 1199.98px) {
|
.privacy { color: var(--site-muted); }
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
.footer :global(.container) { width: calc(100% - 64px); }
|
.footer :global(.container) { width: calc(100% - 64px); }
|
||||||
.name { font-size: 34px; }
|
.mainRow { gap: 24px; }
|
||||||
.description { font-size: 14px; }
|
.name { font-size: 22px; }
|
||||||
.navigation { padding-left: 32px; }
|
.description { font-size: 13px; }
|
||||||
.navigationHeading { font-size: 12px; gap: 16px; }
|
.links { gap: 8px 16px; }
|
||||||
.links { padding-right: 0; gap: 12px; }
|
.links a { font-size: 13px; }
|
||||||
.links a { font-size: 14px; }
|
|
||||||
.legalRow { font-size: 13px; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
.footer { margin: 0 16px 16px; padding-block: 24px 12px; border-radius: 16px; }
|
.footer { padding-block: 27px 12px; &::before { left: 20px; right: 20px; } }
|
||||||
.footer :global(.container) { width: calc(100% - 48px); }
|
.footer :global(.container) { width: calc(100% - 40px); }
|
||||||
.mainRow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
|
.mainRow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
|
||||||
.identity { padding-right: 0; }
|
.name { font-size: 22px; }
|
||||||
.name { margin-top: 0; font-size: 30px; }
|
.navigationHeading { margin-bottom: 3px; }
|
||||||
.description { max-width: 36ch; }
|
|
||||||
.navigation { border-left: 0; padding: 0; }
|
|
||||||
.navigationHeading { margin-top: 0; margin-bottom: 12px; font-size: 13px; gap: 16px; }
|
|
||||||
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
|
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
|
||||||
.legalRow { flex-wrap: wrap; gap: 0 12px; font-size: 12px; }
|
.links a { font-size: 14px; }
|
||||||
|
.legalRow { flex-wrap: wrap; gap: 0 12px; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
min-height: 67px;
|
min-height: 67px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: var(--site-bg);
|
background: transparent;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
&::after { content: ''; position: absolute; height: 1px; bottom: 0; left: 35px; right: 35px; background: var(--site-line); }
|
&::after { content: ''; position: absolute; height: 1px; bottom: 0; left: 35px; right: 35px; background: var(--site-line); }
|
||||||
:global(.container) { width: calc(100% - 112px); max-width: 1280px; min-height: 66px; padding-inline: 0; }
|
:global(.container) { width: calc(100% - 112px); max-width: 1280px; min-height: 66px; padding-inline: 0; }
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import styles from "./Logo.module.scss";
|
import styles from "./Logo.module.scss";
|
||||||
export default function Logo() {
|
export default function Logo() {
|
||||||
return <Link to="/" className={styles.link} aria-label="BortStack home — temporary text, approved logo pending">
|
return <Link to="/" className={styles.link} aria-label="BortStack home">
|
||||||
<span className={styles.markPlaceholder} aria-hidden="true">Logo<br />pending</span>
|
<span className={styles.lockup} aria-hidden="true" />
|
||||||
<span className={styles.logo}>Bort<span>Stack</span></span>
|
|
||||||
</Link>;
|
</Link>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,23 @@
|
|||||||
.link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--site-text); line-height: 1; }
|
.link {
|
||||||
.logo { font-size: 29px; font-weight: 600; letter-spacing: -.045em; span { color: var(--site-link); } }
|
display: inline-flex;
|
||||||
.markPlaceholder { display: grid; align-content: center; width: 43px; height: 39px; flex-shrink: 0; border: 1px dashed var(--bs-steel-blue); border-radius: 3px; text-align: center; font-size: 8px; line-height: 11px; color: var(--site-muted); letter-spacing: .025em; }
|
align-items: center;
|
||||||
@media (max-width: 767.98px) { .link { gap: 8px; } .logo { font-size: 21px; } .markPlaceholder { width: 29px; height: 32px; font-size: 6px; line-height: 9px; } }
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lockup {
|
||||||
|
display: block;
|
||||||
|
width: 206px;
|
||||||
|
height: 61px;
|
||||||
|
background: url('/brand/bortstack-dark-horizontal.png') center / contain no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(html[data-bs-theme='light']) .lockup {
|
||||||
|
background-image: url('/brand/bortstack-light-horizontal.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.lockup {
|
||||||
|
width: 143px;
|
||||||
|
height: 43px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
}
|
}
|
||||||
[data-bs-theme="light"] {
|
[data-bs-theme="light"] {
|
||||||
--site-bg: #F5F7FA;
|
--site-bg: #EEF3F7;
|
||||||
--site-surface: #E7EFF5;
|
--site-surface: #E7EFF5;
|
||||||
--site-text: #102638;
|
--site-text: #102638;
|
||||||
--site-muted: #455E70;
|
--site-muted: #455E70;
|
||||||
@@ -42,7 +42,26 @@ body {
|
|||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
.app { display: flex; min-height: 100vh; flex-direction: column; }
|
.app {
|
||||||
|
display: flex;
|
||||||
|
min-height: 100vh;
|
||||||
|
flex-direction: column;
|
||||||
|
background: var(--site-bg);
|
||||||
|
}
|
||||||
|
[data-bs-theme="dark"] .app {
|
||||||
|
background:
|
||||||
|
radial-gradient(ellipse 70% 42% at 12% 0%, rgba(62, 107, 134, .22), transparent 75%),
|
||||||
|
radial-gradient(ellipse 65% 38% at 100% 55%, rgba(18, 64, 94, .17), transparent 78%),
|
||||||
|
linear-gradient(155deg, transparent 0 32%, rgba(10, 27, 42, .42) 32% 62%, transparent 62%),
|
||||||
|
var(--site-bg);
|
||||||
|
}
|
||||||
|
[data-bs-theme="light"] .app {
|
||||||
|
background:
|
||||||
|
radial-gradient(ellipse 70% 42% at 12% 0%, rgba(62, 107, 134, .11), transparent 75%),
|
||||||
|
radial-gradient(ellipse 65% 38% at 100% 55%, rgba(38, 198, 218, .06), transparent 78%),
|
||||||
|
linear-gradient(155deg, transparent 0 32%, rgba(62, 107, 134, .035) 32% 62%, transparent 62%),
|
||||||
|
var(--site-bg);
|
||||||
|
}
|
||||||
.pageContent { flex: 1; padding: 0; }
|
.pageContent { flex: 1; padding: 0; }
|
||||||
a { color: var(--site-link); text-underline-offset: .25em; }
|
a { color: var(--site-link); text-underline-offset: .25em; }
|
||||||
a:hover { color: var(--site-text); }
|
a:hover { color: var(--site-text); }
|
||||||
|
|||||||
@@ -37,12 +37,6 @@
|
|||||||
h2 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 26px; }
|
h2 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 26px; }
|
||||||
}
|
}
|
||||||
.contactLink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 12px 36px; font-size: 22px; line-height: 34px; font-weight: 600; border-radius: 9px; svg { width: 29px; height: 29px; } }
|
.contactLink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 12px 36px; font-size: 22px; line-height: 34px; font-weight: 600; border-radius: 9px; svg { width: 29px; height: 29px; } }
|
||||||
:global(.app):has(.aboutPage) :global(nav[aria-label="Main navigation"]) {
|
|
||||||
min-height: 74px;
|
|
||||||
&::after { left: 30px; right: 30px; }
|
|
||||||
:global(.container) { min-height: 73px; }
|
|
||||||
:global(.nav-link[aria-current="page"]) { position: relative; &::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: var(--site-link); } }
|
|
||||||
}
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
.heroCopy { width: 620px; }
|
.heroCopy { width: 620px; }
|
||||||
.hero { min-height: 520px; }
|
.hero { min-height: 520px; }
|
||||||
@@ -81,7 +75,6 @@
|
|||||||
.qualityCopy { padding-top: 0; h3 { font-size: 18px; line-height: 25px; margin-bottom: 5px; } p { font-size: 14px; line-height: 23px; } }
|
.qualityCopy { padding-top: 0; h3 { font-size: 18px; line-height: 25px; margin-bottom: 5px; } p { font-size: 14px; line-height: 23px; } }
|
||||||
.contact { padding: 30px 17px; margin: 0 -5px 22px; h2 { font-size: 28px; line-height: 36px; margin-bottom: 24px; br { display: none; } } }
|
.contact { padding: 30px 17px; margin: 0 -5px 22px; h2 { font-size: 28px; line-height: 36px; margin-bottom: 24px; br { display: none; } } }
|
||||||
.contactLink { min-height: 48px; font-size: 17px; line-height: 25px; padding: 10px 24px; svg { width: 23px; height: 23px; } }
|
.contactLink { min-height: 48px; font-size: 17px; line-height: 25px; padding: 10px 24px; svg { width: 23px; height: 23px; } }
|
||||||
:global(.app):has(.aboutPage) :global(nav[aria-label="Main navigation"]) { min-height: 67px; &::after { left: 20px; right: 20px; } :global(.container) { min-height: 43px; } }
|
|
||||||
}
|
}
|
||||||
@media (max-width: 359.98px) {
|
@media (max-width: 359.98px) {
|
||||||
.hero h1 { font-size: 30px; }
|
.hero h1 { font-size: 30px; }
|
||||||
|
|||||||
@@ -30,11 +30,9 @@
|
|||||||
.status { margin: 0; font-size: 15px; overflow-wrap: anywhere; &:not(:empty) { margin-top: 22px; } &[data-kind="error"] { color: var(--bs-danger-text-emphasis); } }
|
.status { margin: 0; font-size: 15px; overflow-wrap: anywhere; &:not(:empty) { margin-top: 22px; } &[data-kind="error"] { color: var(--bs-danger-text-emphasis); } }
|
||||||
.details { padding: 32px 36px; min-height: 448px; h2 { position: relative; font-size: 36px; line-height: 42px; font-weight: 600; margin: 0 0 22px; padding-left: 23px; &::before { content: ''; position: absolute; width: 4px; top: 6px; bottom: 6px; left: 0; background: var(--site-link); border-radius: 4px; } } > p { font-size: 19px; line-height: 31px; margin: 0 0 28px; } .availability { font-size: 14px; line-height: 23px; color: var(--site-muted); margin: 18px 0 0; } }
|
.details { padding: 32px 36px; min-height: 448px; h2 { position: relative; font-size: 36px; line-height: 42px; font-weight: 600; margin: 0 0 22px; padding-left: 23px; &::before { content: ''; position: absolute; width: 4px; top: 6px; bottom: 6px; left: 0; background: var(--site-link); border-radius: 4px; } } > p { font-size: 19px; line-height: 31px; margin: 0 0 28px; } .availability { font-size: 14px; line-height: 23px; color: var(--site-muted); margin: 18px 0 0; } }
|
||||||
.email { border-top: 1px solid var(--site-line); padding-top: 28px; display: flex; gap: 22px; align-items: flex-start; font-size: 17px; line-height: 27px; overflow-wrap: anywhere; svg { color: var(--site-link); flex-shrink: 0; width: 28px; height: 28px; } a, span { min-width: 0; } }
|
.email { border-top: 1px solid var(--site-line); padding-top: 28px; display: flex; gap: 22px; align-items: flex-start; font-size: 17px; line-height: 27px; overflow-wrap: anywhere; svg { color: var(--site-link); flex-shrink: 0; width: 28px; height: 28px; } a, span { min-width: 0; } }
|
||||||
:global(.app):has(.contactPage) :global(nav[aria-label="Main navigation"]) { min-height: 88px; &::after { left: 50px; right: 50px; } :global(.container) { max-width: 1536px; width: calc(100% - 160px); min-height: 87px; } :global(.nav-link) { font-size: 20px; padding-inline: 24px !important; } :global(.nav-link[aria-current="page"]) { position: relative; &::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; background: var(--site-link); } } }
|
@media (max-width: 1199.98px) { .contactPage :global(.container) { width: calc(100% - 64px); } .hero { padding-inline: 0; min-height: 290px; } .intro { font-size: 19px; line-height: 30px; } .content { gap: 24px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .form { padding: 28px; } .nameEmail { gap: 20px; } .details { padding: 28px 24px; h2 { font-size: 27px; line-height: 36px; } > p { font-size: 16px; line-height: 27px; } } }
|
||||||
@media (max-width: 1199.98px) { .contactPage :global(.container) { width: calc(100% - 64px); } .hero { padding-inline: 0; min-height: 290px; } .intro { font-size: 19px; line-height: 30px; } .content { gap: 24px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .form { padding: 28px; } .nameEmail { gap: 20px; } .details { padding: 28px 24px; h2 { font-size: 27px; line-height: 36px; } > p { font-size: 16px; line-height: 27px; } } :global(.app):has(.contactPage) :global(nav[aria-label="Main navigation"]) { :global(.container) { width: calc(100% - 64px); } :global(.nav-link) { font-size: 14px; padding-inline: 12px !important; } } }
|
|
||||||
@media (max-width: 991.98px) { .content { grid-template-columns: 1fr; } .details { min-height: auto; } .heroCopy { width: 78%; } .hero h1 { font-size: 39px; } .intro { max-width: 490px; } .illustration { width: 25%; opacity: .65; top: 70px; } .eyebrow { font-size: 16px; } }
|
@media (max-width: 991.98px) { .content { grid-template-columns: 1fr; } .details { min-height: auto; } .heroCopy { width: 78%; } .hero h1 { font-size: 39px; } .intro { max-width: 490px; } .illustration { width: 25%; opacity: .65; top: 70px; } .eyebrow { font-size: 16px; } }
|
||||||
@media (max-width: 767.98px) { .contactPage { min-height: auto; :global(.container) { width: calc(100% - 40px); } } .hero { padding-top: 32px; padding-bottom: 26px; } .heroCopy { width: 100%; } .hero h1 { font-size: clamp(34px, 9vw, 48px); } .intro { font-size: 16px; line-height: 27px; br { display: none; } } .eyebrow { font-size: 14px; gap: 18px; span { max-width: 150px; } } .illustration { position: relative; display: block; width: 100%; height: 150px; top: auto; right: auto; margin-top: 20px; opacity: 1; } .form { padding: 24px 20px; :global(.form-label) { font-size: 17px; } :global(.form-control), :global(.form-select) { font-size: 16px; } } .nameEmail { grid-template-columns: 1fr; gap: 15px; } .send { width: 100%; padding-inline: 14px; font-size: 19px; gap: 12px; } .content { padding-bottom: 32px; } .details { padding: 28px 22px; h2 { font-size: 28px; line-height: 37px; } } .email { gap: 15px; font-size: 16px; } :global(.app):has(.contactPage) :global(nav[aria-label="Main navigation"]) { min-height: 67px; &::after { left: 20px; right: 20px; } :global(.container) { width: calc(100% - 40px); min-height: 43px; } :global(.nav-link) { font-size: 15px; } } }
|
@media (max-width: 767.98px) { .contactPage { min-height: auto; :global(.container) { width: calc(100% - 40px); } } .hero { padding-top: 32px; padding-bottom: 26px; } .heroCopy { width: 100%; } .hero h1 { font-size: clamp(34px, 9vw, 48px); } .intro { font-size: 16px; line-height: 27px; br { display: none; } } .eyebrow { font-size: 14px; gap: 18px; span { max-width: 150px; } } .illustration { position: relative; display: block; width: 100%; height: 150px; top: auto; right: auto; margin-top: 20px; opacity: 1; } .form { padding: 24px 20px; :global(.form-label) { font-size: 17px; } :global(.form-control), :global(.form-select) { font-size: 16px; } } .nameEmail { grid-template-columns: 1fr; gap: 15px; } .send { width: 100%; padding-inline: 14px; font-size: 19px; gap: 12px; } .content { padding-bottom: 32px; } .details { padding: 28px 22px; h2 { font-size: 28px; line-height: 37px; } } .email { gap: 15px; font-size: 16px; } }
|
||||||
@media (min-width: 1200px) { :global(.app):has(.contactPage) :global(a[aria-label^="BortStack home"]) > span:last-child { font-size: 40px; } }
|
|
||||||
|
|
||||||
.serviceSelect { position: relative; }
|
.serviceSelect { position: relative; }
|
||||||
.form .serviceTrigger {
|
.form .serviceTrigger {
|
||||||
|
|||||||
@@ -52,20 +52,8 @@
|
|||||||
> p { font-size: 24px; line-height: 36px; margin: 0 0 18px; }
|
> p { font-size: 24px; line-height: 36px; margin: 0 0 18px; }
|
||||||
}
|
}
|
||||||
.contactLink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 28px; min-height: 54px; font-size: 22px; line-height: 32px; font-weight: 600; border-radius: 8px; svg { width: 29px; height: 29px; } }
|
.contactLink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 28px; min-height: 54px; font-size: 22px; line-height: 32px; font-weight: 600; border-radius: 8px; svg { width: 29px; height: 29px; } }
|
||||||
// Only Services uses the wider/scaled desktop shell shown in its 1672px reference.
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
:global(.app):has(.servicesPage) {
|
:global(.app):has(.servicesPage) {
|
||||||
:global(nav[aria-label="Main navigation"]) {
|
|
||||||
min-height: 80px;
|
|
||||||
&::after { left: 4.78vw; right: 4.78vw; }
|
|
||||||
:global(.container) { width: calc(100% - 14.7vw); max-width: 1440px; min-height: 80px; }
|
|
||||||
:global(.navbar-nav) { column-gap: 45px; }
|
|
||||||
:global(.nav-link) { font-size: 19px; line-height: 28px; }
|
|
||||||
:global(.nav-link[aria-current="page"]) { position: relative; &::after { content: ''; position: absolute; bottom: 1px; left: 16px; right: 16px; height: 2px; background: var(--site-link); } }
|
|
||||||
:global(.navbar-brand a) { gap: 17px; > span:first-child { width: 54px; height: 54px; font-size: 10px; line-height: 13px; } > span:last-child { font-size: 37px; } }
|
|
||||||
}
|
|
||||||
:global(.themeToggle) { width: 100px; height: 42px; &::before { height: 38px; top: 1px; left: -28px; } }
|
|
||||||
:global(.themeChoice) { width: 48px; height: 38px; svg { width: 22px; height: 22px; } }
|
|
||||||
:global(footer .container) { width: calc(100% - 14.7vw); max-width: 1440px; }
|
:global(footer .container) { width: calc(100% - 14.7vw); max-width: 1440px; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
"""Check the public deployment topology without starting containers."""
|
||||||
|
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
|
env = os.environ.copy()
|
||||||
|
env["APP_ENV_FILE"] = str(ROOT / ".env.example")
|
||||||
|
result = subprocess.run(
|
||||||
|
["docker", "compose", "--env-file", str(ROOT / ".env.example"),
|
||||||
|
"config", "--format", "json"],
|
||||||
|
cwd=ROOT, env=env, check=True, capture_output=True, text=True,
|
||||||
|
)
|
||||||
|
config = json.loads(result.stdout)
|
||||||
|
services = config["services"]
|
||||||
|
assert set(services) == {"api", "nginx"}, sorted(services)
|
||||||
|
assert not config.get("volumes"), "Production topology must not require a database volume"
|
||||||
|
api = services["api"]
|
||||||
|
web = services["nginx"]
|
||||||
|
assert api.get("environment", {}).get("EMAIL_DELIVERY_ENABLED") == "false"
|
||||||
|
assert api["environment"]["CONTACT_TRUST_PROXY"] == "true"
|
||||||
|
assert not api.get("depends_on"), "Contact must have no database dependency"
|
||||||
|
assert web["depends_on"]["api"]["condition"] == "service_healthy"
|
||||||
|
assert "api/health/ready" in " ".join(api["healthcheck"]["test"])
|
||||||
|
assert config["networks"]["swag"]["external"] is True
|
||||||
|
assert "swag" in web["networks"]
|
||||||
|
assert "swag" not in api["networks"]
|
||||||
|
assert config["networks"]["internal"]["internal"] is True
|
||||||
|
assert "internal" in api["networks"] and "internal" in web["networks"]
|
||||||
|
assert all(port["host_ip"] == "127.0.0.1" for service in (api, web)
|
||||||
|
for port in service["ports"]), "Diagnostic ports must bind to loopback"
|
||||||
|
assert "contact_app:app" in (ROOT / "api" / "Dockerfile").read_text()
|
||||||
|
print("Database-free Contact deployment topology: OK")
|
||||||
Reference in New Issue
Block a user