DEC 2, 202617 MIN READPOST BY: TEAM CODESMITHSUPDATED:

Comline Pricing Intelligence Portal: AI Pricing for Automotive Parts

Pricing strategy, with every price calculated, checked and approved

Comline Pricing Intelligence Portal: AI Pricing for Automotive Parts

Comline

Built forComline · Automotive aftermarket parts distribution · UK and Greece

  • AI agents · Pricing engine · Portal
  • Dynamics 365 · Entra ID
  • Ongoing since late 2025

Abstract

Comline prices a catalogue of more than 60,000 SKUs against hundreds of competitor brands. CodeSmiths built a pricing portal around three AI assistants: one turns a pricing manager’s plain-English strategy into a typed rule set that a deterministic engine prices, one reads messy supplier files and stages clean imports, and one helps the team work through buying-group tenders. The AI stages every change; only a person can publish one.

  • 99.8%reference mismatches recovered by normalising cross-references
  • 100%of live price changes approved by a person
  • 2.8×faster publish preparation, 39 seconds against 108
  • 20 sceiling on any AI-written query
  • 500×fewer writes per import, with rows written 500 at a time

01 08

1. At a glance

AI where it saves the work, code where it must be exact

We built a pricing portal on top of Comline’s Dynamics 365 data with three AI assistants that share one governed agent runtime. A pricing manager describes a strategy in plain English; the Pricing Assistant compiles it into a typed rule set, and a deterministic engine works out every price, with guardrails applied last.

The Import Assistant reads supplier files in any shape, identifies which competitor they belong to and stages a classified plan. Every change the AI prepares is staged, reviewed and published by a person, and every publish can be rolled back safely.

How a price gets liveFour steps, with a person on the last one
  1. STEP 01Describe

    The pricing manager states the strategy in plain English, in a chat.

  2. STEP 02Compile

    The agent explores the data and compiles a typed, validated rule set.

  3. STEP 03Calculate & check

    A deterministic engine prices every SKU; guardrails clamp the result.

  4. STEP 04Review & publish

    A person reviews the impact and publishes, with safe rollback.

Built with
  • Python
  • Flask
  • Polars
  • Pydantic
  • React
  • TypeScript
  • PostgreSQL
  • MySQL
  • Claude
  • Client: Comline
  • Industry: Automotive aftermarket parts distribution, UK and Greece
  • Scope: AI agents, pricing engine and portal
  • Integrations: Microsoft Dynamics 365 and Entra ID
  • Models: Claude Sonnet, model-flexible
  • Engagement: Ongoing since late 2025
  • Built with: Python, Flask, Polars, Pydantic, React, TypeScript, PostgreSQL, MySQL and Claude
  • Delivered: Pricing Assistant, Import Assistant, Tender Assistant, deterministic pricing engine, Review & Publish with rollback, Greece pricing portal

Key innovation: the agent stages, a human commits

  • The language model writes the pricing policy, never the prices, and it cannot publish anything: the publish and commit actions exist only as buttons for people, not as tools the model can call.

How CodeSmiths operates

CodeSmiths’ delivery practices are certified to ISO/IEC 27001 and aligned with major data protection regulations. We work in accordance with ISO/IEC 42001 for AI management and SOC 2.

02 08

2. The challenge

A huge, fast-moving catalogue priced by hand

Comline distributes aftermarket parts across braking, steering and suspension, filters and more, and competes on price against hundreds of brands. Every repricing decision meant pulling cost, sales history, rebates and competitor prices together for thousands of SKUs, then checking that no price fell below cost or swung too far.

Competitor price lists and cross-references arrive as supplier spreadsheets in every layout imaginable: header rows buried under paragraphs of text, side-by-side tables, legacy formats and inconsistent reference formats. Getting that data in cleanly was a job in itself, before any pricing could start.

The scale of itA catalogue that never stops moving
60,000+SKUs priced against hundreds of competitor brands
Every layoutSupplier spreadsheets arrive in any shape imaginable
Below costThe mistake every price change had to be checked against
What arrives from suppliersFour ways a spreadsheet can be awkward
Buried headersHeader rows under paragraphs of text
Side-by-side tablesSeveral tables on one sheet
Legacy formatsOld spreadsheet and text layouts
Inconsistent referencesDots, spaces and dashes in the same code
  1. Step 1

    Pull cost, sales history, rebates and competitor prices together for thousands of SKUs

  2. Step 2

    Get supplier files into shape by hand, whatever layout they arrive in

  3. Step 3

    Check that no price fell below cost or swung too far

  • A huge catalogue: More than 60,000 SKUs, priced against hundreds of competitor brands.
  • Four inputs per decision: Cost, sales history, rebates and competitor prices had to be pulled together for thousands of SKUs.
  • Supplier files in every layout: Header rows buried under text, side-by-side tables, legacy formats and inconsistent reference formats.
  • Guardrails checked by eye: Every price had to be checked so that none fell below cost or swung too far.

