Skip to content

Landmark geofence address can resolve to city-level coordinates #112

Open

Description

@adambiggs

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.

Activity

  1. added
    clawsweeper:intake:bug
    P2
    clawsweeper:fix-shape-clear
    clawsweeper:needs-live-repro
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    impact:other
    issue-rating: 🐚 platinum hermit
    and removed
    clawsweeper:intake:bug
    on Oct 21, 2026
  2. clawsweeper commented on Oct 21, 2026

    @clawsweeper

    Codex review: this still needs some work.

    Summary
    Current main still accepts the first geocoder result without checking landmark precision, and the reporter’s open coordinate-input PR explicitly closes this issue.

    Reproducibility: Source establishes unchecked first-result acceptance under the original label, consistent with the reported release readback; it does not establish that today's geocoder returns the same Eiffel Tower coordinates.

    Root-cause cluster
    Relationship: canonical
    Canonical: #112
    Summary: This issue owns the landmark-accuracy report, and the open linked PR proposes its explicit-coordinate remedy.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Maintainer decision needed

    • Question: Should add expose paired --latitude and --longitude options, with --location serving as an optional display label?
    • Recommendation: Accept explicit coordinate input: Approve the bounded coordinate route and complete review of feat: accept exact coordinates for location reminders #114.
    • Why: The reporter explicitly offers coordinate input as a remedy, and the linked PR supplies behavior evidence, but its discussion leaves approval of the public interface unresolved.

    Next step
    Resolve the coordinate-interface decision and review #114 before considering separate implementation work.

    Review details

    Best possible solution:

    Provide a verified exact-coordinate route through the existing PR and document the accuracy limits of address geocoding.

    Do we have a high-confidence way to reproduce the issue?

    Source establishes unchecked first-result acceptance under the original label, consistent with the reported release readback; it does not establish that today's geocoder returns the same Eiffel Tower coordinates.

    Is this the best way to solve the issue?

    The linked coordinate-input PR implements one expressly requested remedy using existing model support; automatically rejecting coarse results would require a separately validated precision rule.

    AGENTS.md: found, but no applicable review policy affected this item.

    Remaining risk / open question:

    • Today's live CoreLocation response for the reported landmark has not been independently reproduced.
    • The proposed coordinate interface requires a maintainer decision and leaves address-only result selection unchanged.

    Codex review notes: model internal, reasoning medium; reviewed against 136b79b86355.

    Label changes

    Label changes:

    No label changes.

    Label justifications:

    • P2: Incorrect landmark resolution affects the optional geofence workflow with limited blast radius.
    • impact:other: A misplaced geofence can trigger at the wrong location or fail to trigger at the intended landmark.
    Evidence reviewed

    What I checked:

    • Current main preserves unchecked first-result selection: The checkout matches GitHub main. The resolver uses the supplied address as the display title and accepts placemarks.first.location without checking precision. (Sources/RemindCore/EventKitLocation.swift:27, 136b79b86355)
    • CLI cannot use existing coordinate support: AddCommand constructs an address-only trigger, although LocationTrigger and the alarm factory already support coordinates; current location-command tests cover radius and proximity rather than geocoder precision. (Sources/remindctl/Commands/AddCommand.swift:155, 136b79b86355)
    • Open same-author closing PR: feat: accept exact coordinates for location reminders #114 remains open and unmerged, explicitly closes this issue, and proposes paired coordinate flags. Its body records synthetic macOS CLI persistence and cleanup evidence and explicitly leaves interface approval unresolved. (c432e9e0688e)
    • Feature history verified through GitHub: The original feature commit introduced first-placemark selection and internal coordinate support, crediting Octavio Froid as coauthor. The later timeout refactor moved the resolver into EventKitLocation.swift. Local historical-object reads failed, so the original patch was verified through REST instead. (Sources/RemindCore/EventKitStore.swift, 85a589366e3d)
    • Prior feature discussion confirms intended address interface: In feat: add location-based reminder triggers #22, steipete confirmed the shipped address-geocoding interface and JSON coordinate readback, with a live Apple Park smoke test; that evidence does not establish landmark precision.
    • Concrete report and canonical search: The report records two v0.3.8 observations at 48.8567879, 2.3510768 for the Eiffel Tower with a 100-meter radius. Searches for geocoding and coordinates found the linked PR and older feature/timeout work, without another item owning landmark precision.

    Likely related people:

    • Peter Steinberger: Raw commit 0aae471 adds Sources/RemindCore/EventKitLocation.swift:27 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0aae4716a7b9; files: Sources/RemindCore/EventKitLocation.swift)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 28, 2026, 11:24 AM ET / 15:24 UTC.

  3. added
    clawsweeper:intake:bug
    and removed
    clawsweeper:intake:bug
    on Oct 21, 2026
  4. 134 remaining items

  5. added
    clawsweeper:linked-pr-open
    clawsweeper:intake:bug
    and removed
    clawsweeper:needs-maintainer-review
    clawsweeper:intake:bug
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:linked-pr-openclawsweeper:needs-live-reproclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:otherissue-rating: 🐚 platinum hermit

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions