You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Target branch must be cross-agent; create it from master if it does not exist.
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:
GET /agentkeys/audit/<operator_omni>.op_kind,actor_omni,from_block,to_block,cursor, andlimit.SignEip712=21,ScopeGrant=40, andDeviceAdd=50.op_kind=250andop_kind=255: the UI must not crash or hide the row; show the envelope fields and raw CBOR/base64 body affordance.GET /agentkeys/audit/root/<merkle_root>and display merkle root, op_kind bitmap, entry count, and leaves.Real-data requirement:
CredentialAuditV2has real chain data. Use real Heima Mainnet chain ID212013data produced by the backend/live capture path.Delivery rules:
cross-agent; create it frommasterif it does not exist.