Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
transform_anthropic_messages_request delegates the request-body build to the parent AnthropicMessagesConfig.transform_anthropic_messages_request, then normalizes role=system messages into the top-level system field and strips the cache_control scope field before returning the Azure-Foundry-ready request body
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
transform_anthropic_messages_request delegates the request-body build to the parent AnthropicMessagesConfig.transform_anthropic_messages_request, then normalizes role=system messages into the top-level system field and strips the cache_control scope field before returning the Azure-Foundry-ready request body
the azure_messages shall always satisfy azure_messages_request_delegated
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- pending
History
- Created
- Aug 2, 2026, 00:45 UTC · Claude Opus 4 8 · AI agent
- Modified
- Aug 2, 2026, 00:45 UTC · Claude Opus 4 8 · AI agent
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Open known issues
Findings currently open against this requirement — issues its verification surfaced that are not resolved yet. Each links to the full finding.
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
1 obligation · 1 discharged
Browse the catalogueHappy-path behavior with valid inputs.
- nominalrequiredpresentCovered by 1 test
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
FRETish formula
the azure_messages shall always satisfy azure_messages_request_delegated
Witnesses· 2 scenarios total
- transform_request_folds_system_role_message_into_top_level_systemexercises 1 condition scenario
MC/DC truth table· 2 rows
Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.
mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test| # | azure_messages_request_delegated | Result | Proves | Covering test |
|---|---|---|---|---|
| 1 | F | F | azure_messages_request_delegated | Exempted · defensive — transform_anthropic_messages_request always delegates to the parent build then applies the Azure normalizations; a correct build cannot skip delegation, so this row is unreachable (reviewed: agent:claude-opus-4-8) |
| 2 | T | T | azure_messages_request_delegated |
Its place
How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.
Loading graph…
Trace evidence
The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.
Mirrors
Ports this requirement participates in — it carries a reviewed exemption on one side, or a finding raised against it is tracked as part of the port.
Mirrors
Ports this requirement participates in — it carries a reviewed exemption on one side, or a finding raised against it is tracked as part of the port.
- Azure AI messages: Python -> RustMIR-008Target issuePython → RustView in Mirrors
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
If you change this
Files to re-check (2)
- transformation.rslitellm-rust/crates/core/src/providers/azure_ai/messages/transformation.rs
- messages_transformation.pylitellm/llms/azure_ai/anthropic/messages_transformation.py
What this rests on
Discussions
Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.