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
+39 -55
View File
@@ -1,71 +1,55 @@
# BortStack authoritative tasks
This is accepted, scoped implementation work plus preserved proposed planning; not a speculative backlog. Captain's 2026-11-10 mission authorizes BS-001 only. BS-002–BS-010 remain Proposed, not authorized to start. Original plan is preserved in source-handoff/TASKS.md.
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. No group merge, push, deployment or BS-005+ engagement authorized.
## BS-001 — Repository foundation and reconciliation
Status: Complete — Captain accepted manual testing and explicitly authorized commit/merge on 2026-11-10.
Status: Complete. Captain manually accepted and authorized commit/merge; merged into codex at 5226596.
Delivered maintained template foundation, preserved handoff/reference assets, context system, operational isolated testtask and standard ChatGPT ZIP export.
Objective: establish the maintained template foundation and authoritative context without website implementation.
## BS-002 — Public routes and navigation
Scope: inspect handoff/references/base; supported generation; preserve source documents; isolated branch/worktree; reconcile context/tasks/decisions; provision testtask and record blockers; validate structure.
Status: Implementation-ready; Captain manual acceptance/merge pending. Local review commit ea28637, based on codex/5226596.
Objective: public marketing route shell independent of account/session infrastructure.
Scope: App router, marketing header/footer, route metadata, honest noindex placeholders, site identity and tests.
Non-goals: backend account deletion, later page content, contact implementation, themes/homepage design, static SEO technique.
Acceptance: `/`, `/services`, `/projects`, `/projects/:slug`, `/about`, `/contact`, `/privacy` work directly; four primary links; mobile nav closes on selection; account paths resolve not-found with noindex; no mounted AuthProvider or public account API calls; unfinished pages explicit placeholders.
Validation: lint, 26 unit tests, production build passed; 20 browser checks passed initially, then two contrast failures corrected and passed targeted rerun. Group final 38 browser checks also cover this behavior. Backend unchanged.
Branch/worktree: bs-002 / .task-worktrees/bs-002. Dedicated local commit, unmerged.
Non-goals: BS-002+, page/theme/contact implementation, new dependencies, API Admin changes, commits, merges, production actions.
## BS-003 — Palette and persistent themes
Acceptance criteria:
- Approved handoff, branding and all five references inspected and preserved.
- Generated React/Flask/Compose foundation present; template history/local artifacts excluded.
- AGENTS and five canonical docs/ context files present, with root navigation documents.
- Template/spec conflicts, missing assets, exact validation and next review gate recorded.
- testtask entry/config/hook provisioned; operational state honestly reported and any remaining gate identified.
Status: Implementation-ready with approved asset placeholder; Captain manual acceptance/merge pending. Local review commit 2a4ffe1, based on BS-002.
Objective: approved dark-first palette and accessible, persistent optional light mode.
Scope: byte-identical copied brand tokens, semantic light utilities, synchronous theme initialization before React, storage-resilient keyboard toggle, header/footer/type/focus and labelled text-only logo placeholder.
Non-goals: inventing logo artwork or approved light palette, new dependencies/fonts, homepage composition or later pages.
Acceptance: default dark independent of OS; stored light applied before React; persistence across navigation/reload; denied storage safe; practical both-theme contrast; missing authentic logo clearly marked.
Validation: lint, 28 unit tests, production build, 32 desktop/mobile Playwright checks passed. Early-script test holds React load and observes stored light already applied. Token copy byte-verified. Group visual QA caught and corrected a light mobile-menu icon issue in the dependent BS-004 candidate.
Branch/worktree: bs-003 / .task-worktrees/bs-003. Unmerged. Exact logo and companion artwork finalization remains blocked pending authentic assets.
Validation: generator structural validator, context validator, source-preservation/manifest audit, shell syntax, Git whitespace checks, Compose configuration and testtask fail-closed check. Captain’s follow-up explicitly authorizes finishing and running isolated testtask, including container builds and runtime smoke validation.
## BS-004 — Approved homepage composition
Risk/dependency: inherited application is not yet the approved public website. Validate snapshot, runtime and cleanup before Captain acceptance.
Status: Implementation-ready with approved asset placeholders; Captain manual acceptance/merge pending. Based on BS-003; branch bs-004 / .task-worktrees/bs-004 contains the combined candidate.
Objective: implement the spacious approved homepage layout and density.
Scope: split hero and one primary Discuss a Project link; decorative code-native illustration; four service summaries; exactly one featured-work slot; three grounded approach points; closing contact invitation; responsive styling and tests. Includes narrowly scoped mobile-menu icon fix identified during combined visual QA.
Non-goals: invented master logo/project screenshots/claims; BS-005+ page content and contact functionality; production launch.
Acceptance: approved section order/density; genuine asset gaps explicitly labelled; functional route links; mobile/tablet/desktop and both themes usable with no errors/overflow; three qualities maximum and one featured-work slot.
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.
## Subsequent proposed phases
## Subsequent proposed work — not engaged
| ID | Phase / task | Acceptance gate |
|---|---|---|
| BS-001 | Initialize/retrofit repository and project-context documentation | AGENTS.md, PROJECT_OVERVIEW.md, CURRENT_STATE.md, DECISIONS.md, TASKS.md, HANDOFF.md exist and match repository conventions; no unrelated rewrite. |
| BS-002 | Establish frontend structure and routes | React/Vite/React-Bootstrap/SCSS project builds; site routes and basic navigation work. |
| BS-003 | Implement brand design system and themes | Exact approved colors, dark default, persistent light toggle; accessible CSS variables. Import approved logo only if authentic art provided. |
| BS-004 | Implement homepage from primary reference | Split hero + illustration, services summary, single featured work, Why BortStack, CTA; minimal clutter; desktop/mobile reviewed. |
| BS-005 | Implement Services and About | Truthful service copy, structured sections, consistent styling. |
| BS-006 | Implement Projects gallery and case-study template | Real project status and imagery verified; no false placeholder achievements. |
| BS-007 | Implement Contact UI and Flask endpoint | Exactly four fields; robust validation, rate-limit, honeypot, Resend configuration, confirmation/error states. |
| BS-008 | Privacy/legal, SEO and accessibility | Accurate disclosures pending review, sitemap, metadata, keyboard/focus/mobile/contrast checks. |
| BS-009 | Docker, SWAG integration plan, regression tests | Reproducible local build/tests, environment examples, no secrets committed, deployment docs; no live cutover. |
| BS-010 | Final visual reconciliation and launch preparation | All approved references checked and deviations documented; brand logo, screenshots, actual contact inbox and hostname resolved prior to launch. |
| ID | Task | Gate |
| --- | --- | --- |
| BS-005 | Services and About | Truthful full page content and consistent styling |
| 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-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 |
## Lifecycle and constraints
Each phase needs its own accepted task brief with objective, scope, non-goals, measurable acceptance, dependencies and validation before engagement. Split a phase further if needed; preserve BS identifiers and traceability.
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. Green checks/local commits do not authorize merge or deployment. No automatic continuation beyond BS-004. Missing brand masters/portfolio permissions and unverified legal/domain/email/hosting remain launch gates.
BS-002 brief should include removing public account/navigation coupling and establishing the approved public route shell. BS-003 needs authentic logo assets to finalize branding. BS-007 must decouple contact service from accounts/database, replace subject with optional service and specify reliable delivery/failure behavior. BS-008 must resolve static/prerendered SEO and truthful legal content. BS-009 must adapt database-free Compose/readiness and complete isolated testtask runtime validation; production remains unauthorized.
## 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.
## BS-003 — Approved palette and persistent themes
Status: Implementation-ready; Captain review pending. Accepted by Captain’s group engagement on 2026-11-10.
Objective: approved dark-first palette, accessible light option and persistent preference before paint.
Scope: exact copied authoritative brand tokens, semantic theme utilities, sync theme-init before React, keyboard theme control, shared header/footer/type/focus, clearly labelled temporary text logo.
Non-goals: replacement logo geometry, invented light brand approval, homepage composition, later page content, external font/dependency additions.
Acceptance: first visit dark regardless of OS preference; stored light applied before React; toggle persists across reload/navigation; denied/unavailable storage does not break page/control; dark/light text and controls pass practical contrast checks; authentic logo remains pending and not reconstructed.
Validation: lint/unit/build; browser initial-theme/persistence/storage failure; desktop/mobile axe and layout. Based on BS-002 local review commit ea28637; branch bs-003, .task-worktrees/bs-003. Unmerged.
BS-003 validation: lint, 28 unit tests, production build and all 32 desktop/mobile Playwright checks passed, including preference before React, both-theme axe contrast, keyboard toggling, reload/navigation persistence and denied storage. Brand token copy byte-verified. Logo artwork finalization blocked by missing authentic master; approved text placeholder used.
Inherited npm lockfile reports 10 audit alerts (5 moderate, 3 high, 2 critical). No dependencies added or lockfile changed; follow-up requires separate scope. No claim of full WCAG compliance or production readiness.