Skip to content

Claude/add claude prompt docs r mz39#4

Merged
ProfessorManhattan merged 3 commits intomainfrom
claude/add-claude-prompt-docs-rMZ39
Feb 22, 2026
Merged

Claude/add claude prompt docs r mz39#4
ProfessorManhattan merged 3 commits intomainfrom
claude/add-claude-prompt-docs-rMZ39

Conversation

@ProfessorManhattan
Copy link

Summary

Definition of Done

  • Shipped: Merged + deployed
  • Tested: Jest unit + integration tests pass; Cypress E2E tests pass
  • Logged: Funnel events + audit log entries where applicable
  • Secured: Zod validation, RBAC, rate limits, sanitization
  • Documented: SETUP.md updated if keys/config changed

Test Plan

Checklist

  • No secrets/PII in code or logs
  • Idempotent webhook/job handlers
  • Request size limits enforced
  • Error handling with typed AppError
  • Structured logs with request_id

…scroll

- Rewrite CLAUDE.md to integrate the master Claude Code prompt with 23
  parts covering: mission, architecture, Cloudflare-first patterns,
  AI-native requirements, Zod + error handling, TDD, E2E coverage gates,
  quality gates, CI/CD, and verification log templates

- Add comprehensive E2E test suite (96 tests across 14 spec files):
  app-shell (14), chat-interface (8), chat-history (6),
  chat-persistence (5), chat-streaming (4), code-editor (5),
  deployment (8), error-handling (9), file-management (8),
  git-integration (3), preview-terminal (8), provider-config (7),
  settings (8), starter-templates (3)

- Add e2e/FEATURES.md with full feature inventory (60+ features across
  10 product areas) and e2e/COVERAGE.yml mapping every feature to specs

- Add e2e/playwright.config.ts and e2e/fixtures.ts with custom fixture
  that blocks external CDN requests for deterministic tests

- Fix checkout modal scroll: change overflow:hidden to overflow-y:auto
  on #checkout-modal and #billing-portal-modal so Stripe embedded
  checkout content can be scrolled; make header sticky with z-index

- Fix .site-card z-index: add z-index: 9 to .site-card CSS

https://claude.ai/code/session_01QdWrDGmo1Y7QJTCYmfjMeU
Replace the 11,000-line vanilla JS monolithic index.html with a proper
Angular 19 SPA using standalone components, PrimeNG theming, and
lazy-loaded routes.

Architecture:
- Angular 19 standalone components (no NgModules)
- PrimeNG 21 with Aura dark theme preset
- Lazy-loaded routes for each screen (search, signin, details, waiting, admin)
- Reactive services using Angular signals for state management
- RxJS for search debouncing and API polling

Components migrated:
- Search (homepage): business search with debounce, Google Places results,
  pre-built site detection, geolocation distance sorting
- Sign-in: Google OAuth + magic link email auth
- Details: business info form with selected business badge, additional
  context textarea, build submission
- Waiting: terminal-style build progress with step indicators, live
  polling, auto-redirect on publish
- Admin dashboard: site grid with preview iframes, inline editing,
  domain management modal, logs timeline, delete confirmation

Services:
- ApiService: typed HTTP wrapper for all 30+ API endpoints
- AuthService: session management with localStorage persistence
- GeolocationService: Haversine distance calculation
- ToastService: notification system with auto-dismiss

Worker changes:
- Added SPA fallback in marketing site serving (serves index.html for
  Angular client-side routes like /admin, /signin, etc.)

Build output: 484kB initial (117kB gzipped), with code-split lazy chunks
for each page route.

https://claude.ai/code/session_01QdWrDGmo1Y7QJTCYmfjMeU
@ProfessorManhattan ProfessorManhattan merged commit c39198f into main Feb 22, 2026
6 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants