Landmark geofence address can resolve to city-level coordinates

Đang mở
#112 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

@adambiggs đang làm issue này rồi.

Từ ngày 28/10/2026.

  • #114 của @adambiggs — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
swift
Lĩnh vực
backend, cli

Hướng nghiên cứu

Start with Sources/RemindCore/EventKitLocation.swift, especially the CLGeocoder.geocodeAddressString call and first placemark handling cited in the issue. Trace how the resolved location reaches the CLI and is saved, then check for tests covering geocoding precision and coordinate readback. Done when landmark queries avoid silently saving a city level point, or the CLI clearly warns that the result may be coarse and lets users verify coordinates.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr impact:other issue-rating: 🐚 platinum hermit P2

Creating a disposable synthetic reminder with --location "Eiffel Tower, Paris, France" --radius 100 returned this location metadata from remindctl 0.3.8:

{"address":"Eiffel Tower, Paris, France","latitude":48.8567879,"longitude":2.3510768,"proximity":"arriving","radius":100}

The expected landmark is approximately 48.85832, 2.29452 (GeoNames monument record); the returned point is about 4.1 km away. Its echoed address still names the landmark, so the label does not reveal the coarse resolution. This was observed twice through automation invoking the installed CLI, on disposable reminders only; the same coordinates survived a later ordinary edit. No private address or location was used.

Repro command shape (use a disposable list, exact-read the returned reminder ID, then delete that exact synthetic):

remindctl add "Synthetic geofence proof" --list-id "<disposable-list-UUID>" --location "Eiffel Tower, Paris, France" --radius 100 --json

The resolver calls CLGeocoder.geocodeAddressString and accepts the first placemark’s location without checking landmark precision. That file is identical in v0.3.9. The CLI exposes an address but no explicit coordinate inputs, although the internal LocationTrigger model supports coordinates.

Expected: choose a precise landmark result, expose an explicit coordinate route, or refuse coarse/ambiguous results before saving. At minimum, document that landmark queries may resolve to a city-level point and require coordinate readback before relying on the geofence.

Ngôn ngữ chính
Swift
Star
428
Fork
86
Merge trung bình
20 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openclaw/remindctl

Tất cả issue của openclaw/remindctl

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.