BS-004 Build approved homepage composition with explicit asset placeholders

This commit is contained in:
rob
2026-11-10 14:17:14 +00:00
parent 2a4ffe1b00
commit 4f3b75b2b4
14 changed files with 290 additions and 98 deletions
+13 -18
View File
@@ -1,29 +1,24 @@
# BortStack current state
Updated 2026-11-10. BS-001 on branch bs-001 at `/home/rob/projects/bortstack/.task-worktrees/bs-001`, based on codex/1ec90a0. BS-001 accepted and authorized for commit/merge into codex; this snapshot accompanies that integration. No deployment. scripts/testtask.sh dispatches from the integration checkout to the requested isolated task worktree.
Updated 2026-11-10. BS-001 Complete and merged into codex at 5226596. Group BS-002–004 implemented on separate stacked local task branches/worktrees; no group merge/push/deployment.
## Verified
## Implemented candidate (bs-004 includes BS-002 and BS-003)
Maintained template generated with its supported generator; structure validator passed before import. React/Vite/React-Bootstrap/SCSS, Flask, inherited tests and Docker infrastructure are present. Source handoff archived under docs/source-handoff; specifications, brand decision/tokens, kickoff and five references preserved. No template history/local secrets/dependencies imported.
- Public marketing router with four-link responsive navigation and no mounted AuthProvider or account pages. Services/Projects/case-study/About/Contact/Privacy are honest noindex placeholders pending their tasks. Contact has no form yet.
- Exact approved palette tokens copied unchanged, dark default, persistent optional light before React load, keyboard theme toggle and safe behavior with denied storage. Plain text logo visibly labelled Logo pending.
- Approved homepage section composition: one hero CTA, restrained decorative engineering illustration, four service summaries, exactly one marked featured-project/media slot, three grounded qualities and closing contact invitation. Genuine master logo and project imagery still missing; no fake screenshot or replacement B created.
- Inherited backend/account source remains provisional/unchanged. API Admin independent. Static SEO/legal/contact/backend decoupling and production topology remain later tasks.
Canonical context under docs/ with root pointers. Context validator passes with zero warnings; shell syntax and tracked whitespace checks pass. Production Compose configuration was validated only, never started.
## Verification
## Operational testtask
Group candidate: lint, 29 unit tests, Vite production build, all 38 desktop/mobile browser checks passed. Includes 320/768/1440 width checks, CTA navigation, no public session API requests, mobile nav, keyboard skip link, both-theme axe diagnostics, persistent theme, denied storage and stored preference before React. Desktop/mobile dark/light full-page screenshots inspected; light mobile-menu icon corrected. No formal WCAG certification claimed.
From project root run `./scripts/testtask.sh 001` (TASK-001 and BS-001 accepted). Explicit task selects its isolated branch/worktree. See TESTTASK.md. Snapshot creator: scripts/create-test-snapshot.py in the task worktree. Snapshot is an owned test-only copy under `.test-worktrees/task-001`; it includes local tracked/untracked implementation and excludes secrets/local data. SHA-256 manifest verifies exact copied bytes. No forced commit or branch checkout.
Actual project-root testtask TASK-004 reached ready: exact-state snapshot, Docker builds, disposable SQLite migrations, frontend/direct+proxied API readiness, real headless Firefox and exit 0. Owned task resources removed. Container images cached. Final review snapshots refreshed after context updates. Normal graphical command remains ./scripts/testtask.sh TASK-004, Ctrl-C to stop.
Docker smoke test completed successfully: builds, SQLite migrations in disposable tmpfs, frontend and direct/proxied API readiness, real headless Firefox startup, engine ready, exit 0 and owned-container/network cleanup. A first trial exposed early port readiness and nginx upstream startup-order races; both corrected in the task-only hook/Compose. Snapshot tests passed untracked inclusion, modification refresh, deletion removal, environment exclusion and complete source/copy hash equality. A concurrent standalone snapshot attempt was correctly refused while runtime held its lock. Repeat runtime evidence is in HANDOFF.md.
No dependencies added or lockfile changed. Existing host Node located via explicit path; locked frontend dependencies installed locally for checks (ignored). npm audit reported 10 inherited alerts: 5 moderate/3 high/2 critical. Backend suites not rerun because no backend behavior changed.
Dependencies installed only in Docker images; no host app environments installed. Images remain cached. Registration closed, email disabled, no production networks/env/services used. Normal graphical desktop command opens Firefox and waits until Ctrl-C. Agent smoke used real headless Firefox and automatic exit-after-ready; Captain confirmed task acceptance on 2026-11-10.
## Review location and assets
## Product limitations
Integration codex is clean at BS-001. bs-002 ea28637, bs-003 2a4ffe1 and bs-004 local review commit form a dependency stack. Per-task worktrees under .task-worktrees/. Captain review/acceptance required before group merge; BS-005+ not started.
Only the inherited starter is available; BortStack page implementation has not begun. Accounts/database/Compose/contact fields/SPA SEO still require planned product adaptation; see TEMPLATE_RECONCILIATION.md. Missing authentic logo/light board and authorized portfolio media; domain/email/legal/hosting unresolved. No API Admin code imported or changed. Unit suites/lint/full browser regression suite not run; Vite production build and runtime smoke did run through Docker.
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.
BS-003 candidate based on BS-002: approved palette, synchronous dark-default/persistent light theme, keyboard toggle and semantic shared shell implemented. Logo is explicit text placeholder. Lint/28 units/build/32 desktop-mobile browser checks passed. No website dependencies added; no backend changes. codex remains BS-001.
Authentic approved master logo/light board, authorized portfolio screenshot and featured-project choice remain outstanding. Domain/email/legal/provider/hosting decisions remain unverified. The code-native illustration is decorative; featured work explicitly pending.