BS-007 Implement accepted Contact page and independent enquiry service

This commit is contained in:
rob
2026-11-10 19:45:11 +00:00
parent 21d048a1ff
commit 5bfb128e94
46 changed files with 837 additions and 145 deletions
+13
View File
@@ -0,0 +1,13 @@
# 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.
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.
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.
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.
+16 -10
View File
@@ -1,21 +1,27 @@
# BortStack current state
Updated 2026-11-10. Captain accepted BS-013 About and explicitly authorized commit/merge into codex. This record accompanies that integration from bs-013 / .task-worktrees/bs-013, based on codex/be0dde6. No push or deployment authorized.
Updated 2026-11-10. Integration codex is21d048a with accepted routes/themes/homepage/Services/About. Captain accepted BS-007 Contact and authorized commit-all/merge; accepted implementation in branch bs-007 at .task-worktrees/bs-007, based on21d048a. This record accompanies authorized commit/merge into codex; no push/deployment authorized. Existing BS-014 planning changes carried into candidate; five root docs/references copies verified against canonical assets and included at Captain’s commit-all order.
## About implementation
## Contact candidate
/about now follows about-concept.png: business-first split introduction with two-colour heading, reserved branded laptop-art footprint, full-width divider, Why BortStack heading and three stacked Practical engineering / Clear communication / Long-term support rows, then two-line closing invitation. Contact action navigates to existing Contact placeholder; no form implied. Copy avoids invented team/credentials/achievements and keeps support agreed per project.
/contact now reproduces contact-concept.png: wide split hero and native layered-plane linework, bordered four-field form and right invitation/email panel. Exactly name/email/optional service/description; hidden honeypot. Company field and unverified email/location/response promises omitted. Approved palette, persistent themes and existing authentic-logo placeholder retained. Contact-only header/styles; shared footer unchanged pending BS-014.
Native code/chat/layers icons match the reference roles; authentic logo and standalone branded laptop art are missing and visibly labelled. No new symbol geometry, cropped reference artwork or unrelated hero illustration. Approved palette and accepted Poppins/themes retained. About-only CSS scopes header/active indicator without changing accepted pages.
Independent database-free Flask entry point contact_app:app exposes config/health/contact only; no accounts/migrations/SQLAlchemy. JSON/type/length/email/service validation,32KiB bound, honeypot,5/hour+20/day process-local IP limits. Safe sender/Reply-To, escaped mail,10s Resend HTTP timeout. Success requires provider acceptance ID. Disabled/unconfigured delivery returns503/not sent. Draft retained on failure, same-draft retry retains UUID provider idempotency key; no draft/message storage. See CONTACT.md for config, privacy/production limits and commands. Inherited account app and production Compose remain provisional, unchanged.
## Evidence and validation
## Validation and visual evidence
At reference 1024×1536: header 74px, main left 52px, hero divider y566, first icon row y685/icon113px, closing panel x30/y1176/w964/h275; page fits 1536px including understated footer. Before/after, reference comparison, 1440 desktop/768 tablet/390 mobile/320 narrow/light 1024 captures and measurements under docs/visual-qa/bs-013/. Inspected with no overflow, console/page errors or HTTP 400+ responses. Minor typography/icon/gradient differences are approximations; original missing artwork blocks full asset fidelity.
Lint,33 unit tests and production build passed.29 independent Contact backend tests plus14 inherited backend tests passed in disposable Docker using declared dev dependencies. Full desktop45/mobile45 browser checks passed; Contact checks cover responsive form, field count/errors, keyboard/axe in both themes, persistence, sending/disabled, provider errors/network failure, retained draft/key and acknowledgement success. Final HTML-proxy error handling is also covered by focused Contact recheck.
Lint, 33unit tests, Vite build and all 72Playwright browser cases passed, including About route/navigation/CTA, active nav, keyboard skip, both-theme axe/persistence, responsive heading bounds and reference anchors. Accepted homepage 1024px and Services 1672px screenshots are PNG-byte-identical. Existing routes/themes/regressions preserved.
Live before/after at1536×1024 plus1440/768/390/320/light1536 inspected. Form x60/y397/w913/h521 and side panel x1011/y397/w465 closely match reference; page1026px including footer. No steady-state overflow/console/page/HTTP failures. Homepage1024, Services1672 and About1024 screenshots byte-identical to accepted evidence. Files in docs/visual-qa/bs-007/. Font/linework/gradient differences and missing authentic logo remain disclosed.
Actual project-root TASK-013 smoke passed exact snapshot, Docker production build, disposable migrations, direct/proxied HTTP, real headless Firefox opening /about, exit 0 and owned-runtime cleanup. Snapshot refreshed after final context updates. No dependencies/manifests/lockfile/backend/production changes; backend suites not rerun. Existing 10 npm audit alerts remain recorded baseline risk.
Real project-root TASK-007 smoke passed snapshot/Docker build/direct+proxied readiness/real headless Firefox opening /contact, exit0; owned resources removed. Final source snapshot refreshed after documentation/error-state checks. No new dependencies/lockfile changes. Existing10 npm alerts unchanged; inherited backend datetime deprecation warnings remain. No real mail sent; provider boundary mocked in tests.
## Review gate
## Review and outstanding gates
BS-013 Complete for the accepted composition; Captain manual acceptance and commit/merge authorization received. Scoped pre-integration code review found no blocking defects. No Projects/Contact/Privacy or further-page work. Missing approved logo/light board/laptop media, genuine portfolio permission and actual domain/email/legal/hosting choices remain outstanding. Root pre-existing docs/references copies preserved untouched. Standard scripts interfaces unchanged.
BS-007 Complete for Captain-accepted composition/form behaviour, including corrected custom Service popup. Scoped pre-integration review found no blocking defects. Verified business inbox/sender/domain and Resend secret absent; real delivery unavailable until configured and separately verified. Production runtime/rate-limit proxy/storage/edge policy and provider privacy/legal review remain launch work. Logo/light board/portfolio assets remain missing. BS-014 footer design/removal of roborto.net attribution stays accepted and unengaged. No further page started.
Service dropdown review correction: native option rows now use the active BortStack theme surface/text and steel-blue selected state; selected control text uses full foreground contrast. Production build and Chromium dark/light option palette plus keyboard selection checks passed. Existing manual-test session owns the snapshot, so it was preserved; stop and restart TASK-007 to build this update.
Service popup correction after Captain screenshot: prior native-option CSS did not affect Firefox's system popup; computed CSS was insufficient visual evidence. Replaced the native Service select with a page-rendered, labelled combobox/listbox in ServiceSelect.jsx. Theme surface/border, steel-blue active row, selected check, wrapped mobile labels; pointer selection, arrows/Home/End/type-to-initial/Enter/Escape/Tab/outside dismissal, disabled sending and form reset retained. No dependency/backend changes. Actual open-popup Chromium screenshots inspected in dark/light desktop and dark mobile: service-open-chromium-*.png. 26 Contact browser tests passed (including 8 new popup/keyboard/axe/payload cases), 33 unit tests and build passed; lint/whitespace checked. Automated Firefox launch blocked by missing libdbus-glib-1.so.2 in the cached Playwright browser; no Firefox rendering pass claimed. The page-rendered list no longer uses native popup styling. Captain should restart TASK-007 to refresh the candidate; do not disturb an active test session. No commit/merge.
Integration acceptance (2026-11-10): Captain explicitly approved Contact and ordered commit all/merge. Prior manual-test snapshot notes are historical; final accepted frontend/backend match the tested source. Task runtime cleaned after acceptance; preserve worktree/history. No push/deployment or further-task implementation.
+10
View File
@@ -57,3 +57,13 @@ The homepage reference controls atmosphere/layout, while written spec requires a
## BS-ADR-003 — Theme and placeholder implementation (2026-11-10)
Accepted scope from group engagement: dark is default independent of OS preference; visitor’s `bortstack-theme` preference is applied by a synchronous local script in head before React/styles paint. Theme continues functioning if storage is denied. Brand palette tokens copied unchanged into frontend build input; light semantic utilities are contrast adaptations, not a newly approved palette. Text-only BortStack placeholder explicitly labelled Logo pending until authentic master is supplied. No generated B symbol or project screenshot substituted.
## BS-ADR-004 — Footer business attribution (2026-11-10)
Accepted by Captain: BortStack is the development business. Remove roborto.net branding, logo and developer-site attribution from the public footer as part of BS-014 footer design. This supersedes inherited template attribution, not Roborto workflow/tooling names or the separate API Admin project-link decision. Preserve approved BortStack identity; do not invent replacement logo artwork.
## BS-ADR-005 — Independent Contact and truthful delivery (2026-11-10)
Within Captain-engaged BS-007, Contact uses a separate database-free Flask entry point (`contact_app:app`) and the existing approved Resend service. Account/template app remains provisional and unchanged. Local task runtime selects Contact explicitly, disables outbound email, and does not run migrations. Four visible fields only; hidden honeypot and process-local attempt limits. Disabled/unconfigured delivery cannot return success. Success means provider acceptance, not guaranteed inbox receipt. Provider call bounded at10s; same-draft manual retries retain an idempotency key, edits reset it; no enquiry database/local-storage draft. Verified inbox/sender/credentials and production runtime adaptation remain launch gates. Details and limitations in CONTACT.md. Footer BS-014 remains separate.
+6 -20
View File
@@ -1,25 +1,11 @@
# BS-013 About accepted integration handoff
# BS-007 Contact accepted integration handoff
Replaceable supplementary snapshot, 2026-11-10. Captain engaged About after accepting/integrating Services. Candidate branch/worktree bs-013 / .task-worktrees/bs-013, based on codex/be0dde6. Captain accepted About and explicitly authorized commit/merge into codex. This handoff accompanies that integration; no push or production authorization.
Replaceable supplementary snapshot, 2026-11-10. Captain accepted Contact including the corrected custom Service popup and explicitly ordered commit all/merge. This record accompanies authorized integration from bs-007 / .task-worktrees/bs-007 into codex, based on21d048a. No push, deployment or next task authorized.
## Repeat manual testing
Contact reproduces the approved composition with exactly four visible fields and a styled Service combobox/listbox. Database-free Flask contact_app:app validates enquiries, applies abuse controls, preserves safe sender/Reply-To and confirms provider acceptance before success. No real mail enabled; verified inbox/sender/Resend configuration still missing. See CONTACT.md for configuration and production limits. Footer BS-014 is accepted/scoped, not implemented.
From project folder:
Validation: lint,33unit tests/build passed;29Contact+14inherited backend tests passed. Full90 desktop/mobile browser cases passed before the custom-popup correction; final26 Contact cases passed including8 new popup keyboard/axe/selection/payload checks. Actual open-popup Chromium dark/light desktop and mobile screenshots inspected; cached automated Firefox blocked by missing libdbus-glib-1.so.2, Captain subsequently accepted manual review. Earlier real TASK-007 snapshot/Docker/HTTP/real-headless-Firefox launch smoke passed; final popup source accepted manually. Before/after audit and responsive screenshots in docs/visual-qa/bs-007. Accepted homepage/Services/About screenshot regressions unchanged. No new dependencies or lockfile changes; inherited10 npm alerts remain. Pre-integration scoped code review found no blocking defects; context/whitespace validation passed.
```bash
./scripts/testtask.sh TASK-013
```
Root BS-014 planning records preserved in authoritative tasks/decisions; five docs/references image copies byte-verified against canonical assets and included at Captain’s commit-all instruction. No secrets, generated node_modules, snapshots or runtime files included. Task-owned test runtime cleaned following acceptance; retain implementation worktrees/history. Standard repeat command from project root: ./scripts/testtask.sh TASK-007. ZIP export: ./scripts/create-chatgpt-snapshot.sh. No services launched at handoff.
Opens http://127.0.0.1:18081/about directly in default Firefox. Keep terminal running; Ctrl-C cleans task-owned runtime. Compare with assets/references/about-concept.png: header/intro/heading proportions, artwork footprint, divider, three stacked value rows and closing panel. Check mobile menu, dark/light persistence and Get in Touch route. Contact is still a deliberate placeholder; no new form.
Screenshot evidence: docs/visual-qa/bs-013/after-1024-full.png and reference-comparison.png; audit, before, measurements, responsive/light/regression captures included. About reference-size layout fits 1024×1536: header 74, main left 52, first row685, closing x30/y1176/w964/h275. Exact logo/laptop art missing and labelled; full asset fidelity remains gated, no artwork reconstruction. Poppins/icons/gradients approximate reference while written palette/content decisions remain authoritative. Required theme control/footer retained even where composite omits them.
## Verification
Lint, 33unit tests, Vite production build and all 72desktop/mobile browser cases passed. Matrix 320/390/768/1024/1440 plus both themes; About coordinate checks, route/CTA, keyboard/active navigation, axe, persistence and prior page regressions covered. All review captures inspected: no overflow, console/page errors or HTTP failures. Homepage 1024 PNG and Services 1672 PNG are byte-identical to accepted captures. No shared homepage/Services/component/style edits.
Actual root TASK-013 snapshot/Docker/build/migrations/direct+proxied HTTP/real-headless-Firefox smoke reached ready opening /about, exit 0, owned cleanup verified. Final snapshot refreshed after docs. No backend or package/lockfile changes; backend suites not rerun. Existing 10 npm audit alerts unchanged. Root user docs/references copies untouched.
## Stop gate
BS-013 Complete for the accepted composition. Pre-integration review found no blocking defects and frontend hashes match the tested snapshot. Commit/merge authorized; stop after integration. Do not push, deploy or start another page without further orders. Missing original logo/light board and branded laptop art remain acknowledged asset work. Standard ZIP export: ./scripts/create-chatgpt-snapshot.sh from this worktree exports this candidate; project-root export reflects integrated codex.
Next work remains Captain-controlled: Projects/case studies need genuine materials/permissions; Privacy/legal remains a placeholder; BS-014 footer design remains queued. Missing approved logo/artwork, verified email and production readiness remain launch gates. Stop after authorized integration.
+2 -2
View File
@@ -10,11 +10,11 @@ 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.
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. No contact database by default; failure/retry behavior still needs implementation design.
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.
## 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 and Services, 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.
+36 -1
View File
@@ -43,7 +43,7 @@ Deviation/asset gate: reference photograph replaced by restrained decorative CSS
| --- | --- | --- |
| BS-005 | Services and About | Services Complete under BS-012; About Complete under BS-013 |
| BS-006 | Projects gallery and case studies | Real status/permissions and genuine imagery |
| BS-007 | Contact UI and Flask service | Exactly four fields, validation/abuse controls, delivery/failure handling; database/account decoupling |
| 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 | Reviewed actual data flows/legal details; static/prerendered technique and metadata; wider accessibility |
| BS-009 | Docker/SWAG plan and regression tests | Adapt production database-free topology/readiness; no live cutover. Existing manual-test runtime already operational |
| BS-010 | Final visual reconciliation and launch prep | Authentic brand/media, verified contact/domain and final review |
@@ -115,3 +115,38 @@ Final reference anchors at 1024×1536: header 74px; main x52/w920; hero divider
Validation: lint, 33unit tests, Vite production build and all 72desktop/mobile Playwright checks passed. Covers 320/390/768/1024/1440, route/CTA/active navigation, keyboard skip link, both-theme axe, preference persistence and reference-coordinate checks. Screenshot captures at 1024/1440/768/390/320/light 1024 inspected with no overflow, console/page errors or HTTP failures. Homepage 1024 and Services 1672 PNGs byte-identical to accepted captures. Actual root TASK-013 exact snapshot/Docker/build/migrations/direct+proxied HTTP/real headless Firefox smoke passed, opens /about directly, exit 0; test resources cleaned. Final snapshot refreshed after context edits.
Captain screenshot/manual acceptance received on 2026-11-10 with explicit commit/merge authorization. Pre-integration code review found no blocking defects; frontend hashes match the tested snapshot. No push, production or further-page implementation authorized. Backend/package manifests/lockfile/shared component/style files unchanged; inherited dependency alerts and authentic-asset finalization remain separate recorded limitations.
## BS-014 — Footer design and BortStack business identity
Status: Accepted/scoped by Captain on 2026-11-10; not engaged. Documentation only; implementation awaits engagement.
Objective: redesign the shared footer within the approved BortStack design, removing the inherited roborto.net developer attribution because BortStack is now the development business.
Scope: shared Footer component/styles, footer-specific configuration and tests; remove roborto.net logo, branding and developer-website link from the public footer; reconcile spacing, alignment and hierarchy with approved page references and BortStack identity. Retain useful Contact/Privacy navigation and BortStack copyright. Check existing API Admin footer-link decision separately against verified destination availability; do not silently remove or invent that destination.
Non-goals: site-wide rebranding, changing Roborto development tooling/context names, unrelated page changes, invented logo assets, new dependencies, production deployment.
Acceptance criteria:
- No roborto.net name, logo or developer-attribution link appears in the rendered footer on any public route. BortStack is the sole development-business identity in the footer.
- Footer layout matches the approved BortStack visual direction, with clear navigation and balanced desktop/mobile spacing; approved palette and persistent dark/light themes retained.
- Existing valid footer navigation works; keyboard focus and contrast remain usable; no responsive overflow or unintended page-body changes.
- Tests no longer require inherited developer branding and cover its removal. Before/after desktop and mobile screenshots supplied for Captain review.
Relevant files: react/src/components/Footer/, react/src/config/site and consumers, approved references, docs/DECISIONS.md.
Validation plan: inspect configuration consumers before removing unused footer data/assets; lint, relevant unit/regression tests, production build, browser checks on public routes at desktop/tablet/mobile and both themes; visual review and operational TASK-014 manual-test handoff.
Workflow on engagement: create bs-014 / .task-worktrees/bs-014 from integrated codex after status checks. Use project-context, scoped frontend implementation and visual QA; code review before integration. Captain acceptance and explicit commit/merge authorization required.
## BS-007 engagement — Contact implementation (2026-11-10)
Status: Complete for accepted Contact composition/form behaviour. Captain manually accepted and explicitly authorized commit-all/merge on 2026-11-10. Captain explicitly locked on and engaged Contact after BS-013. Branch bs-007 / .task-worktrees/bs-007, based on codex/21d048a. Existing BS-014 planning documentation carried forward unchanged; root docs/references copies preserved.
Objective: reproduce contact-concept.png composition with a working four-field enquiry flow independent of account/database infrastructure.
Scope: Contact route/component/SCSS; name, email, optional service and description; hidden honeypot; independent Flask contact application using existing Resend/Flask-Limiter dependencies; isolated local runtime entry point, configuration, server/browser tests and before/after evidence. Preserve existing account application outside this runtime.
Non-goals: footer design BS-014, other pages, identity redesign, new dependencies, CRM/database, production credentials, deployment, commit/merge.
Acceptance: approved 1536×1024 desktop composition and responsive 320/390/768 layouts; correct four visible fields with labels/errors/keyboard use; loading/success/failure/retry states retain draft on failure; server validates sizes/types/email/service, rate limits and honeypot; verified configured sender only, visitor Reply-To; success only after provider acceptance, disabled/unconfigured delivery reports unavailable. No enquiry bodies in logs or storage. Missing verified email remains configurable and clearly unavailable rather than fabricated.
Validation: baseline/live screenshots and iterative exact-size comparison, both themes and mobile; lint/unit/build/browser workflow/axe/regressions; Flask validation/provider/failure/abuse/configuration tests; real TASK-007 snapshot/Docker smoke with delivery disabled. Captain manual approval before Complete or integration.
Risks: verified business email/sender and Resend credentials absent; no live email verification until separately configured. In-memory limiter provides single-process bounds; production-wide storage/edge policy remains deployment scope. Real artwork masters remain absent. Reference Company/email/response promise yield to explicit written constraints.
BS-007 result: reference Contact composition implemented with four visible fields, native layered-plane illustration, honest config/email availability and accessible error/loading/success/retry states. Independent Flask app plus safe mail/abuse handling, no database/accounts. Scoped tests and screenshot evidence in docs/visual-qa/bs-007; operational TASK-007 opens /contact with delivery disabled. Lint/33unit/build passed,29Contact+14inherited backend tests passed;45desktop+45mobile browser cases passed with final focused Contact recheck. Homepage/Services/About regression PNGs byte-identical. Actual snapshot/Docker/HTTP/Firefox smoke exit0; cleanup verified. Full delivery remains gated on verified inbox/sender/Resend configuration. See CONTACT.md and CURRENT_STATE.md. Await Captain acceptance; no commit/merge/deploy. BS-014 unengaged.
Service dropdown review correction: native option rows now use the active BortStack theme surface/text and steel-blue selected state; selected control text uses full foreground contrast. Production build and Chromium dark/light option palette plus keyboard selection checks passed. Existing manual-test session owns the snapshot, so it was preserved; stop and restart TASK-007 to build this update.
Service popup correction after Captain screenshot: prior native-option CSS did not affect Firefox's system popup; computed CSS was insufficient visual evidence. Replaced the native Service select with a page-rendered, labelled combobox/listbox in ServiceSelect.jsx. Theme surface/border, steel-blue active row, selected check, wrapped mobile labels; pointer selection, arrows/Home/End/type-to-initial/Enter/Escape/Tab/outside dismissal, disabled sending and form reset retained. No dependency/backend changes. Actual open-popup Chromium screenshots inspected in dark/light desktop and dark mobile: service-open-chromium-*.png. 26 Contact browser tests passed (including 8 new popup/keyboard/axe/payload cases), 33 unit tests and build passed; lint/whitespace checked. Automated Firefox launch blocked by missing libdbus-glib-1.so.2 in the cached Playwright browser; no Firefox rendering pass claimed. The page-rendered list no longer uses native popup styling. Captain should restart TASK-007 to refresh the candidate; do not disturb an active test session. No commit/merge.
BS-007 acceptance/integration update (2026-11-10): Captain accepted the corrected custom Service popup and Contact, then ordered commit all and merge. Scoped pre-integration review found no blocking defects. This record accompanies authorized integration into codex. Previous pending-review/no-commit notes are historical and superseded by this approval; no push/deployment or next task authorized. Include queued BS-014 documentation and verified reference copies; footer implementation remains unengaged. Live email configuration/production gates remain open. Test runtime cleaned following acceptance.
+2 -1
View File
@@ -21,7 +21,8 @@ The test-only copy lives in the task worktree’s `.test-worktrees/task-001/`, w
## Runtime
`.roborto/testtask-compose.yml` builds solely from the snapshot, using inherited API/nginx Dockerfiles. Flask uses disposable SQLite on container tmpfs to exercise inherited foundation behavior, registration is closed and email is disabled. This is test infrastructure, not acceptance of database/accounts for the final marketing website. No account or login is required to view the starter. The selected task determines UI: BS-001 has the inherited starter; BS-004 contains the grouped marketing shell, themes and homepage candidate.
`.roborto/testtask-compose.yml` builds solely from the snapshot. In BS-007 and subsequent integrated checkouts, it runs the independent `contact_app:app` with one worker and no database, migrations or account routes. Outbound email is disabled; valid enquiries return 503/not sent, never simulated delivery success. UI/server success states are tested with controlled provider mocks. Browser opens `/contact` for TASK-007. Earlier retained task worktrees keep their own historical runtime configurations (including inherited SQLite). No host dependencies or command-interface changes.
The hook checks Docker/configuration, builds images, starts services, verifies frontend plus direct/proxied API readiness, and cleans up its own resources. One session lock per source worktree prevents conflicting snapshot refreshes. If an existing project-named container is found, it refuses to take over that environment.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

+11
View File
@@ -0,0 +1,11 @@
# BS-007 Contact visual audit
Reference: assets/references/contact-concept.png, 1536×1024. Captured current live route before edits at the same viewport.
Before: generic narrow placeholder under a 67px header; no reference split introduction, large typography, layered technical illustration, bordered form, sidebar or working enquiry. Footer inherited developer attribution remains a separate accepted BS-014 task.
Target: 88px header, left77 introduction at y143; large two-tone heading; native layered-plane illustration right; form x60/y397/w914/h521; side panel x1013/y397/w465/about447. Preserve approved palette and authentic-logo placeholder. Exactly four fields: Name, Email, optional Service, Project description; written decision overrides concept's Company. Omit unverified address/response-time claims. No phone/location claims added.
Implementation comparison: form x60/y397/w913/h521; side panel x1011/y397/w465. Heading/intro/illustration/field rhythm align closely. Header wordmark scaling is route-scoped; approved real symbol remains unavailable. Required existing footer retained pending BS-014. Fonts, native plane linework and surface gradients approximate concept using accepted Poppins and brand tokens. Unconfigured contact details explicitly unavailable rather than mocked as operational.
Final visual matrix inspected: 1536 and1440 desktop, 768 tablet, 390 mobile, 320 narrow, light1536. No overflow, console/page errors or HTTP400+ in steady-state captures. Desktop full page1026px including retained footer versus1024px reference. Form geometry remains x60/y397/w913/h521; side panel height448 after typography adjustment. Homepage1024, Services1672 and About1024 regression PNGs are byte-identical to accepted BS-013 evidence. Remaining differences: authentic logo unavailable; Poppins/native linework/gradients approximate generated details; unverified email/response/location details omitted; exact four-field decision overrides Company; footer design deferred to BS-014.
Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

+104
View File
@@ -0,0 +1,104 @@
[
{
"name": "after-1536-full",
"width": 1536,
"height": 1026,
"theme": "dark",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 1536
},
{
"name": "desktop-1440-full",
"width": 1440,
"height": 1026,
"theme": "dark",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 1440
},
{
"name": "tablet-768-full",
"width": 768,
"height": 1353,
"theme": "dark",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 768
},
{
"name": "mobile-390-full",
"width": 390,
"height": 1696,
"theme": "dark",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 390
},
{
"name": "narrow-320-full",
"width": 320,
"height": 1781,
"theme": "dark",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 320
},
{
"name": "light-1536-full",
"width": 1536,
"height": 1026,
"theme": "light",
"path": "/contact",
"errors": [],
"http": [],
"scrollWidth": 1536
},
{
"name": "homepage-regression",
"width": 1024,
"height": 1557,
"theme": "dark",
"path": "/",
"errors": [],
"http": [],
"scrollWidth": 1024
},
{
"name": "services-regression",
"width": 1672,
"height": 978,
"theme": "dark",
"path": "/services",
"errors": [],
"http": [],
"scrollWidth": 1672
},
{
"name": "about-regression",
"width": 1024,
"height": 1536,
"theme": "dark",
"path": "/about",
"errors": [],
"http": [],
"scrollWidth": 1024
},
{
"regression": "homepage-regression",
"byteIdentical": true
},
{
"regression": "services-regression",
"byteIdentical": true
},
{
"regression": "about-regression",
"byteIdentical": true
}
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB