System map
Modules, features, glossary and decisions in plain Markdown, browsable in Obsidian, VitePress or GitHub.
Open-source CLI · Rust · local-first
archeology-doc (adoc) inspects new or legacy projects and, with the AI agent you already use, generates a browsable knowledge base, documentation, findings and context for agents. Every claim cites its source as path:line.
$ curl -fsSL https://your-site/download/install.sh | sh
Modules, features, glossary and decisions in plain Markdown, browsable in Obsidian, VitePress or GitHub.
Findings by severity: outdated documentation, duplicated rules, conflicting configuration, dead code.
Features ↔ tests, covered and missing scenarios, disabled or empty tests.
AGENTS.md, persistent memory and skills: every AI session starts knowing what exists and where.
Requirement compliance checked against the code, and inferred baseline specs for projects that have none.
adoc check validates evidence, links and outdated notes; ideal for CI.
Rust computes the deterministic parts; your agent does the interpretation; adoc orchestrates and validates.
adoc scanAI-free inventory: languages, modules, tests, CI, git history and OpenSpec. Honors .gitignore and excludes secrets.
adoc planSplits the work into bounded tasks based on project size: a few tasks for a small one, more for a large one.
adoc inspectYour agent runs each task. It is only marked done if it produced what was asked, with valid evidence.
adoc previewA site with a dashboard: status, findings, questions for the team and FAQ. Or a single HTML report.
adoc syncWhen the code changes, it marks the affected notes as outdated and reopens only those tasks.
One command for your system: it downloads the binary for your platform, verifies its SHA-256 and puts it on your PATH. No Rust needed. Node 18+ only for the VitePress site and the extension.
Terminal
$ curl -fsSL https://your-site/download/install.sh | shor download the binary
When downloaded from the browser, macOS quarantines it:
xattr -d com.apple.quarantine adoc archeology-doc, then move both to ~/.local/bin.
Not needed with the terminal command.
Terminal
$ curl -fsSL https://your-site/download/install.sh | shor download the binary
Binaries for glibc 2.28 or later (Debian 10, Ubuntu 18.10, RHEL 8 and newer).
PowerShell
> irm https://your-site/download/install.ps1 | iexor download the binary
The installer puts it in %LOCALAPPDATA%\Programs\archeology-doc\bin and adds it to your
PATH, without administrator rights. On Windows ARM64 it runs under x64 emulation.
# Requires Rust (rustup.rs). Installs `adoc` into ~/.cargo/bin
git clone https://github.com/jsoncr/archeology-doc.git
cd archeology-doc
WEBSITE/installers/install.sh
# or directly with cargo
cargo install --path crates/archeology-cli --lockedExtras
# With shared VitePress and the VS Code extension
curl -fsSL https://your-site/download/install.sh | sh -s -- --with-vitepress --with-vscode
# Checks requirements: git, Node, VitePress, OpenSpec and agents
adoc doctorTwo equivalent binaries are installed: adoc (short) and archeology-doc.
To uninstall: adoc uninstall (with --purge it also deletes
~/.archeology-doc; your project files are never touched).
| File | Platform | Size | SHA-256 |
|---|---|---|---|
List available once the site is published (WEBSITE/dist.sh). | |||
Verify a download with shasum -a 256 <file> (macOS/Linux) or
Get-FileHash <file> (PowerShell) and compare it with SHA256SUMS.
In your project folder:
cd my-project
adoc init # config + structure
adoc agent use claude # or devin, codex, gemini…
adoc scan # deterministic inventory
adoc plan # tasks sized to the project
adoc inspect # the agent documents
adoc preview # see the resultadoc review | Progress, findings, features without tests |
adoc inspect --resume | Retries failed or interrupted tasks |
adoc task answer T-014 "…" | Answers an agent that asked a question |
adoc task run T-014 -i | Interactive session with the agent |
adoc ask "…?" | Ask about the project → FAQ |
adoc sync | Detects changes and marks outdated notes |
adoc check | Validations for CI |
adoc report | Single HTML report to share |
adoc projects list | All your projects and their progress |
Agent-agnostic: switch agent or model whenever you like. No CLI? Export the tasks and do them by hand.
adoc agent list # available; * = active
adoc agent use devin --model opus # project agent and model
adoc inspect --agent codex # just for this runEverything generated, in view while you code. Also works in Cursor, Windsurf and Devin Desktop.
cd archeology-doc/extension
npm ci
npm run package
code --install-extension archeology-doc-0.1.0.vsixOnly results, in Markdown. Working state lives outside the repository.
my-project/
├── archeology-doc.toml # config + ID
├── AGENTS.md # context for agents
├── knowledge/ # Obsidian vault
│ ├── 00-overview.md
│ ├── modules/ features/ findings/
│ ├── tests/ glossary/ faq/
│ └── memory/
├── docs/ # VitePress site
└── llms.txtpath:line