Servers Changes Log Check Watch Why How it works GitHub

Constraint Runtime

io.github.tanbopiao/constraint-runtime · pypi:constraint-runtime

最近观测到的变更 · 2026-11-29T00:07:57Z

Agent constraint runtime: ten governance components plus a config-driven orchestration harness.

首次观测
2026-11-27
自此未变更
2026-11-29
最近观测
2026-12-03
观测次数
4
已记录的变更
1
工具
35

最近观测到的工具定义(35)

  • breaker — 熔断控制。action 取值: status=查看状态;success=记录一次成功;failure=记录一次失败(连续失败或失败率越界自动熔断); trip=显式熔断。熔断后冷却期放行探针,探针成功才恢复。
  • coord_arbitrate — 仲裁执行:auto(置信差达阈,低置信改 superseded 保留不删)/ pending(待决挂起)/federal(加权投票,权重记录在案)。 仲裁者不得是被裁决条目的产出方。
  • coord_classify — 关系判定登记:CONFLICT/COMPLEMENT/IRRELEVANT 三分类由调用方给出, 本闸做规则校验——跨组比对拒绝,冲突要求互斥,时序递进不算冲突。
  • coord_combo_check — 组合行为风控:白名单内放行;白名单外进人工关口;同因否决缓存不重复打扰。
  • coord_human_verdict — 人工关口裁决:否决为终局并缓存同因;批准则写入版本化白名单。
  • coord_link_enrich — ENRICH 建链:补充关系建方向链接,双方保留;与冲突互斥,拿不准不建链。
  • coord_recall — 召回侧视图:active 全返;挂起条目全返并附冲突提示;superseded 保留在档但不召回;ENRICH 链附关联提示。
  • coord_reopen — 重开走追加:superseded/pending 凭更高优先级证据恢复,不改写历史。
  • coord_write — 协同写入:条目一律追加;同组同实体-谓词的疑似互斥只打 hint 标记,不阻塞写入。tier 取值:static_truth/human_confirmed/ trusted_tool/external_third_party/agent_introspection/low_confidence_guess。
  • eval_claim — 声称即对账:无记录、无证据、证据不符,一律判假完成(fake_completion)。
  • eval_record — 记录即锚定:把评测案例的输入/输出/配置三元组(可带证据哈希)入链, 事后不可篡改。哈希由调用方对原文计算后传入。
  • eval_verify — 重放即复算:用新算出的三元组哈希与链上锚定比对,任一漂移即拆穿。
  • fence_evaluate — 围栏判定:把一个事件交给规则包裁决。live 规则命中即拦截(fail-closed), shadow 规则命中只记不拦。event 示例: {"fields": {"amount": 5000, "category": "餐饮"}, "text": "加急"}
  • fence_reload — 规则热更:重新从 CONSTRAINT_RULES_PATH 加载规则包,规则是数据,改规则不用改代码。
  • harness_process — 标准笼头主管线:身份→熔断→结算(可选)→围栏→影子→输出→台账,一次跑完。 返回统一判定(ALLOW/DENY + 命中段 + 全程 trace)。content 提供时走输出段 (无信符不出闸);task_id 提供且结算段开启时走认领-回写闭环。
  • harness_register_agent — 笼头身份登记:把调用方身份注册进管线的身份段(权限即清单)。 secret 仅适用于本地/受信环境,生产环境注册应在带外完成。
  • harness_status — 笼头水位:各段开关、处理量、熔断状态、影子分账、灰度水位一览。
  • harness_templates — 场景模板清单:expense(报销闸)/support(客服闸)/embodied(具身设备闸), 含各自默认规则包与段参数,一改即适配。
  • identity_authorize — 权限即清单:未登记、已吊销、动作不在清单内,一律拒绝。
  • identity_challenge — 发起握手挑战:为已登记且未吊销的身份签发一次性 nonce。
  • identity_handshake — 挑战-应答核验:proof = sha256(口令指纹 + nonce),由调用方侧计算, 口令原文不出本机。nonce 单次有效,重放即拒绝。
  • identity_register — 注册即登记:把智能体身份以盐化指纹形式入链,口令原文不落盘。 perms 为动作清单(权限即清单,未列入的动作一律拒绝)。 注意:secret 经由本工具传输仅适用于本地/受信环境,生产环境的注册 应在带外完成,不要把口令明文放进对话或日志。
  • ledger_append — 台账入链:把一次判定写入哈希链台账,任何篡改都会被链校验发现。
  • ledger_verify — 校验重放:先验哈希链完整性,再用当前规则包离线重放全部台账, 重算结论与原判一致 = 可复算。
  • output_issue — 签发输出信符:信符绑定内容哈希与身份,受每日配额约束。 version=v1 走稳定通道,其他版本按灰度比例分流。
  • output_release — 发布核验:无信符不出闸。信符有效 + 内容一致 + 未用过才放行; 放行后按灰度比例返回 stable 或 shadow 通道。
  • output_watermark — 灰度水位账本:稳定/影子通道各放行了多少次。
  • registry_catalog — 目录树视图:从真值记录重算,只列未下线组件及其最高版本。
  • registry_latest — 查组件已登记的最高版本;未登记或已下线返回空。
  • registry_register — 组件注册:查重先行(同名同哈希拒绝);版本只进不退(降级拒绝)。
  • registry_restore — 恢复下线组件:走追加记录,不改写历史。
  • registry_revoke — 组件下线:打视图标记,记录保留在档,可恢复。
  • registry_verify — 双落位对账:哈希链完整性 + 目录视图与真值记录一致。
  • shadow_feed — 影子投喂:记录一次基线判定与影子判定对照。影子比基线松=破口,比基线严=误伤, 分账累计,连续 N 窗口零破口零误伤才给转正建议。
  • shadow_report — 影子报告:当前分账统计 + 是否达到转正建议条件(转正仍需人工拍板)。

签名观测、以往的工具集和变更对比可在交互式记录或 /api/v1/servers/f94074c9b24c3150 中查看。

io.github.tanbopiao

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.