Skip to content

Verify agy 1.5.5 image reads and prevent competing watchers - #8

Merged
mjacobs merged 2 commits into
mainfrom
pr/timestamped-images-watcher-lock
Nov 11, 2026
Merged

mjacobs merged 2 commits into
mainfrom
pr/timestamped-images-watcher-lock

Conversation

@mjacobs

@mjacobs mjacobs commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Timestamped image reads from agy 1.5.5 now verify successfully while preserving the original result text. Watch mode also prevents overlapping reader processes from repeatedly replacing each other's verification records.

  • Validate both timestamp lines and the image media type, including the qualified PNG-to-JPEG downscaling case. A new verification profile suffix requires older cached checks to be refreshed.
  • Hold an operating system lock for each session root. Other watchers wait, keep syncing their other roots, and take over after the owner exits or crashes.
  • Deduplicate root aliases while preserving the supplied path for IDE discovery, and reload cached checks after taking ownership.

Existing watchers must be restarted with the updated binary to participate in locking. The lock file stays in place after exit.

Validation: regression tests cover timestamp parsing, cache invalidation, process ownership, crash takeover, root aliases, and IDE discovery. Existing Wu reviews completed with all findings settled; Linux, macOS, and lint CI will run on this PR.

Accept valid RFC3339 timestamp prefixes while preserving the full result and
checking the media type, including downscaled PNG-to-JPEG images.

Give this rule a distinct images155 profile suffix so older attestations and
persisted verification checks require fresh verification.
Hold an operating system lock for the watcher lifetime. Overlapping watchers
wait without touching the shared store, keep syncing their other stores, and
take over after the owner exits. This prevents different reader versions from
repeatedly replacing each other's verification records.

Deduplicate root aliases while retaining the supplied path for IDE discovery.
Reload cached checks on takeover and release ownership on cancellation or crash.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T06:27:48.459051Z 8e4ae33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mjacobs
mjacobs merged commit 8e4ae33 into main Nov 11, 2026
5 of 6 checks passed
@mjacobs
mjacobs deleted the pr/timestamped-images-watcher-lock branch November 11, 2026 07:52
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