Skip to content

DevWorkspace: project-local AI engineering workspace

Product

Your codebase. Understood.

DevWorkspace keeps your project's structure, engineering knowledge and verification rules in a small .devworkspace/ folder inside the repository, and installs instructions that tell your AI coding agent to use them.

No account, no API key, no telemetry. It is a CLI, not an LLM, an IDE or a cloud service. Claude Code is the agent it supports today.

Understand the project

See the structure behind the code.

devworkspace analyze reads manifests, folders and scripts and turns them into a record your agent can load instead of rediscovering the repository every session.

Reads

Writes

deterministic · no AI call

devworkspace analyze

Deterministic discovery. It makes no AI call and sends nothing anywhere. It writes discovery.json, a testing contract and an onboarding prompt for Claude Code.

Discovery covers manifests, structure and commands. It does not perform deep analysis of any language, and it proposes rather than decides: Claude confirms the result during onboarding.

Portable project knowledge

Knowledge that stays with the project.

Commit .devworkspace/ with your code. Clone it elsewhere and run devworkspace doctor; machine-local state stays out of Git through a nested .gitignore.

Evidence, not memory. devworkspace refresh re-hashes the files a fact cites. Changed evidence marks the fact STALE and only those facts are handed back to the agent to re-check.

Clear authority. User decisions outrank current repository evidence, which outranks verified facts, AI findings and old session notes. A lower-authority write never silently replaces a higher one.

It is not chat history and not memory shared between AI tools: it is a small set of files the agent reads when it needs them. Secrets and absolute paths are refused by every write path.

context/facts.json

Facts

Short statements with the files that evidence them, their SHA-256 hashes, a confidence and a status such as VERIFIED, INFERRED or STALE.

Verification workflows

Make every change easier to verify.

A task is not done because the agent says so. It is done when the checks your project requires have run and their real outcomes are recorded.

  1. Discover

    devworkspace analyze

    Records the checks your project defines (typecheck, unit, integration, e2e, lint, build) per package, with the directory to run each in.

  2. Select

    testing contract

    The request is classified. A question runs no checks, documentation needs only documentation checks, and bugs, features and refactors take their checks from the contract.

  3. Run

    task tests --phase baseline

    The agent runs the checks, reading unfamiliar scripts first. DevWorkspace never executes repository scripts itself. Refactors record a baseline before any change.

  4. Report

    task verify

    Each outcome is recorded. Pre-existing failures are noted rather than blamed on new work; a regression blocks completion.

illustrative example, not live output
# before changing code: record what already fails$ devworkspace task tests T-20261011-4f2a --phase baseline --passed 214 --failed 3# after the change$ devworkspace task tests T-20261011-4f2a --phase after --passed 216 --failed 4$ devworkspace task verify T-20261011-4f2a unit fail STATUS: BLOCKEDUnit tests: FAIL   Typecheck: PASS   Lint: PASSFailure: <the actual error>Task is not considered complete.
Failures are expected and reported as they are. Here one new test failure is a regression, so the task stays open.

Get started

From installation to context.

Node.js 20.11 or newer on Windows, macOS or Linux. No install step is needed with npx; the current published version is 0.4.5.

  1. $ npx devworkspace init

    Creates .devworkspace/ in the current repository. Safe to re-run; it never touches your source.

  2. $ npx devworkspace analyze

    Runs deterministic discovery and writes the testing contract and an onboarding prompt. No AI is called.

  3. # paste .devworkspace/analysis/onboarding-prompt.md into Claude Code

    Claude inspects the real repository, runs agent install, writes concise knowledge and reports what it could not confirm.

  4. $ npx devworkspace setup --integrations --dry-run

    Optional. Shows exactly how Graphify, Agent Skills and Ponytail would be installed; run with --yes to apply.

  5. $ npx devworkspace doctor

    Checks workspace health, integrations, security and portability. A fully onboarded project reports READY.

Integrations

Orchestrates tools that already exist.

DevWorkspace decides when a workflow applies; these projects provide how. A missing integration is a warning, never a failure of the core workspace.

Claude Code

The agent adapter, and the only one in this version.

Needed to use the generated instructions

Configured by

devworkspace agent install adds a managed block to CLAUDE.md and an on-demand devworkspace skill.

Supported

Loads project context progressively, classifies each request and follows the testing contract.

Graphify

Structural code graph for navigation.

