-
Notifications
You must be signed in to change notification settings - Fork 0
WTL Standard Setup Guide
This guide is the operator sequence for turning an idea into a production web application using SFWA-WTL-G1. It is a governance guide, not a promise that a script can secure, approve, or operate a product on your behalf. The project owner remains responsible for architecture, code, security, testing, legal compliance, billing, and production decisions.
Start with the business purpose, users, data categories, jurisdictions, budget,
availability target, and the person accountable for release approval. Complete
the ordered files in .SYSTEMX/Unified-Setup-Process/intake/, beginning with
the project brief and ending with the launch and post-launch plan. Treat the
answers as design inputs—not as secrets or production configuration.
Choose a minimal first release. Record what is explicitly out of scope, who may access data, and what would make a deployment unsafe. For regulated, financial, health, child-data, or high-impact workloads, obtain qualified legal, privacy, and security review before collecting or processing data.
Create a repository from the template, clone it, install dependencies, and make the first working build before connecting any cloud account.
npm run wtl:setup -- --check
npm run wtl:menu
npm run dev
npm run buildSYSTEMX is a shared Node.js CLI with native launchers for macOS, Windows, and Linux/WSL. It detects the operating system and architecture, and the menu surfaces setup, quality, Firebase, Git, and deployment actions. Use the One-Line Install page for the supported platform bootstrap.
Create or select a Google Cloud project, enable billing only when the project owner approves it, and create the Firebase project and web app. Use least privilege IAM. Separate development, staging, and production projects where the risk, team size, or data classification requires it.
Before application development proceeds, decide and document:
- Firebase Authentication providers, authorized domains, MFA expectations, and account roles.
- Firestore and Storage data model, retention, backup, and Security Rules.
- Cloud Functions boundaries and service-account permissions.
- Hosting target, custom-domain ownership, DNS, monitoring, and rollback owner.
- Cost alerts, quotas, incident contacts, and offboarding procedure.
Use the detailed Environment Variables,
Security, and Architecture & Stack pages
alongside the .SYSTEMX/Template/steps/03-firebase-provision.md and
07-security-rules.md source guides.
Copy .env.example to .env.local; commit neither the local file nor server
secrets. Firebase client configuration is not a secret, but it must still match
the intended project. Keep privileged credentials, payment keys, signing keys,
and service-account material in an approved secret-management system and out of
the browser bundle. See .ENV Solutions.
Implement the smallest end-to-end vertical slice. Review authorization and data rules with the same care as UI code. Before a handoff or release, run the applicable checks:
npm run typecheck
npm run ci:lint
npm run test
npm run ci:security
npm run build
npm run sync:system:checkFix findings rather than bypassing gates. Record accepted risk, its owner, and its expiry in the project’s decision record.
Use a non-mutating preflight first, select the Firebase project deliberately, and verify the deployed result with a real user path. The deploy script can target hosting, rules, functions, or the app:
npm run deploy -- --target hosting --preflight
npm run deploy -- --target hosting --dry-run --project your-project-id
npm run deploy -- --rollback-info --project your-project-idOnly an authorized operator should run a real deployment. Review the Git diff, release notes, rules changes, monitoring, and rollback path first. The detailed workflow is in Setup & Deployment.
Production is the start of an operating commitment: monitor errors and billing, review dependencies and access, test recovery, rotate credentials when needed, and maintain documentation. Use Start & End of Day for a lightweight operating cadence and Long-Term Warnings for risk that does not disappear after launch.
The SYSTEMX Standard explains the operational model, its security boundaries, the menu and packet flow, and the limits of automation.
SFWA-WTL-G1 · Standard Firebase Web App, Wayne Tech Lab Generation 1 · Provided by Wayne Tech Lab LLC under MIT · Use at your own risk · Subject to daily change · Repository
- Home
- Quick Start
- WTL Standard Setup Guide
- One-Line Install
- Platform Matrix
- Linux Setup
- Windows Setup
- Architecture and Stack
- Project Structure
- SYSTEMX Root and Folder Standard
- Setup Playbook
- Environment Variables
- Security
- Deployment
- Testing and QA
- MCP and Agents
- GitHub Authors and Contribution Notes
- SYSTEMX WEBPORTAL
- White Paper
- Executive Summary
- CISO Note From the Founder
- Wayne Tech Lab Purpose
- Security Overview
- Long-Term Warnings
- .ENV Solutions
- Menu Operations
- Setup and Deployment
- Start and End of Day
- SYSTEMX Sync and Controlled Updates
- Agent 0 and Subagents
- Agent 0 Operating Model
- How Subagents Work
- Starter Prompts and Smart Routing
- Third-Party Responsibility
- User Ingest and Production Setup
- FAQ