Trust Receipt
faf_trustVerify a project's .faf file by validating and scoring it, then generating a SHA-256 hash of the score for independent verification. Only valid files with known scores receive a trust receipt.
Instructions
Attest the project's .faf: faf-cli's validateFaf, faf-cli's score, and a faf-parity/v1 hash (claude-faf-mcp's own spec) of that score that anyone can check with sha256(projection) === parityHash. Returns a trust receipt whose subject is the project. An invalid .faf, or a score that is unknown, gets no receipt (isError). Reads only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project path. Sets session context for subsequent calls. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path that was attested | |
| tier | No | Tier name for this score | |
| score | No | AI-readiness score, 0-100 | |
| valid | Yes | Whether faf-cli's validateFaf accepts the .faf | |
| errors | No | faf-cli's validateFaf errors, when valid is false | |
| hasFaf | Yes | Whether a project.faf was found | |
| parity | No | faf-parity/v1 — claude-faf-mcp's own spec (no other engine computes it yet): sha256 over a canonical projection of faf-cli's score for these exact bytes. Check it yourself: sha256(projection) === parityHash. | |
| reason | No | Why no receipt was issued | |
| receipt | No | The trust receipt — render-identical, self-verifying score + parity. | |
| subject | No | The project the receipt attests: project.name, else its folder name | |
| sourceSha256 | No | SHA-256 of the raw .faf bytes |