Scaffolds the project per CLAUDE.md Phase 0 and docs/01, 02, 06, 07, 08, 10.
Both entrypoints render, and `npm run verify` is green.
- WXT 0.20.27 + Svelte 5 runes + TypeScript 6 strict, srcDir: 'src'.
- Manifest carries exactly ["bookmarks", "storage"], no host permissions, no
background worker, and never loosens the MV3 default CSP. Verified against
the built artifact, not just the config.
- scripts/guard.mjs implements the canonical grep gate from docs/08 §3 as a
single Node-stdlib script, so the same gate runs locally and in CI and
cannot drift between them.
- scripts/gen-icons.mjs writes placeholder PNGs by hand (zlib + CRC32), so no
image dependency enters the tree and the manifest loads before the designed
icon exists.
- i18n: en/vi/ja dictionaries with `satisfies Dict` (never `as const` — see
docs/07 §2), plus a pure resolve-locale module so locale mapping is testable
without the runes runtime.
- Tests run under jsdom, including an environment canary asserting the
implied-end-tag DL nesting and `:scope >` behaviour the Netscape parser will
depend on, and that a parsed hostile document stays inert.
- legal/ drafts, SECURITY.md, FUNDING.yml and .nvmrc land now because the
About tab and first-run gate link to them from the very first screens.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>