Skip to content

feat: Tier-2 oracle adapter; refuse visual VERIFIED - #33

Merged
abrichr merged 1 commit into
mainfrom
feat/oracle-sdk
Aug 29, 2026
Merged

feat: Tier-2 oracle adapter; refuse visual VERIFIED#33
abrichr merged 1 commit into
mainfrom
feat/oracle-sdk

Conversation

@abrichr

@abrichr abrichr commented Aug 29, 2026

Copy link
Copy Markdown
Member

Reader

A types reviewer checking that a visual-only oracle cannot mint production VERIFIED. If that sentence stops being true, tests/test_oracle.py should fail.

What this does

Tier-2 checks are a short adapter: implement channel and read. API, DB, file, and ack classify as tier 2. A second session uses the same adapter and classifies as tier 1.

Production verified and rolled_back_verified receipts 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 cannot issue_production_verified; FileStatusOracle can.
  • A verified Execute receipt with immediate_screen_confirmation observed strength is refused.
  • docs/ORACLE.md lists tiers 0-3.

#32 adds oracle_tier as a receipt field. This change refuses visual VERIFIED from observed_effect_strength on current main. If they land together, keep both gates fail-closed.

Opened by an agent session, not the founder.

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
abrichr merged commit a542c07 into main Aug 29, 2026
1 check passed
@abrichr
abrichr deleted the feat/oracle-sdk branch August 29, 2026 19:47
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