What success looked like

  • A strategy stated in plain English, not rebuilt by hand
  • Every price worked out by code, never by a model’s arithmetic
  • No price below cost, and no swing too large
  • Messy supplier files read into clean, classified imports
  • A person approving every change that reaches live data

How a repricing started before

  • Step 1: Pull cost, sales history, rebates and competitor prices together
  • Step 2: Get supplier files into shape by hand, whatever their layout
  • Step 3: Check that no price fell below cost or swung too far

03 08

3. Our approach

Delivered in workstreams, with every choice answering a risk

CodeSmiths has worked with Comline since late 2025 across several engagements, extending the portal as each part of the pricing workflow came into scope.

Pricing and imports follow the same shape. The model does the reading, reasoning and drafting; deterministic code does the arithmetic; a person makes every change that reaches live data.

The engagementA long-running partnership, delivered in workstreams
WORKSTREAM 01Pricing intelligence

Agent runtime, Pricing Assistant, rule-set engine, guardrails, generations, Review & Publish and rollback.

WORKSTREAM 02Data & coverage

Import Assistant, file inspection, competitor identification, mapping studio, import history and revert.

WORKSTREAM 03Portal modules

Sales price maintenance, rebates, purchase price lists, exports, settings and the Greece pricing portal.

WORKSTREAM 04Tenders & AI governance

Buying Group Tenders with the Tender Assistant, AI usage and cost reconciliation, and model settings.

