BS-002 Establish public marketing routes and navigation

This commit is contained in:
rob
2026-11-10 14:06:46 +00:00
parent 52265961cb
commit ea28637259
13 changed files with 165 additions and 199 deletions
+2
View File
@@ -23,3 +23,5 @@ Only the inherited starter is available; BortStack page implementation has not b
BS-001 implementation/manual testing accepted by Captain on 2026-11-10. Captain explicitly authorized commit/merge; BS-001 is Complete under that integration order. Captain authorized BS-002 through BS-004 engagement as a group; task-specific briefs follow in their isolated branches. BS-005 onward remain Proposed. The previously reported missing testtask hook is resolved.
ChatGPT ZIP snapshot interface reconciled with PitchInvader: `./scripts/create-chatgpt-snapshot.sh`, no arguments, exports the current checkout to `snapshots/bortstack-chatgpt-DATE-COMMIT.zip`. Available in integration root scripts/ and task scripts/. This is separate from testtask’s internal runtime copy. Root export includes integration-checkout content; run in task worktree to export unmerged BS-001 content. Git, dependencies, task/test worktrees, credentials/environment files, keys and databases excluded.
BS-002 candidate: public routes/navigation now implemented without AuthProvider or public account routes. Unfinished pages are marked/noindex. Lint, 26 unit tests, Vite build, desktop/mobile route/navigation and targeted axe checks passed; 10 inherited npm audit alerts recorded without dependency changes. Separate bs-002 candidate awaiting review; codex remains BS-001.
+5 -30
View File
@@ -1,36 +1,11 @@
# BortStack handoff
Replaceable supplementary snapshot, 2026-11-10. Captain explicitly ordered operational testtask after the initialization report. This extends BS-001 tooling validation only; Captain subsequently authorized BS-001 commit/merge and engagement of BS-002 through BS-004.
Replaceable supplementary snapshot, 2026-11-10. BS-001 Complete and merged into codex at 5226596. Captain engaged BS-002–004 as a dependent group; no group merge/push/deploy authorized.
## Candidate
BS-002 branch/worktree: bs-002 at .task-worktrees/bs-002, based on codex. Public route shell replaces mounted account UI/AuthProvider; backend/inherited standalone account components retained. Approved primary links and honest noindex placeholders implemented. Contact submission is not exposed before BS-007. Local commit prepared as prerequisite for BS-003.
Branch bs-001; worktree `/home/rob/projects/bortstack/.task-worktrees/bs-001`; base codex/1ec90a0. Snapshot prepared for authorized BS-001 commit/merge. Integration checkout receives maintained scripts/testtask.sh dispatcher. Root executable removed; canonical interface is scripts/testtask.sh. BS-001 commit/merge authorized; no push/deployment.
Validation: lint, 26 unit tests, production build passed. Browser checks: 20 route/mobile checks passed, two automated contrast checks caught navbar inheritance; corrected variant and both passed on rerun. No public API session requests. 10 inherited npm audit alerts; no package changes. Backend unchanged, suites not rerun.
## Run from project folder
Next: BS-003 themes/branding, then BS-004 homepage, each isolated from prior task commit. BS-005+ untouched. Master logo and authentic project media missing: use explicitly marked placeholders. Final static SEO/legal/contact content remain later scope.
```bash
./scripts/testtask.sh 001
# or ./scripts/testtask.sh TASK-001
```
Default Firefox; terminal remains running. URL http://127.0.0.1:18081/. Ctrl-C stops browser and removes owned task containers/network. Docker images cached; owned snapshot retained for inspection and refreshed on rerun. First build downloads dependencies. Requires installed roborto-testtask, Docker/Compose permissions, Git/Python/flock/Firefox and graphical desktop. See TESTTASK.md.
Snapshot script is `scripts/create-test-snapshot.py` inside the task worktree; testtask invokes it automatically. It copies exact Git-listed working state including permitted untracked files, excludes local/secret artifacts, verifies hashes, rejects symlinks and refuses replacing unowned snapshots. Source is the task worktree; `.test-worktrees/task-001` is a test-only copy, never development authority. Session lock prevents concurrent refresh. Runtime builds solely from snapshot with disposable SQLite tmpfs, closed registration and email disabled. No SWAG or production configuration.
## Validation
Original generation structural validator, source-preservation audit, context validator (zero warnings), shell syntax, tracked whitespace and inherited production Compose config passed. Docker testtask smoke passed build (including Vite production build), migrations, frontend/direct+proxied API HTTP readiness and real headless Firefox startup; engine reached ready and exited 0. Confirmed owned containers/network absent afterward. Snapshot fixture tests proved untracked inclusion, changed-content refresh, deleted-file removal, .env exclusion and full source/snapshot hash equality; concurrent snapshot refused during runtime. Unit/lint/full browser regression suites not run. Captain confirmed acceptance with “task complete” on 2026-11-10.
Initial smoke trials found port-readiness and nginx/API ordering races; corrected by explicit HTTP readiness before browser startup and API-before-web dependency. Previous missing hook blocker is resolved; stale blocker notes in original source materials are historical.
## Review gate
BS-001 implementation/manual testing accepted by Captain on 2026-11-10. Captain explicitly authorized BS-001 commit/merge on 2026-11-10; BS-001 marked Complete for this integration. Final repeatability run from the project root using `./scripts/testtask.sh TASK-001` also reached ready and exited 0; numeric `001` succeeded in the preceding run. BS-002–004 are authorized as a dependent implementation group, with separate local commits/worktrees and no merge or deployment before review; BS-005+ remain Proposed. Missing authentic brand masters/portfolio media and unverified domain/email/legal/hosting remain product blockers. No redesign or API Admin integration.
ChatGPT ZIP snapshot interface reconciled with PitchInvader: `./scripts/create-chatgpt-snapshot.sh`, no arguments, exports the current checkout to `snapshots/bortstack-chatgpt-DATE-COMMIT.zip`. Available in integration root scripts/ and task scripts/. This is separate from testtask’s internal runtime copy. Root export includes integration-checkout content; run in task worktree to export unmerged BS-001 content. Git, dependencies, task/test worktrees, credentials/environment files, keys and databases excluded.
## Captain acceptance and cleanup
Captain confirmed task complete on 2026-11-10. Recorded manual acceptance; a subsequent explicit order authorizes BS-001 commit/merge and BS-002–004 engagement. Checked and cleaned up remaining task-owned Docker resources using the isolated Compose project only. Preserve the accepted BS-001 worktree for traceability during authorized integration.
Full staged whitespace audit found pre-existing trailing whitespace in inherited template code and preserved source-handoff Markdown hard breaks. These were retained to avoid unrelated source changes; the new snapshot-script whitespace was corrected.
Manual test from integration root: ./scripts/testtask.sh TASK-002. Isolated Docker runtime and snapshot tooling inherited from BS-001. Captain acceptance still pending.
+12
View File
@@ -46,3 +46,15 @@ BS-002 brief should include removing public account/navigation coupling and esta
## Lifecycle
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. No automatic continuation, commit, merge or deployment. Run appropriate checks, refresh context and test snapshots, then request Captain review. Missing logos block final branding; missing screenshots/permissions block portfolio publication; unverified domain/email/legal/hosting block launch.
## BS-002 — Public frontend route shell
Status: Implementation-ready; Captain review pending. Accepted by Captain’s group engagement on 2026-11-10.
Objective: public marketing routes/navigation independent of inherited authentication.
Scope: public router, header/footer, honest placeholders, site description, route/navigation tests.
Non-goals: page content for BS-005+, contact submission, backend account deletion, final SEO/prerendering, brand/homepage implementation.
Acceptance: approved public paths and case-study path load directly; primary navigation contains Services/Projects/About/Contact; mobile navigation closes on selection; no public login/register/dashboard or AuthProvider/API session dependency; unfinished pages clearly marked and noindex; no invented logo/email/portfolio claims.
Validation: frontend unit suite/lint/build; route, mobile and auth-absence browser checks. No backend behavior changed.
Dependencies: BS-001 merged at 5226596. Review base codex; branch bs-002, worktree .task-worktrees/bs-002. Dedicated local task commit forms the base for BS-003; no group merge authorization.
BS-002 validation: ESLint passed; 26 unit tests passed; Vite production build passed; 20 desktop/mobile browser checks passed initially, then both contrast failures were fixed and passed on targeted rerun. No account API requests on public routes. npm audit reported 10 inherited alerts (5 moderate/3 high/2 critical); lockfile unchanged.