# Agentic Rail Chain — Wave A parity checklist
# Awaiting Tim sign-off before source tools (T276, T286, T287, T283, T277) are retired.
# Sign-off instruction: review each node, confirm parity, then Tim deletes
# the source tools via the PowerShell block emitted below.

chain_id: agentic-rail
chain_name: Agentic Rail Chain
created: 2026-06-13
status: SIGNED_OFF

nodes:

  - art: ART-22
    chaingraph_file: chaingraph/art-22-agentic-payments-protocol-comparator.html
    source_tool: tools/276-agentic-payments-protocol-comparator.html
    mandate_type: routing_policy
    chain_role: ROOT
    chain_depth: 0
    parity_checks:
      - id: P1
        description: All 5 protocols preserved (ap2, acp, x402, tap, mc) with full 8-dimension scoring
        status: PASS
      - id: P2
        description: DIMS, CROSSWALK, SCENARIOS (5 scenarios) all preserved
        status: PASS
      - id: P3
        description: runComparator() is async; sets _policyParams, _outputPayload, _ap2Hash via sha256()
        status: PASS
      - id: P4
        description: §4 artifact schema complete (ap2_version, execution_hash, chain block, policy_parameters, output_payload)
        status: PASS
      - id: P5
        description: No sessionStorage writes (setLang() removed; comment placed)
        status: PASS
      - id: P6
        description: CSP updated to frame-src 'self' (ChainGraph arch)
        status: PASS
      - id: P7
        description: MANIFEST updated to category:chaingraph, chaingraph:true, chain_id:agentic-rail
        status: PASS
      - id: P8
        description: Export filename uses .chaingraph.json suffix
        status: PASS
      - id: P9
        description: ChainGraph nav breadcrumb + footer present
        status: PASS
    tim_signoff: PENDING

  - art: ART-23
    chaingraph_file: chaingraph/art-23-visa-trusted-agent-protocol-inspector.html
    source_tool: tools/286-visa-trusted-agent-protocol-inspector.html
    mandate_type: compliance_control
    chain_role: BRANCH_A_NODE_2
    chain_depth: 1
    parity_checks:
      - id: P1
        description: Full RFC 9421 Signature-Input parser (parseSigInput) preserved
        status: PASS
      - id: P2
        description: inspect() function (full scoring logic) preserved — 5 READY_QS questions
        status: PASS
      - id: P3
        description: Both tabs preserved (Signature Inspector + TAP Readiness)
        status: PASS
      - id: P4
        description: runInspect() async; _policyParams, _outputPayload, _ap2Hash computed
        status: PASS
      - id: P5
        description: §4 artifact schema complete
        status: PASS
      - id: P6
        description: No sessionStorage writes
        status: PASS
      - id: P7
        description: MANIFEST updated to category:chaingraph, chaingraph:true, chain_id:agentic-rail
        status: PASS
      - id: P8
        description: Export filename uses .chaingraph.json suffix
        status: PASS
    tim_signoff: PENDING

  - art: ART-24
    chaingraph_file: chaingraph/art-24-mastercard-agentic-token-builder.html
    source_tool: tools/287-mastercard-agentic-token-builder.html
    mandate_type: compliance_control
    chain_role: BRANCH_A_NODE_3
    chain_depth: 2
    parity_checks:
      - id: P1
        description: buildScope() preserved — all 8 inputs (agent, merchants, txnlimit, totallimit, currency, expiry, velocity, mcc)
        status: PASS
      - id: P2
        description: lintScope() preserved — all 5 checks (agent binding, merchant scope, limits, expiry, velocity)
        status: PASS
      - id: P3
        description: scoreOf(), renderLint() preserved
        status: PASS
      - id: P4
        description: Both tabs preserved (Token Scope Builder + Scope Linter)
        status: PASS
      - id: P5
        description: runBuild() async; _policyParams, _outputPayload, _ap2Hash computed
        status: PASS
      - id: P6
        description: §4 artifact schema complete
        status: PASS
      - id: P7
        description: No sessionStorage writes
        status: PASS
      - id: P8
        description: MANIFEST updated to category:chaingraph, chaingraph:true, chain_id:agentic-rail
        status: PASS
      - id: P9
        description: Export filename uses .chaingraph.json suffix
        status: PASS
    tim_signoff: PENDING

  - art: ART-25
    chaingraph_file: chaingraph/art-25-a2a-agent-card-validator.html
    source_tool: tools/283-a2a-agent-card-validator.html
    mandate_type: compliance_control
    chain_role: BRANCH_B_NODE_1
    chain_depth: 1
    parity_checks:
      - id: P1
        description: lintCard() preserved — all checks (core fields, protocolVersion, capabilities, extensions, modes, skills, provider, signatures)
        status: PASS
      - id: P2
        description: EX_CARD and EX_SIGNED examples preserved
        status: PASS
      - id: P3
        description: scoreOf(), render() preserved
        status: PASS
      - id: P4
        description: runCard() async; _policyParams, _outputPayload, _ap2Hash computed
        status: PASS
      - id: P5
        description: §4 artifact schema complete
        status: PASS
      - id: P6
        description: No sessionStorage writes
        status: PASS
      - id: P7
        description: MANIFEST updated to category:chaingraph, chaingraph:true, chain_id:agentic-rail
        status: PASS
      - id: P8
        description: Export filename uses .chaingraph.json suffix
        status: PASS
    tim_signoff: PENDING

  - art: ART-26
    chaingraph_file: chaingraph/art-26-x402-payload-decoder-flow-simulator.html
    source_tool: tools/277-x402-payload-decoder-flow-simulator.html
    mandate_type: compliance_control
    chain_role: BRANCH_B_NODE_2
    chain_depth: 2
    parity_checks:
      - id: P1
        description: b64decode(), EX_HDR, EX_PAYLOAD preserved
        status: PASS
      - id: P2
        description: runDecoder() — PaymentRequired / PaymentPayload / PaymentResponse classification preserved
        status: PASS
      - id: P3
        description: lintPayload() — full exact-scheme lint logic preserved (scheme, network, authorization, validBefore/After check)
        status: PASS
      - id: P4
        description: FLOW array (8 steps) and runFlow() preserved
        status: PASS
      - id: P5
        description: MATRIX and runMatrix() preserved
        status: PASS
      - id: P6
        description: All 4 tabs preserved (Header Decoder + Payload Linter + 402 Flow Simulator + Scheme×Network)
        status: PASS
      - id: P7
        description: runDecoder() async; _policyParams, _outputPayload, _ap2Hash computed
        status: PASS
      - id: P8
        description: §4 artifact schema complete
        status: PASS
      - id: P9
        description: No sessionStorage writes
        status: PASS
      - id: P10
        description: MANIFEST updated to category:chaingraph, chaingraph:true, chain_id:agentic-rail
        status: PASS
      - id: P11
        description: Export filename uses .chaingraph.json suffix
        status: PASS
    tim_signoff: PENDING

  - art: ART-16
    chaingraph_file: chaingraph/art-16-google-ap2-mandate-builder.html
    source_tool: tools/285-google-ap2-mandate-builder.html
    mandate_type: payment_mandate
    chain_role: BRANCH_A_NODE_1
    chain_depth: 1
    note: Reused existing ChainGraph node — no promotion needed. Parity verified in agentic-policy chain.
    tim_signoff: N/A_REUSE

  - art: ART-18
    chaingraph_file: chaingraph/art-18-mcp-developer-readiness-scorecard.html
    source_tool: tools/288-mcp-developer-readiness-scorecard.html
    mandate_type: compliance_control
    chain_role: TERMINAL
    chain_depth: 2
    note: Reused existing ChainGraph node — no promotion needed. Parity verified in agentic-policy chain.
    tim_signoff: N/A_REUSE

  - art: ART-03
    chaingraph_file: chaingraph/art-03-x402-settlement-modeler.html
    source_tool: null
    mandate_type: settlement_mandate
    chain_role: BRANCH_B_NODE_3
    chain_depth: 2
    note: |
      Reused existing ChainGraph node (wave 2 original — not a promotion).
      T281 was designated for this slot but does not exist in the repo.
      ART-03 covers the x402 settlement modeling function that T281 would have provided.
    tim_signoff: N/A_REUSE

chain_page:
  file: chaingraph/chains/agentic-rail.html
  status: CREATED

deletion_block: |
  # PowerShell — emit ONLY after Tim signs off on ART-22/23/24/25/26 above
  # cd C:\dev\Claude\Projects\AINumbers\repo
  # Remove-Item tools\276-agentic-payments-protocol-comparator.html
  # Remove-Item tools\286-visa-trusted-agent-protocol-inspector.html
  # Remove-Item tools\287-mastercard-agentic-token-builder.html
  # Remove-Item tools\283-a2a-agent-card-validator.html
  # Remove-Item tools\277-x402-payload-decoder-flow-simulator.html
  # git add chaingraph/art-22-agentic-payments-protocol-comparator.html
  # git add chaingraph/art-23-visa-trusted-agent-protocol-inspector.html
  # git add chaingraph/art-24-mastercard-agentic-token-builder.html
  # git add chaingraph/art-25-a2a-agent-card-validator.html
  # git add chaingraph/art-26-x402-payload-decoder-flow-simulator.html
  # git add chaingraph/chains/agentic-rail.html
  # git add chaingraph/parity/agentic-rail.parity.yaml
  # git add chaingraph/chaingraph.json
  # git add sitemap.xml
  # git commit -m "feat(chaingraph): Wave A agentic-rail chain — ART-22/23/24/25/26 + chain page + parity"
  # git push
