d3ro-voice/packages/core/__tests__
Yun Chan ba9ef9741e fix: red-team round 3 hardening across desktop, mobile, core and server
Batch of red-team r3 fixes that were in the working tree before the
2026-09-28 design overhaul, committed as one unit with their tests.

- desktop main: STT timeouts and sidecar, voice recording store, sync
  (credentials, audio, knowledge reindex, push gates), runtime
  provisioner, update policy, AltGr keybindings, voice-command policy,
  dictionary file codec/limits, meeting transcript condensing and a
  local recording ledger so interrupted-session recovery only closes
  meetings this device recorded (a phone's live meeting is left alone).
- mobile: login CSRF via implicit token callbacks rejected, account
  deletion/retention, durable queue retention, knowledge realtime
  without unfiltered DELETE, meeting re-record failure paths, cloud STT
  client, preferences store/resync.
- core: text chunking splits long unbroken transcripts to fit, template
  field policy, dictionary limits, meeting markdown inline handling.
- server: payple webhook policy and cancellation order scope, meeting
  document generation quota, team RPC null-role guard, unified LLM
  quota in-flight accounting, knowledge chunk vector index, meeting
  re-record failure paths (migrations 20260929*).
- ci: portable/runtime feed gates, update-policy schema, Forgejo file
  delete and alias planning.

Four older tests are updated to the new contracts rather than the old
behavior: token-pair auth callbacks are rejected, knowledge realtime no
longer subscribes to DELETE, long transcript lines are split, and
meeting recovery requires the local recording ledger for empty rows.
2026-09-28 20:45:52 +09:00
..
dictionary-limits-redteam-r3-26.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
dictionary-policy.test.ts fix(dictionary): let an edit clear the pronunciation and report duplicate renames 2026-09-28 00:53:46 +09:00
input-suggestion-redteam-r3-1.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
instruction-template.test.ts refactor(instructions): share instruction template rendering via @d3ro/core 2026-09-28 00:53:44 +09:00
keybinding-altgr-redteam-r3-8.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
keybinding-i18n.test.ts feat(keybinding): several shortcuts per action, mouse buttons, searchable picker 2026-09-21 13:41:47 +09:00
keybinding-redteam-r2-16.test.ts fix(keybinding): stop stealing chords on Windows, release mouse holds, keep cleared actions 2026-09-28 02:16:19 +09:00
keybinding-runtime.test.ts refactor(keybinding): extract chord state machine into core and fix AltGr guard 2026-09-28 00:53:46 +09:00
keybinding.test.ts feat(keybinding): several shortcuts per action, mouse buttons, searchable picker 2026-09-21 13:41:47 +09:00
llm-chat.test.ts fix(llm): keep system prompts on premium chat, reject incomplete streams, stop double-charging quota 2026-09-28 00:53:44 +09:00
meeting-markdown-inline-redteam-r3-27.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
meeting-markdown.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
meeting-transcript-segments.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
meeting-transcript.test.ts feat(desktop): send meeting transcript segments and preset prompt edits to the phone 2026-09-27 16:24:25 +09:00
personal-graph-terms-multiscript.test.ts fix(core): extract personal-graph terms from any script 2026-09-28 00:54:04 +09:00
personal-graph.test.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
popup-placement.test.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
suggestion-redteam-r1-1.test.ts refactor(suggestion): drive suggestion decisions from one core step and split SuggestionService collaborators 2026-09-28 00:53:42 +09:00
suggestion-redteam-r2-3.test.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
template-field-policy.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
terminal-prompt.test.ts fix(suggestion): keep a shown suggestion while the user picks it, and suggest in terminals 2026-09-27 22:43:22 +09:00
transcript-chunking-redteam-r3-3.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
url-policy-redteam-r2-9.test.ts fix(security): trust file: URLs only inside the app renderer directory 2026-09-28 02:16:18 +09:00
url-policy.test.ts fix(sync): bind sync engine to its user DB, scope instructions/templates per account, harden navigation 2026-09-28 00:53:42 +09:00
voice-llm-route.test.ts fix(voice): stop mic-test ref stealing, unblock action queue, keep tail audio, and move context/LLM routing behind ports and pure policies 2026-09-28 02:16:16 +09:00
write-policies-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00