Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Flag when a tracked commitment vanishes verbatim between two versions. A signal, not a judge.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"aperture": {
"command": "uvx",
"args": [
"aperture-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add aperture -- uvx aperture-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"aperture": {
"command": "uvx",
"args": [
"aperture-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"aperture": {
"type": "stdio",
"command": "uvx",
"args": [
"aperture-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 jaysinailabs 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Did an agent quietly drop a commitment from your spec — and no one noticed?
English · 简体中文
AI agents now rewrite the documents that govern your work — specs, plans, ADRs, charters, AGENTS.md files. Somewhere in the edit, a constraint you set earlier can quietly disappear.
**Aperture is a *commitment tripwire*. You name the commitments you care about; it flags — word for word** — when one of them vanishes between two versions of a decision document.
Catching *"a commitment silently vanished"* is a tripwire job: it should fire on an event, deterministically, without asking permission. So Aperture ships that check on the surface that fits it best first — a git pre-commit hook / CI check that runs with no LLM, offline — and also as a CLI and an MCP server for agents to call mid-task. MCP is one adapter, not the whole product.
A signal, not a judge. It trips; *you* investigate.
Opt-in · runs locally · never trains on your data.
Aperture compares two text states of the same decision — an earlier version and a later one — and surfaces a narrow, specific kind of decision drift: when a tracked commitment’s exact text disappeared. One engine, several surfaces:
What the engine does and doesn’t do:
degraded rather than false-flag); and it can still false-flag a commitment that was merely *reformatted* (the words moved, the meaning didn’t). It does not rank options, score quality, or tell you a change was *wrong*. That judgment stays with you. Moving to the deterministic git-hook makes the check *fire reliably* — it does not widen what it can see. Same narrow, verbatim signal.If you want one sentence: Aperture is `grep` for vanished commitments, wired to fire on commit — and honest enough to admit what it can’t see.
pip install aperture-mcp # installs the `aperture` CLI + the MCP server (wire the CLI as a git hook — see below)
The PyPI package is named `aperture-mcp` because the bare name
aperturewas already taken on
PyPI. The
-mcpsuffix is a historical package-name artifact — the product is Aperture, and
MCP is only one of its surfaces. One
pip installgives you all three below.
Create a .aperture.toml — a watchlist of the commitments that must not silently vanish, per file:
fail_on_drop = true
[[watch]] path = "CHARTER.md" commitments = ["never train on your data", "data stays on the device"]
aperture check compares two git states and flags any watched commitment that disappeared verbatim:
aperture check # HEAD vs working tree (default)
aperture check --staged # HEAD vs the staged index — for a pre-commit hook aperture check --ref-a origin/main --ref-b HEAD # any two refs — for CI on a PR
Exit code 1 blocks the commit when a watched commitment dropped (the default); --warn-only prints the finding but never blocks. It’s stdlib-only, makes no network calls, and runs no model.
Wire it as a pre-commit hook — either through the pre-commit framework (uses this repo’s .pre-commit-hooks.yaml):
# .pre-commit-config.yaml
repos:
…or as a standalone .git/hooks/pre-commit:
#!/bin/sh
exec aperture check --staged
…or run it in CI as a GitHub Action on every PR (needs fetch-depth: 0 so both sides are available — see examples/github-action/aperture-check.yml):
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
Kick the tires first with the bundled fixture (clone the repo): it trips on a dropped commitment
against checked-in before/after docs, no setup, fully offline —
python3 examples/git_decision_drift/git_decision_drift.py.
The same check, callable by an agent while it edits. (An MCP tool only fires if the agent *chooses* to call it — a weaker delivery for a tripwire than the git-hook, but handy mid-task.)
{
"mcpServers": { "aperture-mcp": { "command": "aperture-mcp" } } }
Prefer zero-install? Point the client at
uvxinstead:
{ "command": "uvx", "args": ["aperture-mcp"] }.
from aperture import compare, Anchor, AnchorKind
result = compare( state_a="We commit to: ci-gates-green before release; data-never-leaves-device.", state_b="We commit to: data-never-leaves-device.", anchors=[Anchor(kind=AnchorKind.COMMITMENT, id="ci-gates-green")], ) print(result.status) # DROPPED_SILENTLY print(result.anchor_violations) # the commitment that vanished
On a long task, your agent keeps rewriting the doc it works from — a plan, a spec — across sessions and edits. And every so often, a line that mattered just… vanishes.
*“Always ask before you delete anything.”* Gone. *“User data never leaves the device.”* Gone. *“The free tier stays free.”* Gone.
Nobody meant to drop them; nobody reads all 400 lines of the diff.
Aperture watches the exact lines you name. Put it on the commit — a hook that fires before the drop lands — and it won’t try to understand the doc or judge it; it just tells you which promise was there, word for word, and now isn’t. A tripwire, not a judge — and honest about the rest: soften a line, reword it, or change a number instead of deleting it, and it’ll slip past. Better you hear that now.
Aperture is a heuristic. We measured it on our own gold corpus and we publish the numbers instead of a single flattering score, because *knowing where it’s blind is the product* — recall 0.400, precision 0.667 on a 100-case corpus, labeled by an isolated LLM-judge panel (it catches 26 of 65 real drifts; ~1 flag in 3 is noise), full breakdown in docs/measured-limits.md:
| Kind of change | Does Aperture flag it? |
|---|---|
| A watched commitment deleted verbatim | ✅ Reliably — this is the one thing it’s good at (24 of 24 in the corpus) |
| A commitment reworded / softened (“must” → “should”) | ❌ Missed — the text still “matches” |
| A commitment paraphrased / restructured | ❌ Missed |
| A number / scope / negation quietly changed | ❌ Missed |
| A commitment translated to another language | ⚠️ Declines (abstains) for a *natural-language* anchor — it can’t compare verbatim across scripts, so it returns degraded rather than false-flag (a commitment dropped and translated is missed) |
The deterministic surface doesn’t widen the aperture. The git-hook fires reliably — but it still
only catches verbatim deletion. Every ❌ / ⚠️ row above is exactly as blind through the hook as
through MCP. What you gain is *when* it checks (on the commit, without anyone remembering to ask),
not *what* it can see.
Anchor style matters for that last row: the abstain applies to a natural-language anchor. A
code-identifier anchor (the
ci-gates-greenstyle the quickstart teaches) is treated as
*translation-stable* — Aperture keeps checking it across languages, so if that exact token disappears
it still flags
DROPPED_SILENTLY(usually what you want for a stable identifier).
Takeaway: treat every flag as *“look here,”* never as *“this is wrong”* — and never assume silence means nothing drifted. Aperture catches the verbatim disappearance case well and is honest that it catches little else. That narrow, reliable signal is useful precisely *because* it doesn’t pretend to be more.
Hit one of those misses on your own docs? That's the single most useful thing you can send us —
report it in ~30s (your wording is optional). Real misses guide what
we fix next.
Why not just
git diff/grep? You can reproduce the core check by hand. What Aperture adds is
that it’s wired to fire on the commit / PR event (as a hook or CI check) *and* callable
mid-task by an agent (over MCP); it returns a structured, directional result
(
ok/degraded/DROPPED_SILENTLY/ …); and it reports its own blind spots in the result
so a human can audit the gaps. It’s ergonomics + honesty around a simple, legible check — not a
smarter detector.
Long-running and multi-agent workflows drift. A constraint set in turn 3 / session 1 / by agent A gets quietly edited away forty turns later, in another session, by agent B — and nobody notices until it ships. Aperture is a preflight you can put on the documents agents maintain: name the commitments that must not silently vanish, and get a tripwire when one does — ideally on the commit itself, before the drop ever lands.
It is deliberately small and legible. It is not an AI that decides for you; it is a signal that helps *you* stay consistent with yourself.
Teams and builders who (a) let AI agents edit repo-resident decision documents — specs, plans, ADRs, charters, and AGENTS.md files — and (b) keep those documents under version control. If your agents touch text that encodes promises, Aperture gives you a cheap, honest tripwire — on the commit, in CI, or mid-task — on the ones you can’t afford to lose silently.
The repository ships a small hand-authored fixture ADR (a before/after pair under examples/git_decision_drift/fixtures/), where Aperture corre
只显示了开头部分;其余内容请在仓库中阅读