Optional for the core workspace

Configured by

setup --integrations installs graphifyy with uv, pipx or pip --user (Python 3.10+ or uv), then graphify install --project.

Supported

Project skill and Claude Code hooks. Building the graph uses the model, so DevWorkspace does not do it.

Agent Skills

Engineering workflows: spec, plan, build, test, review, ship.

Optional for the core workspace

Configured by

Native Claude Code plugin at project scope when the Claude Code CLI is available; otherwise portable skills.

Supported

Native plugin: skills and slash commands. Portable skills: skills only, reported as DEGRADED.

Ponytail

Quality review and simplification.

Optional for the core workspace

Configured by

Same as Agent Skills: native plugin preferred, portable skills as a fallback.

Supported

Native plugin: skills, commands and hooks (hooks need node on PATH). Portable: skills only.

Statuses are observed by running the tools, never assumed: NOT_INSTALLED, PREREQUISITES_MISSING, INSTALLED, VERIFIED, DEGRADED, RESTART_REQUIRED, FAILED. Full readiness is reported only when Graphify, Agent Skills and Ponytail are all VERIFIED.

Only project-local steps run without --yes, and existing CLAUDE.md and .claude files are snapshotted and restored if a tool would damage them. OmniRoute (model routing) is only observed, never installed, and not used in this version.

Releases

Always moving forward.

Versions come from the npm registry and notes from the changelog published with each package, refreshed automatically.

Latest on npm

v0.4.5

Published

