decision: RULES.md states three things the code contradicts #211
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three divergences found by separate workers while verifying documentation against source.
RULES.mdis owner-only and says the code must change to match it rather than the reverse, so each needs your call on which side gives.1. External services count. The External Communication checklist says the extension contacts "exactly three external services: configured RPC endpoint, CoinDesk price API, and Blockscout block-explorer API". The code contacts five —
src/shared/phishingDomains.jsfetchesraw.githubusercontent.com, andsrc/shared/etherscanLabels.jsfetchesetherscan.io.2. Password scope. "Password only required for signing operations" is untrue.
src/popup/views/deleteWallet.jsand the private-key export insrc/popup/views/addressDetail.jsboth require it, and #161 adds a third.3. Approval persistence. "TX and sign approvals persist across popup close/reopen (toolbar popup)" no longer describes the code: those approvals use
windows.create(), and thewindows.onRemovedlistener resolves them with EIP-1193 code 4001. A stale comment insrc/background/index.jsin the port-disconnect branch still says "Keep pending — user can reopen the toolbar popup", describing behaviour that no longer exists.Options
For each: (a) update
RULES.mdto describe the shipped behaviour, or (b) change the code to matchRULES.md.Recommendation
src/background/index.jsis just wrong and should be deleted regardless. Whether approvals SHOULD survive popup close is a real product question: rejecting on window close is the safer default for a wallet, so I would update the rule to match — but that is your call, not mine.Tell me which way on each and I will open the PR. Nothing is blocked on this.