samartomar/aih-catalog ? reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript command line tool for verifying a signed AI catalog and producing a qualification receipt.
I want it to read a signed catalog JSON, a catalog signer root, expected GitHub claims, optional replay state, and the current time, then fail closed if anything is expired, malformed, duplicated, or out of continuity. If the inputs are valid, it should either inspect the catalog and show the verified head and qualification basis, or emit a single receipt file for a chosen entry. It should also support a supported help and inspect flow, plus a clear unsupported version response when it cannot materialize a result.
Keep it strict about exact versions and exact evidence, and make sure the output includes the important digest and signer details when requested. If you need current docs for any tooling behavior, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit