Validation & Source Control
Key facts
- StageValidation — stage 5 of the pipeline.
- GatesTypecheck, vitest, build, Playwright smoke. P0 filter blocks regressions.
- Checkpoint500 files / 5 MB / 256 KB-per-file caps; local SQLite; Git-independent.
Pipeline stages this surface serves
What it does
Compile + test gates
Detected typecheck, lint, test, and build:renderer commands feed the prompt's Validation section; the Compile pane runs them. Full electron build stays in the embedded terminal under user control.
evidence ·
electron/chat/ipc/compileIpc.ts · testIpc.tsPlaywright validation
Runtime smoke runs verify the running app did not break before the loop declares done.
evidence ·
electron/ipc/playwright.tsFile-level checkpoints
A local snapshot is taken on every chat:send (500 files / 5 MB / 256 KB-per-file caps), restorable via the Restore pane. Git-independent.
evidence ·
electron/ipc/checkpoints.ts · src/components/RestorePanel.tsxGit surface
isRepo, status, branches, remotes, checkout, createBranch, push, fetch, log. Live branch badge in the terminal tab bar; commits stay gated behind approval.
evidence ·
electron/ipc/git.ts · src/components/GitPanel.tsxTool-feedback telemetry (local)
Route outcomes and tool feedback persist to local SQLite only — no analytics SDK, no phone-home.
evidence ·
electron/chat/toolFeedback.ts · routeOutcome.ts
Surfaces
Screenshots captured in a later phase. Frame names + intended dimensions shown today.
electron/chat/ipc/compileIpc.ts · electron/ipc/playwright.tselectron/ipc/checkpoints.ts:1-31 · src/components/RestorePanel.tsxelectron/ipc/git.ts · src/components/GitPanel.tsxEvidence
Every claim on this page traces to a file in the desktop app repository.
electron/chat/ipc/compileIpc.tselectron/chat/ipc/testIpc.tselectron/ipc/playwright.tselectron/ipc/git.tselectron/ipc/checkpoints.tssrc/components/GitPanel.tsxsrc/components/RestorePanel.tsx