# Phase 1: Foundation and Project Scaffold - Context

**Gathered:** 2026-02-25
**Status:** Ready for planning

<domain>
## Phase Boundary

A working Tauri+SolidJS monorepo where Rust code can communicate with the webview, assets embed into the binary, GPU acceleration is enabled, and anti-aliased rendering works on Windows. Delivers a borderless frameless window with placeholder controls, bidirectional IPC, and a visual test harness proving performance. No theme system, no styled components, no animations beyond the GPU proof-of-concept.

</domain>

<decisions>
## Implementation Decisions

### Window Chrome
- Plain borderless frameless window — no styled chrome in Phase 1
- Angled corners, glow lines, and full cyberpunk chrome deferred to Phase 3
- Minimal placeholder window controls (close/minimize/maximize) — functional but unstyled
- Designated drag region at the top of the window (not drag-anywhere)
- Window is resizable from the start (no fixed size)

### IPC Bridge
- Use Tauri's built-in `#[tauri::command]` system directly — no custom abstraction layer
- Prove both directions: frontend→Rust (invoke) and Rust→frontend (events)
- Manual type definitions on each side (Rust and TypeScript separately) — no generated/shared types yet
- Claude's discretion on what visible change to use for the IPC demo

### Visual Test Harness
- Combined demo: CSS animations (rotating, fading, translating elements) + typography/geometry samples (text at various sizes, diagonal lines, curves)
- Cyberpunk-flavored styling: dark background with bright magenta accent color
- Color direction for eventual theme: "Neon CMYK" — vibrant sky blue (cyan), Cyberpunk 2077 yellow, bright magenta, white. Phase 1 uses magenta as the primary accent.
- FPS counter overlay included to visually confirm 60fps GPU acceleration

### Claude's Discretion
- Exact IPC demo interaction (color toggle, counter, etc.)
- Monorepo workspace structure and package layout
- Build tooling choices for SolidJS frontend
- Exact CSS animation choices for the GPU acceleration proof
- Anti-aliasing verification approach

</decisions>

<specifics>
## Specific Ideas

- The color palette is "Neon CMYK" — not standard CMYK but a dark-background-optimized variant where cyan is vibrant sky blue, yellow matches Cyberpunk 2077's signature yellow, magenta is bright/hot, and the fourth color is white instead of black
- Phase 1 accent color: bright magenta specifically
- FPS counter should be a small overlay in a corner, removable later

</specifics>

<deferred>
## Deferred Ideas

None — discussion stayed within phase scope

</deferred>

---

*Phase: 01-foundation-and-project-scaffold*
*Context gathered: 2026-02-25*
