devworkspace
v0.5.3
Published
Project-local AI engineering workspace: deterministic repository discovery, portable project knowledge, tasks, decisions and verification gates for AI coding agents.
Maintainers
Readme
DevWorkspace
DevWorkspace is a local-first project context and verification workspace that equips AI coding agents with accurate repository facts, test commands, and safety boundaries without sending your source code to external servers or requiring API keys.

Quick Start
1. Open your repository and run setup (Node.js 20.11+; works identically on Windows, macOS, and Linux):
cd my-project
npx devworkspace setup2. Pick a setup preset and coding agent:
In an interactive terminal, DevWorkspace walks you through plain-language choices (Minimal, Recommended, Full, or Custom), previews every file and external action before writing, and asks to confirm. In scripts or non-interactive terminals, bare devworkspace setup persists Minimal deterministically by default, or accepts explicit flags:
npx devworkspace setup --preset minimal --dry-run
npx devworkspace setup --preset recommended --agent claude-codePackaging note: DevWorkspace ships in one zero-runtime-dependency npm package. Presets and
devworkspace modulescontrol runtime activation, workspace files created, MCP tools exposed, and explicit external tool consent—not partial npm downloads.
3. Connect or reload your coding agent (if configured):
If you configured an MCP client (Claude Code, Codex, Antigravity) or installed skills, reload your editor/agent session when prompted and approve the local devworkspace server.
Note: Running via
npx devworkspaceuses the latest published npm release; local source checkouts can runnode dist/cli/main.js setup. Inspect or change your choices any time withnpx devworkspace settings.
Setup Presets & Optional Tools

DevWorkspace never installs third-party packages or modifies user-global config files unless you explicitly choose and consent to them:
| Preset | What It Configures | External Tools Installed |
|---|---|---|
| Minimal | Core .devworkspace/ metadata, offline repository discovery, test contract, privacy boundaries, diagnostics | None |
| Recommended | Minimal + task & decision workflows + 1 detected or selected coding agent connection | None |
| Full | All built-in modules (standards, feature maps, graph, orchestrate, dashboard) + agent setup | Opt-in & --yes only |
| Custom | Choose individual built-in modules and optional integrations with dependency preview | Opt-in & --yes only |
Built-in core (always enabled): .devworkspace/ project files, secret redaction, safe path checks, and verification gates.
Optional helper tools (external): Graphify, Agent Skills, Ponytail, and OmniRoute. Preview anytime with npx devworkspace setup --integrations --dry-run. See docs/integrations.md.
Supported Coding Agents
| Agent | Connection Style | Notes |
|---|---|---|
| Claude Code | Local stdio MCP + CLAUDE.md | Writes .mcp.json and managed CLAUDE.md section; tests server locally |
| OpenAI Codex | Local stdio MCP + AGENTS.md | Writes .codex/config.toml and managed AGENTS.md section |
| Cursor | Markdown rules | Writes .cursor/rules/devworkspace.mdc via agent install --agent cursor or wizard |
| GitHub Copilot | Markdown instructions | Writes .github/copilot-instructions.md via agent install --agent copilot or wizard |
| Google Antigravity | User-level stdio MCP | Shows manual steps by default; writes ~/.gemini/... only with explicit user-scope consent |
For comparison details and flags, see docs/agents.md and docs/mcp.md.
Measured Benchmarks (Offline & Deterministic)

Measured offline in-process via benchmarking guide (3,008-file monorepo) and context accuracy report (10/10 deterministic eval cases, 100% safety retention; token estimate = CLI UTF-8 bytes / 4, not a billing tokenizer).
Security & Privacy
- Zero network telemetry & zero accounts: Core discovery, context retrieval, and MCP stdio communication run locally on your machine.
- Credential protection:
.env*,*.pem,*.key, and keystores are excluded from reads; token patterns inside allowed files are masked ([REDACTED:<type>]). - Path & shell safety: Canonical path checks reject directory traversal (
..) and external symlink escapes; external commands require array execution without shells. - AI provider notice: Context retrieved by your coding agent enters that agent's model context window under your AI provider's privacy terms.
Full details: docs/security.md & Third-Party Licenses.
Documentation & Advanced Commands
Start with the focused guides for deeper workflows:
- Getting Started — end-to-end walkthrough and non-interactive CI examples
- Configuration & Settings — presets,
.devworkspace/settings.json, and scope rules - Modular Features & Toggles — built-in module catalog, dependencies, and runtime gating
- Coding Agents & MCP Server — per-agent details and verification
- Optional Integrations — Graphify, Agent Skills, Ponytail, OmniRoute prerequisites
- Knowledge, Testing, Standards, Task Routing, Architecture, Portability, Benchmarking, Claude Code, and Contributing
All CLI commands remain available for scripting and advanced workflows (devworkspace <command> --help):
| Category | Commands |
|---|---|
| Setup & settings | setup, settings, modules, init, doctor, status |
| Discovery & context | analyze, refresh, context, fact, feature, graph |
| Workflows & tasks | task, decision, testenv, session, standards |
| Agents & MCP | mcp, agent, agents, skills, orchestrate, intelligence, integrations |
| DX & maintenance | guide, dashboard, export, import, migrate, reset |
Troubleshooting
- Re-configure or inspect choices:
npx devworkspace settingsornpx devworkspace setup --edit - Reload needed (
RESTART_REQUIRED): Reload your coding agent (/reload-pluginsin Claude Code) and runnpx devworkspace integrations status --restarted - Workspace diagnostics:
npx devworkspace doctor(add--fixfor missing safe directories) - Full recovery steps: docs/troubleshooting.md
