Skip to content

refactor: remove outdated cursor rules and streamline documentation#1724

Open
drqsatoshi wants to merge 14 commits intoMetaMask:mh/add-cli-to-update-tokensfrom
drqsatoshi:cli-test
Open

refactor: remove outdated cursor rules and streamline documentation#1724
drqsatoshi wants to merge 14 commits intoMetaMask:mh/add-cli-to-update-tokensfrom
drqsatoshi:cli-test

Conversation

@drqsatoshi
Copy link

@drqsatoshi drqsatoshi commented Feb 15, 2026

Note

Medium Risk
Medium risk because it deletes the cli-update-asset.js tooling used to create/verify metadata and may break developer workflows or tests that expect it, though runtime code is otherwise largely unaffected.

Overview
Removes the asset-management CLI and redundant AI pointer docs, leaving .cursorrules, CLAUDE.md, and cli-update-asset.js empty and consolidating the remaining guidance in .github/copilot-instructions.md with an expanded quick reference.

Adds several new token icons (e.g., under icons/eip155:1329 and icons/eip155:4326) as new SVG files.

Written by Cursor Bugbot for commit 50d5883. This will update automatically on new commits. Configure here.

@drqsatoshi drqsatoshi requested review from a team and MRabenda as code owners February 15, 2026 08:01
@drqsatoshi drqsatoshi changed the base branch from master to mh/add-cli-to-update-tokens February 15, 2026 08:01
@drqsatoshi drqsatoshi marked this pull request as draft February 15, 2026 08:01
} else if (!metadata.logo) {
// Default logo path even if no logo provided yet
metadata.logo = `./icons/${chain}/${asset}.svg`;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update writes metadata with missing icon file

Medium Severity

When update runs without --logo, it assigns a default metadata.logo path even if no icon exists. commandUpdate then reports success while creating metadata that immediately fails verify due to a missing file, producing inconsistent CLI behavior.

Fix in Cursor Fix in Web

@drqsatoshi drqsatoshi marked this pull request as ready for review February 15, 2026 08:06
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@@ -0,0 +1,11 @@
<svg width="800" height="800" viewBox="0 0 800 800" fill="none" xmlns="http://www.w3.org/2000/svg">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-checksummed EVM address in icon path

Medium Severity

The new icon uses a lowercase EVM address in its CAIP-19 filename, not an EIP-55 checksummed form. If asset lookup and metadata follow checksummed identifiers, this icons/... entry won’t match the canonical asset key and can fail to resolve at runtime.

Fix in Cursor Fix in Web

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants