From f0745de7b77c638d0084a42b6027cd94244d57b0 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Wed, 7 Oct 2026 21:23:00 +0000 Subject: [PATCH] docs: put Sepolia in scope and write down the provider flag exception (closes #165) The README's 1.0 non-goal said Ethereum mainnet only, while Sepolia ships as a selectable network. It now puts mainnet and Sepolia in scope and other chains out of it. The injected provider's flag named after the other wallet stays, as an interface-compatibility flag many dApps check. It is now written down as an exception to the rule against naming competitors, in the README's Policies section and in RULES.md, and the comment beside it says so. Neither document spells the name, so script/check-censored, which already allows the flag only in src/content/inpage.js and its built copies, is unchanged. Model: opus-5-5 --- README.md | 7 +++++-- RULES.md | 5 ++++- TODO.md | 10 ++++++++++ src/content/inpage.js | 5 ++++- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1854836..13e3a7b 100644 --- a/README.md +++ b/README.md @@ -2648,7 +2648,7 @@ Currently supported: ### Non-Goals for 1.0 -- Multi-chain support (Ethereum mainnet only) +- Chains other than Ethereum mainnet and the Sepolia testnet - Hardware wallet support ## TODO @@ -2682,7 +2682,10 @@ Currently supported: ## Policies - We don't mention "the other wallet" by name in code or documentation. We're - our own thing. + our own thing. Written exception: the injected provider in + `src/content/inpage.js` sets the flag named after the other wallet to `true`. + It is an interface-compatibility flag many dApps check, and without it the + wallet stops working on their sites. - The README is the complete authoritative technical documentation. It's ok if it gets big. diff --git a/RULES.md b/RULES.md index 9644a38..5cfc926 100644 --- a/RULES.md +++ b/RULES.md @@ -118,4 +118,7 @@ contradicts either, the originals govern. - [ ] "Address" not "account" or "derived key" - [ ] "Password" not "encryption key" or "vault passphrase" - [ ] Error messages are full sentences -- [ ] No competitor mentioned by name in code or documentation +- [ ] No competitor mentioned by name in code or documentation. Written + exception: the injected provider in `src/content/inpage.js` sets the flag + named after the other wallet to `true`, an interface-compatibility flag + many dApps check (README.md, Policies) diff --git a/TODO.md b/TODO.md index e2d5100..618163a 100644 --- a/TODO.md +++ b/TODO.md @@ -44,6 +44,16 @@ then continue tagging as milestones land. # Completed Steps +- 2026-10-07: Two contradictions between the documents and the code are resolved + as ruled on [#165](https://git.eeqj.de/sneak/AutistMask/issues/165). The + README's 1.0 non-goal now puts Ethereum mainnet and the Sepolia testnet in + scope and other chains out of it. The injected provider's flag named after the + other wallet stays, as an interface-compatibility flag many dApps check, and + is written down as an exception to the rule against naming competitors in the + README's Policies section, in `RULES.md` and in a comment beside it in + `src/content/inpage.js`. `script/check-censored` already allows that flag only + in that file and its built copies, so it is unchanged. + - 2026-10-07: Two holes in what `tests/persistedFieldContract.test.js` checks are closed ([#379](https://git.eeqj.de/sneak/AutistMask/issues/379)). The check that every swept field is driven both truthy and falsy counts only diff --git a/src/content/inpage.js b/src/content/inpage.js index 38f57a8..09bb914 100644 --- a/src/content/inpage.js +++ b/src/content/inpage.js @@ -99,7 +99,10 @@ const provider = { isAutistMask: true, - isMetaMask: true, // compatibility — many dApps check this + // An interface-compatibility flag many dApps check. Kept as a written + // exception to the rule that no competitor is named in code: see + // Policies in README.md, and RULES.md. + isMetaMask: true, chainId: currentChainId, networkVersion: currentNetworkVersion, selectedAddress: null, -- 2.54.0