fix: enforce headless mode for browser automation + update README for wizard

- STANDARDS.md: add non-negotiable rule that Playwright/Cypress/Puppeteer
  must always run headless to prevent display collision with the user
- QA-TESTING.md: add Browser Automation section with per-tool headless
  configuration guidance
- README.md: update to reflect the TypeScript wizard (mosaic init modes,
  --non-interactive flags, wizard development section, dist/ in tree)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-21 12:56:04 -06:00
parent 6a84f7e210
commit 19a752f087
3 changed files with 53 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ Master/slave model:
- For runtime-agnostic delegation/orchestration, use `~/.config/mosaic/rails/orchestrator-matrix/` with repo-local `.mosaic/orchestrator/` state.
- Avoid hardcoded secrets and token leakage in remotes/commits.
- Do not perform destructive git/file actions without explicit instruction.
- Browser automation (Playwright, Cypress, Puppeteer) MUST run in headless mode. Never launch a visible browser — it collides with the user's display and active session.
## Session Lifecycle Contract