Seeded defect in a throwaway copy of HEAD: the token is computed from the first 40 characters of the text only, so a change after that gives the same token.
FAIL  any one changed character in a quoted text gives another token, and the same text gives the same one (2.368542ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 923.994041

FAIL  failing tests:

test at test/trust.test.mjs:81:1
FAIL  any one changed character in a quoted text gives another token, and the same text gives the same one (2.368542ms)
  AssertionError [ERR_ASSERTION]: changing character 40 gave a token seen before
  
  true !== false
  
      at TestContext.<anonymous> (file:///private/tmp/red/test/trust.test.mjs:89:12)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.start (node:internal/test_runner/test:1262:17)
      at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: true,
    expected: false,
    operator: 'strictEqual',
    diff: 'simple'
  }
