
Gpp
io.github.mahabubul470由 GitHub 账号 mahabubul470 发布v0.2.2更新于 Oct 24, 2026
Project knowledge graph with history-checked belief staleness, changeset proposals, cost reporting
概览
gpp 的 MCP 服务器让助手查询仓库的版本控制知识图谱、提交带证据锚定的信念与变更集提案,并上报成本。
- 可以做什么
- 查询项目知识图谱,包括每条信念的新鲜度信息:锚点、之后的提交数,以及使其失效的变更集。
- 提交以证据为锚点的新信念,由人工批准后交由历史记录校验。
- 提交变更集提案,并上报每个变更集的 token 与成本记录。
- 与 Git 并存:历史可通过 Git 桥接导入导出,原有工作流不受影响。
- 适用场景
- 适合助手在多次会话中长期参与同一代码库,需要确认已保存的代码笔记是否仍然成立,或把新结论绑定到具体代码行时使用。也适合希望代理写入的知识经过人工审核、并由提交历史判定是否过时的团队。
- 运行要求
- 以 stdio 本地进程方式运行,通过 cargo 包 gpp-cli 安装(需 Rust 工具链,或使用预编译发布二进制)。仓库需先用 gpp 初始化,客户端配置指向 gpp 二进制并带 mcp-server --stdio 参数。未声明认证、环境变量或请求头。
安装
README
gpp (git++)
[CI] [License: MIT] [Rust 2024]
AI agents change code continuously, then lose the work that happened
between commits — and the notes they keep about your codebase
(CLAUDE.md, memory banks, knowledge files) go stale silently when the
code moves on. gpp is a version control system built for that reality: it
captures every change as it happens, promotes curated changesets with
intent and provenance, and hosts project knowledge on the repo's own
history — so when a commit invalidates something you believed about the
code, gpp can name that commit.
(Recording is generated by scripts/demo.sh —
deterministic, reproducible, no mockups.)
30-second try
And the part no other VCS does — record what you believe about the code, and let history police it:
Deterministic — diff intersection and blob hashes, zero LLM or network
calls. (For scale: asked to judge whether a stored memory has been
invalidated, the best frontier model manages 55.2% accuracy on the
STALE benchmark — here it's a
history query, not a judgment.) Validated on real history across five
repos in four languages — axum 0.6→0.7, flask 1.1→2.0, clap 3→4, zod
3→4, go-redis 8→9 — where every invalidated belief bisects to a pinned,
documented culprit commit and the control beliefs survive: see
demos/belief-bisect/ for the full matrix.
What makes it different
- Continuous capture. A high-frequency timeline records every file change (SQLite WAL, debounced watcher); curated changesets are promoted from it with an explicit intent, author kind (human/agent), and cost record. Nothing is lost between commits.
- Graphex: versioned, encrypted project knowledge. Architecture, conventions, decisions, and beliefs live in an encrypted knowledge graph inside the repo, tier-gated per agent trust level, audited on every read — and staleness-checked against the history it rides on.
- Agent governance. First-class agent identity with reputation scoring, compliance-as-code policies enforced at capture/promote/sync, anomaly detection, and per-changeset token/cost attribution.
Everything else — P2P sync over Noise, replay, review/RBAC, a relay node,
a TUI — is the platform underneath: see
docs/ARCHITECTURE.md.
Git is the substrate, not the competition. The bridge
(gpp git-import / git-export / git-bridge) round-trips real Git
commits, so GitHub and existing workflows keep working — gpp's knowledge,
provenance, and governance layers ride alongside. The axum demo above
runs entirely on history imported through this bridge.
Connect Claude Code (or any MCP client)
gpp ships an MCP server; agents query the knowledge graph (every belief
with a freshness envelope — anchor, commits since, and the changeset that
staled it), write their own evidence-anchored beliefs with
propose_belief (human-approved, then policed by history), propose
changesets, and report costs. Drop this in .mcp.json at your repo root:
Full client setup (Claude Desktop, generic stdio) and the exposed tool
list: docs/MCP.md.
Status
All 9 roadmap phases (0–8) implemented. See
docs/ROADMAP.md for per-phase deliverables and
documented deviations, docs/TODO.md for the prioritized
backlog, and docs/WORKLOG.md for the running
engineering log.
Verified 2026-08-23: 184 workspace tests pass, cargo clippy and
cargo fmt clean, full workspace builds. No stub crates remain — every
crate has a working implementation. Coverage is measured in CI
(cargo llvm-cov; 65.7% line at baseline, being raised).
Test depth is still uneven: foundational layers are well covered
(gpp-core, gpp-graphex, gpp-diff, gpp-tui ≥ 80% line; the CLI has
end-to-end suites for policy enforcement, cost reporting, reviewer
assignment and belief bisect), while several integration crates remain at
smoke-level (gpp-sdk, gpp-notify, gpp-rbac, gpp-replay).
"Implemented" here means built and tested against its milestone, not
exhaustively hardened everywhere. Closing that gap is the top item in
docs/TODO.md.
The full layer table
Also: extensions/{gh-gpp,vscode-gpp,neovim-gpp}, GitHub Actions +
GitLab CI templates, deploy/ Docker images, packaging/ Homebrew.
Documented follow-ups (recorded in the ROADMAP/TODO, not silently skipped): registry/license APIs for deps, native PyO3/napi bindings, outbound platform-review sync, apt/dpkg packages.
Install / build
Prebuilt binaries for Linux, macOS (ARM + Intel), and Windows are
attached to each release;
cargo install --git https://github.com/mahabubul470/gpp gpp-cli tracks
unreleased development.
More to try
See CLAUDE.md for project context, docs/ for the
full specification (architecture, data model, CLI, protocols, roadmap),
and docs/book/ for the user guide + tutorials.
License
来源:README.md,提交 5b4e08b
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分