Release data checked

  1. v0.4.5

    latest

    Added

    • Google Antigravity User-Level MCP Automation (--user):
      • Implemented automated user-level MCP configuration for Google Antigravity via devworkspace setup --agent antigravity --user (and devworkspace mcp setup --agent antigravity --user).
      • Added robust directory discovery (detectAntigravityUserConfigPath) across Windows, Linux, and macOS (~/.gemini/antigravity/mcp_config.json, ~/.gemini/config/mcp_config.json, or custom ANTIGRAVITY_CONFIG_PATH).
      • Automatically appends --cwd <projectRoot> to the user-level server arguments so tools discover the workspace regardless of launch directory.
      • Generates automatic timestamped backups (.bak-<timestamp>) before modifying existing user configurations, with atomic writes and automatic rollback on failure.
      • Full dry-run support via --check / --dry-run to preview user configuration changes without writing to disk.
    • Graphify Offline Generation Fallback (devworkspace graph generate):
      • Implemented offline code structure extraction creating Graphify-compatible graphify-out/graph.json without requiring Claude Code or network access.
      • Extracts functions, classes (with extends and implements), interfaces, types, and imports from TypeScript (.ts, .tsx), JavaScript (.js, .jsx), and Python (.py).
      • Generates deterministic node IDs and line-accurate references (L...), seamlessly verified on disk by devworkspace graph trace <symbol> and context ranking.
      • Guards against overwriting native Graphify graphs unless --force is specified.
      • Supports --dry-run preview and custom output locations with --out <file>.
    • Cross-Platform Hardening & Process Safety:
      • Enhanced which() in src/utils/proc.ts to directly resolve absolute and path-qualified binaries across all operating systems.
      • Eliminated Node.js DEP0190 deprecation warnings on Windows by avoiding unsafe shell invocations with array arguments and using shell-less ComSpec wrappers (cmd.exe /d /s /c with windowsVerbatimArguments: true, shell: false).
    • Integration Recovery & Diagnostic Advice:
      • Detected and diagnosed disabled native plugins (claude plugin enable <id>) and missing marketplaces (claude plugin marketplace add <url> --scope project).
      • Enhanced graph absence notices across CLI and MCP tools to recommend running devworkspace graph generate for instant offline fallback.

    Fixed

    • Replaced child_process.exec calls with safe runner execution without shell: true, ensuring clean exit code propagation and argument safety across Windows, Linux, and macOS.
    • Hardened smoke tests and live MCP integration checks to avoid shell deprecation warnings.
  2. v0.4.4

    Show notes

    Added

    • setup --agent <name|auto> is now a one-command onboarding: initializes a missing workspace, merges MCP config, re-validates it, and starts the configured server to check initialize, tools/list and real tool calls (--no-verify to skip). The report separates what was verified from what only the agent can confirm (approval, reload).
    • Launcher policy: a devworkspace on PATH is used only when its version matches the running CLI; Windows npx is written as cmd /c npx. The chosen launcher and reason are reported.
    • Graph edges carry Graphify confidence (EXTRACTED / INFERRED / unknown); only extracted edges between verified endpoints are verified.
    • Graphify location is resolved centrally (src/core/artifacts.ts): root graphify-out/ (tool-owned) or .devworkspace/graph/graphify/graphify-out/ (from graphify extract --out); doctor reports the layout and warns on duplicates. .devworkspace/.gitignore gains graph/.
    • Extracted edges are checked against their own source line (sourceCheck); a line that no longer mentions the endpoints demotes the edge to unverified.
    • The npx launcher pins published copies to their own version, rejects unsafe --package-version values, and ignores a PATH entry that is only the project's node_modules/.bin. setup --agent on a bare repository also analyzes it.
    • get_file_context suggests confirmed package manifests when a root manifest is missing in a multi-package repo.

    Changed

    • Codex now gets .codex/config.toml ([mcp_servers.devworkspace], the documented project-scoped format) instead of a root mcp.json that Codex does not read. Antigravity MCP config is user-level, so setup writes no project files for it and prints the exact entry to add. doctor flags the old files; nothing is deleted.
    • Live check now also calls check_mcp_health, runs with the environment an agent would provide (npm-injected variables such as npm_config_package are dropped), and, when the Claude Code CLI is installed, reports what it sees (pending-approval / connected / failed).
    • setup --agent prints a plan (files and launcher) before writing; the report shows which CLI ran (version, path, how installed).

    Fixed

    • Live check cleanup: an early-exiting server no longer risks an unhandled EPIPE, and on POSIX the whole process group (npx and the server) is ended. Setup now reports when the started server's version differs from the CLI's, and warns that a Windows cmd /c launcher in a shared file is not portable.
    • An installed node_modules/devworkspace copy was classified as a source checkout, so its launcher was never version-pinned.
    • Graphify nodes using source_file / label / source_location now resolve to their source file and line (unsafe paths are rejected).
    • trace_symbol_dependencies / graph trace enforce maxNodes during neighbour expansion and report truncation.
    • Task-context graph matching uses deterministic token-based scoring instead of first-hit substring matching (no more erp -> PageHeaderProps); get_task_context graph nodes report nodeType separately from source status.

    Security

    • The live MCP check starts the server with an explicit environment allowlist instead of the full parent environment; unrelated credentials are no longer inherited (DEVWORKSPACE_VERIFY_ENV opts extra variables in).
  3. v0.4.3

    Show notes

    Added

    • Automatic MCP Configuration Generation & Launcher Strategy:
      • Implemented dynamic MCP launcher resolution (resolveMcpServerDef) supporting auto, direct, and npx execution modes.
      • Automatically configures npx -y devworkspace mcp serve for users running via npx or lacking global CLI installations, eliminating manual edits to .mcp.json.
      • Added --launcher <auto|direct|npx> and --package-version <version> CLI options to setup, init, and mcp setup.
    • Onboarding MCP Integration:
      • Added support for --agent <name> during devworkspace init (e.g. npx devworkspace init --agent claude-code) to configure MCP client settings during onboarding.
      • Added clear onboarding guidance in devworkspace init and setup pointing users to connect AI coding agents via MCP.
    • Doctor MCP Launcher Diagnostics:
      • Added checkMcpLauncher in devworkspace doctor to detect unresolvable or missing MCP server commands across .mcp.json, mcp.json, and .antigravity/mcp.json, providing actionable remediation hints.
    • Task-Aware Path Retrieval Fallback:
      • Improved get_task_context so natural-language tasks retrieve relevant real repository files based on path segments even when features.json, Graphify output, and ADRs are absent.
      • Suppressed non-path detector labels and prioritized domain file matches in candidate ranking.
      • Added graceful handling and explicit reporting for missing or corrupted Graphify knowledge graphs.
    • Regression Test Suite:
      • Added 18 task-aware retrieval regression tests covering path candidate discovery, ranking, and Graphify notices.
      • Added 12 MCP setup and launcher regression tests covering all 11 required scenarios: first-time generation, idempotency, server preservation, malformed JSON protection, global vs npx launchers, version pinning, cross-platform resolution, live MCP stdio handshake, and doctor diagnostics.

    Fixed

    • MCP Client Connectivity for npx Users:
      • Fixed client failures where AI coding agents could not spawn devworkspace mcp serve when installed or invoked through npx without a global executable on system PATH.
  4. v0.4.2

    Show notes

    Added

    • MCP Symbol Dependency Tracing (trace_symbol_dependencies):
      • Registered the 6th MCP tool enabling AI coding agents to trace function, class, and service dependencies using the project knowledge graph.
      • Supports configurable traversal depth (1 to 5, default 2) bounded to 50 nodes and 40 edges to prevent context bloat.
      • Formats output deterministically with verified status tags, node paths, and edge relationships.
      • Gracefully handles unindexed symbols and unavailable knowledge graphs with actionable remediation steps.
    • MCP Context Intelligence & Health Tools:
      • check_mcp_health: Diagnoses MCP server readiness, workspace detection, knowledge freshness, verification contract integrity, and agent configuration markers with remediation advice.
      • explain_context: Explains the deterministic retrieval logic, query keywords, domain synonyms, and selection reasons behind task context.
    • Bounded Line-Range & Correlated File Context (get_file_context):
      • Added optional start_line and end_line parameters with line-numbered output, integer bounds validation, and a 1,000-line safety window. Preserves full-file retrieval when omitted.
      • Correlates mapped feature components and categorized test suites (unit, integration, e2e) from features.json.
      • Links governing Architectural Decision Records (ADRs) referenced by file name or context from docs/adr/.
    • Fact Source Attribution & Verification Transparency (get_task_context):
      • Renders workspace-relative source paths ((source: <path>)) for facts while strictly suppressing sensitive file paths.
      • Displays explicit verification authority tags ([VERIFIED], [DETECTED], [USER_DECISION], [STALE]) and transparent missing-evidence reporting.
      • Synthesizes ranked relevant files to inspect for natural-language tasks.
    • Workspace Ignore Policy Enforcement in MCP:
      • Enforced .devworkspaceignore, .gitignore, and ALWAYS_SKIP_DIRS across get_file_context, rejecting ignored directories and nested files.
    • Expanded Context Accuracy & Multi-Fixture Evaluation Suite:
      • Strengthened tests/integration/context-accuracy.test.ts with direct MCP evaluation tests, conflicting/stale fact handling, and multi-fixture verification across Node/Express and Python/FastAPI projects.
  5. v0.4.1

    Show notes

    Fixed

    • Integration Test Reliability in Clean Environments:
      • Automatically compile the CLI on-demand (ensureCliBuilt) in tests/integration/mcp-stdio.test.ts when running in clean CI runners or coverage workflows where dist/cli/main.js has not yet been built.
    • Documentation & Onboarding Clarity:
      • Rewrote README.md with a plain-English mental model, architecture flowchart, beginner-friendly quick start, and explicit separation of traditional file instructions from MCP integration.
      • Documented tool invocation semantics, testing scope disclaimers, and system PATH configuration requirements.
  6. v0.4.0

    Show notes

    Added

    • Model Context Protocol (MCP) Server (devworkspace mcp serve):
      • Implemented local-first Model Context Protocol (MCP 2024-11-05) server running strictly over stdio with zero runtime dependencies.
      • Zero open network ports, zero external telemetry or cloud dependencies, and complete offline execution.
      • Fully implements the MCP lifecycle: enforces initialization handshake (initialize -> notifications/initialized) before serving general tool requests, with clean rejection code -32600 (INVALID_REQUEST) for uninitialized requests.
      • Robust stdio transport supporting single-settle promise resolution, clean shutdown, and graceful stdin error/EPIPE handling.
    • Deterministic MCP Context Tools:
      • get_project_overview: Summarizes repository architecture, detected language stack, UI/backend frameworks, context health, and verification capabilities.
      • get_task_context: Generates progressive, role-sliced context (explorer, tester, reviewer) with deterministic keyword retrieval, ADR matching, and mandatory safety rule retention.
      • get_file_context: Exposes workspace-relative file contents bounded to 32KB per call with associated DevWorkspace knowledge facts.
    • AI Coding Agent Setup (devworkspace mcp setup / devworkspace setup --agent):
      • Automated configuration generator for Claude Code (.mcp.json and CLAUDE.md), OpenAI Codex (mcp.json and AGENTS.md), and Google Antigravity (.antigravity/mcp.json and .antigravity/rules).
      • Supports --check dry-run mode for previewing configuration changes without modifying disk.
      • Dedicated MCP section markers (<!-- devworkspace-mcp:start --> / <!-- devworkspace-mcp:end -->) guaranteeing complete coexistence with standard agent instructions (devworkspace agent install), preserving custom user content byte-for-byte, and seamlessly migrating legacy MCP blocks.
    • Security Boundaries & Defense-in-Depth Protections:
      • Strict workspace-root enforcement (resolveInside, assertNoSymlinkEscape) blocking path traversal (..), absolute paths, and symlink escapes.
      • Secret file exclusion policy refusing credentials, environment files (.env*), private keys, tokens, and keystores.
      • Automatic pattern-based secret redaction masking credentials ([REDACTED:<type>]) in returned source context.
      • Prompt-injection resistance demarcating retrieved content with === BEGIN UNTRUSTED DEVWORKSPACE CONTEXT === delimiters.
    • Documentation & Verification Suite:
      • Added comprehensive MCP architecture and security documentation in docs/mcp.md and updated docs/agents.md and README.md.
      • Added unit test suites (tests/unit/mcp.test.ts, tests/unit/mcp-setup.test.ts) and subprocess stdio integration test (tests/integration/mcp-stdio.test.ts).
      • Added CLI smoke tests in scripts/smoke.mjs verifying help texts and check modes.
  7. v0.3.3

    Show notes

    Added

    • Role-Based Context Slicing (devworkspace context --role <role>):
      • Added deterministic, role-tailored context slices for AI coding workflows via devworkspace context --for "<request>" --role <explorer|tester|reviewer>.
      • Explorer (--role explorer): Scopes context to repository structure, package entry points, code symbols, and feature knowledge maps; omits unrelated verification and test execution commands.
      • Tester (--role tester): Focuses on verification contract commands, testing framework conventions, testing facts, and zero-test safeguards.
      • Reviewer (--role reviewer): Prioritizes permanent security rules, coding conventions, architectural decisions (ADRs), contract verification checks, and working tree diff inspection notices.
      • Backward Compatibility: Omitting --role produces identical, un-sliced task context (devworkspace context --for "<request>").
      • Safety Preservation: Mandatory SAFETY_RULES (credential protection, path traversal bans, mutation blocks) are strictly preserved across every role.
      • Resilience: Gracefully handles missing Graphify knowledge graphs (graphify-out/graph.json) and uninitialized feature maps without errors.
      • Claude Skill & Handoff Protocol: Documented role selection guidelines and structured evidence-based handoff templates (### AGENT_HANDOFF:) in claudeSkill().
  8. v0.3.2

    Show notes

    Added

    • Single-Command Repository Setup (devworkspace setup):
      • One-command onboarding workflow inspecting project structure, initializing .devworkspace/, discovering verification contracts, checking integration status, and validating overall health.
      • Automatically verifies command contracts against real package manifests and execution directories (cwd), reporting drift before task execution.
      • Safe and idempotent; preserves existing project UUID, user overrides, and custom commands across repeated executions.
    • Feature-Level Knowledge Map & Verification (devworkspace feature):
      • Introduced typed, backward-compatible feature schema in .devworkspace/context/features.json connecting frontend entry points, API routes, backend services, database models, and unit tests.
      • Added devworkspace feature list, devworkspace feature show <id>, devworkspace feature add, and devworkspace feature validate.
      • Feature validator inspects real repository files and code symbols on disk, distinguishing verified facts from inferred entries and flagging broken references.
    • Bounded Graphify Knowledge Graph Tracing (devworkspace graph):
      • Added devworkspace graph status and devworkspace graph trace [--from <node|path>] [--depth <n>] supporting Graphify's output format (graphify-out/graph.json).
      • Traversal is bounded by BFS depth limits with cycle protection and edge deduplication.
      • Verifies graph nodes against real repository files and code symbols, tagging unverified nodes or references as hypotheses ([hypothesis]).
    • Verification Integrity & Contract Drift Prevention:
      • Prevents vacuous test passes: detects zero-test executions (0 passed, 0 failed) and flags them as unverified rather than false successes.
      • Reports command-contract drift in devworkspace doctor when configured checks reference missing npm scripts or non-existent working directories.
    • CLI Provenance & Version Diagnostics:
      • Reports exact CLI version, executable path, and execution mode (source-checkout, installed-package, npx-cache) in setup and doctor.
    • Agent-Agnostic Architecture & Multi-Agent Compatibility:
      • Introduced typed AgentAdapter interface and shared section-merging engine in src/agents/ to decouple DevWorkspace from Claude-specific assumptions.
      • Implemented typed adapters for Claude Code (claude), OpenAI Codex / open agent standard (codex / agents via AGENTS.md), Cursor (cursor via modern .cursor/rules/devworkspace.mdc and legacy .cursorrules), and GitHub Copilot (copilot via .github/copilot-instructions.md).
      • Added devworkspace agent install [--agent claude|codex|cursor|copilot|all] with support for multi-agent installation (--agent all), conflict detection, and CRLF preservation.
      • Added devworkspace agent list to inspect installed status, detected files, and capabilities (instructions, skills, plugins, CLI) for each supported coding agent.
      • Decoupled doctor and status readiness checks from Claude Code; projects using Cursor, Copilot, or Codex achieve Core workspace: READY and verify instruction freshness against their configured agent.
      • Enhanced resetWorkspace({ includeAgentFiles: true }) to cleanly purge managed DevWorkspace blocks and files across all agent integrations while strictly preserving user content outside the managed sections.
      • Updated verification scoping (NOT_CODE) to recognize .cursor/ and .github/ instruction and rule files (.mdc, .md) as non-code documents.
  9. v0.3.1

    Show notes

    Changed

    • When the plugin list cannot be read and the installed Claude Code supports plugin list --json, setup now stops with an explanation and installs nothing. Before, it fell back to installing portable skills through npx, so a parse failure alone could trigger an install. Older Claude Code versions still use the portable-skills fallback.
    • scripts/release-check.mjs: Production source hygiene scanner distinguishes testing domain regex patterns containing stub from genuine unfinished implementation markers.

    Fixed

    • Installed Claude plugins were reported as NOT_INSTALLED (Agent Skills, Ponytail) by status --deep, integrations status and setup. Real claude plugin list --json output is pretty-printed over many lines, and the 0.3.0 parser kept only a line starting with [, which was just [. The whole output is now parsed as JSON (a banner before the array is tolerated). Empty, malformed or unexpected output (not an array of plugins with id, scope and enabled) is an error, never an empty list.
    • A plugin listed at several scopes is now reported by its enabled entry instead of whichever came first.
    • Path containment in safeReadText(): Repository text reads now strictly enforce root containment, preventing relative path traversals (..), sibling-prefix escapes (/repo-other vs /repo), out-of-root absolute paths, and ancestor symlink escapes. Sensitive files remain protected across relative and resolved canonical paths.
    • Read-only task intent and completion enforcement: Requests with explicit negative constraints (no-fix, no-modify, plan-only, such as "investigate without fixing") now consistently set readOnly: true, skip inapplicable verification command requirements, and block task completion at the task gate if files were modified during the task. Keyword routing precedence between release preparation, documentation, and defect types (like memory leaks) has been clarified.
    • Secret redaction pattern: Updated Google API key detector regex to match variable 38–40 character lengths (AIza prefix with 34–36 characters) without false positives on adjacent identifiers.
  10. v0.3.0

    Show notes

    Added

    • context --for "<request>": task-aware context. The request is classified and only the facts, checks (scoped to the named or changed package), decisions and document references it needs are printed, each with the reason it is included. Safety rules are always printed. Detector facts with a value identical to another selected fact are folded into it in the output (nothing is removed from facts.json); human/AI-authored facts are never folded or clipped. context without --for is unchanged.
    • Discovery cache in .devworkspace/local/cache/discovery.json (project-local, git-ignored), keyed by the scan result and the content of every manifest detection reads. Never written by --dry-run; a mismatching, corrupt or tampered cache is ignored.
    • scripts/bench.mjs and a benchmark workflow in docs/benchmarking.md.

    Changed

    • analyze/refresh run the file scan and the Git query concurrently.
    • Requests naming cross-tenant access, tenant isolation, CSRF/XSS, SQL injection, IDOR, CVEs or privilege escalation route to SECURITY even when they start with "fix".
  11. v0.2.2

    Show notes

    Patch release driven by a real-user acceptance test on a two-package ERP (backend/ + frontend/). Existing workspaces keep working; analyze adds new fields and commands.json entries may gain "mutates".

    Added

    • Package-aware, evidence-based verification. task run <id> <check> [--package <dir>] executes the contract command (argument vector, no shell) for the packages the task changed and records exit code, duration and a fingerprint of the changes. The completion gate of a task created by 0.2.2 requires executed evidence per changed package, taken after the last change; a reported pass (task verify ... pass) is a claim and is accepted only with --reason user-override. A check that could not run is COULD_NOT_RUN, not a pass. Tasks created by older versions keep the original gate.
    • Database and service safety. Migrations, seeds, resets and anything destructive or file-modifying are never run. Integration, security and e2e checks, and a catch-all test in a package with a database dependency, run only after devworkspace testenv declare ... --yes. DevWorkspace does not read connection settings, never prints them and does not judge a database safe by its name.
    • testenv declare|list|revoke (machine-local, git-ignored), status --deep, task ... --package, repo.entry-points and repo.docs detector facts.

    Fixed

    • Documentation in nested folders was not detected (backend/docs/ with an index and ADRs reported "Docs: none detected"). Docs, ADR, architecture and README files are now found inside packages and nested docs/ trees, deduplicated, capped (40, important files kept) and never taken from dependency, build, generated or fixture folders.
    • Entry points were never detected. discovery.json now has entryPoints (package-relative path, package directory, kind and the evidence): files named by start-like scripts (dev, start, worker:*...), main and bin, including dist/x.js mapped back to src/x.ts. A file is not an entry point just because it is called server.ts, worker.ts or index.ts.
    • format scripts were reported as unavailable. In-place formatters are listed with "mutates": true and required: "no"; read-only format:check is preferred. DevWorkspace never runs a command marked mutates.
    • Re-analysing made unrelated facts stale (STALE ci.none after discovery.json was regenerated) while status said nothing was stale. Facts now depend on explicit evidence (a file, or a section discovery.json#section); bare generated files are not evidence. status, refresh --dry-run and doctor share one read-only evaluation and report the reason for every stale fact.
    • init and status suggested setup --integrations --yes although everything was installed. The quick view now says "installed; health not checked" and recommends doctor / integrations status; status --deep runs the same health checks as doctor. setup is only suggested when something required is missing.
    • doctor did not notice an outdated installed Claude skill/instructions. New agent-freshness check (read-only; agent install still refreshes them).
    • task new "Validate ..." was classified as a low-confidence read-only question. Imperative requests are never defaulted to read-only now; direct questions ending in "?" are questions; tenant/ownership/authorization wording routes to SECURITY.
    • task verify/tests/attest printed the whole task every time; they now print a short result, the first open gate failures and the next step.
    • context --topic filtered facts but printed the whole testing contract. It now filters both and always prints the safety rules and the list of commands DevWorkspace will not run by itself.
  12. v0.2.1

    Show notes

    Patch release: repository discovery for multi-package projects, honest doctor diagnostics, and a correct Windows PATH diagnosis for Graphify. No breaking changes; existing commands.json and discovery.json files stay valid.

    Added

    • cwd on command entries in commands.json (optional), manifests in discovery.json, a repo.packages fact, and discovery.json warnings for "no ecosystem recognised" and "no verification commands found".

    Fixed

    • analyze did not detect Node.js repositories without a root package.json (for example backend/ + frontend/, each with its own lockfile). Detection was tied to a single root manifest, so such a repository reported no ecosystem, no package manager, no packages and every verification command as unavailable. Every package.json is now discovered (not only the root), each package takes its package manager from its own lockfile, and a repository with several packages and no workspace tooling is recorded as multi-package.
    • Verification commands are now recorded per package with a working directory (cwd, relative, POSIX) and only for scripts that exist in that package's manifest. test:security and db:migrate are recognised, and test:unit is preferred over a catch-all test.
    • Re-analysis no longer loses confirmed commands. Commands a person or Claude confirmed (origin: "user") are always preserved with their provenance, including when an analysis finds nothing or the scan is truncated; analyze says how many were kept.
    • doctor no longer reports READY for a repository it did not understand. New checks warn when a package manifest exists that the last analysis did not record (discovery-incomplete), when source files exist but no ecosystem was detected (discovery-ecosystem), and when no verification commands are configured (verification-commands); any of these withholds READY. A project that intentionally has none can set settings.acknowledgeNoVerification in project.json.
    • Graphify PATH diagnosis on Windows. doctor and integrations status told you to add Graphify to PATH even when it was already on your persistent user PATH. DevWorkspace now reads the persistent user and machine PATH (read-only, via reg query) and, when the folder is already there but the running terminal or VS Code predates it, reports RESTART_REQUIRED with "reopen the terminal or restart VS Code". If the folder is on neither PATH it still reports DEGRADED with the installation/PATH advice. macOS and Linux never query the registry and keep the general advice.
    • Executable lookup in the Graphify adapter used the host's process.platform instead of the platform being inspected.
  13. v0.2.0

    breakingShow notes

    Breaking changes

    • Breaking (output/JSON): doctor reports core workspace and integrations separately (Core workspace: …, Overall: …); the Result: line and the integration-* entries in checks are gone, and integrations / integrationSummary were added. Integration states are now the eight statuses above instead of READY/PARTIAL/NOT_DETECTED/UNVERIFIED/ERROR.

    Added

    • devworkspace setup --integrations, devworkspace init --with-integrations, devworkspace integrations status|repair: an integration manager with one adapter per tool (Graphify, Agent Skills, Ponytail; OmniRoute is only observed).
      • Reuses existing installs; picks uv, then pipx, then pip install --user for Graphify; prefers the native Claude Code plugin (project scope) for Agent Skills and Ponytail and falls back to portable skills through the documented Skills CLI.
      • Statuses are observed, not assumed: NOT_INSTALLED, PREREQUISITES_MISSING, INSTALLING, INSTALLED, VERIFIED, DEGRADED, FAILED, RESTART_REQUIRED. Portable skills are never reported as the native plugin.
      • Consent levels: only project-local steps run without --yes; --dry-run shows the plan; non-interactive by design.
      • Existing CLAUDE.md, .claude/settings*.json and skills are snapshotted and verified after every step; damage is rolled back.
      • Finds the Claude Code CLI bundled with the VS Code extension; rejects the Windows Microsoft Store Python stub; runs Windows .cmd shims through a validated cmd.exe call; resolves npx without a shell.
      • Records attribution in .devworkspace/THIRD_PARTY_NOTICES.md for portable installs. State in .devworkspace/state/integrations.json (git-ignored).

    Changed

    • status and analyze show a quick, unverified look at integrations (never VERIFIED).
    • The onboarding prompt tells Claude to run devworkspace setup --integrations instead of installing tools by hand.
    • .devworkspace/local/integrations.json is replaced by .devworkspace/state/integrations.json.

    Fixed

    • Notice text and tool errors are scrubbed of secrets and absolute paths before being shown or stored.
  14. v0.1.1

    Show notes

    Added

    • devworkspace reset: delete .devworkspace/ to start fresh. Shows a plan unless --yes; --include-agent-files also removes the managed CLAUDE.md block and skill. Refuses symlinked workspaces and never touches application files.

    Changed

    • The onboarding prompt now has Claude install Graphify, Agent Skills and Ponytail itself (after a single confirmation) using the claude plugin ... shell commands and uv tool install graphifyy, then verify them with claude plugin list. Previously it only told the user to install them.
  15. v0.1.0

    Show notes

    First release candidate. Initial npm release.

    Added

    • init, analyze, status, doctor, refresh, context, fact, task, decision, session, agent install, export, import, migrate commands.
    • Project-local .devworkspace/ workspace: portable knowledge (facts with provenance/confidence/status and hash-based staleness, decisions, tasks, sessions, testing contract) separated from machine-local state.
    • Deterministic discovery for Node, Python, Go, Rust, Java and PHP projects, monorepos, CI, Docker, deployment hints and existing AI instruction files; bounded scanning with .gitignore / .devworkspaceignore support.
    • Onboarding and refresh prompt generators, validated against a behavioural requirement list.
    • Claude Code adapter: managed CLAUDE.md block (merge-safe, CRLF-safe, AGENTS.md-aware) and an on-demand devworkspace skill.
    • Task lifecycle with a completion gate (required verification, baseline-vs-after regression detection, attestations, user-override handling) and request routing.
    • Integration detectors for Graphify, Agent Skills, Ponytail and (optional) OmniRoute with graceful degradation.
    • Atomic writes, advisory locking, schema versioning with migrations and backups, secret redaction, path-safety and hostile-import validation.
    • Zero runtime dependencies; Node ≥ 20.11; Windows, macOS and Linux.

Prereleases are not shown in the timeline: 0.0.0-stage