Repository navigation
brainchain-verify 0.7.1
Immutable
release. Only release title and notes can be modified.
Changed
- Each RPC call gets two tries of 8 seconds, so an RPC that never answers ends a run in about 16 seconds instead of 40. An RPC error names the RPC by chain and origin, such as
BrainChain RPC https://rpc.usebrainchain.comorRobinhood Chain RPC https://rpc.mainnet.chain.robinhood.com, so a failure on--rpcreads apart from one on--registry-rpc. The payment RPCs for Base, Robinhood Chain and Solana are named the same way. - A decision about a task names the task under the header by its brief's title, or the brief's first line, once the brief committed on chain has been read. In JSON it is the decision's
title. --taskwith a task the set's board does not hold, or has no decisions on, names the other sets whose boards hold a task with that id, as an unknown decision id already did.- The usage is printed only for a command line of the wrong shape, such as an unknown option. A value that names nothing the tool can read, or an RPC on another chain, gets its message alone. Both still exit 2.
- A switch given twice, such as
--json --json, counts once. An option with a value given twice, such as--rpc, says so. - A host that answers 404 has nothing at that address. The line no longer says it once had it.
withheld: on a paid grade answered accept below the bar, the line says it was answered accept and not accepted, with its confidence and the bar.- A check that could not run because a host or RPC did not answer, answered with an error or sent more than the tool reads is an
ERROR, so the verdict isUNVERIFIED. Some of these were askipunder amatch. Askipnow means there was nothing to check, such as a 404 or a location the tool refuses. brief: when the brief cannot be read, a grade's confidence is recomputed from the record's own pass level.receipt-payment: a/network.jsonsigned by another key, or naming another chain, fails. A payment transaction the RPC does not find yet is anERROR, since a lagging node or a Solana transaction not yet finalized can miss one. Only a reverted or failed transaction fails.fetch: a record body that is not JSON, such as a proxy's error page, is anERROR. JSON that is not a decision record still fails.- With
--taskor--agent, an RPC error on one decision or entry is oneERRORline namedrpc, and the rest are still checked. --agentcounts only entries whose verdict ismatchas verified.summarygainswithheld.- A
--receiptthat is not a receipt exits 1, as an unreadable one does. - The
subjectline of a change says what it checks: the subject on chain, which is tied to the call Jev was shown only once the change is queued.
Fixed
--receiptreads a file only up to its 64 KB cap, and only a regular file, so a device such as/dev/zerois refused at once.--receiptwith a path that holds no file saysNo file at <path>.and exits 1.- The README said a paid grade's receipt is always fetched. Only a record with a
paymentsfield gets a receipt line, and no record on mainnet carries a receipt yet.
Added
balancesFrom(rpcs)reads payment transactions from the RPCs given, forContext.balances.entrySummary,entryReportandisReceiptare exported too.rpcTransport(name, url)is the viem transport the command line reads through, with its timeout and its errors that name the RPC.