gpp
gpp (git++)
ИИ-агенты постоянно меняют код, а затем теряют работу, которая происходила между коммитами — а заметки, которые они ведут о вашей кодовой базе (CLAUDE.md, memory banks, knowledge files), молча устаревают, когда код уходит вперёд. gpp — это система контроля версий, созданная под эту реальность: она фиксирует каждое изменение в тот момент, когда оно происходит, продвигает (promote) отобранные наборы изменений с указанием намерения и происхождения (provenance) и размещает знания проекта в истории самого репозитория — поэтому, когда коммит обесценивает что-то, во что вы верили о коде, gpp может назвать именно тот коммит.

(Запись генерируется скриптом scripts/demo.sh — детерминированно, воспроизводимо, без макетов.)
Попробуйте за 30 секунд
cargo install gpp-cli
gpp init --graphex
echo "fn main() {}" > main.rs
gpp timeline # captured already — no staging, no commit
gpp promote -m "first cut" --intent feature
gpp diff HEAD # semantic diff: renames/moves are one opИ то, чего не умеет ни одна другая VCS: — записывайте, что вы думаете о коде, и пусть история следит за актуальностью, что сделано:
gpp belief add --claim "token expiry is 24h" --evidence src/auth.rs:7-7
# ...weeks of commits later...
gpp belief bisect "token expiry is 24h"
# INVALIDATED cs:fhcpef7c "raise token expiry to 7 days"
# - 7 | pub const EXPIRY_HOURS: u64 = 24;
# + 7 | pub const EXPIRY_HOURS: u64 = 168;Детерминированность: пересечение диффов и хеши блобов, ни одного вызова LLM она сети. Для масштабирования: если поручить лучшей frontier-модели вынести суждение о том, было ли сохранённое знание инвалидировано, её точность на бенчмарке STALE составляет 55,2% — здесь это просто запрос к истории, а не judgement. Проверено на реальной истории пяти репозиториев на четырёх языках — axum 0.6→0.7, flask 1.1→2.0, clap 3→4, zod 3→4, go-redis 8→9 — где каждое устаревшее убеждение бисекцируется до закреплённого, документированного коммита-виновника, а контрольные убеждения не инвалидируются: полная матрица — в demos/belief-bisect/.
Related MCP server: ITHZ MCP
В чём отличие
Постоянном захват (continuous capture). Быстродействующая временная линия фиксирует каждое изменение файла (SQLite WAL, наблюдатель с debounce); отобранные changesets продвигаются (promote) из этой дрос без потерь. с явным намерением (intent), типом автора (человек/агент) и реестра стоимости. Между коммитами ничего не теряется.
Graphex: — версионируемые и шифрованные знания проекта. Архитектура, конвенции, решения и убеждения хранятся в зашифрованном графе знаний внутри репозитория; доступ к ним уровня регулируется по степени доверия агента (tier‑gated), каждое чтение аудируется — и производится проверка желудcom onличная на יסער: товарища.
Управления агентами (agent governance). Агент — полноценный identity с рейтингом репутации, политики compliance-as-code применяются на захвате/promote/синhe (влечения), определяется детектинг аномалий и учитываются токены и затраты по каждому changeset.
Всё остальное — P2P‑синка по Noise, replay, review/RBAC, relay‑node, TUI — это платформа , лежащая в основе: см. docs/ARCHITECTURE.md.
Git — основание, а не конкурент. Мост (gpp git-import / git-export / git-bridge) проходит реальные Git‑коммиты из стороны в сторону, поэтому GitHub и существующих процессы продолжают работать — слой знаний, прувенанс и governance-ов слоя gpp располагаются рядом. Демо на axum выше полностью работает на истории, импортированной через такой мост.
Подключение Claude Code (или любого MCP‑клиента)
gpp поставляется с MCP‑сервером: expecting. Sources беседуют с когнитивным графом (для каждой belief‑ensures спredirected wrapper: ясные — картинка, версия, и « depth => water старения).)
They добавляют свои́ утверждения, опираясь на факты, через propose_belief (подтверждение человека, далее за ними следит история), на более правдопод.
такой человек проوئه ... и сообщают costs. Добавьте это в .mcp.json в корень репозитория:
{
"mcpServers": {
"gpp": { "command": "gpp", "args": ["mcp-server", "--stdio"] }
}
}Полная настройка клиента (Claude Desktop, generic stdio) и спиисок экспонированные발: docs/MCP.md.
Статус
Реализация all 9Фаз (0–8) roadmap completed. See docs/ROADMAP.md — по-этап results и documented отклонения; docs/TODO.md — приоритетbacklog; docs/WORKLOG.md — работчий журл.
Verified 2026-08-23: 184 тестов workspace проходят, cargo clippy dan cargo fmt без замечаний, собирается в весь workspace. Заглушных, stub-крейтов no d— каждый crank имеет рабочую license . Coverage fecha в CI (cargo llvm-cov; 65.7% строк базов, повышается).
Глубина тестов для top-уровня: базовые слои хорошо сплошь практически (≥ 80% строк: gpp-core, gpp-graphex, gpp-diff, gpp-tui; у CLI есть end‑to‑end сюиты: на commit-полис, отчёт костов, назначение рецензентов, бисекция убеждений), но несколько интеградочных rres — пока only smoke (gpp-sdk, gpp-notify, gpp-rbac, gpp-replay). «Implemented» здесь значит «разобрано на события и испытания на milestone», не «истрепано». Конstruction with this gap — в начале бакалога cref Trade с docs/TODO.md.
Полной слойной таблица
Слой | Crate | Что реализовано |
Хранилище |
| Контент-адресуемое хранилище (BLAKE3 + zstd), |
Таймлайн |
| Захват (SQLite WAL), |
История |
|
|
Diff |
| Построчный + семантический на базе tree-sitter дифф (Rust/Python/TS/Go), определение переименований/переносов |
Git bridge |
|
|
Graphex |
| Зашифрованный (age + AES-GCM) граф знаний, tier‑gated projection, запрос, жизненный цикл, аудит, убеждения + механизм проверки на актуальность |
SDK / MCP |
|
|
Доверие |
| Оценка репутации, статусные переходы, overrides, события |
Posture |
|
|
Стоимость |
| Записи токенов/$ по каждому changeset, бюджеты, эффективность, самоотчёт агента |
Анаруживание |
| Детект abnormal; сфер-охват / burst / размер, их вывод |
Синхронизация |
| Noise_XX P2P; объекты/refs/политики/graphex; сохранение форков |
Replay |
| Воспроизводимые снапш sleep окружения + drift diff |
Review/RBAC/Notify |
| Жизненный цикл ревью, роли + защита ветвей, события/inbox/HMAC‑webhooks |
Remote |
| PR в GitHub/GitLab/Bitbucket, enriched body, импорт CI/review |
Relay |
| Бинарь (daemon) постоянно- «на хабе синхронизации + health‑endpoint + Dockerfile |
Клиенты |
| Полный CLI, TUI на ratatui ( |
Ещё: extensions/{gh-gpp,vscode-gpp,neovim-gpp}, шаблоны GitHub Actions + GitLab CI, deploy/‑образа Docker, packaging/ в Homebrew.
Backlog задокументирован (в ROADMAP/TODO, не молча и не пропущен): registry/license API для зависимостей, нативные привязки PyO3/napi, внешняя синхронизация платформенного review, apt/dpkg packages.
Установка / сборка
cargo install gpp-cli # the `gpp` binary (crates.io)
cargo install gpp-relay # relay node (optional)
# or from a clone
cargo build --release
cargo test --workspace
cargo bench -p gpp-core -p gpp-diff # criterion perf suitePrebuilt binaries for Linux, macOS (ARM + Intel), Windows приложены к каждому релизу; cargo install --git https://github.com/mahabubul470/gpp gpp-cli arm- has unreleased разработки.
Ещё посмотреть
# Governance
gpp policy template secrets-scan
gpp trust show
gpp audit --include-cost --include-graphex
# Decentralized: sync two repos over Noise
gpp sync serve 127.0.0.1:9473 # on peer A
gpp sync add a 127.0.0.1:9473 && gpp sync # on peer B
# GitHub-compatible
gpp remote setup --platform github --repository acme/webapp
gpp remote pr-create --base mainСм. CLAUDE.md для контекста проекта, docs/ для полной спецификации (архитектура, дизайн данных, CLI, протоколы, roadmap), и docs/book/ — руководство пользователя и туториалы.
Лицензия
Available Tools
9 toolsgraphex_conventionsB
List applicable coding conventions.
Inputs: no named parameters.
graphex_glossaryC
Look up domain glossary terms.
Inputs: term.
graphex_queryD
Project knowledge-graph context (tier-filtered).
Inputs: budget, pattern.
graphex_statusA
Graph statistics: node/edge counts.
Inputs: no named parameters.
propose_beliefB
Record an evidence-anchored belief about the code (lands as Proposed for human approval; staleness-checked against history from the moment it exists). evidence entries are "path:start-end" (1-based, inclusive lines at the current changeset); paths are repo-relative paths or globs; symbols are "path:Name". At least one of evidence/paths/symbols is required.
Inputs: claim (required), tier, paths, symbols, +1 more.
propose_changesetC
Promote pending timeline entries into a changeset.
Inputs: message (required), intent.
propose_graph_updateC
Propose a new graph node (lands as Proposed for human approval).
Inputs: name (required), node_type (required), description (required), tier.
reaffirm_beliefA
Re-anchor a belief at the current changeset after you have re-verified it against the code (e.g. a stale-candidate whose claim still holds). Optional new evidence spans replace the old ones. Not allowed for invalidated beliefs — their grounds are gone; propose a new belief with current evidence instead.
Inputs: belief (required), evidence.
report_costA
Attribute your token/compute usage to a changeset (the id returned by propose_changeset). Reports accumulate. cost_microdollars is integer micro-dollars (1 = $0.000001).
Inputs: changeset (required), model, input_tokens, cached_tokens, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a distinct purpose: query, status, glossary, conventions, and then actions for proposing changesets, graph updates, beliefs, reaffirming beliefs, and cost reporting. No two tools overlap in functionality; even the related belief tools are clearly differentiated (new vs. reaffirm).
The tools are grouped semantically: 'graphex_' prefix for read-only graph queries, and verb-based names (propose_, reaffirm_, report_) for actions. This is consistent within each group, but there is a mix of naming styles (prefix vs. verb) across the set, making it slightly less uniform than a pure verb_noun convention.
Nine tools is well within the ideal range and each tool serves a clear, necessary function for the server's purpose of knowledge-graph interaction and change proposal. No redundant or missing tools are apparent.
The surface covers the core workflows: querying graph context, checking status, looking up glossary/conventions, proposing changes (changeset, graph update, belief), reaffirming beliefs, and reporting cost. Minor gaps like listing existing beliefs or changesets are not directly present, but the design intentionally routes proposals to human approval, so those may be handled externally.
Maintenance
Related MCP Connectors
One memory for every AI you work with: your rules, notes and decisions in your own Git repo.
Git collaboration for AI agents and people: tasks, hand-offs, reviews, teams, shared memory.
Versioned memory for agents: markdown docs with history, safe concurrent commits, human claim links.
Shared, scoped, reviewable team memory for AI coding agents.
Related MCP Servers
- AlicenseAqualityAmaintenanceLocal-first memory layer for AI coding agents — captures issues, attempts, fixes, and decisions, and warns at git commit before you repeat a mistake.192,236 PyPI885MIT
- FlicenseNot gradedqualityDmaintenanceLocal-first deterministic project memory for AI coding agents, with context packs, decisions, gates, risks, scoped claims and explicit checkpoints in project-owned files.-
- AlicenseNot gradedqualityCmaintenanceGives AI coding agents persistent, branch-aware memory and a dependency-tracked task graph by storing decisions, lessons, and tasks as plain JSON and Markdown committed directly into the repository. Agents can record and fuzzy-search past decisions, dump instant project context, and create, claim, complete, and query tasks whose completion automatically unblocks downstream work.MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI coding agents with git-native persistent memory and a dependency-aware task graph, letting them record and fuzzy-recall architectural decisions, lessons, and gotchas while creating, claiming, and completing tasks that auto-unblock downstream work. Stores everything as plain JSON and Markdown committed inside the repository, so context stays branch-aware, team-shared, and reviewable in pull requests.11 npmMIT