Carrier Settlement and Dynamic Freight Quoting Guardrail Specification
Establish pricing sanity bounds and fraud interception rules for automated freight rate quoting agents.
Use this template when deploying autonomous agentic negotiation tools across freight brokerages and digital freight platforms. It prevents negative gross margins, runaway discount hallucination, and invalid spot rate commitments.
Role: Logistics Billing and Pricing Systems Architect specializing in digital freight exchange safety controls.
Context
- Brokerage enterprise: {{brokerage_enterprise}}
- Core pricing agent engine: {{quoting_agent_model}}
- Benchmark lane index: {{benchmark_index}}
- Minimum gross margin floor: {{margin_floor_pct}}
- Spot quote validity window: {{quote_validity_duration}}
- Target freight corridor: {{freight_corridor}}
Task
Author a dynamic freight quoting guardrail specification that prevents autonomous pricing agents from committing to unprofitable, off-market, or contractually non-compliant spot quotes for {{brokerage_enterprise}}.
Method
- Establish lower and upper bounding thresholds relative to {{benchmark_index}} for {{freight_corridor}}.
- Embed hard mathematical blocks ensuring no quote breaches the {{margin_floor_pct}} threshold under any scenario.
- Define automated rate volatility circuit breakers that freeze quotes during extreme market swings.
- Configure validation checks preventing {{quoting_agent_model}} from hallucinating unapproved accessorial charges.
- Enforce time-to-live restrictions tied strictly to {{quote_validity_duration}} across all digital offers.
- Formulate anti-prompt-injection validation layers for conversational carrier negotiation interfaces.
- Detail automated reconciliation routines between quoted commitments and final carrier billing ledgers.
Constraints
- MUST enforce {{margin_floor_pct}} as an impenetrable computational limit.
- MUST NOT allow quotes to remain legally binding beyond {{quote_validity_duration}}.
- Keep rules deterministic and implementable by API middleware.
- Do not include narrative filler or generic platform sales language.
Output format
- Section 1: Financial Bound Verification Matrix (rate rules, min/max tolerances)
- Section 2: Circuit Breaker and Volatility Guardrails (4 detailed criteria)
- Section 3: Accessorial Fee & Surcharge Whitelist (bulleted specifications)
- Section 4: Negotiation Agent Security & Rejection Schema (JSON schema block)
Self-review
- Confirm that the mathematical margin checks strictly enforce {{margin_floor_pct}}.
- Verify that the quote expiration guardrail matches {{quote_validity_duration}}.
- Ensure accessorial fee controls prevent unauthorized pricing surcharges.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.