hex/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 94eb637eef
labs: clean up dictations with apple intelligence (#1814)
* labs: clean up dictations with apple intelligence (#1810)

Adds Labs › Clean up with Apple Intelligence, off by default and macOS only:
one short on-device Foundation Models pass over each dictation whose mode does
not already rewrite with OpenCode. The instructions and the guard are the iOS
cleaner's, so both apps accept and refuse the same answers. An unavailable
model, timeout, refusal, guardrail block, or an answer the guard refuses all
paste the corrected transcript; the stage's own observation records the
reason in History and the live log. Raw dictations never reach it.

* labs: address cleanup review

- read the lab switch (and the caller's cancellation flag) before Apple
  Intelligence's availability, so a lab-off or cancelled dictation never
  touches Foundation Models.
- keep the managed row the Labs registry builds, so an organization's lock
  still disables the card; a test forces the lock on its own thread.
- count CJK numerals as digits, matching Character.isNumber.
- keep dictated quotes and the transcript's own spacing when tidying an
  answer.
- docs: the real worker name, the local API's processed route, the 2 s
  budget, and the guard's scalar-versus-grapheme counting.

* labs: keep the cleanup lock test to linux

The panes tests render on Linux only, so the forced-policy seam has no
users on macOS and failed the macOS check's -D warnings.

* labs: regenerate the mac labs goldens with the cleanup row

* labs: keep the cleanup card inside the labs file cap
2026-11-13 23:51:47 -05:00
..
fixtures feat(cli): hex transcribe reads any common media file, with or without the app (#1799) 2026-11-13 13:14:15 -08:00
golden labs: clean up dictations with apple intelligence (#1814) 2026-11-13 23:51:47 -05:00
keyboard_layout.rs Rebuild the keyboard layout snapshot when the input source changes (t1304) (#1307) 2026-11-04 10:47:16 -08:00
meetings_mcp.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00