Capabilities PA + Worker team

PA + Worker Team Model

Language: English · 简体中文

Most coding agents pack chat, planning, shell execution, and git writes into one omnipotent loop — one misunderstanding silently mutates your repository, and running three agents in parallel buries your attention under terminal logs. CrewDesk treats human attention management as a hard architectural constraint, splitting the team in code (not just system prompts) into three bounded roles.

Multi-Harness Team

Roles & Code-Enforced Boundaries

RoleWhat It OwnsHard Boundary (Enforced in Code)
You (Operator)High-leverage decisions: team roster, irreversible approvals, Proposal Card sign-off, and final merge & acceptance.Agents can propose new configs, workflows, or Auto-Tune patches — nothing is saved or merged without your explicit confirmation.
Personal Assistant (PA / Attention Firewall)Protects your attention and main chat: clarifies intent, creates tracked Requirements, dispatches workers, answers routine worker blockers from Brief/Wiki, diagnoses anomalies, and compiles lessons.Physically has zero execution tools (bash, read, write, edit, eval, browser). It cannot silently inspect or modify repositories — any repo work must be dispatched.
Specialist Workers (Coder, Reviewer, Researcher, …)Deep execution inside isolated child sessions and isolated git copies using any harness (oma, Claude Code, pi, omp).Cannot interrupt you uninvited; project_push only pushes agent/<runId> branches (pushing main/master is rejected); deny_write_paths & deny_commands prevent escape.

The Attention Escalation Ladder

CrewDesk keeps low-signal chatter away from you through a strict four-tier filter:

  1. Worker autonomy: Workers execute tests, searches, and edits silently inside their own child conversation and git worktree.
  2. PA interception: When a worker hits a question or needs clarification, the escalation goes to the PA first. The PA checks the Requirement brief and Git Wiki and replies with citations (answer_worker_request) — zero interruption to you.
  3. Structured human escalation: Only when the question is genuinely ambiguous or involves an irreversible risk does the PA surface a persistent Ask Q&A card or Approval gate in /today and /chat.
  4. Verified delivery: A coding worker's branch stays stamped Unverified until an independent second worker reviews the diff and tests (Two-Agent Delivery Gate). You review verified deliveries, not raw first drafts.

Propose ≠ Save + Proposal Eval Regression Gate

Every major resource editor (Team, Projects, Workflows, Evals) embeds a live PA side-panel. Calling /member_manage, /project_manage, /workflow_design, or eval_auto_tune never silently mutates saved configuration — it emits a field-by-field Proposal Card:

  1. Review the structured field diff (prompt changes, model/effort tweaks, workflow nodes, or repo bindings).
  2. For agent/member proposals backed by an Eval Suite, inspect the Proposal Eval Regression Gate to verify the proposed change does not regress pass rate before adopting.
  3. Click Adopt to form → adjust manually if needed → click Save to persist.

Advanced Coordination Skills

  • /agent_doctor: dispatch a worker to audit another teammate that seems stuck or drifting — it compares the teammate's workspace memory against canonical ledger facts and proposes targeted fixes without mutating the target's files.
  • /agent_fanout: fan out parallel subagent batches (task, up to 64 items / 8 concurrent) or sandboxed orchestration scripts (workflow_run) for large codebase audits, migrations, and multi-source research.