Installation Requirements
February 15, 2026 ยท View on GitHub
The system must support installation on developer machines.
Requirements
Manual Installation
The system must support manual installation by providing valid configurations for standard tools.
- Rust Toolchain:
- Version: Latest Stable
- Components:
clippy,rustfmt,llvm-tools-preview
- Node.js:
- Version: v18 or higher (Required for VS Code Extension)
Derived from
Binary Installation Support
The system must provide pre-compiled binaries and official installation scripts (hosted on GitHub Releases) to simplify deployment.
- Platform Support: Linux (x86_64), macOS (x86_64/aarch64), Windows (x86_64).
- Automated Scripts: Provide a shell script for Unix-like systems and a PowerShell script for Windows to handle downloading, extraction, and PATH configuration.
Derived from
Zed Editor Extension
The system must provide an extension for the Zed editor to enable LSP support via Zed UI.
- Format: WASM (
wasm32-wasip1) - Features: Real-time diagnostics, Go to Definition, Traceability References.
- Distribution: Source code or packaged archive.
- Security: Requires Trusting the Workspace (exiting Restricted Mode) in Zed to allow the external binary execution.
- Configuration: Requires a
.zed/settings.jsonin the project root to explicitly enable thedocgraphlanguage server.
Derived from
Pre-commit Hook Support
The system must support automated code quality checks before commits using prek.
- Tool:
prek(Rust-based pre-commit runner). - Automated Checks:
- Rust:
cargo fmt,cargo clippy,cargo test. - Docs/Config:
prettier(with TOML plugin). - Validation:
docgraph check.
- Rust:
- Setup: Supports a one-command setup via
prek install -f.