Skip to main content

A governed development framework for AI-assisted engineering

Project description

vaultspec-core

Continuous integration PyPI version Python 3.13+ Model Context Protocol uv License: MIT

Vaultspec is a spec-driven harness for coding agents (and us, the humans!).

Every feature moves through [R] Research → [D] Decide → [P] Plan → [E] Execute → [V] Review. A feature is bound together by its tag and document references in a persistent vault. Think a folder of Markdown files. It holds the intent, decisions, and history that govern the project - a second brain shared by developers and coding agents.

We maintain persistent records of the pipeline steps, decisions in a git tracked vault. We research, ground, and decide before writing a plan, and we enforce that sequence before any code is written - so every coding agent adheres to the same goal, even working in an isolated sandbox. See the framework manual for the CLI and plan-management capabilities behind this.

The vaultspec ecosystem

vaultspec-core is the hub of a small family of projects. vaultspec-rag adds semantic search over both the vault and your codebase, so coding agents can retrieve relevant decisions and code by meaning rather than by keyword. vaultspec-dashboard provides a visual interface (UI) for browsing and navigating the vault. vaultspec-a2a handles orchestration across multiple coding agents working on the same project in parallel.

The pipeline at a glance

[R] Research  →  [D] Decide  →  [P] Plan  →  [E] Execute  →  [V] Review
Stage What it produces You
Research Options and findings in .vault/research/ Review and approve the findings
Decide An Architecture Decision Record (ADR) in .vault/adr/ Approve the decision
Plan An implementation plan in .vault/plan/ Review and approve the plan
Execute Execution records in .vault/exec/ Stay available while the agent works each step
Review A review and audit report in .vault/audit/ Read the report and decide if the work ships

You approve each checkpoint before the next stage begins, so you stay in control of every consequential choice in the project.

Getting started

Install the CLI

The only prerequisite is uv, the Python package manager and tool runner that provides uvx.

With uv in place, choose how you want to use vaultspec-core:

# Run once without installing
uvx vaultspec-core

# Install as a global tool
uv tool install vaultspec-core

# Add as a project dependency
uv add vaultspec-core

Provision your project

Installing the CLI is separate from setting it up in a project. Run the install command once inside your project root to provision the framework:

uvx vaultspec-core install
uvx vaultspec-core install --upgrade

This sets up the framework for the supported coding agents: Claude, Codex, Gemini, and Antigravity. It also creates two folders in your project: .vault/ for your documents and .vaultspec/ for the framework configuration. Pass --upgrade to re-seed the bundled builtins.

Note: uv add writes vaultspec-core into your pyproject.toml. vaultspec-core install handles the rest of the project integration separately: it manages a block in your .gitignore and .gitattributes, writes pre-commit hooks, and drops an .mcp.json for Model Context Protocol clients.

Drive your first feature

Open your coding agent - such as Claude Code, Codex, or Gemini - in the project root, then describe the work you want done in natural language:

"Research options for adding full-text search to the API."

The synced rules guide the agent through the pipeline stage by stage, writing documents into .vault/ as it goes: a research note, then a decision record, a plan, execution records, and a final review. You approve each checkpoint before the agent moves on.

Invoke a stage skill directly - for example /vaultspec-research - to enter the pipeline at a specific stage. See the bundled skills for the full set, or the framework manual for how each one works.

What vaultspec-core contains

vaultspec-core bundles everything needed to run the spec-driven pipeline: a command-line tool, a set of skills, agent personas, shared policy rules, and an MCP server.

The CLI

vaultspec-core is the runtime that ties the framework together. It installs and syncs the framework configuration, validates vault documents, and manages plans through their full lifecycle - from authoring steps to checking completion. See the CLI reference for the full command inventory.

Skills

Skills are the slash-commands that drive each stage of the pipeline. Six map to the pipeline stages; two helpers - curate and documentation - cover everyday upkeep. The framework manual gives full guidance on each, plus two further skills for team coordination and project management.

Which skill, when

When you want to Skill
Explore a problem and weigh options /vaultspec-research
Ground the work in the existing codebase /vaultspec-code-research
Record the decision and its consequences /vaultspec-adr
Turn the decision into an implementation plan /vaultspec-write
Work through the plan, step by step /vaultspec-execute
Audit the finished work by severity /vaultspec-code-review
Repair vault links, frontmatter, and naming /vaultspec-curate
Draft user-facing documentation /vaultspec-documentation

Agents

Agents are the personas that execution delegates to. Each has a defined role and a declared tool-access level: some write files and run commands, others only read and return findings. Execution dispatches independent plan steps to several agents in parallel, which keeps long plans moving instead of blocking on each step in sequence.

Rules and system prompts

The .vaultspec/ directory holds the policy that shapes how agents behave: rules, skill definitions, agent declarations, and system prompt fragments. This configuration is team-shared by default and syncs into each provider on demand. Use vaultspec-core spec to inspect, update, and propagate changes across the workspace.

MCP server

The MCP server exposes vault discovery and document creation over the Model Context Protocol (MCP) to clients such as Claude Code via stdio. It's an alternative to file-based sync for environments where a live connection to the vault is more convenient than reading files directly. See the MCP reference for setup and available tools.

Working in the vault

Where work lives

.vault/ holds every document your features produce, organized by type: research/, reference/, adr/, plan/, exec/, audit/, and an auto-generated index/. Each document carries a feature tag, and wiki-links bind a feature's documents together across its lifecycle. Everything is Markdown committed to git, so the record travels with the code.

Tip: The vault is plain Markdown with wiki-links, so it opens directly in Obsidian. Point an Obsidian vault at .vault/ and its feature tags and document links render as a navigable graph network.

Managing documents from the CLI

Documents are created and maintained through the vaultspec-core vault command group - never hand-written. The CLI enforces templates, tag taxonomy, and wiki-link resolution so your vault stays consistent.

# Scaffold a document from a template
vaultspec-core vault add research --feature search-api

# Find and inspect documents
vaultspec-core vault list --feature search-api

# Validate frontmatter, links, and cross-references (--fix to auto-repair)
vaultspec-core vault check all --fix

# Visualize a feature's dependency graph
vaultspec-core vault graph --feature search-api

Plans carry deeper structure - waves, phases, and steps. The framework manual covers that structure.

Learn more

Guide What it covers
Framework manual The development workflow, skills, agents, and customization
CLI reference Every command, flag, and option for vaultspec-core
MCP reference The MCP server tools, setup, and configuration

The companion projects extend the framework: vaultspec-rag adds semantic search over your vault and codebase, vaultspec-dashboard provides a visual UI, and vaultspec-a2a handles agent orchestration.

Status, help, and license

vaultspec-core is actively developed. The version badge shows the current release. File bugs and questions on the issue tracker. Bug reports, feature ideas, and pull requests are welcome. vaultspec-core is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vaultspec_core-0.1.35.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultspec_core-0.1.35-py3-none-any.whl (978.9 kB view details)

Uploaded Python 3

File details

Details for the file vaultspec_core-0.1.35.tar.gz.

File metadata

  • Download URL: vaultspec_core-0.1.35.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vaultspec_core-0.1.35.tar.gz
Algorithm Hash digest
SHA256 789effef30d566cda830a0b1f305dc301e8b6c396d7439b5740cd3ed09981924
MD5 bf02a0387cecf5089507bb0bdbc171d5
BLAKE2b-256 05888afc199e4280899260b5c175bcc339b12edd912e533d0222d67eb2d0d5a5

See more details on using hashes here.

File details

Details for the file vaultspec_core-0.1.35-py3-none-any.whl.

File metadata

  • Download URL: vaultspec_core-0.1.35-py3-none-any.whl
  • Upload date:
  • Size: 978.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vaultspec_core-0.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 21b0c8b3767ad64c7ff3a2c30d2d98c5028cdc4131733b64a4a60bbb57505e70
MD5 bc73f6fe86c6d88c695e20ca0f25ccb9
BLAKE2b-256 23b1f7fa40c9555ffa8b869c2b2c1c48a149a3508bd98ab6a9f601f95ca2cede

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page