Skip to content

CI: refuse any tracked image that carries GPS - #36

Merged
daniel-frenkel merged 5 commits into
mainfrom
ci/image-gps
Nov 16, 2026
Merged

daniel-frenkel merged 5 commits into
mainfrom
ci/image-gps

Conversation

@daniel-frenkel

Copy link
Copy Markdown
Member

Adds a CI check that refuses any tracked image that carries a GPS position. It is the same check as Valar-Systems/Ropener #46/#47, which came from valar-scopes #716.

  • tools/check_image_gps.py: Ropener's script at 8d29c31, unchanged except the docstring's provenance and usage-path lines.
    • It reads every tracked file. It finds images by content (JPEG, PNG, WebP, TIFF, HEIF/AVIF) and by name, and checks zip/3mf/gz/tar/xz members too.
    • It fails on an EXIF GPS position, an unreadable HEIF Exif item, an XMP location property that holds a value, or a container it can't read in full.
    • There is no allowlist. It prints paths and finding kinds only.
  • .github/workflows/image-gps.yml: on every pull request and on pushes to main, it runs the selftest (24 synthetic rows), the sabotage set (11 plants, each must turn exactly its rows red), then the check on every tracked file.

Predictions and results: tools/regression-gate/predictions/2026-11-image-gps.md.

  • Locally: selftest 24/24; sabotage set passed.
  • This repo: 94 tracked files, 0 findings.
  • A planted synthetic GPS JPEG in a local clone was refused with exactly one finding. The plant was never pushed.

🤖 Generated with Claude Code

daniel-frenkel and others added 5 commits November 15, 2026 19:42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/check_image_gps.py and .github/workflows/image-gps.yml, copied from
Valar-Systems/Ropener (#46/#47). The workflow runs the selftest, the
sabotages, then the check on every tracked file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@daniel-frenkel
daniel-frenkel merged commit 0264dc5 into main Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant