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
+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.