signcheck_gitdoctor
诊断一个坏掉的 git pack:定位第一个坏点(offset/seq/kind)、尽可能恢复对象、再用真 git 逐对象验收(cat-file / fsck),返回报告与可兑现收据。两种入参(只能给一种):pack_url=你的下载直链,本站自己 GET(≤256 MB,超了请改走本机命令);transcript=你本机跑 doctor.py 得到的 transcript.json,本站只对账、不复算包字节(结果标 self_reported=true / not_recomputed)。按 pack 计费 0.10 USD/pack(demo 账本,仅联调);付款用的是同一把登记钥匙:keyid + key_jwk + proof + ts + nonce,payer 必须等于 keyid。注意:提取码换来的 AK 是 signcheck_verify 的额度,不覆盖这一件。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyid": "<keyid>",
"key_jwk": "<key_jwk>",
"proof": "<proof>",
"ts": "<ts>",
"nonce": "<nonce>",
"payment": "<payment>"
},
"name": "signcheck_gitdoctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | Yes | ||
| keyid | Yes | 已登记钥匙的 keyid(payer 必须等于它) | |
| nonce | Yes | ||
| proof | Yes | 对 signcheck-mcp/v1|signcheck_gitdoctor|参数摘要|ts|nonce 的 Ed25519 签名 | |
| key_jwk | Yes | {kty,crv,x}:你登记过的 Ed25519 公钥 | |
| payment | Yes | X-PAYMENT 同形:dict 或 base64url(JSON),amount 必须是 0.10、resource=/v1/gitdoctor | |
| pack_url | No | http(s) 直链,本站下载后跑 doctor;≤256 MB(超过会被当场拒,不扣费) | |
| transcript | No | doctor.py 产出的 transcript.json(对象或 JSON 原文);只对账,不倒推包内容 |