feat: Tier-2 oracle adapter; refuse visual VERIFIED - #33
Merged
Conversation
A partner implements channel plus read (API, DB, file, ack, or a second session). Production Execute receipts require oracle tier 2 or 3. Visual and OCR (tier 0) cannot mint VERIFIED.
abrichr
force-pushed
the
feat/oracle-sdk
branch
from
August 29, 2026 19:45
255e5f5 to
c0ce81e
Compare
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.
Reader
A types reviewer checking that a visual-only oracle cannot mint production
VERIFIED. If that sentence stops being true,tests/test_oracle.pyshould fail.What this does
Tier-2 checks are a short adapter: implement
channelandread. API, DB, file, and ack classify as tier 2. A second session uses the same adapter and classifies as tier 1.Production
verifiedandrolled_back_verifiedreceipts now refuse observed effect strength that maps to tier 0 (visual / OCR) or tier 1 (second-session UI). The payload cannot upgrade the channel.The gate classifies which reads may stamp
VERIFIED. That's the whole claim.Flow #435 is the runtime SoR refusal. #440 is qualify
--break-it. Neither is the partner adapter, so the contract lives here. A Flow client can import it later.Reviewer checks
tests/test_oracle.py: BannerOracle / OCR cannotissue_production_verified; FileStatusOracle can.verifiedExecute receipt withimmediate_screen_confirmationobserved strength is refused.docs/ORACLE.mdlists tiers 0-3.#32 adds
oracle_tieras a receipt field. This change refuses visualVERIFIEDfromobserved_effect_strengthon currentmain. If they land together, keep both gates fail-closed.Opened by an agent session, not the founder.