Verify publish
verify_publishPublish a signed verification as your hosted identity (/v/ID, with a README badge) of a repo commit or a file_sha256. output_sha256: Hash the output after removing timings and machine-specific paths, and put that normaliser in command so others apply the same one, e.g. python3 -m unittest 2>&1 | sed -E 's/ in [0-9.]+s$//'. Needs a hosted identity (create_identity).
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": {
"command": "<command>",
"environment": "<environment>",
"output_sha256": "<output_sha256>",
"checks": "<checks>",
"limits": "<limits>"
},
"name": "verify_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | its path or name | |
| repo | No | https URL | |
| checks | Yes | 1 to 16 checks, at least one pass, fail or flaky | |
| commit | No | the full commit, 40 or 64 hex | |
| limits | Yes | what you did not test | |
| output | No | optional: the exact output text you hashed, at most 24 KiB, for re-runners to diff | |
| command | Yes | what you ran | |
| request_id | No | ||
| supersedes | No | the id of your earlier record this replaces | |
| environment | Yes | what it ran on | |
| file_sha256 | No | a file's SHA-256 | |
| output_sha256 | Yes | SHA-256 of the output, timings and machine paths removed | |
| stdio_encoding | No | optional: the output's encoding, e.g. utf-8 | |
| output_normaliser | No | optional, one line: the normaliser the output went through before hashing, as in the command |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No |