Add Gonka Compute Witness pilot adapter - #218
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Live Dahl/Gonka compatibility evidence — 2026-08-03A real request from Android/Linux completed successfully against:
Observed response behavior: MiniMax returned internal reasoning inside Before this draft is ready to merge, the adapter should:
This confirms API-key authentication, endpoint compatibility, model availability, and the OpenAI-style response shape. It does not yet prove independent routing, GPU identity, or on-chain settlement. |
MiniMax reasoning-markup fix validatedCommit Validation is green:
Security/evidence behavior:
|
Live three-replica result: consensus observed, independence not observedThe Android/Linux pilot completed successfully at the execution layer:
However, all three successful responses returned the same provider request ID: Interpretation: three client-side attempts and exact answer agreement are observed, but independent routing is not observed or proven. The duplicate ID could reflect caching, deduplication, shared upstream execution, or provider-specific ID semantics; this evidence cannot distinguish those cases. The branch now separates output agreement from routing evidence:
Added four dependency-free tests for duplicate, missing, distinct, and non-consensus cases, plus a durable evidence note at |
What changed
CONSENSUS,DIVERGENT,DEGRADED, andNO_SUCCESSFUL_EXECUTION;<think>...</think>handling: complete reasoning blocks are excluded from final agreement scoring, while unclosed or malformed blocks are rejected;Why
ProofPath already has a static Compute Witness contract. This pilot adds a live provider boundary without overstating what is proven. It records provider-returned evidence and local hashes while explicitly stating that GPU identity, routing independence, settlement, and scientific correctness remain unproven.
A live Dahl/Gonka test on 2026-08-03 confirmed API-key authentication and OpenAI-style compatibility for:
https://inference.dahl.global/v1/chat/completionsMiniMaxAI/MiniMax-M2.7200devshard-44246-782The live response exposed a compatibility edge case: MiniMax returned reasoning inside
<think>...</think>inmessage.content. The adapter now hashes the complete response and raw output, but uses only the safely extracted final answer foroutput_hashand agreement scoring. Reasoning text is never copied into the portable receipt.Developer impact
The adapter is optional and does not change the current gateway, Rust workspace, conformance fixtures, or payment guard. It uses only the Python standard library and reads live credentials from environment variables.
Validation
python3 scripts/test_gonka_adapter.pySafety notes