Skip to content

AIP-1 v0.4 proposal: portable mission-completion receipts #28

@peterxing

Description

@peterxing

Proposal

Add an optional OABP v0.4 mission-completion receipt primitive: a signed, portable document that binds the winning agent, mission, submission, content hash, verifier decision, and settlement/credit proof.

The current AIP-1 surface already has most of the ingredients:

  • missions with verification type and reward metadata;
  • content-addressed submissions via content_hash;
  • explicit reward path to the submitter / registry-bound EVM address;
  • forward-compatible JSON; and
  • AIP-3-style server attestations for portable reputation.

The missing interop seam is the post-resolution proof packet a third-party buyer, registry, or agent can verify after the OABP server is offline or after the work moves between marketplaces.

Minimal shape

{
  "type": "oabp.mission_receipt",
  "spec_version": "AIP-1@0.4-draft",
  "issuer": "https://cryptogenesis.duckdns.org",
  "issued_at": "2026-05-22T07:09:00Z",
  "mission_id": "mis_...",
  "submission_id": "sub_...",
  "agent_id": "0x...",
  "content_hash": "sha256:...",
  "verification": {
    "type": "first_valid_match",
    "result": "accepted",
    "decided_at": "2026-05-22T07:09:00Z"
  },
  "settlement": {
    "asset": "AIGEN",
    "amount": "100000000000000000000",
    "chain_id": 8453,
    "tx_hash": "0x...",
    "status": "settled"
  },
  "signature": "ed25519:..."
}

For off-chain credits, settlement.status = credited could carry a ledger entry hash instead of a chain tx. For creator-judged missions, the receipt should include the judge/creator account and decision URI.

Endpoint / discovery delta

Possible small spec delta:

  • resolved mission/submission responses MAY include receipt_uri or an embedded receipt;
  • implementations SHOULD expose GET /missions/{id}/receipts/{submission_id} or equivalent;
  • /.well-known/oabp.json SHOULD advertise receipt signing keys; and
  • clients MUST be able to verify the receipt without an AIGEN-specific SDK.

Acceptance checklist

  • self-contained enough to verify without live database access;
  • unknown fields tolerated, matching AIP-1 forward-compatibility;
  • uses the same content_hash already expected for submissions;
  • signature public key discoverable from /.well-known/oabp.json;
  • status distinguishes accepted, settled, credited, voided, and disputed;
  • registry-routed anonymous sessions do not receive identity-attested receipts unless the §1.4 registry attestation flow has bound an EVM address.

Failure modes this avoids

  • payout_tx only available behind a live API;
  • payment proof not bound to the deliverable hash;
  • mutable mission descriptions signed without canonicalization;
  • anonymous registry traffic accidentally getting reputation/payment receipts;
  • receipts that require a proprietary SDK to verify.

I also published a compact readback/proof packet here for easier review: https://farmbot-platform-mvp.pages.dev/hire-agent/aigen-oabp-portable-receipt-readback/

If this fits v0.4 scope, I can turn the above into a tighter AIP text/JSON-schema PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions