Skip to content

AgentKeys AuditEnvelope v1 explorer UI renderers and live audit views #12

Description

@crossagent-production-app

Companion UI work for backend issue litentry/subscan-essentials#12 and PR litentry/subscan-essentials#13.

Backend #12 is not only a decoder task: it exposes typed REST shapes specifically for explorer UI consumption. This issue tracks the frontend side in subscan-essentials-ui-react.

Scope:

  • Wire the AgentKeys audit list against the real backend endpoint GET /agentkeys/audit/<operator_omni>.
  • Support filters/pagination for op_kind, actor_omni, from_block, to_block, cursor, and limit.
  • Render common envelope fields: operator, actor, timestamp, result, intent_text, intent_commitment, envelope_hash, block/tx/log position when provided.
  • Add typed body renderers for at least SignEip712=21, ScopeGrant=40, and DeviceAdd=50.
  • Implement Unknown(byte) fallback, including op_kind=250 and op_kind=255: the UI must not crash or hide the row; show the envelope fields and raw CBOR/base64 body affordance.
  • If root/batch data is available, wire GET /agentkeys/audit/root/<merkle_root> and display merkle root, op_kind bitmap, entry count, and leaves.

Real-data requirement:

  • Do not claim completion from mock-only data. Hanwen confirmed CredentialAuditV2 has real chain data. Use real Heima Mainnet chain ID 212013 data produced by the backend/live capture path.
  • If backend PR Add AgentKeys audit explorer UI #13 still lacks exact contract address, deploy block, or tx capture manifest, record that as a blocker and ask for the blockheight/address instead of fabricating screenshots.
  • Visual evidence should show real returned audit rows, the active filters, and at least one typed body view.

Delivery rules:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions