- Remove duplicate CHAIN_READ/CHAIN_WRITE/CHAIN_META sets from meta-commands.ts
and import from commands.ts (single source of truth). The duplicated sets would
silently fail to route new commands added to commands.ts.
- Replace read+concat+write log flush with fs.appendFileSync — O(new entries)
instead of O(total log size) per flush cycle.
- Replace `any` types for contextOptions with Playwright's BrowserContextOptions
and add proper types for storage state in recreateContext().
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>