# Learnitive — Vibe Coding R8 State

Date: 2026-09-05
Schema: through migration v41.

Learnitive is a local-first browser IDE with an optional one-container-per-authenticated-user Linux development environment. Durable source stays local; `/workspace/projects/<project-id>` is the disposable active server working tree shared by Editor synchronization, Terminal, Agent, build/test, processes and Preview. Free environments last about 1 hour, Pro1 24 hours, Pro2 7 days and Pro3 30 days. Technical container loss reconstructs a fresh generation/lease from local source.

Implemented through R8: centralized authorization and authenticated sharing; project-bound collaboration grants; encrypted secrets; project PTY/commands/processes; HTTP + HMR Preview with runtime cleanup/revocation; model-invoked Agent runtime tools, checkpoints/Undo, persisted AI threads/messages/tasks/tool summaries and runtime settings; native provider SSE streaming and explicit Auto routing; sandbox CPU/memory/PID/uptime/storage observability; explicit publication snapshots, authenticated Explore and Fork; guarded canonical CMS documentation refresh; low-volume account runtime usage ledger/UI.

Verification on exact R8 source: broad server/static 354/354 PASS; runtime 10/10; capability 37/37; TypeScript/TSX syntax 207/207; frozen lock, trusted runtime, R12, Learnitive branding, TeXise provenance, installer and server/gateway syntax PASS.

Still mandatory on staging: locked production browser build; MySQL migrations through v41; real Docker one-user sandbox reuse/reconstruction and four lease tiers; kernel/filesystem hard quota; PTY/command/process/live HTTP+HMR Preview with dedicated isolated Preview origin; multi-user share/collaboration revocation; template runner + `/templates`; Learn; Apache/systemd/install.

Remaining source-level hardening: dedicated Preview-origin configuration contract and richer dynamic browser diagnostics; distinct Reset Environment; any commercial network/Preview-bandwidth accounting. External template import adapters, advanced Git Agent mutations, language servers and deeper AI+Learn are later expansion items.

## R9 — isolated Preview origin + browser diagnostics + Reset Environment
Source-level core hardening is complete for a certificate-aware isolated Preview origin, generation-bound Preview credentials, HTTP/HMR authorization, distinct Restart/Reset lifecycle semantics, and shared human/Agent browser diagnostics. Dependency-light verification is green (361 broad tests, 10 runtime, capability 40/40, 1012 TS/TSX syntax files). Production sign-off still requires staging browser build, MySQL/Docker/quota/DNS/TLS/Apache/systemd and multi-user acceptance.
