Repository navigation
Fix held exposure authority and repeat validation - #20
Merged
rohanpandula merged 3 commits intoSep 9, 2026
Merged
Conversation
Co-Authored-By: OpenAI Codex <noreply@openai.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: OpenAI Codex <noreply@openai.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: OpenAI Codex <noreply@openai.com>
rohanpandula
marked this pull request as ready for review
September 9, 2026 02:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An explicitly commanded RGB exposure completed acquisition with all wire, controller, and IR bindings intact, but both post-capture consumers rejected it because they accepted only the legacy
nikon-parity-guarded-v2source label. The worker correctly recordedexplicit-rgb-override, so the completed frame could not be finalized or receive a receipt.This change shares the authority check between finalization and roll publication. Explicit overrides are accepted only when the journal says
applied: true, its exact non-boolean RGB ticks are within the device bounds, and those ticks equal the commanded RGB contract. Controller acceptance, active-solve binding, and unchanged IR remain mandatory; unknown or tampered sources fail closed. Legacy parity-labeled journals remain compatible.The first repaired capture exposed a separate held-repeat defect: after a one-sample round, the resumed round derived frame selection from the prior round's already patched fine-read plan. The real validator therefore rejected that plan as noncanonical before capture. Resumed rounds now derive selection from the original canonical plan and apply the new round's sample contract only afterward. Existing session, USB, preview, and continuation validation remains unchanged. The worker source seal is updated.
The branch also prepares version 0.7.11 in
pyproject.toml,uv.lock, the changelog, and README.Regression evidence:
F.F.); both tamper cases refused.(1, 1)and(1, 4)(F.F) at the real canonical-plan validator;(4, 4)passed....).uv lock --check, andgit diff --checkpass.This PR remains draft. Do not merge, tag, or publish until repeat hardware validation is reviewed.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Co-Authored-By: OpenAI Codex noreply@openai.com