sam
156453cf74
fix: tool registry — 8 bugs from adversarial review (17.1, 17.2)
Verification review found 8 bugs, all fixed with regression tests:
- Available() deadlock: CheckFn evaluated outside RLock
- Register() shared references: Clone() defensive copy before storage
- Clone() shallow nested schemas: deepCopyAny for maps/arrays
- stringLit: no backtick/escape handling → strconv.Unquote
- intLit: no negative/hex/octal/binary → strconv.ParseInt
- Discover: abort on first error → Continue + errors.Join
- isRegisterCall: too broad → only DefaultRegistry() calls match
- schemaLit: only string values → handle ints, bools, nested maps
38 tests pass. All 34 packages green. golangci-lint + gofmt clean.
Closes: archie-core-abg.17.1, 17.2
2026-07-26 01:31:17 +10:00
..
2026-07-25 23:51:13 +10:00
2026-07-25 23:50:52 +10:00
2026-07-26 01:04:35 +10:00
2026-07-25 23:51:13 +10:00
2026-07-26 01:06:05 +10:00
2026-07-23 18:49:38 +10:00
2026-07-25 23:51:13 +10:00
2026-07-24 13:32:50 +10:00
2026-07-24 12:57:10 +10:00
2026-07-26 01:29:36 +10:00
2026-07-26 01:29:36 +10:00
2026-07-25 23:51:13 +10:00
2026-07-25 23:51:13 +10:00
2026-07-26 01:06:05 +10:00
2026-07-25 23:51:13 +10:00
2026-07-24 17:42:17 +00:00
2026-07-24 12:57:10 +10:00
2026-07-25 23:51:13 +10:00
2026-07-26 01:06:05 +10:00
2026-07-26 01:06:05 +10:00
2026-07-24 13:32:50 +10:00
2026-07-26 01:31:17 +10:00
2026-07-26 01:06:05 +10:00
2026-07-26 01:06:05 +10:00
2026-07-25 23:51:13 +10:00
2026-07-24 13:32:50 +10:00
2026-07-24 12:57:10 +10:00