docs: list TEC-302 helpers in the README inventory - #31
Merged
Conversation
Additive update to the README inventory: documents the helpers that landed in PRs #22-#29 + the public-surface guard in #30. Identity (package level): load_ucp_signing_key_from_env + LoadUCPSigningKeyOptions (env-driven UCP key loader); hash_operator_token (sha256 hex of plaintext opc_). Payment: extract_payment_signer now documents both the positional x402 EIP-3009 path AND the authorization_header= MPP kwarg (did:pkh source DIDs). New entries: detect_rail_from_headers, classify_orchestration_error, zero_amount_carve_out, usd_to_atomic. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Additive update to the README inventory table — documents the helpers that landed in PRs #22–#29 + the public-surface guard in #30. Pure docs, no code changes.
What was added
agentscore_commerce.identity(package level) row:load_ucp_signing_key_from_env+LoadUCPSigningKeyOptions(env-driven UCP signing key loader; cached, alg-detected, sanitized errors)hash_operator_token(sha256 hex of plaintextopc_...for merchants persistingoperator_token_idto their own DB)agentscore_commerce.paymentrow:extract_payment_signernow documents both the positionalx402_payment_headerpath AND theauthorization_header=MPP kwarg (did:pkh:eip155/did:pkh:solanasource DIDs)detect_rail_from_headers(returns"x402"/"mpp"/None)classify_orchestration_error(companion toclassify_x402_settle_resultfor orchestration-time exceptions)zero_amount_carve_out(skip CDP/pympp upstream when settle_cents == 0)usd_to_atomic(Decimal-based USD → atomic int, ROUND_HALF_UP)Test plan
Docs-only; no code changes. Markdown renders cleanly in the existing table.