wiseguru_ReWrite-Voice-Notes/docs
WiseGuru 42f0a43c62 Resolve the 1.2.1 review-bot no-unsafe-* warnings at the root (type parity)
All ~30 warnings traced to the bot's lint environment resolving types
differently from local, not to unsafe code (DEVCONFLICTS.md finding 10):

- tsconfig lib was ES2016 while the code uses ES2017-ES2019 APIs
  (Object.entries/values/fromEntries, padStart, Promise.finally); the
  test suite's auto-included @types/node masked it locally. lib is now
  ["DOM", "ES2019"] with types: [] so a mismatch fails npm run build.
- moment's typings don't resolve in the bot's environment (obsidian's
  re-export types via the moment package). All calls now go through
  formatMoment in src/time.ts, a narrow structural alias.
- secrets.ts needed as-BufferSource assertions on TS 5.7+ that older TS
  flags as unnecessary; restructured (inferred ArrayBuffer-backed byte
  helpers, BufferSource param, one 32-byte copy) to need none on any
  TS version. Crypto behavior unchanged.
- The two flagged as-Record casts became an isRecord type predicate.

Docs: CLAUDE.md "Review-bot type environment" gotcha, RELEASING.md
parity section (plus the pre-release docs from the workflow change),
DEVCONFLICTS.md finding 10, ROADMAP.md Unreleased entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:55:52 -07:00
..
claude-scratch Move implementation plan into the repo 2026-05-24 11:38:59 -07:00
DEV_TOOLING.md 1.2.0 2026-07-08 21:38:30 -07:00
DEVCONFLICTS.md Resolve the 1.2.1 review-bot no-unsafe-* warnings at the root (type parity) 2026-07-09 20:55:52 -07:00
DIARIZATION.md 1.2.0 2026-07-08 21:38:30 -07:00
IMPLEMENTATION_PLAN.md doc upkeep 2026-07-06 21:10:41 -07:00
MOBILE_KEYBOARD_BUG.md fixed text fields 2026-05-28 12:28:01 -07:00
PLUGIN_REVIEW.md Quick record feature 2026-05-30 19:41:39 -07:00
RELEASING.md Resolve the 1.2.1 review-bot no-unsafe-* warnings at the root (type parity) 2026-07-09 20:55:52 -07:00
REMOVE_PLAINTEXT_SECRETS_MODE.md doc upkeep 2026-07-06 21:10:41 -07:00
ROADMAP.md Resolve the 1.2.1 review-bot no-unsafe-* warnings at the root (type parity) 2026-07-09 20:55:52 -07:00
SECRETS.md 1.2.1 2026-07-08 22:35:06 -07:00
WHISPER_HOST.md 1.2.0 2026-07-08 21:38:30 -07:00