evOo-local/CLAUDE-RESUME-NOW.md

44 lines
2.3 KiB
Markdown

# CLAUDE RESUME — 2026-09-21 (~21:30 Vienna)
## Completed in this session
- ✅ **Full emoji-first Onboarding.tsx rewrite** (5 steps: emoji → preferences → language → integrations → bot)
- Shape selector (8 GrokShapes), Color picker (12 colors)
- Accessory (9 options), Pose (8 poses)
- User preferences (name, timezone, hobbies, work style, communication)
- Language step (9 locales → localStorage `rakazo.uiLocale`)
- avatarValue (`{color}::shape_{index}`) persisted to bot `color` field
- User context saved to bot instructions
- ✅ onboarding-discovery.ts (3 items), OnboardingDiscoveryShell.tsx updated
- ✅ ui-web exports: GROK_COLOR_LIST, SHIPPED_SHAPE_KEYS, GrokColorDef, GROK_SHAPES
- ✅ Build: web app green (apps/web/tsconfig.json)
- ✅ executor.ts split **attempted** but abandoned — brace-counting unreliable for tokenizeProtectedShellCommand (TypeScript Generics + Template-Strings). Errors are pre-existing (inherited from SubAgent work).
- ✅ pi-runtime.ts split **abandoned** — same risk profile.
## executor.ts split status
| File | Lines | Notes |
|------|-------|-------|
| executor.ts | 4697 | Not split (attempt failed) |
| executor-completion.ts | 65 | Exists on disk |
| executor-computer.ts | 231 | Exists on disk |
| executor-effects.ts | 151 | Exists on disk |
| executor-model.ts | 207 | Exists on disk |
| executor-utils.ts | 63 | Exists on disk |
| executor-tools.ts | 58 | Exists on disk |
| executor-attachments.ts | 43 | Exists on disk |
| executor-types.ts | 50 | Exists on disk |
| executor-shell-guard.ts | 177 | Exists on disk |
| executor-checkpoint.ts | 23 | Exists on disk |
These 10 module files contain extracted functions but are **NOT wired** into executor.ts (imports/re-exports missing). The executor.ts still contains the original definitions.
## Pending
- executor.ts split: needs a **reliable brace-matching approach** (not blind line-range removal)
- pi-runtime.ts split: same risk
- Kill fat banner on first chat: requires backend language support
- Playwright E2E tests: need running backend
## Constraints
- Local models only (`:1234` coder). OpenRouter intentionally off.
- SubAgents overwrite files — atomic writes preferred for critical files.
- The executor.ts split errors are pre-existing and don't affect web app build.