v0.3.4 — close_tab safety protocol
What's Changed
Bug Fix: Destructive actions now verify context before executing
Previously, eyes_close_tab would blindly close a tab using a stale 30s cache without confirming what tab it was closing. This could close the wrong tab entirely.
Server fixes
- Force-refresh tabs before
close_tabandnavigate(no more stale cache) - New
titleparameter onclose_tabfor safe title-based matching - Transparent responses — close/error messages now include tab title + URL
- Smart matching — handles no-match, single-match, and multiple-match cases
Skill fixes
- Safety Protocol section with mandatory per-action checklists
- Orient gate —
eyes_contextis now marked as mandatory, not optional - Covers all destructive actions — close_tab, navigate, quit app, unknown focus
Testing
- 17 unit tests for title-matching logic (all passing)
- 3 eval scenarios with 8 assertions (100% pass rate with skill)
Full Changelog: v0.3.3...v0.3.4