ControlKeel

io.github.aryaminus由 GitHub 帳號 aryaminus 發布v0.2.29更新於 Oct 24, 2026

Governed MCP workflows with policy validation, findings tracking, and review gates.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機 stdio MCP 伺服器,位於編碼代理與正式環境之間,依團隊政策驗證代理輸出,並記錄發現、審查與證明。

可以做什麼
擷取意圖與政策:範圍、風險、預算、領域包與人工偏好成為專案狀態,並以具型別的記憶跨主機切換與工作階段保留。驗證代理輸出:確定性檢查與選用的建議式審查在風險工作進入主線前產生發現。視需要設閘:當意圖、風險或政策要求時,由人工核准高影響操作。留存證據:發現、審查、證明、成本與任務結果在更換主機後仍保留。以評測改善:軌跡與反覆出現的失敗成為有界線的迴歸證據,重複行為可經人工把關的路徑晉升。
適用情境
適合已在使用編碼代理、希望把團隊規則、審查品味與交付習慣真正落實而非只寫在規則檔案的團隊,尤其適用於風險變更在進入主線前需要驗證、發現與人工核准關卡的情況。
執行需求
以本機程序在使用者機器上執行,可透過 npm 套件以 npx 啟動,或使用 Homebrew、npm 或發行安裝腳本安裝的 CLI。setup 與 attach 需在要治理的儲存庫中執行;專案作用域只在該儲存庫內寫入主機檔案。清單未宣告驗證、環境變數或標頭。
安裝前請注意
它會寫入主機檔案並掛接到代理主機,部分變更需要重新啟動主機或工作區信任。它能設閘並阻擋操作,政策設定不當可能攔阻正常工作。選用的雲端遙測、工作區金鑰與同步需主動開啟,設定後會把發現、審查、摘要與記憶紀錄傳送給第三方。README 的一行式安裝要求代理抓取遠端文件並安裝軟體,執行前應先審閱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ControlKeel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ControlKeel

[CI] [Release Smoke] [Latest Release] [npm bootstrap] [Socket Badge] [controlkeel MCP server]

Turn the way your team works into enforceable memory for AI agents. - @arya_minus

ControlKeel is an agent control plane for day-to-day governed engineering. Through observation, findings and evaluation, it learns your intent rules, review taste and delivery habits, turning them into typed memory, policy checks and proof bundles. CK sits between your coding agents and production as a portable "company brain": comparing intended delivery against actual delivery and turning raw agent intent into policy-validated tasks.

If you're using an AI agent today, you probably have an *.md telling it how to behave. But a rules/specs file is just a promise made to the model. ControlKeel enforces the output. Beyond just catching bugs, CK solves the "Unknown Unknowns" problem: having to re-explain your domain knowledge in every single session.

Product loop

  1. Capture intent and policy — scope, risk, budget, domain pack, and human taste become CK state.
  2. Validate agent output — deterministic checks and optional advisory review produce findings before risky work reaches main.
  3. Gate only when needed — humans approve high-impact actions when intent, risk, or policy requires it.
  4. Persist evidence — findings, reviews, proofs, memory, cost, and task outcomes survive host switches.
  5. Improve with evals — traces and recurring failures become bounded regression evidence for specific suites and subjects.

The operating rule is simple: spend tokens on discovery, not rediscovery. Recurring behavior moves through a human-gated deterministic promotion path; once its regression evidence passes, checks, APIs, CLIs, or workflows handle the known case and agents handle only exceptions and genuinely new uncertainty.

ControlKeel transforms your domain knowledge from "raw" intent and "shelfware" documentation into a living system that remembers, enforces, and evolves.

Quick start

One-line setup via your agent

Copy/paste this into your agent (OpenCode, Codex, Claude, or another supported host):

text
Set up ControlKeel for this repository. Read and follow https://raw.githubusercontent.com/aryaminus/controlkeel/main/README.md, https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/getting-started.md, https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/support-matrix.md, and https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/agent-integrations.md. Install ControlKeel if missing, run `controlkeel setup`, detect this agent host, attach the strongest supported path with `controlkeel attach <host>`, then run `controlkeel attach doctor`, `controlkeel provider doctor`, `controlkeel status`, `controlkeel findings`, and the host-native MCP check. If CK is available only as MCP, call `ck_attach` for this host. Apply only safe local fixes and redact secrets from logs. Pause and ask before continuing if the host needs workspace trust, manual provider configuration, a restart after attach/plugin changes, or a plan-review approval that cannot auto-wait. Ensure the project is trusted and restart the host after attach/plugin changes.

CLI install

Install the CLI:

bash
brew tap aryaminus/controlkeel && brew install controlkeel# ornpm i -g @aryaminus/controlkeel# orcurl -fsSL https://github.com/aryaminus/controlkeel/releases/latest/download/install.sh | sh

Windows PowerShell:

powershell
irm https://github.com/aryaminus/controlkeel/releases/latest/download/install.ps1 | iex

First governed run:

bash
controlkeelcontrolkeel setupcontrolkeel attach opencode   # project scope by default; use another supported host as neededcontrolkeel attach doctorcontrolkeel provider doctorcontrolkeel statuscontrolkeel findings

Run setup and attach from the repository you want to govern. Project scope writes host files only inside that repository. --scope user writes host-level files under your user configuration only for targets that explicitly support user scope; it does not turn project binding or proof state into global state.

For the complete first-run path, use docs/getting-started.md. For host truth, use docs/support-matrix.md and docs/agent-integrations.md.

Benchmark-backed evidence

ControlKeel includes a persisted benchmark engine. Current user-facing evidence is bounded to the named suite, subject, and scoring definition below; docs/benchmarks.md is the canonical reference for full tables, caveats, JSON exports, and agent-host protocols.

Verified with-vs-without-CK baseline (host_comparison_v1, 12 risky scenarios)

Verified with ControlKeel 0.3.45:

  • Risky suite host_comparison_v1: null_policy_baseline caught 0/12; controlkeel_validate caught 12/12, blocked 9/12, and hit expected rules 9/12 with median deterministic validation time 52 ms, 0 provider tokens.
  • Paired benign suite benign_baseline_v1: controlkeel_validate produced 0/10 catches, 0/10 blocks, FPR 0.000, median deterministic validation time 42 ms, 0 provider tokens.

Read the numbers precisely: deterministic scanner evidence is not the same as model-backed agent-host evidence. Reproduction commands and the OpenCode/Copilot/Claude/Codex comparison protocol live in docs/benchmarks.md.

What ships today

  • Local governance: CLI, the full local stdio MCP tool set, project binding, host attach/export bundles, scanner validation, findings, reviews, proof bundles, budgets, and typed memory.
  • Host and runtime support: native attach for supported hosts, runtime exports for headless/outer-loop systems, a narrower OAuth-scoped hosted MCP set, minimal A2A, and fallback validation/proxy paths.
  • Team/project operations: org membership, invitations, workspace GitHub repo bindings, service accounts, webhooks, workspace tool policy, and policy-set APIs.
  • Cloud evidence paths: opt-in cloud telemetry, workspace keys, cloud run packages, runtime callbacks, and dormant-until-configured bidirectional sync for findings, reviews, digests, and memory records.
  • Observability loop: timelines, memory quality, costs, trends, problem clusters, eval candidates, benchmark drafts/history, and promotion advisories.

Docs map

Development

bash
mix setupmix phx.servermix testmix precommit

Phoenix + Ecto on SQLite. Uses Req for HTTP. Single-binary builds ship through Burrito and GitHub Releases.

來源:README.md,提交 b0e0cf6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.29最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。