1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages
Successor repository for the DocForge project-scoped documentation graph.
Find a file
2026-07-25 17:34:58 -04:00
docs Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00
schemas feat: add deterministic preview rendering 2026-07-22 03:32:05 -04:00
src/docforge Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00
tests Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00
tools Refactor and harden graph browser assets 2026-07-25 16:46:00 -04:00
.gitignore Add browser asset quality gate 2026-07-24 22:36:44 -04:00
.htmlvalidate.json Add browser asset quality gate 2026-07-24 22:36:44 -04:00
ACTIVE_SLICE.md Upgrade generic graph navigation 2026-07-24 21:43:11 -04:00
AGENTS.md Add browser asset quality gate 2026-07-24 22:36:44 -04:00
eslint.config.mjs Refactor and harden graph browser assets 2026-07-25 16:46:00 -04:00
package-lock.json Make DocForge quality gates reproducible 2026-07-25 16:23:23 -04:00
package.json Make DocForge quality gates reproducible 2026-07-25 16:23:23 -04:00
pyproject.toml Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00
README.md Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00
SLICE_HISTORY.md Add gated changeset application and graph controls 2026-07-25 16:00:19 -04:00
stylelint.config.mjs Add browser asset quality gate 2026-07-24 22:36:44 -04:00
toreview.md Document incremental adapter indexing design 2026-07-25 00:30:30 -04:00
uv.lock Add semantic flow and convergence web views 2026-07-25 17:34:58 -04:00

DocForge

DocForge is a project-scoped documentation graph for people and AI agents. It validates canonical documentation, builds a disposable search and relationship index, compiles bounded context, renders declared manuals, visualizes project structure, and manages reviewable documentation changesets.

What it does

  • Validates stable Markdown/TOML nodes and typed relationships.
  • Builds a deterministic SQLite search and graph index.
  • Exposes project-bound CLI and MCP query surfaces.
  • Creates, validates, diffs, and previews isolated changesets.
  • Applies one explicitly approved changeset hash through CLI or gated MCP.
  • Runs a managed loopback graph browser with neighborhood, semantic Flow, convergence Web, source inspection, and branch-aware node hiding.
  • Supports generic documentation projects and project-owned source adapters.

DocForge never treats indexed text as instructions. It does not run shell commands, mutate Git, build applications, deploy, publish, or select projects globally.

Five-minute start

Requirements are Python 3.12+, uv, and Node.js/npm.

git clone forgejo@repo.andraxion.net:administrator/DocForge.git /absolute/path/DocForge
cd /absolute/path/DocForge
uv sync --group dev
npm ci

PROJECT=/absolute/path/MyProject
.venv/bin/docforge --project-root "$PROJECT" validate
.venv/bin/docforge --project-root "$PROJECT" reindex
.venv/bin/docforge --project-root "$PROJECT" visualize

Install the persistent per-user graph viewer once:

.venv/bin/docforge-viewer-manager install-user-service

Start an MCP server for one project:

.venv/bin/docforge-mcp \
  --project-root "$PROJECT" \
  --proposal-writer project-editor

Add --canonical-applier project-editor only when that MCP integration should expose the hash-bound docforge_apply_changeset tool.

Documentation

Development

npx pyright
npm run lint:web
uv run ruff check src tests tools
uv run ruff format --check src tests tools
uv run python -m compileall -q src tests tools
uv run pytest -q

See AGENTS.md before changing core boundaries.