Projects & Coding Terminals
Language: English · 简体中文
CrewDesk connects your team to real Git repositories while protecting your main branches from accidental or concurrent mutations.
Registering & Binding Projects (/team/projects)
Open Team & Projects → Projects (or use /project_manage in chat with your PA):
- Register a local or remote Git repository (
project_propose→ review Proposal Card → Save). - Bind specific workers (e.g., Backend Coder, Security Reviewer) to the project via
project_attach(requires explicit approval). - Unbound workers cannot see or access that repository.
Isolated Project Copies & agent/<runId> Push Guardrail
When a task tied to a Requirement and project starts:
- CrewDesk creates a Requirement-owned isolated git copy / worktree so multiple concurrent Workers never trample each other's uncommitted edits.
- When a Worker finishes and invokes
project_push, the backend enforces a hard branch rule:- Pushing to
agent/<runId>is allowed. - Pushing directly to
main,master, or any non-agent/<runId>branch is rejected in code.
- Pushing to
- Per-agent
deny_write_paths,allow_write_paths, anddeny_commandsfurther constrain what files and commands a worker can touch inside the copy.
In-Browser Coding Terminals (/coding)
Open Work → Coding anytime to attach an interactive PTY shell (/ws/coding/:id) directly inside an agent's live worktree:
- Inspect
git statusandgit diffin real time. - Run targeted test suites, builds, or debuggers manually in the exact same directory the Worker edited.
- Take over cleanly when you prefer hands-on editing — zero hunting for temporary workspace paths.