BS-001 Initialize BortStack foundation and project workflow
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# Backup and Restore Decision
|
||||
|
||||
- Status: Deferred from the generic template
|
||||
- Date: 2026-08-28
|
||||
|
||||
## Decision
|
||||
|
||||
Do not ship an executable database backup/upload/scheduling system in the generic template. Every generated production application must define and validate its own backup and restore contract before launch.
|
||||
|
||||
The template's supported database is MySQL in Docker Compose, but that does not establish the storage provider, jurisdiction, recovery-point objective (RPO), recovery-time objective (RTO), retention, immutability, encryption-key custody, scheduling platform, alert destination, database scale, or operator model required for a safe reusable implementation.
|
||||
|
||||
## Reference evidence
|
||||
|
||||
The reviewed RouletteBuddy implementation demonstrates a strong application-specific pattern:
|
||||
|
||||
- consistent logical MySQL dumps;
|
||||
- encryption with an offline-controlled age identity;
|
||||
- a write-only, bucket/prefix-restricted Backblaze B2 production credential;
|
||||
- encrypted-object and plaintext-dump checksums;
|
||||
- a content-limited manifest tied to an application commit;
|
||||
- a non-root, read-only, capability-dropped one-shot container;
|
||||
- serialized systemd execution, failure notification, immutable images, retention policy, and isolated restore drills.
|
||||
|
||||
Those are useful design inputs, not a provider-neutral implementation. The reference contains application names, server paths, provider APIs, retention/RPO/RTO choices, image digests, notification assumptions, and database-version constraints that must not be copied blindly.
|
||||
|
||||
## Required generated-project decision
|
||||
|
||||
Before production, each generated project must record:
|
||||
|
||||
- data classification, residency, and regulatory constraints;
|
||||
- database engine/version and expected dump/restore size;
|
||||
- RPO, RTO, retention, immutability, and deletion requirements;
|
||||
- encrypted backup destination and least-privilege credential model;
|
||||
- encryption algorithm and separate private-key custody/recovery;
|
||||
- schedule owner, locking, monitoring, alerting, and missed-run detection;
|
||||
- exact restore target and a refusal to overwrite production by default;
|
||||
- restore verification checks and drill frequency;
|
||||
- credential, encryption-key, image, and provider-incident rotation procedures.
|
||||
|
||||
## Minimum acceptance criteria for a future implementation
|
||||
|
||||
If a generated project elects to implement this pattern, it should not be called operational until:
|
||||
|
||||
1. Plaintext exists only in bounded temporary storage and is removed on every exit path.
|
||||
2. Only encrypted objects and content-limited metadata leave the database host/network.
|
||||
3. Production upload credentials cannot read, delete, manage buckets, or escape the application prefix unless an explicit documented constraint makes that impossible.
|
||||
4. Encryption private keys are absent from production and backed up separately.
|
||||
5. Archives and decrypted dumps have verified checksums.
|
||||
6. Backup images and database clients are versioned and vulnerability-scanned.
|
||||
7. A complete restore succeeds into disposable infrastructure using separately controlled read credentials.
|
||||
8. The drill verifies schema/migration state and representative application behaviour within the stated RTO.
|
||||
9. Scheduling, retention, alerts, and recovery steps are documented and monitored.
|
||||
10. Restore tooling refuses an existing output/production target by default.
|
||||
|
||||
## Current operational warning
|
||||
|
||||
The template currently provides no database backup. A deployed generated application without a separately implemented and tested backup contract risks permanent data loss. Docker named volumes are persistence, not backup.
|
||||
@@ -0,0 +1,25 @@
|
||||
# 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.
|
||||
|
||||
## Verified
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Operational testtask
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Product limitations
|
||||
|
||||
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.
|
||||
@@ -0,0 +1,55 @@
|
||||
# BortStack public website — decision log
|
||||
|
||||
## Confirmed
|
||||
|
||||
- Name: **BortStack**; formal descriptive name as needed: BortStack Software Development.
|
||||
- Identity: business-first, not personal developer portfolio; do not invent a team.
|
||||
- Audience: broad (small business, startup, research/organisations, technical clients).
|
||||
- Main purpose: attract development clients; supporting purpose: portfolio and credibility.
|
||||
- Design: **second minimalist split-hero direction**, evolved into approved full-page dark homepage with more substantive but uncluttered below-fold content.
|
||||
- Brand: **Logo Concept 2 — Enterprise Software Platform**; exact geometry cannot change. Approved dark palette in brand docs.
|
||||
- Theme: dark default, visitor-selectable light, preference persisted.
|
||||
- Navigation: Services, Projects, About, Contact; independent marketing site.
|
||||
- Content: homepage, services, projects and case studies, about, contact, privacy/legal.
|
||||
- Portfolio: visual gallery plus selective detailed case studies using real assets.
|
||||
- Services: website development; custom software; APIs/integration; managed hosting and maintenance.
|
||||
- Contact: four fields (name, email, optional service, description) plus email alternative.
|
||||
- API Admin: **remain separate project/repository/deployment**; restyle independently later. Link from Projects and understated footer, not an extra hero CTA.
|
||||
- Tech preference: React/Vite/React-Bootstrap/SCSS; Flask contact backend; Docker/SWAG/Cloudflare; Resend.
|
||||
- Implementation workflow: project-context docs and per-task branches/worktrees; review and test before merge.
|
||||
|
||||
## Open / confirm before publishing or connecting production
|
||||
|
||||
- Obtain approved original logo art (`bortstack_enterprise_logo_concept_board.png`) and approved light mode board (`bortstack_light_mode_brand_board.png`), or exported authentic versions.
|
||||
- Confirm actual domain and DNS changes, correct API Admin public link / hostname.
|
||||
- Confirm business email inbox, Resend domain verification, desired legal disclosures and privacy retention.
|
||||
- Confirm which project(s) may be published and supply authentic screenshots/permission for each.
|
||||
- Choose actual featured project based on publishable materials (reference mockup showing RouletteBuddy is not an authorization to publish it).
|
||||
- Decide deploy target after checking capacity and separation requirements.
|
||||
- Review policy wording and legal details for Ireland prior to production.
|
||||
|
||||
## Explicitly rejected / superseded
|
||||
|
||||
- Earlier **light-first, green** website direction — superseded by approved BortStack dark-first branding.
|
||||
- Earlier highly cluttered dashboard-like homepage — rejected.
|
||||
- Extremely bare homepage — refined to include substantive sections below the fold.
|
||||
- Merging API Admin source into the public marketing site — rejected.
|
||||
|
||||
|
||||
## BS-ADR-001 — Commissioning and context workflow (2026-11-10)
|
||||
|
||||
Status: Accepted by Captain's initialization mission.
|
||||
|
||||
Use the maintained flask-react-auth-base generator and Context System 1.0 with Workflow 2.3. Retain the existing clean Git repository and `codex` integration branch; do not import template history. Generate to a fresh staging destination, then import non-conflicting foundation files into isolated BS-001 worktree while preserving handoff sources. Root context pointers lead to canonical docs/ documents. Use BS task IDs, bs-### branches and .task-worktrees/bs-### isolation. Captain controls acceptance, merges and deployment. Only BS-001 is authorized now.
|
||||
|
||||
This reconciles the existing destination with the generator's refusal to overwrite existing directories. Generator safety checks were retained; no template files or history were modified.
|
||||
|
||||
## BS-ADR-002 — Template scope is provisional (2026-11-10)
|
||||
|
||||
Status: Accepted constraints from Captain and supplied specification.
|
||||
|
||||
Inherit the established stack, not a public account product. No database by default, independent Flask contact functionality and no API Admin coupling. Retain generated code provisionally during BS-001; adapt later in explicitly scoped tasks. Existing database-backed Compose/readiness and account routes are implementation gaps, not decisions to expand the product. Generated mailbox examples are not verified business identities. Prerendering technique, contact failure strategy and deployment details remain unresolved.
|
||||
|
||||
## Reconciliation of visual and handoff discrepancies
|
||||
|
||||
The homepage reference controls atmosphere/layout, while written spec requires a single primary hero CTA. Contact reference shows Company and an illustrative email/response promise: use optional Service instead and do not publish unverified details. Generated project imagery and logos are never production assets. The newest mission supersedes CODEX_HANDOFF.md's instruction to proceed into BS-002/003.
|
||||
@@ -0,0 +1,118 @@
|
||||
# Production Deployment
|
||||
|
||||
## Architecture
|
||||
|
||||
The supported production pattern is a Hetzner-hosted Docker Compose project:
|
||||
|
||||
1. LinuxServer SWAG runs as the existing shared TLS reverse proxy on an external
|
||||
Docker network (default `swagnet`).
|
||||
2. The template's nginx container joins that network, serves the built React SPA,
|
||||
and proxies `/api/` to the private API container.
|
||||
3. Gunicorn serves Flask in the non-root API container.
|
||||
4. MySQL persists to a named volume and is reachable only on the internal network.
|
||||
5. Resend provides outbound transactional account/contact email from the generated project's `@roborto.net` product identity when explicitly enabled.
|
||||
6. Cloudflare Email Routing receives mail sent to that product address and forwards it to the captain's private mail server; this inbound path is provisioned outside the repository.
|
||||
7. GitHub Actions validates pull requests; pushes to `production` publish images
|
||||
tagged with the tested commit SHA and deploy that exact commit and image set.
|
||||
|
||||
## Server prerequisites
|
||||
|
||||
- Docker Engine with the Compose plugin.
|
||||
- A running SWAG stack and external Docker network matching `SWAG_NETWORK`.
|
||||
- A clean clone on branch `production` at the path stored in the GitHub variable
|
||||
`PRODUCTION_DEPLOY_PATH`.
|
||||
- A mode-`600` production environment file outside the repository at the path in
|
||||
`PRODUCTION_ENV_PATH`.
|
||||
- A deployment user able to run Docker without an interactive prompt and pull
|
||||
the repository's GHCR packages.
|
||||
- A verified SSH host key and dedicated deployment key.
|
||||
|
||||
Use `.env.example` only as a variable-name reference. Generate unique secrets and
|
||||
never commit the production file.
|
||||
|
||||
## Product email commissioning
|
||||
|
||||
The generator derives a product mailbox from the project slug. For example, a project named `Example Product` receives `example-product@roborto.net` as both the example Resend sender address and contact destination. The visible sender name remains independently configurable in `EMAIL_FROM`.
|
||||
|
||||
Before setting `EMAIL_DELIVERY_ENABLED=true` in production:
|
||||
|
||||
1. Confirm the generated address and reserve it for the product.
|
||||
2. Verify the required `roborto.net` sending identity and DNS records with Resend using the captain's existing domain-management process.
|
||||
3. Create the matching Cloudflare Email Routing rule and point it to the intended mailbox on the captain's private mail system.
|
||||
4. Confirm inbound delivery from an unrelated external account; a successful Resend API call does not prove inbound routing works.
|
||||
5. Send verification and password-reset messages to test users and confirm links use the production `APP_URL`.
|
||||
6. Submit the public contact form, confirm delivery to the product mailbox, and verify that replying targets the visitor address supplied through `Reply-To`.
|
||||
7. Record the sender identity, routing owner, destination owner, and test date without storing API keys, mailbox credentials, or DNS secrets in the repository.
|
||||
|
||||
Resend handles application-originated outbound mail; Cloudflare Email Routing handles inbound mail. The application does not host an SMTP receiver, read the destination mailbox, or provision either provider. Keep `RESEND_API_KEY` and all private-mail-server credentials outside Git.
|
||||
|
||||
## GitHub configuration
|
||||
|
||||
Configure these Actions secrets:
|
||||
|
||||
- `PRODUCTION_SSH_HOST`
|
||||
- `PRODUCTION_SSH_USER`
|
||||
- `PRODUCTION_SSH_PRIVATE_KEY`
|
||||
- `PRODUCTION_SSH_KNOWN_HOSTS`
|
||||
|
||||
Configure these repository or `production` environment variables:
|
||||
|
||||
- `PRODUCTION_DEPLOY_PATH`, for example `/home/deploy/example-app`
|
||||
- `PRODUCTION_ENV_PATH`, for example `/opt/example-app/.env`
|
||||
- `PRODUCTION_PUBLIC_URL`, for example `https://app.example.com`
|
||||
|
||||
The workflow refuses a dirty remote checkout or a branch other than `production`,
|
||||
fast-forwards to the tested commit, runs migrations from the immutable API image,
|
||||
and checks the local frontend plus the public health endpoint. Protect the
|
||||
`production` environment/branch where the GitHub plan permits it.
|
||||
|
||||
## SWAG
|
||||
|
||||
Adapt `ops/swag/app.subdomain.conf.sample` to the desired SWAG hostname convention.
|
||||
SWAG should proxy to the Compose `nginx` service on port 80 over the shared network.
|
||||
Do not expose MySQL. Loopback-bound ports 8081 and 5001 are provided only for
|
||||
server-local diagnostics.
|
||||
|
||||
## Manual first deployment
|
||||
|
||||
1. Copy `.env.example` to the external production path and replace every example.
|
||||
2. Create the configured MySQL database volume and external SWAG network through
|
||||
the normal Compose/SWAG lifecycle.
|
||||
3. Run `docker compose --env-file /path/to/.env config --quiet`.
|
||||
4. Start MySQL, run `flask --app api.py db upgrade` from the API image, then start
|
||||
the API and nginx services.
|
||||
5. Confirm `/api/health/live` and `/api/health/ready` locally and through the public URL.
|
||||
|
||||
## Health and logs
|
||||
|
||||
- `/api/health` and `/api/health/live` prove that Flask can serve a request; they do not query external dependencies.
|
||||
- `/api/health/ready` executes a minimal database query and returns `503` without database details when persistence is unavailable. Compose and deployment verification use this readiness endpoint.
|
||||
- Application events use one-line JSON on standard error with timestamp, severity, logger, and generic message. Account tokens, request bodies, contact contents, email addresses, credentials, and provider/database exception details must not be added to logs.
|
||||
- Container logs remain the default collection boundary. Add a host-level retention/forwarding policy before production; this template does not select an external observability vendor.
|
||||
|
||||
Use liveness for process restarts and readiness for routing/deployment gates. A healthy probe does not prove registration, email delivery, authentication, or every migration is correct.
|
||||
|
||||
## Deployment failure and rollback
|
||||
|
||||
The workflow stops on failed configuration, pull, migration, service update, or health verification. Because database migrations may be forward-only, application rollback and schema rollback are separate decisions.
|
||||
|
||||
Before each production deployment:
|
||||
|
||||
1. Confirm a recent recoverable database backup and record the current commit and immutable image tags.
|
||||
2. Review the pending migration upgrade and downgrade operations against disposable data.
|
||||
3. Confirm the previous API/nginx image tags remain pullable.
|
||||
|
||||
For an application-only rollback, set `API_IMAGE` and `NGINX_IMAGE` to the previously verified commit tags in the external environment/deployment invocation, restore the corresponding clean Git commit, run `docker compose config --quiet`, and update the API/nginx services. Do not run a database downgrade automatically.
|
||||
|
||||
If the previous application is incompatible with the migrated schema, keep the new application stopped or in maintenance mode while following a migration-specific recovery plan. Restore into disposable infrastructure first; never overwrite the production volume merely because a deployment health check failed.
|
||||
|
||||
## Security and proxy boundaries
|
||||
|
||||
- SWAG is the sole public TLS boundary. MySQL is internal-only; diagnostic API/nginx ports bind to loopback.
|
||||
- Nginx preserves the trusted upstream `X-Forwarded-Proto` value from SWAG and replaces client forwarding headers at the application boundary. Flask trusts exactly one nginx proxy hop.
|
||||
- Production startup rejects wildcard CORS, short secret keys, SQLAlchemy query logging, and insecure `SameSite=None` cookie configuration.
|
||||
- Nginx applies frame, MIME-sniffing, referrer, and browser-permission headers. Add a project-specific Content Security Policy only after inventorying required scripts, styles, fonts, frames, and external origins.
|
||||
- Review host firewalling, Docker daemon access, SSH key scope, GHCR package access, log retention, disk alerts, resource limits, and security updates before launch.
|
||||
|
||||
Production provisioning, Resend identity verification, and DNS/Cloudflare changes remain deliberate operator
|
||||
actions; this repository does not create or mutate external infrastructure.
|
||||
@@ -0,0 +1,36 @@
|
||||
# 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.
|
||||
|
||||
## Candidate
|
||||
|
||||
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.
|
||||
|
||||
## Run from project folder
|
||||
|
||||
```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.
|
||||
@@ -0,0 +1,25 @@
|
||||
# BortStack project overview
|
||||
|
||||
Roborto Context System: 1.0
|
||||
|
||||
BortStack is a software development business marketing website, primarily for project enquiries and secondarily for genuine portfolio evidence. It serves small businesses, startups, researchers/organisations and technical clients. It must not imply a large team or invent credentials, outcomes or testimonials.
|
||||
|
||||
## Approved scope
|
||||
|
||||
Public routes: `/`, `/services`, `/projects`, `/projects/:slug`, `/about`, `/contact`, `/privacy` and verified required legal disclosures. Four services: Website Development; Custom Software & Web Applications; API Development & Integration; Managed Hosting & Maintenance. No public launch prices or undefined support/uptime promises.
|
||||
|
||||
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.
|
||||
|
||||
## 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. Current inherited code also includes SQLAlchemy, MySQL, accounts, tests and CI/deployment scaffolding; these are not approved marketing functionality. 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.
|
||||
|
||||
API Admin remains a separate repository/application/deployment with no authentication, database or uptime coupling. No CMS, blog engine, customer portal, billing, marketplace, public account system or consent-dependent analytics in V1.
|
||||
|
||||
## Sources
|
||||
|
||||
PROJECT_SPEC.md and DESIGN_SPEC.md remain product/design specifications. Brand docs and reference images remain unchanged. Maintained decisions/tasks live in docs/; original handoff versions are preserved in docs/source-handoff/. Inherited runtime instructions are in TEMPLATE_README.md and deployment documents, which describe template scaffolding rather than approved production configuration.
|
||||
@@ -0,0 +1,48 @@
|
||||
# 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.
|
||||
|
||||
## BS-001 — Repository foundation and reconciliation
|
||||
|
||||
Status: Complete — Captain accepted manual testing and explicitly authorized commit/merge on 2026-11-10.
|
||||
|
||||
Objective: establish the maintained template foundation and authoritative context without website implementation.
|
||||
|
||||
Scope: inspect handoff/references/base; supported generation; preserve source documents; isolated branch/worktree; reconcile context/tasks/decisions; provision testtask and record blockers; validate structure.
|
||||
|
||||
Non-goals: BS-002+, page/theme/contact implementation, new dependencies, API Admin changes, commits, merges, production actions.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
Risk/dependency: inherited application is not yet the approved public website. Validate snapshot, runtime and cleanup before Captain acceptance.
|
||||
|
||||
## Subsequent proposed phases
|
||||
|
||||
| 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. |
|
||||
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
@@ -0,0 +1,66 @@
|
||||
# BortStack
|
||||
|
||||
This repository contains a small React/Vite frontend and Flask/SQLAlchemy API that implement a base registration and token-authentication flow. Runtime health and implementation status are documented separately from this index.
|
||||
|
||||
## Development
|
||||
|
||||
Create a local Python environment, install dependencies, migrate, and start the
|
||||
API from `api/`:
|
||||
|
||||
```bash
|
||||
python3 -m venv api/.venv
|
||||
api/.venv/bin/pip install -r api/config/requirements-dev.txt
|
||||
cd api
|
||||
.venv/bin/flask --app api.py db upgrade
|
||||
.venv/bin/flask --app api.py run
|
||||
```
|
||||
|
||||
In another terminal, start the frontend:
|
||||
|
||||
```bash
|
||||
cd react
|
||||
npm ci
|
||||
npx playwright install chromium
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Supported validation commands are:
|
||||
|
||||
```bash
|
||||
cd api && .venv/bin/pytest --cov --cov-report=term-missing
|
||||
cd react && npm run lint && npm test && npm run build && npm run test:e2e
|
||||
docker compose --env-file .env.example config --quiet
|
||||
```
|
||||
|
||||
Development defaults to SQLite and disabled email delivery. Production requires
|
||||
external configuration based on `.env.example`; see
|
||||
[`docs/DEPLOYMENT.md`](docs/DEPLOYMENT.md).
|
||||
|
||||
## Project context
|
||||
|
||||
- [Agent instructions](AGENTS.md)
|
||||
- [Project overview](docs/PROJECT_OVERVIEW.md)
|
||||
- [Current state](docs/CURRENT_STATE.md)
|
||||
- [Durable decisions](docs/DECISIONS.md)
|
||||
- [Active tasks](docs/TASKS.md)
|
||||
- [Latest handoff](docs/HANDOFF.md)
|
||||
- [Production deployment](docs/DEPLOYMENT.md)
|
||||
- [UI, accessibility, and metadata guide](docs/UI_GUIDE.md)
|
||||
- [Backup and restore decision](docs/BACKUP_RESTORE.md)
|
||||
|
||||
The repository is the source of truth. Start each new Codex or ChatGPT conversation by reading these files and then inspecting the implementation relevant to the request. Use the maintenance workflow in `AGENTS.md`; old chat transcripts and the handoff do not supersede current code.
|
||||
|
||||
## Create a new project
|
||||
|
||||
From this repository, create a clean project copy at a destination that does not
|
||||
already exist:
|
||||
|
||||
```bash
|
||||
scripts/create-project.sh "My Application" /path/to/my-application --git-init
|
||||
```
|
||||
|
||||
Omit `--git-init` to leave Git initialisation to a later step. The generator
|
||||
refuses existing destinations and projects nested inside this template. It excludes
|
||||
template-local secrets, databases, environments, dependencies, caches, build output,
|
||||
Git history, active tasks, and handoff history. The generated project receives fresh
|
||||
context documents and retains the Starfleet communication protocol in `AGENTS.md`.
|
||||
@@ -0,0 +1,25 @@
|
||||
# Template reconciliation — BS-001, 2026-11-10
|
||||
|
||||
## Provenance
|
||||
|
||||
Source: `/home/rob/projects/flask-react-auth-base`, branch codex at ff139bf5f28f4604b4a7108f4ee26608dea9924e; clean working tree at inspection. Inspected README, AGENTS, context, generator, environment example, frontend/backend manifests and entrypoints, contact/settings, Compose and deployment docs.
|
||||
|
||||
Supported invocation: `scripts/create-project.sh BortStack /tmp/bortstack-bs001-generated` without Git init. Generated copy passed the installed new-project structural validator before import. Imported into `.task-worktrees/bs-001` on branch bs-001 based on codex/1ec90a0. Existing source README/decisions/tasks/kickoff archived byte-for-byte under docs/source-handoff; original spec, design, brand tokens/decision and five references retained unchanged. Generated README retained as docs/TEMPLATE_README.md. No template history, local secrets, databases, dependencies or build artifacts imported.
|
||||
|
||||
## Conflicts and intended later work
|
||||
|
||||
| Inherited/source evidence | Approved website requirement | Disposition |
|
||||
| --- | --- | --- |
|
||||
| App.jsx AuthProvider, login/register/dashboard and auth navigation | No public accounts; independent marketing site | Provisional source only; BS-002 route/navigation adaptation; do not start now |
|
||||
| api/settings.py SQLAlchemy; account migrations; Compose MySQL; DB readiness | Flask contact only, no database by default | BS-007 contact isolation and BS-009 Compose/readiness adaptation |
|
||||
| Contact requires subject and message | Optional service; required description; four visible fields | BS-007 adapt UI/API validation and reliable delivery strategy |
|
||||
| SPA BrowserRouter and runtime metadata | Static/prerendered public SEO | BS-008 choose technique before implementation; coordinate route structure in BS-002 |
|
||||
| Generic logo, colors and dark shell, no persistent optional light mode | Approved Concept 2, exact palette, persistent themes | BS-003; master logo/companion missing, never reconstruct |
|
||||
| Generated BortStack mailbox at roborto.net; example domain | Verified business inbox/sender/domain unresolved | Examples only; do not publish or enable delivery without verification |
|
||||
| Template footer roborto.net developer mark | Approved BortStack public branding | Retain inherited attribution provisionally; reconcile its placement during later branded footer work; no replacement B artwork |
|
||||
| Production CI/SSH/GHCR/SWAG/backup scaffolding | No production action without explicit approval | Retain provisional scaffolding; not configured or production verified; BS-009/010 review |
|
||||
| Contact concept Company/email/response promise | Optional service, verified email, no invented promises | Written specification overrides illustrative content |
|
||||
| Homepage image second CTA and RouletteBuddy imagery | Single primary hero CTA and one authorized genuine project | Preserve approved composition; written constraints override generated details |
|
||||
| Historical kickoff says continue BS-002/003 | Current mission stops after BS-001 | Current Captain order governs |
|
||||
|
||||
No app behavior was adapted in BS-001 beyond the generator's standard product-name substitutions. Inherited auth/contact/security tests are not evidence that BortStack requirements pass. Live provider, email, DNS, legal, backup applicability, scaling/rate-limit storage and observability choices remain unverified/unresolved; none is automatically accepted extra work.
|
||||
@@ -0,0 +1,26 @@
|
||||
# Manual task testing
|
||||
|
||||
From `/home/rob/projects/bortstack`:
|
||||
|
||||
```bash
|
||||
./scripts/testtask.sh 001
|
||||
# Equivalent: ./scripts/testtask.sh TASK-001
|
||||
```
|
||||
|
||||
An explicit ID is required. TASK-001/001/BS-001 selects canonical BS-001 at `.task-worktrees/bs-001`. The task wrapper verifies its branch before invoking installed `roborto-testtask`. Missing tasks fail clearly. There is no root executable or implicit default.
|
||||
|
||||
Prerequisites: Bash, Git, Python 3, flock, Docker Engine/Compose accessible to your user, standalone roborto-testtask and Firefox on a graphical desktop. The first build downloads base images and locked npm/Python dependencies; subsequent builds use Docker cache. No host application dependencies need installing.
|
||||
|
||||
The engine prompts for browser; default Firefox works when installed. Its readiness URL is http://127.0.0.1:18081/; API diagnostic port is 15001. Fixed loopback ports deliberately prevent simultaneous conflicting runtimes. Keep the terminal running; press Ctrl-C to stop its browser/processes and remove only `bortstack-testtask-001` containers/network. Images remain cached. Nothing connects to SWAG or production services.
|
||||
|
||||
## Snapshot
|
||||
|
||||
`scripts/create-test-snapshot.py 001` can also run independently from the BS-001 task worktree. `testtask` invokes it automatically before every build. It copies Git-listed tracked and non-ignored untracked files including local edits/deletions, excludes secret/local/runtime paths, rejects symlinks and verifies copied content against source SHA-256 hashes. No commit or checkout is required.
|
||||
|
||||
The test-only copy lives in the task worktree’s `.test-worktrees/task-001/`, with `.roborto-test-snapshot.json` recording source, task, branch and per-file hashes. It is not a Git editing worktree. Only snapshots bearing matching ownership metadata may be refreshed; unknown directories are refused. The snapshot is retained for inspection after runtime cleanup. Rerun testtask after edits to refresh it; a snapshot represents the source at preparation time only. Never edit the snapshot.
|
||||
|
||||
## 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 BortStack homepage is not implemented yet.
|
||||
|
||||
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.
|
||||
@@ -0,0 +1,56 @@
|
||||
# Generic UI, Accessibility, and Metadata Guide
|
||||
|
||||
This is a template foundation, not a complete design system. Generated projects must replace branding, public copy, legal placeholders, and metadata before production.
|
||||
|
||||
## Branding and theme
|
||||
|
||||
- Change the application name, default title, title template, and description in `react/src/config/site.js`.
|
||||
- Change the baseline HTML metadata and theme color in `react/index.html`.
|
||||
- Maintain shared Sass colors and surface/focus tokens in `react/src/styles/colors.scss`; component-specific layout remains in CSS modules beside the component.
|
||||
- Supply product and developer assets with useful alternative text or an accessible link label. Do not use a logo as the only readable product name without an accessible equivalent.
|
||||
- The inherited developer identity is configured under `site.developer` in `react/src/config/site.js`; change its name, URL, asset path, and accessible link label together if a generated project uses a different developer identity.
|
||||
|
||||
The generator replaces the generic application name in the HTML title, logo, and site configuration. Product descriptions, colors, icons, and images remain an explicit generated-project task.
|
||||
|
||||
## Page structure and responsive behaviour
|
||||
|
||||
- Keep one descriptive `h1` in each primary page view and use headings in order.
|
||||
- Use semantic `main`, `article`, `section`, `nav`, `header`, and `footer` elements where their meaning applies.
|
||||
- Preserve the global skip link and `#main-content` target in `react/src/App.jsx`.
|
||||
- Build mobile-first. Check at approximately 320 px, 768 px, and a representative desktop width without treating those widths as a fixed support matrix.
|
||||
- Avoid fixed heights around content that can wrap, translate, or expand. The header deliberately uses `min-height` so collapsed navigation can grow.
|
||||
|
||||
## Forms and interaction
|
||||
|
||||
- Every input needs a programmatically associated visible label unless an equally clear accessible-name pattern is justified.
|
||||
- Provide client and server validation, disabled/loading submission controls, an error with `role="alert"`, and success/progress text with `role="status"` where appropriate.
|
||||
- Errors must not reveal whether an account exists when that would enable enumeration.
|
||||
- All actions must be keyboard reachable. Preserve the global `:focus-visible` indicator.
|
||||
- Respect `prefers-reduced-motion`; do not add essential information that depends only on animation, color, hover, or pointer input.
|
||||
- Recheck foreground/background contrast after changing shared theme values.
|
||||
|
||||
## Metadata, indexing, and public URLs
|
||||
|
||||
`react/src/components/PageMeta/PageMeta.jsx` controls the runtime title, description, and robots directive. Public informational pages may be indexed; login, registration, account-action, protected, error, and other private or utility pages must use `noIndex`.
|
||||
|
||||
`react/public/robots.txt` is deliberately domain-neutral. Before production:
|
||||
|
||||
1. Confirm which routes are genuinely public and useful to search engines.
|
||||
2. Decide whether the SPA deployment needs prerendering or server rendering for the target crawler requirements. Runtime metadata alone does not guarantee crawler discovery.
|
||||
3. Generate a sitemap containing only canonical public URLs after the production origin is known.
|
||||
4. Add the absolute sitemap URL to `robots.txt`.
|
||||
5. Add canonical and social-sharing metadata using confirmed production URLs and project-owned assets.
|
||||
|
||||
Do not place secrets, analytics identifiers, private routes, reset or verification tokens, or user-specific URLs in metadata or sitemaps.
|
||||
|
||||
## Legal placeholders
|
||||
|
||||
`react/src/views/Legal/Privacy.jsx` and `react/src/views/Legal/Terms.jsx` are warnings/placeholders only. They are not legal advice and are not production policies. Replace them following project-specific review of jurisdiction, users, data processing, providers, retention, cookies, and applicable law.
|
||||
|
||||
## Validation checklist
|
||||
|
||||
- Run `npm test`, `npm run lint`, and `npm run build` from `react/`.
|
||||
- Test keyboard-only navigation, skip-link visibility, focus order, form errors, loading states, and navigation expansion.
|
||||
- Inspect representative mobile, tablet, and desktop viewports.
|
||||
- Inspect page titles, descriptions, robots directives, and the production `robots.txt` response.
|
||||
- Use a suitable accessibility scanner when available, then manually review semantics and interaction; automated checks are not sufficient by themselves.
|
||||
@@ -0,0 +1,18 @@
|
||||
# Codex kickoff prompt (paste into Codex in the website repository)
|
||||
|
||||
Captain-approved mission: implement the **BortStack public marketing website**, using this handoff package as the project spec. Do not start by redesigning the brand or importing API Admin.
|
||||
|
||||
Read `README.md`, `PROJECT_SPEC.md`, `DESIGN_SPEC.md`, `DECISIONS.md`, `TASKS.md`, `brand/BORTSTACK_BRAND_DECISION.md`, `brand/bortstack-brand-tokens.css`, and the five `assets/references/` images. The homepage preview is the primary visual reference. Follow the user's installed project-context/new-project skills and established Star Trek-flavoured workflow, respecting task-scoped branches/worktrees and review gates.
|
||||
|
||||
Start with BS-001 repository context/bootstrap, then BS-002 and BS-003 as separately scoped work. Respect any existing project structure and instructions. Do not implement all tasks at once. Before each phase, briefly summarize the intended changes and potential blockers. Update repository context documents as required.
|
||||
|
||||
Hard constraints:
|
||||
- Do not invent/recreate the **approved layered B**. Master artwork is missing from this package. Make its absence explicit and leave a clearly labelled placeholder until authentic artwork is supplied.
|
||||
- Dark is the default; optional light mode must persist without flashing.
|
||||
- Follow the spacious approved homepage rather than earlier cluttered/light-green mockups.
|
||||
- Never present generated illustration screens as screenshots of real projects.
|
||||
- Four-field enquiry form only (name, email, optional service, description); business email alternative.
|
||||
- No API Admin merger, no public admin platform, CMS, fake testimonials, secrets, or production deploy without approval.
|
||||
- Keep code changes minimal, test, document, and request review before merge.
|
||||
|
||||
Report which files/tasks you changed, checks completed, and unresolved blockers at each milestone.
|
||||
@@ -0,0 +1,36 @@
|
||||
# BortStack public website — decision log
|
||||
|
||||
## Confirmed
|
||||
|
||||
- Name: **BortStack**; formal descriptive name as needed: BortStack Software Development.
|
||||
- Identity: business-first, not personal developer portfolio; do not invent a team.
|
||||
- Audience: broad (small business, startup, research/organisations, technical clients).
|
||||
- Main purpose: attract development clients; supporting purpose: portfolio and credibility.
|
||||
- Design: **second minimalist split-hero direction**, evolved into approved full-page dark homepage with more substantive but uncluttered below-fold content.
|
||||
- Brand: **Logo Concept 2 — Enterprise Software Platform**; exact geometry cannot change. Approved dark palette in brand docs.
|
||||
- Theme: dark default, visitor-selectable light, preference persisted.
|
||||
- Navigation: Services, Projects, About, Contact; independent marketing site.
|
||||
- Content: homepage, services, projects and case studies, about, contact, privacy/legal.
|
||||
- Portfolio: visual gallery plus selective detailed case studies using real assets.
|
||||
- Services: website development; custom software; APIs/integration; managed hosting and maintenance.
|
||||
- Contact: four fields (name, email, optional service, description) plus email alternative.
|
||||
- API Admin: **remain separate project/repository/deployment**; restyle independently later. Link from Projects and understated footer, not an extra hero CTA.
|
||||
- Tech preference: React/Vite/React-Bootstrap/SCSS; Flask contact backend; Docker/SWAG/Cloudflare; Resend.
|
||||
- Implementation workflow: project-context docs and per-task branches/worktrees; review and test before merge.
|
||||
|
||||
## Open / confirm before publishing or connecting production
|
||||
|
||||
- Obtain approved original logo art (`bortstack_enterprise_logo_concept_board.png`) and approved light mode board (`bortstack_light_mode_brand_board.png`), or exported authentic versions.
|
||||
- Confirm actual domain and DNS changes, correct API Admin public link / hostname.
|
||||
- Confirm business email inbox, Resend domain verification, desired legal disclosures and privacy retention.
|
||||
- Confirm which project(s) may be published and supply authentic screenshots/permission for each.
|
||||
- Choose actual featured project based on publishable materials (reference mockup showing RouletteBuddy is not an authorization to publish it).
|
||||
- Decide deploy target after checking capacity and separation requirements.
|
||||
- Review policy wording and legal details for Ireland prior to production.
|
||||
|
||||
## Explicitly rejected / superseded
|
||||
|
||||
- Earlier **light-first, green** website direction — superseded by approved BortStack dark-first branding.
|
||||
- Earlier highly cluttered dashboard-like homepage — rejected.
|
||||
- Extremely bare homepage — refined to include substantive sections below the fold.
|
||||
- Merging API Admin source into the public marketing site — rejected.
|
||||
@@ -0,0 +1,38 @@
|
||||
# BortStack marketing website — Codex handoff
|
||||
|
||||
**Prepared:** 2026-11-10
|
||||
**Status:** Ready for repository bootstrap / phased implementation; some assets and deployment choices remain unresolved.
|
||||
|
||||
## Read this first
|
||||
|
||||
This package contains the approved scope and visual references for the *public BortStack marketing website*. It does **not** contain the source code for that website, or authorize changing the separately deployed API Admin application.
|
||||
|
||||
1. Read `brand/BORTSTACK_BRAND_DECISION.md` (authoritative brand decision).
|
||||
2. Read `PROJECT_SPEC.md`, `DESIGN_SPEC.md`, `DECISIONS.md`, and `TASKS.md`.
|
||||
3. Inspect `assets/references/`; use the homepage image as the **primary layout / aesthetic reference** and other pages as secondary references. These are generated concepts, **not production assets** and not authoritative logos or screenshots.
|
||||
4. Locate and import the **original approved Concept 2 logo** before finalizing branded assets. It is **not included here**. Do not trace or invent a replacement layered B.
|
||||
5. Apply the user's `roborto-project-context` skill (including retrofitting if using an existing repository) and `roborto-new-project` workflow where applicable. Use the repository's actual versions and instructions, not guessed syntax.
|
||||
6. Start with a dedicated branch/worktree; work by independently reviewable tasks. Test before merge.
|
||||
|
||||
## Package contents
|
||||
|
||||
- `PROJECT_SPEC.md` — purpose, pages, features, scope and acceptance criteria.
|
||||
- `DESIGN_SPEC.md` — visual references, layouts, themes, responsive behaviour.
|
||||
- `DECISIONS.md` — confirmed decisions and open issues.
|
||||
- `TASKS.md` — ordered implementation tasks and checkpoints.
|
||||
- `CODEX_HANDOFF.md` — ready-to-use Codex kickoff prompt.
|
||||
- `brand/BORTSTACK_BRAND_DECISION.md` — exact approved brand decision, unchanged.
|
||||
- `brand/bortstack-brand-tokens.css` — approved palette source, unchanged.
|
||||
- `assets/references/*.png` — five selected page design previews.
|
||||
|
||||
## Missing authoritative assets
|
||||
|
||||
- `bortstack_enterprise_logo_concept_board.png` — original approved dark Concept 2 board.
|
||||
- `bortstack_light_mode_brand_board.png` — approved companion light-background board.
|
||||
- Prefer actual approved vector/transparent logo exports derived from those originals if available.
|
||||
|
||||
The images in `assets/references/` may contain generated approximations of the logo and illustrative project screenshots. **Do not treat either as source of truth.**
|
||||
|
||||
## Non-goals
|
||||
|
||||
Do not import `api-admin.zip` or `pitchinvader` source into the website repository. Do not create a CMS, marketplace, customer portal or new business management platform.
|
||||
@@ -0,0 +1,32 @@
|
||||
# Implementation plan — BortStack marketing website
|
||||
|
||||
Status: **proposed**. Synchronize with the repo's authoritative TASKS.md via the installed project-context skill. Implement in separate reviewable task branches/worktrees, not one long unchecked change.
|
||||
|
||||
| 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. |
|
||||
|
||||
## Workflow per task
|
||||
|
||||
1. Read context and current state; choose one scoped task.
|
||||
2. Create task-specific branch/worktree using repository skill conventions.
|
||||
3. Implement with minimal blast radius; document design deviations.
|
||||
4. Run checks, test UI at mobile/desktop and both themes; exercise contact failure paths when applicable.
|
||||
5. Update project state, decisions and handoff documents.
|
||||
6. Seek review; merge only after acceptance. Never deploy or modify live DNS as a side effect.
|
||||
|
||||
## Hard blockers vs non-blockers
|
||||
|
||||
- **Can start now:** scaffolding, structure, CSS variable system, basic site pages using *marked* temporary placeholders.
|
||||
- **Cannot finalize brand implementation without:** original approved logo art.
|
||||
- **Cannot claim verified portfolio work without:** actual screenshots and permission.
|
||||
- **Cannot go live without:** confirmed email/domain, privacy/legal review, deployment approval.
|
||||
Reference in New Issue
Block a user