Skip to content

ATP CLI — Command Flow Charts ​

Each command's operations, decision points, failure modes, and success outcomes.


identity create ​

identity show ​

identity inscribe ​


attest ​


att-revoke ​


heartbeat ​


supersede ​


revoke ​


receipt create ​

receipt countersign ​


verify ​

verify — by document type ​


key import ​

key list ​

key export ​

key delete ​


Common Failure Modes ​

All commands share these failure patterns:

FailureTriggerExit Code
File not foundAny --from, --identity, --file, --receipt pointing to missing file1
Invalid JSONCorrupted or non-JSON identity file1
Key load failureWrong format, wrong size, missing key file1
Schema validationDocument doesn't match ATP schema (missing fields, wrong types)1
Timestamp out of rangets too far in the past or future1
RPC connection failureBitcoin node unreachable or wrong credentials1
Signature verificationCryptographic signature doesn't match public key + document1
TXID formatNon-hex or wrong length for transaction IDs1

Principle: All failures exit with code 1 and a descriptive error to stderr. No silent failures, no warnings-and-proceed. AI agents need unambiguous failure signals.

Released under the MIT License.