Design decisionsWhy it is built this way
  1. 01The model writes the policy, never the prices

    RejectedAsking the language model for a price per SKU.

    BuiltThe Pricing Assistant compiles strategy into a typed RuleSet (rules, scopes, competitor anchors, guardrails, margin exceptions). A deterministic Polars engine applies it to every part in scope.

    WhyTens of thousands of prices cannot depend on a model’s arithmetic. The same rule set always gives the same prices, and the engine is tested with golden tests that need no model, network or database. Follows Anthropic, “Building effective agents”

  2. 02Publishing is out of the agent’s reach

    RejectedAn approval prompt inside the agent, or a publish tool behind a permission flag.

    BuiltPublishing prices and committing imports exist only as HTTP endpoints triggered by a person. They are not registered as tools, so the model has no way to call them.

    WhyA safeguard that relies on the model behaving is only as strong as the next prompt. Removing the capability entirely is the strongest form of least privilege for an agent. Follows OWASP Top 10 for LLM Applications: Excessive Agency

  3. 03Guardrails run last, and clamp rather than skip

    RejectedTreating margin floors and change caps as ordinary rules among the others.

    BuiltMargin floors, change caps and never-below-cost are applied after every rule, on every run, and the number of SKUs clamped is reported. SKUs with no data are protected from being inflated.

    WhyRules can interact in ways nobody intended. Applying guardrails last means no combination of rules can produce a price below cost. Design choice specific to this platform

  4. 04Model-written SQL against a fixed, read-only surface

    RejectedGiving the model a read-only database user and the raw ERP tables.

    BuiltThe model queries five virtual views, rebuilt as CTEs over the ERP tables, through a separate read-only engine. A guard allows only SELECT statements, including a check on CTEs, and MySQL stops any query after 20 seconds.

    WhyModel output is untrusted input to the database. A small, documented surface also gives the model better answers than hundreds of raw tables would. Follows OWASP Top 10 for LLM Applications: Improper Output Handling

  5. 05Tools scoped to each assistant

    RejectedOne shared tool set for every assistant.

    BuiltEvery tool declares which assistants may use it. A tool outside the group is neither advertised to the model nor executable, even if the model names it anyway.

    WhyThe Import Assistant has no reason to reprice, and the Tender Assistant has no reason to touch the database. Each assistant gets only the functions its job needs. Follows OWASP Top 10 for LLM Applications: Excessive Agency

  6. 06Circuit breakers instead of a bigger step budget

    RejectedRaising the step limit until hard questions finish.

    BuiltAn identical call that fails twice is not retried, and three rounds of exploration without progress end the turn and ask the user for detail. The model still receives a result for every call it made.

    WhyAgents that loop burn time and money without getting closer to an answer. A clear stopping condition hands the decision back to a person. Follows Anthropic, “Building effective agents”

  7. 07A fresh state block every turn, not just chat history

    RejectedSending the whole conversation and hoping the model remembers.

    BuiltEach turn begins with the live rule set, guardrails and every generation’s figures, read from the database. Older history is trimmed to a token budget without splitting a tool call from its result, and the full transcript is always saved.

    WhyLong pricing sessions outgrow any context window. Reading the current state fresh means the model never works from an outdated picture. Design choice specific to this platform

  8. 08Rollback that never overwrites newer work

    RejectedRestoring the previous price of every SKU in the session.

    BuiltRollback reverts only the SKUs whose live price still equals the price the session published. SKUs changed since are skipped and reported.

    WhyA blind rollback could silently undo someone else’s later change. This one can only remove its own. Design choice specific to this platform

  9. 09Imports classified before anything is staged

    RejectedInserting every row of a supplier file and cleaning up afterwards.

    BuiltCross-references are sorted into new, duplicate, conflict and unknown SKU before staging, and only new mappings are inserted. Every commit stores an undo payload, and exact duplicate files are flagged.

    WhyA supplier file is the least trustworthy input in the system. Sorting it first keeps a bad file from overwriting good data. Design choice specific to this platform

  10. 10Sized for a shared ERP over a slow link

    RejectedDefault database settings and one insert per row.

    BuiltAt most two ERP connections at a time, with each fetch split by the connections available. Imports write in multi-row batches: inserting 21,000 rows one at a time had taken about five minutes and timed out.

    WhyThe ERP also serves Comline’s live portal. Batching and a hard connection ceiling keep large pricing and import jobs from slowing it down. Design choice specific to this platform

  11. 11AI cost measured and reconciled

    RejectedEstimating spend from token counts alone.

    BuiltEvery call is logged and priced from a maintained model price table. Estimates are reconciled daily against Anthropic’s billed cost, prompt caching cuts repeated input, and costs display in any currency.

    WhyAn AI feature the business cannot cost is hard to keep. Reconciling against the bill keeps the numbers honest. Follows Anthropic prompt caching guidance and Anthropic Usage and Cost API

TestingHow the AI is tested
  1. 01Engine golden tests

    Rule sets in, priced results out, checked exactly

  2. 02Scripted-model agent tests

    The agent loop runs against a scripted mock model

  3. 03SQL guard red-teaming

    Hostile queries checked against the read-only guard

  4. 04File inspection

    Messy layouts, encodings and tiled tables

  5. 05Context and cost

    Token trimming, prompt caching and cost maths

The suites run with no network, no live database and no model calls, so the deterministic parts of the platform are tested on every change without credentials.

  • Pricing intelligence: Agent runtime, Pricing Assistant, rule-set engine, guardrails, generations, Review & Publish and rollback.
  • Data & coverage: Import Assistant, file inspection, competitor identification, mapping studio, import history and revert.
  • Portal modules: Sales price maintenance, rebates, purchase price lists, exports, settings and the Greece pricing portal.
  • Tenders & AI governance: Buying Group Tenders with the Tender Assistant, AI usage and cost reconciliation, and model settings.

How the AI is tested

  • Engine golden tests: Rule sets in, priced results out, checked exactly
  • Scripted-model agent tests: The agent loop runs against a scripted mock model
  • SQL guard red-teaming: Hostile queries checked against the read-only guard
  • File inspection: Messy layouts, encodings and tiled tables
  • Context and cost: Token trimming, prompt caching and cost maths
Two governed workflows: pricing on the top row and supplier-file imports below; everything left of the dashed line is staging and only a person commits
Two governed workflows: pricing on the top row and supplier-file imports below; everything left of the dashed line is staging and only a person commits

04 08

4. The solution

Three assistants, one governed agent runtime

CodeSmiths built the agent runtime from the ground up rather than on an agent framework: one bounded loop calls the model, runs the tools it asks for and feeds the results back. Each assistant sees only its own tools, every run is measured for cost, and the model behind it is a configuration setting.

Applied AI · AgenticEach assistant sees only its own tools
ASSISTANT 01Pricing Assistant

