Projects
Last reviewed November 15, 2026 (checked against the app).
The Projects system is the organizational backbone of CPLai. Every project is a container that ties together a codebase, AI-generated plans, terminal sessions, chat conversations, agents, and parallel races into a single workspace. The Plans system layers on top, giving you a structured pipeline from idea to working code: describe what you want, let AI interview you, generate a phased plan, then execute it with AI agents - automatically.
Where to find it: Projects is not in the sidebar and has no number shortcut. Open a company from Companies and choose its Projects tab, or search "Projects" in the Command Palette (Ctrl+K). After you pick a workspace, the Repo breadcrumb at the top of the page also has a Create New Repo action.
For current project creation, linked-repo behavior, company roots, and agent workspace paths, start with Project Setup.
The Plan-to-Code Pipeline
This is the core workflow that makes CPLai more than just a chat interface. Here is how an idea becomes working code:
Describe your idea
|
v
AI Interview (clarifying questions)
|
v
Structured Plan (phases, steps, acceptance criteria)
|
v
Auto-Launch or Race (agents execute phases)
|
v
Prerequisite Detection (pauses if API keys/secrets needed)
|
v
Project Advisor (helps resolve blockers)
|
v
Phase Completion (checkboxes auto-tick, progress tracked)
|
v
Pick Winner / Commit
Each step is explained in detail below.
How do I create a project?
- Open a company from Companies and choose its Projects tab. You can also open the Projects page from the Command Palette.
- Click the New Project button.
- Fill in the dialog:
- Project Name (required) - A short name for your workspace. If you pick a directory first, the folder name auto-fills here.
- Repository (required) - Choose between two modes:
- Existing Repo - Browse to a directory that already contains your code. CPLai links to it in place and validates that the directory exists.
- New Repo - Specify a path where CPLai will create the directory and run
git initfor you.
- Company (optional but recommended for agent work) - Link the project to the company that owns it. When you choose New Repo and a company, CPLai suggests a folder under that company's data root.
- Description (optional) - A short summary of what the project is about.
- Click Create Project. CPLai creates the project and sets it as active.
- The Memory Files Wizard opens next. It creates or updates
CLAUDE.md,AGENTS.md, andGEMINI.mdin the repository so CLI sessions know how to use CPLai. Choose which files to manage, add any custom instructions, and click Generate / Update Files, or click Close to skip. Only the CPLai block in each file is touched. You can reopen it later with the Memory Files button in the project header. See Agent Memory Files.
Tip: The repository directory is what connects your project to real code. Terminal sessions open in this directory. Phase launches write context files here. Agents read and modify files here. Always point it at your actual codebase root.
Linked vs created projects
| Mode | What CPLai does | Best for |
|---|---|---|
| Existing Repo | Links to the folder where it already lives | Product repos, imported client projects, and anything you manage outside CPLai |
| New Repo | Creates the folder, creates scratch parents, and initializes git if needed | Fresh projects started from CPLai |
Company-owned new projects live under the company's data root by default. Linked projects stay in their original folder.
Projects appear in a grid or list view on the Projects page. Right-click a project card for Edit Project or Remove from CloudPeakLabs. On a company's Projects tab, right-click a card and choose Delete Project.
How do I change a project's settings?
In the desktop app, open the project and click Edit Project in the header (or right-click its card on the Projects page and choose Edit Project). The Project Settings dialog opens. Change what you need and choose Save Changes. The web dashboard does not have this dialog; it shows an Isolated runs badge when worktree isolation is on.
| Setting | What it does |
|---|---|
| Project Name, Repository Path, Description, Company | The basics from when the project was created. |
| GitHub Repo | The GitHub repo this project belongs to, as owner/name. CPLai fills it in from the folder's git remote. Type a different owner/name to override it, for example when the folder has no remote yet. Leave it empty to use the folder's remote. The PR mailbox uses this to show the repo under the project's company. |
| Isolate agent runs in worktrees | Each agent run works in its own copy of the repository, so one agent's reset or checkout never touches another's uncommitted work. The copy starts from the latest commit on the repository's default branch, fetched when the run starts, not from whatever branch the project folder has checked out. The run shares the project folder's installed packages only when its lockfile matches; otherwise the agent installs its own. |
| Per-agent git commit identity | Commits from agent runs carry the agent's name, so you can tell which agent made each commit. Leave it off when the project must commit under one identity. |
If the save fails, the dialog stays open and shows why, so a change is never lost without notice.
Is my project folder up to date?
A project's folder can drift: left on a feature branch after it merged, or on a main that was never pulled. CPLai's own checks (Vulnerability Watch, Councils, isolated agent runs) always read the latest main branch themselves, but you and your sessions work in the folder.
The Project folder card shows where the folder stands. It's in the desktop Project Settings dialog and on the web project page's Git tab:
- Which branch the folder is on, and how far behind (or ahead of) the project's main branch it is, for example "On fix/homepage, 51 commits behind origin/main". The main branch is the project's landing branch when one is set, otherwise the repo's default on GitHub.
- Uncommitted changes, apart from CPLai's own
AGENTS.md,CLAUDE.mdandGEMINI.md. - The last fetch. Every 6 hours CPLai fetches each project's main branch from GitHub, so the numbers stay current. It only updates CPLai's copy of what's on GitHub, and never changes your files or branches. Turn it off in Settings > Files & storage > Project folders.
Switch to main (or Update main, when the folder is already on main but behind) moves the folder to the main branch and brings it up to date. It always asks first, because anything open in the folder will then see main's files. The old branch is kept. It won't run when:
- the folder has uncommitted changes (commit them or put them aside first), or
- your local main has commits that aren't on GitHub.
Only a person can switch a folder; agents can't.
The Project Workspace (3-Pane Layout)
When you select a project, the workspace opens with three resizable panes:
+------------------+-------------------------+------------------+
| | | |
| Plan Viewer | Dashboard | Project Sidebar |
| (left pane) | (center pane) | (right pane) |
| | | |
| 260-500px wide | flexible | 300-700px wide |
| resizable | | collapsible |
| | | |
+------------------+-------------------------+------------------+
- Left pane (Plan Viewer): Shows the active plan as an interactive accordion. Drag the right edge to resize between 260px and 500px.
- Center pane (Dashboard): Project stats, recent activity, quick actions, agents, and V0 generations.
- Right pane (Project Sidebar): The Project Advisor chat and previous interview transcripts. Drag the left edge to resize between 300px and 700px. Collapse/expand with
Ctrl+\.
Tip: The sidebar starts collapsed each time you open a project. Click Open Sidebar (the arrow at the right of the header) or the Advisor button above the terminal to open it.
The Project Dashboard
The center pane shows a dashboard with several sections:
Stats Row
- Active Races - How many parallel races are currently running for this project.
- Completion - Percentage of plan steps completed.
- Races Run - Total races executed for this project.
- Terminals - Number of open terminal tabs.
Plans Section
Plans are listed at the top of the left pane, not on the dashboard, with a completion percentage on each row. From the workspace you can:
- New Plan - Click New Plan in the header or the + next to Plans in the left pane to open the Plan Builder (AI interview).
- Import - Click Import in the header to paste markdown or load a
.md/.txtfile. - Click a plan row to show it in the left pane. Click the active row again to hide or show its content.
- Click the pencil on the active plan row to open the Plan Editor.
The dashboard below the stats row also shows a Timeline of recent races and a Chats list of conversations linked to the project.
Agents Section
Agents scoped to this project are displayed here, organized by team. You can:
- Hire agents from templates.
- Hire an entire capability team into the project.
- Awaken a custom agent with the wizard.
- Launch (or stop) and chat with existing agents. To edit an agent, open it from the Agents page or the company's Agents & Teams tab.
- See active/completed agent runs with status indicators.
The Hire button opens a project-scoped hiring modal when the project is linked to a company. From there you can choose a capability, hire one template role, or hire the whole team. New agents inherit the selected project and use the project repository as their working directory.
Tip: Link the project to its company before using project hiring. The hire flow needs the company for templates, capabilities, skills, schedules, and starter tickets.
V0 Generations
If you have a v0 API key configured, this section shows v0.dev UI generation sessions linked to your project.
Deploy
The project dashboard has no deploy button. To publish a folder or file to Vercel in the desktop app, open the Files browser from the sidebar (not the workspace Files editor), right-click the item, and choose Deploy to Vercel.
How do I create a plan?
There are four ways to create a plan:
1. Plan Builder (AI Interview Mode)
This is the recommended approach for new features or projects.
- Click New Plan in the workspace header or the + next to Plans in the left pane.
- Describe your idea in the text area. Be as brief or detailed as you want.
- Choose an AI model from the dropdown (defaults to Claude Sonnet 5.5).
- Click Launch Plan Builder.
What happens next:
- If your project has a repository directory, CPLai automatically scans the project for key files:
README.md,package.json,tsconfig.json,Cargo.toml,pyproject.toml, andCLAUDE.md. It also builds a file tree (3 levels deep, skippingnode_modules,.git,dist, etc.). - This context is sent to the AI alongside your description.
- The AI asks clarifying questions about requirements, constraints, scope, and technical approach.
- You answer in the chat. The conversation continues until the AI has enough information.
Commands during the interview:
| Command | What it does |
|---|---|
/generate |
Tell the AI to stop asking and generate the plan now |
/detail |
Add more detail about a specific aspect |
/scope |
Define scope boundaries |
/constraint |
Add a constraint the AI should respect |
/reference |
Point the AI at a specific file for context |
/skip |
Skip the current question (let AI decide) |
You can also use the quick-reply buttons that appear below each AI message.
When the interview is complete, the AI generates a structured plan. CPLai saves it and derives a title from the content. When you started from the Projects page, the plan opens in the Plan Editor for review. When you started from a company's Projects tab, you return to the workspace and the new plan appears in the left pane.
Tip: The interview conversation is saved by the CPLai service and appears in the Project sidebar under Plan Interviews. You can revisit old interviews later.
2. Import Plan
- Click Import in the workspace header.
- Enter a name for the plan.
- Either:
- Paste markdown content directly into the text area, or
- Click Load File to pick a
.mdor.txtfile from disk.
- Click Create Plan (Import Plan when you opened the project from a company's Projects tab). The plan goes straight to the Plan Viewer.
3. Chat-to-Plan Conversion
If you have been discussing a feature in the Chat page and want to turn that conversation into a structured plan, you can convert it. In the desktop app, right-click the conversation in the Chat sidebar and choose Convert to Plan. The AI extracts requirements, phases, and steps from the conversation content.
The plan is added to the currently active project. If no project is active, CPLai creates a new project named after the conversation and adds the plan there. The web dashboard does not have this action.
4. Direct Editing
You can also write plan markdown by hand in the Plan Editor or paste it from any source.
5. Agent-Submitted Plans (API)
Agents and CLI sessions (Claude Code, Codex, Antigravity) can submit plans to the board through the CPL API (POST /api/projects/{id}/plans). These plans are tagged with source='terminal' so the board knows they came from an automated source.
When the board loads, it detects freeform (unstructured) terminal-submitted plans and automatically converts them into phased plans using an AI model. The conversion:
- Extracts a goal, requirements, and phases with concrete steps from the freeform text.
- Saves the structured version back so the board can display it with progress bars, launch controls, and checkboxes.
- Runs once per plan - if the plan is already structured (has phase headings), it is left as-is.
- Is best-effort - if the conversion fails, the freeform plan stays visible on the board without phases.
Plans authored in the desktop Plan Builder or imported manually are never auto-structured.
Tip: If an agent's plan appears on the board without phases, open it in the Plan Editor and add
## Goal/### Phase N:headings manually. The board will pick up the structure on the next load.
Live Board Refresh
The plan board updates in real time. When a plan is created, modified, or deleted - whether from the desktop, the API, or an agent CLI session - the board reloads automatically. There is no manual refresh needed and no polling delay.
This means you can have an agent running in a terminal tab that submits a plan via the API, and the plan appears on your project board within a second.
Plan Formats
CPLai auto-detects two plan formats and renders them differently:
Structured (PRD-style)
Plans with a ## Goal heading are treated as structured plans. These have standardized sections:
## Goal
Build a user authentication system with OAuth support.
## Requirements
1. Email/password registration
2. Google OAuth integration
3. Session management with JWT
## Constraints
- Must work with existing PostgreSQL database
- No third-party auth services (self-hosted)
## Acceptance Criteria
- [ ] Users can register with email/password
- [ ] Users can sign in with Google
- [ ] Sessions expire after 24 hours
## Technical Notes
Use bcrypt for password hashing. Store refresh tokens in httpOnly cookies.
## Reference Files
- src/lib/auth.ts
- src/middleware/session.ts
## Phases
### Phase 1: Database Schema
- [ ] Create users table with email, password_hash, provider columns
- [ ] Create sessions table with token, user_id, expires_at
- [ ] Add migration scripts
### Phase 2: Auth Endpoints
- [ ] POST /auth/register - email/password registration
- [ ] POST /auth/login - email/password login
- [ ] POST /auth/google - Google OAuth callback
- [ ] POST /auth/logout - session invalidation
### Phase 3: Frontend Integration
- [ ] Login/register forms
- [ ] Google sign-in button
- [ ] Auth state management in Zustand store
The Plan Viewer renders each phase as a collapsible accordion section with checkboxes, progress bars, and launch controls.
Task-oriented
Plans with ### Task N: headings are treated as task plans:
### Task 1: Setup Database
**Files:**
- Create: `src/db/schema.ts`
- Create: `src/db/migrations/`
- [ ] Define user schema
- [ ] Create migration file
- [ ] Test with seed data
### Task 2: API Routes
**Files:**
- Modify: `src/routes/auth.ts`
- [ ] Register endpoint
- [ ] Login endpoint
- [ ] Logout endpoint
Each task becomes an expandable card with file badges, step checkboxes, and action buttons (Race, Chat, Shell).
To get file badges, put **Files:** on its own line, list one file per line as - Create:, - Modify:, - Test:, or - Read: followed by the path in backticks, then leave a blank line before the steps. File names written on the same line as **Files:** do not become badges.
The Plan Viewer (Left Pane)
The Plan Viewer renders your active plan as an interactive interface.
For Structured Plans
Progress bar at the top shows total completed steps out of total steps.
Phase accordion: Each phase is a collapsible section showing:
- Phase name
- Step count (e.g., "3/7")
- Status indicator:
- Running (animated pulse) - An agent is actively working on this phase
- Complete (green checkmark) - All steps finished
- Done - Phase execution completed successfully
- Failed (orange text) - Phase execution failed, with reason
- Racing (amber sword icon) - Phase is being raced on the Parallel page
- Raced (green sword icon) - Race completed, winner applied
- Quick-launch play button (launches with selected agent)
Expanded phase view shows:
- Individual step checkboxes (checked steps show strikethrough)
- Agent selector (Claude Code, Codex, Antigravity) at the bottom
- Race button (sends phase to Parallel Racing)
- Reset button (unchecks all steps, clears execution history)
- Launch button (starts the selected agent on this phase)
Auto-Launch bar at the top provides:
- Agent selector toggle (Claude, Codex, Antigravity icons)
- Race button - Sends the entire plan to Parallel Racing
- Auto button - Starts sequential auto-launch through all phases
For Task Plans
Each task renders as an expandable card with:
- Task title and mini progress bar when collapsed
- Description (rendered as markdown)
- File badges showing which files the task touches
- Step checkboxes
- Action buttons: Race, Chat, Shell
Plan Tab Selector
When a project has multiple plans, tabs appear at the top of the left pane. Click a tab to switch plans. Right-click a tab to delete a plan.
Tip: Task-plan checkboxes are debounced with a 2-second delay before persisting to the database.
The Plan Editor
The Plan Editor provides per-section editing of structured plans.
- Click the pencil on the active plan row in the left pane.
- For a structured plan, the editor displays each section (Goal, Requirements, Constraints, Acceptance Criteria, Technical Notes, Reference Files, Freeform Notes, Phases) as a clickable panel. Task-format and freeform plans open as a single markdown text area instead.
- Click a section to open it for editing in a text area.
- Each section has an AI Assist button (sparkle icon) that sends the current section content to an AI model to expand, improve, or add detail. Choose the model from the dropdown in the editor header.
- Click Apply to put the section back into the plan markdown. Nothing is saved yet.
- Click Save & Close to save the plan.
- You can rename the plan by clicking its title.
Every full-content save creates a new plan version with an optional change note.
The File Editor
Every project includes a built-in code editor powered by Monaco (the same engine behind VS Code). Open it from the Files tab in the project dashboard.
See File Editor for tabs, Quick Open, project-wide search, agent code lenses, AI autocomplete, and inline AI edit.
How do I launch a phase?
There are three ways to execute plan phases:
Manual Launch (Single Phase)
- Expand a phase in the Plan Viewer.
- Select an agent at the bottom of the phase: Claude Code (blue), Codex (purple), or Antigravity (green).
- Click Launch.
What happens:
- CPLai writes three context files to
.cloudpeaklabs/in your project directory:phase-brief.md- Condensed context: plan name, goal, previous phase results, current phase steps.active-plan.md- The full plan for reference.phase-prompt.md- The agent's instructions with numbered steps and progress reporting markers.
- A terminal tab opens with the selected agent running in your project directory.
- The agent reads the prompt file and begins working through the steps.
- As the agent completes each step, it prints
[STEP_DONE:N]markers. CPLai's phase monitor watches for these and auto-checks the corresponding checkboxes in real time. - When all steps are done, the agent prints
[PHASE_DONE]and the phase is marked complete.
Tip: If a phase is partially complete (some boxes already checked), the agent receives a "resume" prompt that marks completed steps as
[DONE]and asks it to verify them before continuing with the remaining steps.
Auto-Launch (Sequential Execution)
Auto-Launch runs through all phases of a structured plan one at a time, automatically advancing when each phase completes.
- In the Auto-Launch bar at the top of the Plan Viewer, select an agent (Claude, Codex, or Antigravity).
- Click Auto (N) where N is the number of phases.
- CPLai starts at the first incomplete phase and launches it.
- When a phase completes, CPLai waits 3 seconds, then launches the next phase.
- Already-completed phases are skipped.
- The progress indicator shows "Phase X/Y" with the current position.
Auto-Launch pauses in two situations:
- Prerequisite detection - If a phase mentions API keys, secrets, tokens,
.envfiles, OAuth, webhooks, SSL certificates, SMTP, or database connections, CPLai pauses and routes you to the Project Advisor. - Phase failure - If a phase fails, auto-launch stops. You can fix the issue and restart.
Click Stop to halt auto-launch at any time.
Race (Parallel Execution)
Instead of running one agent at a time, you can race multiple agents against each other:
Race a single phase:
- Expand a phase in the Plan Viewer.
- Click the Race button (gauge icon) at the bottom.
- CPLai builds the phase context and switches to the Parallel Racing page with the prompt pre-filled.
- Choose your agents and start the race.
Race the entire plan:
- Click the Race button in the Auto-Launch bar.
- CPLai combines all phases into a single prompt and sends it to the Parallel Racing page.
- Multiple agents compete on the entire plan simultaneously.
The key difference: Auto-Launch runs one agent sequentially through phases. Race Plan runs multiple agents in parallel on everything at once.
Tip: Phase racing is ideal when you want the fastest result and can compare approaches. Auto-Launch is better when phases have true dependencies (Phase 2 needs Phase 1's output).
Prerequisite Detection
Before launching a phase, CPLai scans its steps for references to things that might need manual setup:
| Detected Pattern | Label |
|---|---|
API key, *_API_KEY |
API key |
| Secret key | Secret key |
| Access token, token | Token |
| Credential | Credential |
| Password | Password |
.env |
.env configuration |
| OAuth | OAuth setup |
| Webhook URL | Webhook URL |
| DNS record/entry/config | DNS configuration |
| SSL cert | SSL certificate |
| SMTP | SMTP configuration |
| Database connection/URL | Database connection |
When prerequisites are detected:
- The launch pauses (it does not proceed).
- A toast notification appears: "The Project Advisor has a few questions for you."
- The Project Sidebar auto-opens (if collapsed).
- The Advisor receives a pre-filled message listing what was found and which steps triggered it.
- You can provide the needed values, ask for help, or dismiss.
- Once resolved, the Advisor can trigger the phase launch.
The Project Advisor (Sidebar Chat)
The Project Advisor is an AI chat assistant scoped to your project. Open it in the right sidebar (Ctrl+\).
What it knows about your project:
- Your project's file tree (scanned up to 3 levels deep, 300 entries max)
- Key project files (README, package.json, tsconfig.json, Cargo.toml, pyproject.toml)
- The active plan content
- File contents when you reference specific files in your messages
Capabilities:
- Answers questions about your codebase
- Helps resolve prerequisites before phase launches
- Supports image attachments (paste or drop images into the chat)
- Access to the CPLai skills index
- Full conversation history persisted by the CPLai service
The Advisor also shows interview history. When the project has past Plan Builder conversations, a Plan Interviews list appears at the top of the sidebar, one row per interview with its date and message count. Click a row to read it, and Back to chat to return.
When the Advisor needs your attention (triggered by prerequisite detection), a notification dot appears on the sidebar toggle and the sidebar auto-opens.
Tip: The Advisor automatically extracts file paths from your messages and reads those files from your repo to include as context. Mention
src/lib/auth.tsin your message and the Advisor reads it before responding.
How does CPLai understand code relationships?
CPLai includes a project code graph for repositories with a configured repo directory. The graph indexes source files and records functions, types, imports, exports, calls, and references so AI tools can answer relationship questions without starting from a plain text search every time.
Ask project-aware Chat or an agent questions like:
- "Where is
streamChatdefined?" - "What calls this function?"
- "Which files import this module?"
- "What would likely be affected if I change this type?"
When the code graph has been indexed for the project, CPLai can use the code_relationships tool to return definitions, callers, callees, type references, and export locations.
Current limits:
- There is no project code-graph visualization page; the Vault page's Graph tab visualizes knowledge/vault relationships instead.
- Relationship results are only as fresh as the latest project index.
- If a symbol is missing, use Smart Context or code search as a fallback.
The Project Header
The page header contains Workspace and Repo breadcrumb selectors. Choose a workspace first, then a repository from that company's projects. The web dashboard places the same selectors in its top bar.
CPLai remembers the last repository selected in each workspace. Confirm the breadcrumb before starting project-scoped work. See Workspace and repository context.
How do I open project-scoped Chat?
From a project, open Chat with that project already selected. On the web dashboard, click Chat on the project page. In the desktop app, click the + (New Chat) button in the workspace Chats section. If the action includes a draft prompt, CPLai keeps the draft while the Chat route catches up, then places it in the scoped conversation.
On the web dashboard you can also scope Chat manually:
- Open Chat.
- Use the project filter in the Chat sidebar to choose the project.
- Click New conversation.
- Confirm the Project context field in the new conversation modal.
On web, existing conversations can be moved between projects from the Project context bar above the message list. Choose No project or Clear when the conversation should be general.
In the desktop app, the New chat button in the Chat sidebar starts a conversation with no project. To filter the list by project, open the ... menu in the Chat sidebar header and pick a project under Filter. To move a conversation, right-click it, choose Move to Project, and pick a project, or choose Remove from project to make it general.
Tip: Project-scoped Chat works best when the project has a repository path. Smart Context can then search project files before the message is sent.
Cross-Module Scoping
Projects connect to other parts of CPLai:
- Chat: Conversations can be filtered by project, created with a project already selected, moved between projects, and sent with the conversation
project_idso Smart Context and slash helpers use the right workspace. - Company dashboards: A company's Projects tab lists only projects linked to that company. Click any project card to jump straight into the project workspace.
- Parallel Racing: Races are linked to projects via
project_id. Phase races carry the plan ID and phase index so results map back to the plan. - Terminal: Opening a terminal from a project workspace sets the working directory to the project's repo directory.
- Agents: Agents can be scoped to a specific project. They appear in the project dashboard's agents section and can be launched or chatted with from there. Edit them from the Agents page.
Plan Versioning
Every time a plan's content is saved through the editor, a phase reset, an automatic restructuring, or another full-content edit, CPLai creates a plan version record. Renaming a plan changes only its title and does not create a version. Each version stores:
- The full plan content at that point
- An optional change note (e.g., "Reset phase: Database Schema")
- A timestamp
This gives you a complete history of how the plan evolved over time.
How do I reset a phase?
If a phase went wrong or you want to re-run it:
- Expand the phase in the Plan Viewer.
- Click the Reset button (circular arrow icon) at the bottom right.
- CPLai unchecks all steps for that phase and marks any completed/failed executions as cancelled.
- You can now re-launch the phase fresh.
The Reset button only appears when a phase has progress (checked steps or execution history).
Context Files (.cloudpeaklabs/)
When a phase launches, CPLai writes context files to .cloudpeaklabs/ in your project's repository directory:
| File | Purpose |
|---|---|
phase-brief.md |
Condensed context: plan name, goal, previous phase results, current phase steps |
active-plan.md |
Full plan content for agent reference |
phase-prompt.md |
The agent's working instructions with step list and progress reporting rules |
These files are automatically gitignored: CPLai keeps the folder in the repository's .gitignore.
Tip: You can read these files yourself to understand exactly what the agent received. The
phase-prompt.mdfile shows the exact instructions, including which steps were marked as previously completed in a resume scenario.
How do I isolate implementation work for a project?
Open the project in Terminal, expand the layers menu, and create a Development Workspace. CPLai creates a durable branch and sibling Git worktree for that project, then records its environment, preview ports, review/CI checkpoint, and optional child relationship.
Use a child workspace when an agent or parallel stream should work from a clean parent HEAD and later pass a guarded review-and-CI gate before merging back. Development workspaces complement project plans: plans define the work, while workspaces isolate where implementation happens.
Current boundaries
- Workflows are a separate top-level surface. Web Workflows has a visual step builder; desktop Workflows is YAML-first. See Workflows.
- Project-aware Smart Context and code-relationship tools can retrieve relevant files and symbol relationships, but the phase launcher still provides explicit plan and context files rather than a dedicated per-phase Smart Context control.
- The Vault page's Graph tab visualizes knowledge/vault relationships. The project code-relationship index is queried through tools; it does not currently have a project code-graph visualization page.


