- observation_update_test.go (#69) lacked the fts5 build tag its helper
(testObservationStore, in observation_store_test.go) has, so `go vet ./...`
without tags failed with "undefined: testObservationStore".
- Client.knn (#70) concatenates its WHERE clause into the query. The clause is
built only from constant text with "?" placeholders (see nearest) and every
value goes through args, so gosec's G202 is a false positive; annotate it the
way the file already annotates G201.
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
UpdateObservation set updated_at_epoch, but the observations table has no such column, so every PUT /api/observations/{id} failed with HTTP 500 (no such column: updated_at_epoch). Remove the assignment; nothing reads an edited-at time. An update that changes nothing now returns the observation, as intended. UpdateObservation had no tests: add store and handler tests.
Co-authored-by: Claude Sonnet 5.5 <[email protected]>