Skip to content

[Bug]: [wallet_screening]: card.json ui_schema keys do not match skill output #176

Description

@rosspeili

Affected Component

Specific Skill (e.g. Wallet Screening)

Skill Name (if applicable)

finance/wallet_screening

Bug Description

skills/finance/wallet_screening/card.json ui_schema.fields reference output paths that do not exist in _generate_report_data() output after recent schema/doc corrections (#165, #173).

Stale keys include:

  • summary.address (address is under metadata.wallet_address)
  • summary.sanctioned (actual field: summary.sanctioned_entity_match)
  • summary.malicious_interactions_count (actual: summary.malicious_interaction_count)
  • summary.pnl_eth (actual: financial_analysis.pnl_eth)

Any UI or agent tooling that reads card.json for field binding will show empty or wrong data.

Steps to Reproduce

  1. Load skills/finance/wallet_screening/card.json.
  2. Compare ui_schema.fields[].key to keys returned by WalletScreeningSkill().execute(...) (see mocked test in tests/skills/finance/test_wallet_screening.py).
  3. Observe mismatched paths for address, sanction flag, interaction count, and PnL.

Error Logs

No tracebacksilent UI/schema drift. Compare against `skill.py` `_generate_report_data()` return structure.

Environment

main @ 0.3.6
All platforms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions