archvow documentation¶
archvow is a human-governed, deterministic system that keeps AI-built software understandable, traceable and maintainable by the people who own it. The spec is the product, and the build fails when the code does not follow it.
archvow is a specs tool before it is a development tool: the spec lives as long as the project, and the build enforces it. How it differs from GitHub spec-kit and OpenSpec: the README of the repository.
archvow never writes source code. A person writes the spec of a project - what must exist, what it must do in every edge case, what must never happen - and archvow checks, on every commit and every merge request, that the code follows it. Whoever wrote the code: a developer, an AI assistant, or both. You don't trust the implementer; you trust the checker.
Start here¶
| I want to... | Read |
|---|---|
| know why archvow exists, and whether it is for my team | Why archvow |
| know what a word means (vow, feature, component, decision, hazard, invariant...) | Glossary |
| understand what archvow is for, in 5 minutes | Concepts |
| install it | Installation |
| create my first project and see the whole flow | Getting started |
| know what to do every day, as a developer or an architect | Daily workflow |
| organise a team: approvals, merge requests, upgrades | Project management |
| work with AI assistants (Claude Code, Copilot, JetBrains AI...) | AI assistants |
| keep the AI agents in a sandbox and out of YOLO mode, and know what archvow sees | Agent security |
| classify personal data (GDPR), keep real data out of tests, follow DORA | Compliance |
| build a Python application or library (the default template) | The python-app template |
| know everything the PySpark template offers | The pyspark-pipeline template |
| build a FastAPI web service | The fastapi-service template |
| build an AI assistant (LangGraph: agents, tools, RAG on the company's data) | The langgraph-agent template |
| create my company's own templates, agents and rules | Packs |
| bring an existing project under archvow | Adopting an existing project |
| roll it out in a company: owners, publishing, upgrades, a pilot | Rolling out in a company |
| know what archvow enforces and what my Git host must enforce (a security review) | What your Git host must enforce |
| use a shared company library (database, logging...) | Shared libraries |
understand an error such as ARCH017 or SPK004 |
Rules |
read a vow (.vow): its syntax and keywords |
The .vow format |
| look up a command and its options | Command reference |
| fix an installation or usage problem | Troubleshooting |
In one picture¶
architect / lead developer or AI assistant Git hook + CI
---------------- ------------------------- -------------
archvow component add ... -> reads the spec -> archvow check
archvow decision make ... archvow show <c> ruff, pytest
archvow hazard / invariant writes the file and its test check --base main
commit the spec commits (nothing weakened)
- The spec lives in
.archvow/: one vow for the project, one per feature (what the product does) and one per component (.archvow/features/<feature>/components/<component>.vow), changed only through archvow commands, reviewed like code, approved by the architects. - The component's spec,
archvow show <component>, is the task: the file to create, its public names, the decisions made, the tests, what must never happen. - The checks fail the build when code and spec differ: an undeclared file or function, an import across layers, an open question, a missing test, an invariant that is not tested...
Principles¶
- Simple to use. A developer needs three commands:
archvow next, the spec, and a commit (the Git hook runs the checks). - No silent decisions. Every ambiguity is a question a person answers before the code may exist. An AI that has to assume something records it, and the build stays red until a person accepts it.
- What must never happen comes first. Hazards are found systematically, and the few that matter get an invariant, and a test that checks it.
- Deterministic gates. The checks read files and Git history: no network, no AI, the same answer every time.
- Generic engine, specific templates. The engine knows nothing about Spark, FastAPI or
LangGraph; the
pyspark-pipeline,fastapi-serviceandlanggraph-agenttemplates do. Your company extends them with its own conventions.
This documentation is for archvow 1.22.0, in English and in French. archvow's commands,
options and messages are in English; the documents it generates in a project (README, AGENTS.md,
guide, specs) are in the project's language, English by default (-a language=fr for
French).