Turns plain-English strategy into a typed rule set, runs it as a versioned dry run and explains the impact.

  • Compile rule sets: scopes, competitor anchors, margin exceptions
  • Run repricing, compare generations, revert
  • Direct edits for up to 20 named SKUs
  • Flag SKUs by condition for review
ASSISTANT 02Import Assistant

Reads supplier files in any layout and stages a clean, classified import plan for a person to approve.

  • Find the real header under preamble text
  • Detect side-by-side tables and column types
  • Identify the competitor from sample references
  • Stage prices, mappings and new competitors
ASSISTANT 03Tender Assistant

Helps the team review buying-group tenders, working only on a snapshot of the tender lines, with no database access.

  • Tender overview and line lookup
  • What-if checks on margin and target
  • Read-only by design
  • AI suggests, code calculates, people decide
Model-flexible agent runtimetool-calling LLM agents · built in-house
Default model
Anthropic Claude Sonnet
Providers
Anthropic, OpenAI and Gemini adapters, plus any OpenAI-compatible endpoint
Switching
Provider, endpoint and model are configuration; no code change
Tools
25, each declared for the assistants allowed to use it
Loop
Bounded step budget and two circuit breakers
Context
Fresh state from the database each turn, history trimmed to a token budget
Cost
Every call priced per model and reconciled against provider billing
3Assistants: pricing, imports and tenders
25Agent tools across three capability groups
0Tools that can publish prices or commit imports
5Read-only views make up the model’s entire SQL surface

Model-flexible by design. Claude Sonnet is the default, but no part of the platform depends on one vendor. The same loop runs on OpenAI, Gemini or any OpenAI-compatible endpoint, including a self-hosted model, by changing configuration.

01 · Scoped capabilities

