WHP Standing

io.github.wheelerhubbell由 GitHub 账号 wheelerhubbell 发布v1.0.5更新于 Nov 7, 2026

Paid, signed evaluations of structured claims and supporting sources. MCP; x402 on Base.

已验证Streamable HTTP可网页运行金融安全与监控AI 与机器学习

概览

AI 生成的概览

远程 MCP 服务器,按 Decision Integrity Protocol 评估结构化主张,返回 Ed25519 签名的 standing 判定,每次调用通过 Base 上的 x402 以 USDC 付费。

可以做什么
  • 查询 standing 合约、配置、schema 与授权前提
  • 按 Decision Integrity Protocol 评估命题并获得签名判定
  • 携带支付签名重试以完成 1 USDC Base 支付挑战
  • 凭买方认证取回原始签名标记或否定评估内容,且不再收费
适用场景
适用于需要在跨越会改变状态的边界之前,对某项主张或操作是否具备可追溯的授权与来源获得机器可验证签名结论的智能体或流程。当可审计的第三方判定值得按次付费时使用。
运行要求
需要远程 streamable HTTP 端点;未声明本地包或环境变量。付费调用需要已充值的 Base 钱包和支持 USDC 支付签名的 x402 客户端;README 说明端到端流程尚未针对线上服务验证。
安装前请注意
每次评估在 Base 上花费 1 USDC 并需提供支付签名;服务器声明其从不持有钱包密钥或授予支出权限,签名由买方自行完成。付费并不保证正面结果,评估失败不会产生标记。README 示例使用私钥环境变量,请勿将钱包密钥放入共享配置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WHP Standing,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.wheelerhubbell%2Fwhp-standing/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "whp-standing": {
      "type": "http",
      "url": "https://api.wheelerhubbellpublishing.com/mcp"
    }
  }
}

README

@wheelerhubbell/whp-standing-client

Fail-closed epistemic standing middleware for autonomous AI agents.
Governed by the Authority Conservation Principle: $A(c) \le P(c)$ (Authority cannot exceed provenance).

Standing detects and stops Coherent Substitution—when an AI agent silently replaces the assigned task with an adjacent one ($q \to q^*$), reasons coherently about the replacement, and executes unauthorized state mutations.


📚 Case Studies & Theory

  • Coherent Substitution (v1.1): Theoretical formulation of proposition integrity and why systems fail before their reasoning becomes wrong.
  • Mata v. Avianca Epistemic Autopsy: Controlled forensic breakdown showing how an agent citing 100% verified sources still fails by answering the wrong question ($Q_0 \to Q_1$).

⚡ 1-Line Middleware Integration

Install the package:

bash
npm install @wheelerhubbell/whp-standing-client

Place guardAction immediately before tool execution:

javascript
import { guardAction } from '@wheelerhubbell/whp-standing-client';
// Before any agent tool runs:await guardAction(toolCall, {  standing: executionContext.standing});
// Proceed only if standing is warrantedreturn await tool.execute(toolCall.arguments);

If an agent attempts a state-changing operation (file deletion, database write, API mutation) without attributable upstream authorization or provenance, guardAction throws a StandingViolationError before the boundary is crossed.


🔍 Observability: evaluateStanding

For inspection without throwing:

javascript
import { evaluateStanding } from '@wheelerhubbell/whp-standing-client';
const decision = await evaluateStanding(toolCall, context);if (!decision.allowed) {  console.warn(`Blocked [${decision.code}]: ${decision.message}`);  return decision;}

Diagnostic Decision Object

json
{  "allowed": false,  "code": "MISSING_UPSTREAM_PROVENANCE",  "actionId": "call_8cb2f1",  "toolName": "delete_database_table",  "required": ["authority", "provenance"],  "observed": {    "toolName": "delete_database_table",    "arguments": { "table": "users" },    "missing": ["provenance", "authority"]  },  "message": "Tool execution blocked for 'delete_database_table': no attributable upstream authorization or provenance."}

🛡️ Core Semantics

  • Fail-Closed by Default: Any state-changing action missing valid provenance or authority is rejected.
  • Authority Windows: Bounded by valid_until timestamps.
  • Loop & Recursion Bounds: Halts unbounded agent loops (executionCount > maxExecutionCount).
  • Zero Overhead for Reads: Passive read operations execute without blocking.

🌐 Verifiable Network Verification

The live service has a plain front door for ordinary x402 agents: POST /v1/evaluate with subject, claim and optional provenance, priced at 1.00 USDC on Base (x402 v2). It returns a signed evaluation record. That record is not a sealed Standing Mark. Marks are issued through POST /v1/evaluations, which takes signed submissions per the published contract.

Example using the official x402 client (requires your own funded wallet and spending limits; not yet verified end to end against the live service):

javascript
import { x402Client, wrapFetchWithPayment } from '@x402/fetch';import { registerExactEvmScheme } from '@x402/evm/exact/client';import { privateKeyToAccount } from 'viem/accounts';
const client = new x402Client();registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment('https://api.wheelerhubbellpublishing.com/v1/evaluate', {  method: 'POST',  headers: { 'Content-Type': 'application/json' },  body: JSON.stringify({    subject: 'agent-session-42',    claim: 'Agent executed system mutation',    provenance: { source: 'user-intent', authority: 'admin' }  })});console.log(await res.json());

Direct Autonomous Client (StandingClient)

The client provides built-in autonomous wallet signing and settlement over Base USDC (x402-v2):

javascript
import { StandingClient } from '@wheelerhubbell/whp-standing-client';
const client = new StandingClient({ privateKey: process.env.BASE_WALLET_KEY });
// Front-door structural evaluation (POST /v1/evaluate)const record = await client.evaluate({  subject: 'Production Deployment',  claim: 'Deploy release to production',  provenance: { source: 'ci/cd pipeline', authority: 'release-engineering' }});console.log('Outcome:', record.evaluation?.determination?.outcome);console.log('Record Hash:', record.record_hash);
// Or purchase an authoritative sealed Standing Mark (POST /v1/evaluations):// const mark = await client.purchase(signedSubmission);

License

MIT © Wheeler Hubbell Publishing

来源:packages/client/README.md,提交 ffb444e

工具

4

whp_evaluate

Evaluate a proposition under Decision Integrity Protocol and receive an Ed25519-signed Standing determination. Calling without payment returns the exact 1 USDC Base payment challenge. Pass payment_signature to settle and receive the signed determination.

输入参数claim必填api_keysubjectprovenanceidempotency_keypayment_signature

whp_standing_contract

Discover WHP Standing: Machine-verifiable standing under explicit authority and bounds. Includes exact profile, schema, authority prerequisites and owner-authorized payment contract.

无需输入参数。

whp_standing_evaluation

Request a WHP Standing Evaluation. First call returns the exact HTTP 402 payment terms. Supply only the buyer’s own pre-authorized payment signature on retry. Paying does not establish standing; a failed assessment has no Mark.

输入参数client_proofsubmission_raw必填payment_signature

whp_standing_result

Retrieve the exact original WHP Standing Mark or negative assessment bytes with buyer authentication, without another charge.

输入参数purchase_id必填client_proof必填

版本历史

5
  1. v1.0.5最新Oct 31, 2026
  2. v1.0.4Oct 8, 2026
  3. v1.0.2Oct 5, 2026
  4. v1.0.1Sep 23, 2026
  5. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。