Commit Graph

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 3ea9bfc790 Add test for struct field ordering in toolsnaps
Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
2026-01-15 17:33:22 +01:00
copilot-swe-agent[bot] 87a1110c15 Implement recursive JSON key sorting for toolsnaps
Sort all JSON object keys alphabetically at every level in toolsnaps by
unmarshaling and remarshaling. This leverages Go's built-in behavior where
json.Marshal automatically sorts map keys alphabetically, ensuring
consistent field ordering and eliminating noop churn in diffs.

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
2026-01-15 16:15:39 +01:00
William Martin 846fac61b0 Ensure UPDATE_TOOLSNAPS doesn't interfere with tests 2025-06-18 10:38:32 +02:00
William Martin 2765d1dc1e Update toolsnap error message with actionable instruction 2025-06-18 10:38:32 +02:00
William Martin 023f59d5cc Use typed tool handler for get_me tool 2025-05-28 15:56:54 +02:00