Files
buzz/crates
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7andWill Pfleger e4a729a3ce fix: CI round 4 — tsc Easing type, #[cfg(unix)] write-failure test, B5 persistence category gate
Fix three CI failures introduced in round 3:

1. AgentDefinitionDialog.tsx + AgentInstanceEditDialog.tsx: inline
   number[] literal (from ratchet fix commit a64110ece) is not assignable
   to Easing (TS2322). Revert both to use ADVANCED_FIELDS_MOTION_TRANSITION
   constant as on main.

2. test_b8_agent_write_failure_does_not_block_spawn uses std::os::unix +
   Permissions::from_mode, which do not exist on windows-msvc. Add
   #[cfg(unix)] to gate the test to unix targets.

3. B5 persistence gate had two holes: (a) gated on literal configId
   "effort" — breaks if adapter renames the thought_level configId;
   (b) synthetic ok from the fallback branch reachable from the UI when
   the pool has no thought_level_config_id — Desktop would persist a value
   nothing forwarded.

   Fix: harness emits category: "thought_level" ONLY on the real-forward
   branch (when thought_level_id matches). Observer gates persistence on
   category === "thought_level" instead of a literal configId. Synthetic
   acks carry no category so Desktop cannot persist them.

   Add tests: test_b5_real_forward_ack_includes_thought_level_category
   (renamed configId still persists), test_b5_synthetic_ok_ack_has_no_
   category (pool empty -> no category). Update existing B5 tests to
   assert category presence/absence.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-03 19:59:52 -04:00
..
2026-07-27 14:18:24 -04:00