Deepwork
БесплатноНе проверенA quality-and-safety MCP server for Windsurf Cascade that enforces an evidence-first coding cycle with verified completion states.
Описание
A quality-and-safety MCP server for Windsurf Cascade that enforces an evidence-first coding cycle with verified completion states.
README
Documentation | Security policy | Windsurf problem matrix | Claude Code pattern study
Independent community project. Deepwork is not affiliated with or endorsed by Cognition, Windsurf, Devin, or Anthropic.
Deepwork is a max-effort quality-and-safety layer for Cascade. It makes difficult coding work follow an evidence-first cycle: contract, inspect, research, compare designs, plan, checkpoint, implement, verify, review, and only then claim completion. Windsurf's native Arena mode supplies genuine multi-model execution.
It addresses the fixable parts of the recurring problems summarized in research/problem-matrix.md: shallow repository scans, lost requirements, broad edits, repair loops, missing tests, unsupported completion claims, unsafe paths, MCP configuration risk, and weak durable state. The Claude Code pattern study records the official Anthropic mechanisms adapted into the max-effort design.
Components
.windsurf/skills/deep-build/: the reusable@deep-buildprocedure and focused references..windsurf/workflows/deep-build.md: the 22-step/deep-buildmax-effort runbook..windsurf/workflows/deep-plan.md,deep-debug.md, anddeep-review.md: plan-only, reproduce-first, and review-panel routes..windsurf/rules/deep-build.md: short always-on behavioral constraints..windsurf/hooks.json: fail-closed pre-action policy and metadata-only post-action audit hooks.src/: a ten-tool localdeepworkMCP, three effort profiles, user-global locked state, content-fingerprinted checkpoints/reviews, constrained verifier, and hook engine.scripts/install.ps1: idempotent global installation with ownership metadata, predecessor restoration, atomic config writes, and path-link defenses.
Max-effort gates
For a non-trivial task, effortProfile: "max" requires:
- one measurable completion condition;
- three distinct repository-research lanes and eight successful unique file reads, or the complete inventory when the repository has fewer than eight files;
- three architecture alternatives and no unresolved design question;
- at least eight plan steps, three risks, acceptance-to-test mapping, exact file scope, and rollback;
- two content-fingerprinted checkpoints, with every plan step complete in the final checkpoint;
- every planned verification command against the current workspace;
- correctness, tests, security, error-handling, and simplicity review passes;
- only findings at confidence 80-100, with every critical/high issue resolved or disproved;
- a passing final gate against current Git scope and acceptance evidence.
Honest boundary
An MCP can expose tools to Cascade; the documented interface cannot switch Cascade's selected Windsurf-hosted model, launch another Cascade, or start Arena. Native Arena Mode is the supported path that runs multiple Windsurf models in isolated sessions/worktrees and charges their credit multipliers additively.
Deepwork mitigates but cannot repair provider outages, editor crashes, billing policy, finite model context, Enterprise allowlists, host MCP bugs, or editor vulnerabilities. The July 8, 2026 GhostApproval disclosure demonstrated a Windsurf trust-boundary failure; check the vendor's current remediation status before relying on editor-level approval UI. Hooks cannot remove filesystem time-of-check/time-of-use races. Use low-privilege OS isolation for untrusted repositories.
The public anthropics/claude-code repository was used as an official workflow reference. Its license is all rights reserved; Deepwork does not copy Claude Code core code or claim to reproduce its private agent loop.
Build and test
npm ci
npm test
node src/cli.js doctor
The automated suite covers max-effort depth gates, real stdio initialization/tool discovery, an external-project task through stdio, official hook payloads, fail-closed internal errors, hardlink/link escapes, Windows short-path aliases and PowerShell encodings, trajectory isolation, hostile command forms, repeat writes, verification-time mutations, stale same-file/untracked changes, every planned command, high-confidence review filtering, and final Git scope enforcement.
Install globally
Clone and validate the package from PowerShell before opening the clone as a Windsurf workspace:
npm ci
npm run check
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install.ps1
The installer:
- stages and atomically installs a runtime under
~\.codeium\windsurf\deepwork-runtime; - installs the global skill plus
/deep-build,/deep-plan,/deep-debug, and/deep-review; - appends a bounded managed block to
global_rules.md; - merges global hooks without removing existing hooks;
- merges one
deepworkentry intomcp_config.json; - stores an ownership manifest and predecessor backups, proves the Windows hook launcher, and runs the state/hook/stdio doctor.
Runtime task events and transcript metadata are stored outside projects under ~\.codeium\windsurf\deepwork-state, keyed by the canonical workspace. A repository .deepwork/task.md is used only when the MCP is unavailable and should remain uncommitted. Uninstall intentionally retains deepwork-state as audit/continuity data.
Enterprise administrators may still need to enable or allowlist the MCP. The runtime, skill, workflows, hooks, and MCP configuration are installed and protocol-tested locally; restart Windsurf to reload them, then confirm UI discovery under the account's live Enterprise policy.
Use
For a normal complex task:
- Initialize Git and preserve or commit the intended baseline.
- Invoke
/deep-buildand mention@deep-build. Use/deep-planfor no-edit architecture,/deep-debugfor a defect, or/deep-reviewfor an independent candidate review. - Let the workflow call the ten
deepworktools and obey blocking hooks. Planned tests/builds run through the approval-bearing verifier; non-Deepwork MCP tools are denied unless their exactserver/toolidentity is deliberately allowlisted.
For deliberate multi-model use of the Enterprise credit pool:
- Open the model picker and enter Arena.
- Select two strong, different models currently available; avoid Adaptive when deliberate comparison is the goal.
- Send the identical
/deep-build @deep-buildcontract to both isolated candidates. - Compare research coverage, architecture, diff, tests, risks, and evidence; select a winner.
- Run
/deep-reviewwith retained Arena models, resolve high-severity findings, and requiredeepwork.final_gateto pass.
Spend additional prompts on different research hypotheses, architecture challenge, repeated-failure diagnosis, specialized review, and finding validation - not interchangeable summaries.
Completion states
Verified: contract, research, design, traceable plan, completed checkpoints, five-lens review, Git scope, acceptance evidence, every planned command, and current fingerprint passed.Partially verified: useful work exists, but a relevant check is skipped, unavailable, or manual.Blocked: evidence contradicts completion or a required decision/platform capability is unavailable.
If the MCP/final gate is unavailable, the maximum honest status is Partially verified.
WhatsApp and remote control
This repository does not include a WhatsApp bot, hosted API, database, or remote Windsurf controller. The local MCP needs direct repository access, and native Arena is started manually. The documentation site explains a safe notification companion or separately built authenticated job service.
License status
The repository is publicly visible, but no software license has been selected. Public visibility alone does not grant reuse, redistribution, or derivative-work rights.
Установка Deepwork
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/saisharan0103/windsurf-deepworkFAQ
Deepwork MCP бесплатный?
Да, Deepwork MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Deepwork?
Нет, Deepwork работает без API-ключей и переменных окружения.
Deepwork — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Deepwork в Claude Desktop, Claude Code или Cursor?
Открой Deepwork на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Deepwork with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
