Landmark geofence address can resolve to city-level coordinates

Open
#112 1 comment 1 reaction 0 assignees View on GitHub

@adambiggs is already working on this.

Since Oct 28, 2026.

  • #114 by @adambiggs — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
swift
Domain
backend, cli

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Swift
Stars
428
Forks
86
Avg merge
20m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openclaw/remindctl

All issues in openclaw/remindctl

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.