A tool outside an assistant’s group is neither shown to the model nor executable, even if the model names it anyway.

    02 · Circuit breakers

    An identical call that fails twice is not retried, and three rounds of exploration without progress end the turn with a question for the user.

      03 · Context engineered per turn

      Each turn starts from the live rule set, guardrails and generation figures. Older history is trimmed to a token budget without ever splitting a tool call from its result.

        04 · Live step trace

        Every tool call streams to the chat as it runs, with a label and a short result, so a pricing manager sees the agent work instead of waiting on a blank screen.

          05 · Prompt caching

          Tool definitions and instructions are cached between calls on Anthropic models, cutting the cost and latency of every step in a long session.

            06 · Cost you can reconcile

            Each call is priced from a maintained model price table and reconciled daily against Anthropic’s billed cost, shown in any display currency.

              05 08

              5. Platform in action

              One portal for the whole pricing workflow

              The AI assistants sit inside a full pricing portal, so data preparation, pricing decisions, publishing and day-to-day price maintenance happen in one place. A pricing manager states the strategy in plain English, the assistant shows its reasoning and every tool it used, and a review screen hands the decision to a person.

              In the productWhat the pricing team actually sees
              AI Pricing Studio
              AI Pricing Studio: the assistant’s reasoning and tool calls beside the staged price proposals
              1Visible reasoningEach step and tool call is shown, with the SQL and compiled formulas available to inspect.
              2Every change explainedEach proposal carries its rule, its reason, its new margin and where it sits against each competitor.
              3Staged, not liveResults are a numbered version of the pricelist. Nothing changes in the ERP from this screen.
              Review & Publish
              Review and Publish: summary of price movements, guardrail interventions and parts with caveats
              1The whole change at a glanceHow many prices rise, fall or hold, and how large the moves are.
              2Guardrails made visibleHow often the margin floor, change cap and below-cost protection stepped in.
              3Caveats before approvalSKUs the assistant flagged are listed with the reason, ahead of the Approve step.
              Data & Coverage · Import Assistant
              Import Assistant: a multi-brand supplier cross-reference file classified into a staged plan, with conflicts awaiting a decision
              1Reads messy filesFinds the real header under the supplier’s notes and works out the file’s layout before reading any rows.
              2Classifies every rowEach brand becomes its own staged action, split into new, duplicate, conflicting and unknown SKUs, with mapping coverage before and after.
              3Asks instead of guessingUnrecognised brands are reported, not dropped, and conflicts keep the existing mapping unless a person chooses otherwise.

              Screens shown with illustrative data. All SKUs, competitor references, competitor names, prices, costs and usage figures are fictional; Comline’s pricing data is confidential.

              • AI Pricing Studio: Chat on the left, a live proposals canvas on the right. Each run is a versioned generation that can be compared, refined or reverted.
              • Competitor price canvas: Every competitor’s price beside the proposed price, colour-coded for undercut, overpriced and a ±0.5% dead zone, with the margin change in the same cell.
              • Review & Publish: Price rises and falls, margin and revenue impact, then an explicit approval. Publishing produces an exact change file and can be rolled back.
              • Data & Coverage: The Import Assistant’s home: upload a supplier file, resolve new, conflicting, unknown and duplicate rows, then review and apply the plan.
              • Mapping and rebates: Product and product-group mapping, a mapping studio, import history and revert, plus competitor, Comline, customer and price-group rebates.
              • Buying Group Tenders: Tender lines matched to Comline SKUs with cost, rebate, net price, margin and target, saved tenders and a read-only Tender Assistant.
              • Sales price maintenance: Price uploads and removals with conflict detection, a sales summary and purchase price lists, for the changes that happen outside a repricing.
              • Greece pricing portal: Comline Greece’s own module: products, customers, price groups and combination rules, price lists, special prices and price-file generation.
              • AI Usage: Token use and cost per model and per day, with estimates reconciled against provider billing and an admin-maintained model price table.

              Solution architecture

              • Users: Pricing managers, data and buying teams, and Comline Greece
              • Portal: A React and TypeScript single-page app of about 40 pages, with Microsoft Entra ID sign-in and a live agent step trace
              • Services: The Comline portal API, and the Flask AI service with the agent runtime, pricing engine and HTTP-only publish and commit endpoints
              • Data and models: Comline core MySQL, a read-only analysis engine, PostgreSQL app state and the configured LLM provider
              Architecture: users and the portal on the left, the portal API and AI service in the middle, MySQL, a read-only analysis engine, PostgreSQL and LLM providers on the right
              Architecture: users and the portal on the left, the portal API and AI service in the middle, MySQL, a read-only analysis engine, PostgreSQL and LLM providers on the right

              06 08

              6. Results and business value

              Fact-checked against the ERP, not assumed

              The platform reads Comline’s live Dynamics 365 data directly. Every source it relies on was checked against that data, and several obvious shortcuts turned out to be wrong. The figures below come from Comline’s own data, timings taken during development, and how the platform is built.

              Measured impactFigures from Comline’s own data and how the platform is built
              99.8%Reference mismatches recovered35% of 2.9M cross-reference links are written with dots, spaces or dashes. Normalising them before matching recovers 99.8%.
              100%Of live price changes approved by a personPublishing exists only as a button. No assistant has a tool that can change a live price.
              2.8×Faster publish preparationReading the pricing data in one parallel fetch took 39 seconds, against 108 seconds when paged.
              20 sCeiling on any AI-written queryEvery analysis query is capped, after unbounded queries were seen running for 42 to 79 seconds.
              500×Fewer writes per importRows are written 500 at a time. Row-by-row writes had made a 21,000-row import take about five minutes.
              Data at scaleThe ERP data the platform was checked against
              60,160SKUs in the UK catalogue
              8.28MCustomer price-agreement rows
              5.3MSales invoice lines behind 12-month volumes
              1,262Competitor brand names
              1. 01The right price, from the right table

                Comline’s sell price is the BGP price held in customer price agreements. The obvious product sales-price field is blank for every SKU tested, so it is never used as a shortcut.

              2. 02Current sales, not stale sales

                Twelve-month volumes come from the current 5.3M-line staging table. The older 2.35M-line table was more than 16 months out of date and could not even be joined to it.

              3. 03A filter rejected by the data

                All 60,160 SKUs carry a sell-end date in the past, so it cannot mark discontinued stock. The filter stays off until the business confirms which lifecycle states to exclude.

              4. 04Tender matching, measured

                Of 2.9M cross-reference links, 35% are commonly written with dots, spaces or dashes. Normalising references before matching recovers 99.8% of them.

              07 08

              7. Security, compliance and governance

              Built so the AI can help without being able to harm

              In this platform

              • Publishing is human-only: Publish and commit are HTTP endpoints behind buttons. They are not registered as agent tools, so the model cannot reach them.
              • Read-only model SQL: Model-written queries run on a separate read-only engine, see five virtual views and nothing else, pass a SELECT-only guard and stop after 20 seconds.
              • Single sign-on: Users sign in with Microsoft Entra ID. The AI service verifies the portal’s own JWT on every request and never issues tokens itself.
              • Encrypted model keys: LLM API keys are stored encrypted at rest, so they can be rotated from settings and stay out of configuration files.
              • Capability-scoped agents: Each assistant can see and call only its own tools. The Tender Assistant has no database access at all.
              • Protecting the shared ERP: The service never holds more than two ERP connections at once, a ceiling the ERP enforces, so pricing runs cannot starve the live portal.

              How CodeSmiths operates

              CodeSmiths’ delivery practices are certified to ISO/IEC 27001 and aligned with major data protection regulations. We work in accordance with ISO/IEC 42001 for AI management and SOC 2.

              Reliability and operations

              • Per-session write lock: Two edits racing on one scenario get a fast, plain “still applying” message instead of a 50-second database lock timeout.
              • Versioned generations: Every repricing run is kept, compared with the last and revertible, so trying an idea costs nothing.
              • Query tracing: Every SQL statement is traced as it starts and finishes, so a long repricing run is visible while it is still in flight.
              • Plain-language errors: Database and model failures return one clean, targeted message with a hint, never a stack trace.
              • Self-applying migrations: Database migrations are written to be safe to re-run and are detected and applied on startup.
              • Re-downloadable originals: Every uploaded supplier file is archived and can be downloaded again from its import session.

              08 08

              8. Technology stack and data flow

              The stack behind the platform

              TechnologyThe stack behind the platform
              • Python · FlaskAI service

                Agent runtime, tools and API, served by Gunicorn with streaming responses.

              • Polars · PydanticPricing engine

                Typed rule sets compiled by the agent and priced by a deterministic dataframe engine.

              • Claude · OpenAI · GeminiLanguage models

                Claude Sonnet by default, with adapters for OpenAI, Gemini and OpenAI-compatible endpoints.

              • React · TypeScriptPortal

                A single-page portal of about 40 pages, with TanStack Query and Tailwind CSS.

              • MySQL coreERP data

                Dynamics 365 catalogue, prices and sales, plus staging tables and a read-only analysis engine.

              • PostgreSQL · SQLAlchemyApp state

                Sessions, conversations, rule sets and the AI usage ledger, with 31 migrations.

              • Microsoft Entra ID · D365Identity and ERP

                Single sign-on through MSAL and data from Microsoft Dynamics 365.

              • Vite · Tailwind CSSFront-end build

                Fast builds with separate development and production configurations.

              • Chart.js · SheetJSReporting

                Charts for sales and AI usage, and spreadsheet import and export in the browser.

              Pricing data flow

              • 1. The pricing manager describes the strategy in plain English
              • 2. The assistant explores the data through read-only views and compiles a typed rule set
              • 3. The engine prices every SKU and the guardrails clamp the result
              • 4. A person reviews the staged generation, then approves; publishing can be rolled back

              The outcome

              A pricing portal where strategy is written in plain English and every price is calculated by code, checked by guardrails and approved by a person: the AI stages every change, and only a person can publish one.

              About CodeSmiths: we design and build AI, data, cloud and application solutions that turn manual, fragmented processes into intelligent platforms.

              Ready to build scalable, resilient, and crafted digital systems?

              Let’s talk →

              Common questions

              What is the Comline Pricing Intelligence Portal?

              A pricing portal built by CodeSmiths for Comline, an automotive parts distributor in the UK and Greece, around three AI assistants for pricing, supplier data and tenders.

              Can the AI change a live price?

              No. Publishing and committing exist only as buttons for people. They are not registered as agent tools, so the model has no way to call them.

              Does the language model calculate the prices?

              No. The model writes the pricing policy as a typed rule set. A deterministic Polars engine works out every price, and margin floors, change caps and never-below-cost guardrails are applied last.

              Which AI model does it use?

              Anthropic Claude Sonnet by default. Provider, endpoint and model are configuration, with adapters for OpenAI, Gemini and any OpenAI-compatible endpoint, including a self-hosted model.

              How are messy supplier files handled?

              The Import Assistant finds the real header, detects the layout, identifies the competitor and stages a plan that sorts every row into new, duplicate, conflict or unknown. A person reviews and applies it, and each commit stores an undo payload.

              What happens if a publish needs to be undone?

              Rollback reverts only the SKUs whose live price still equals the price the session published. SKUs changed since are skipped and reported, so it can never overwrite newer work.