# Repository Briefing: splitscale/archeture
> Source: https://repoforai.com/repo/splitscale/archeture (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/splitscale/archeture
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: HTML
- **License**: MIT
- **Engineering Health**: A (79/100 · Maintenance 35/35 · Adoption 4/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.3.0 (2026-12-03) — https://github.com/splitscale/archeture/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI, MCP
- **Momentum**: 83 ★ total (+16 24h / +83 7d) · 3 forks
- **When to Use**: Best for: Teams that review architecture and test documentation alongside code and want an agent to draft updates against a queryable code graph. Skip if: All inference must stay offline, or you need authoritative runtime architecture, test-coverage evidence, or verified standards compliance rather than a draft for human review.

## Overview
```text
### Architecture & Core Mechanics
Archeture is a Rust CLI that serves a local browser editor. Graphify 0.8 crates handle detection, extraction, graph building, and export. The syntax-tree index is deterministic for the same code; the agent uses that index to draft prose, but the prose itself is not deterministic. Each document has a `doc.json` section index and individual Markdown block files under `.archeture/docs/`, so documentation changes can be reviewed alongside code in the same pull request.

The app starts one Claude Code or Codex subprocess per chat run and connects it to `archeture mcp`. In the managed Claude Code session, built-in tools are disabled and code context comes from graph tools. External clients can connect in read-only mode and query `doc_graph` before fetching individual blocks. The browser UI uses BlockNote and Mermaid.js; the Rust manifest includes Comrak for Markdown and Typst libraries for PDF generation.

### Key Capabilities & Differentiators
Archeture drafts Software Architecture Documents structured around ISO/IEC/IEEE 42010 and Test Specifications structured around ISO/IEC/IEEE 29119-3. The latter cover the test model, cases, and procedures. A Project Charter can be drafted from timestamped meeting notes. Version 0.3.0 supports multiple documents of the same kind in one project and lets users switch, rename, or duplicate them from the editor.

`archeture validate` surfaces drift at the block level, and the editor distinguishes empty, draft, and stale sections. Users can act on individual findings, link to code symbols or files with `@` mentions, and edit Mermaid diagrams in place. The built-in agent backends are Claude Code and Codex; local models are not yet supported. Outputs include PDF, Markdown, HTML, and print.

### Trade-offs & Limitations
Compared with a plain Markdown and Mermaid workflow, Archeture adds code-linked navigation, standardized document structures, and a block-level queue for stale content. The cost is a managed layout plus dependence on an external CLI for AI assistance. A deterministic graph makes the source references reproducible, not the resulting prose correct or standards-compliant. Keep human review in the pull-request workflow.

The graph omits fields and inheritance edges. Class diagrams infer some base types from declarations but miss Rust `impl Trait for Type`. DFD and STRIDE classifications use folder names, concern traceability uses keywords, and test linkage counts direct calls rather than measuring coverage. Reindexing is full, which matters when enabling automatic rebuilds on larger repositories. The Codex adapter parses `codex exec --json` events but has not been tested against a real Codex installation.

### Hardware & Deployment Guide
The packaged v0.3.0 workflow is to put the binary on `PATH` and run it from a project directory. Linux and Windows x86_64 archives are listed, and the Rust manifest specifies Rust 1.95 for source builds. `archeture init` indexes the code and creates an empty architecture document; `--kind test-spec` selects a test specification. `archeture open --no-browser` starts the localhost app without launching a browser.

The documented runtime uses a local binary and browser, with no separate database or container required. AI drafting needs a signed-in `claude` or `codex` CLI, configured in `.archeture/config.toml`; running the app locally does not make the agent workflow offline. Size the host for full-repository indexing, agent sessions, and PDF export rather than local model inference. v0.3.0 adds multi-document projects and migrates an existing v0.2 document to `.archeture/docs/sad/` on first run.
```

## Key Capabilities
```text
- Indexing: Graphify 0.8 crates build a deterministic syntax-tree graph; each `archeture index` run rebuilds it in full.
- Version control: Each document has a `doc.json` section index and one Markdown file per block under `.archeture/docs/`.
- Agent integration: Archeture starts one Claude Code or Codex subprocess per chat run; external agents can use the read-only MCP mode.
- Drift review: Validation findings appear on the affected blocks, with options to fix manually, ask the agent, or ignore.
- Document kinds: Architecture descriptions use ISO/IEC/IEEE 42010; test specifications use 29119-3; Project Charters can start from timestamped meeting notes.
- Editor and export: The browser editor supports Mermaid diagrams and code references, with PDF, Markdown, HTML, and print output.
```

## Quick Start / Clone
```bash
curl -fsSL https://raw.githubusercontent.com/splitscale/archeture/main/install.sh | sh
```
