PlanToCode documentation
Learn how to plan and ship code changes with PlanToCode: file discovery, implementation plans, terminal sessions, model guardrails, and voice.
Explore Documentation
Architecture & Internals
System Overview
Start here: what the system does, how the core loop works, and where each component lives.
Runtime Walkthrough
End-to-end timeline of what happens from task input to execution.
System Architecture
How the desktop shell, Rust services, server APIs, and persistence layers fit together.
Desktop App Internals
Tauri v2 shell, Rust command layer, PTY sessions, and UI state management.
Server API & LLM Proxy
Auth, provider routing, model configuration, and WebSocket endpoints.
iOS Client Architecture
Swift workflows, Auth0 login flow, and device-link session management.
Background Jobs & Orchestration
Job records, workflow orchestration, processors, and event streaming.
Data Model & Storage
SQLite entities, relationships, and how state is rehydrated.
Technical Decisions & Tradeoffs
Why Tauri, SQLite, and a dedicated LLM proxy were chosen and what they cost.
Build Your Own Pipeline
Conceptual guide for designing file discovery and plan generation workflows.
Inputs & Capture
Meeting & Recording Ingestion
How recordings become structured task inputs and artifacts.
Video Analysis
Frame sampling, prompts, and analysis artifacts from recordings.
Voice Transcription
Recording lifecycle, project-aware settings, and device management.
Text Improvement
Selection popover, job queue, and integrations for prompt cleanup.
Planning Pipeline
File Discovery Workflow
Background workflow that gathers relevant paths for each task.
Implementation Plans
How plans stream into the Monaco viewer and stay linked to plan history.
Merge Instructions
How multiple plan drafts are merged using XML-tagged source plans and user guidance.
Prompt Types & Templates
Catalog of prompt-driven job types and template assembly.
Execution & Automation
Research & Models
Build & Deployment
Dedicated Server Setup
Ansible-based infrastructure: base hardening, app deployment, and vault-managed secrets.
Tauri v2 Development Guide
Project layout, commands, and capability-based permissions for Tauri v2.
macOS Distribution
Signing, notarization, DMG packaging, and updater artifacts.
Windows Distribution & Store
NSIS builds, MSIX packaging, and Microsoft Store submission.
Ready to try these workflows?
Download PlanToCode to access the implementation planner, model guardrails, terminal sessions, and transcription features described in this documentation.