BENCHPROVEN · USE CASE · AUTOMOTIVE · BATTERY MANAGEMENT SYSTEM

BMS firmware safety change

Today’s firmware fails the test of a new safety requirement. An AI agent changes the code until it passes, and BenchProven sets the steps, the reviews, and the record of each run.

REQ-REC-003The BMS shall open the contactor within 500 ms when either channel becomes invalid. (…)

Under ISO 26262, BenchProven supports assurance work, never a compliance verdict.

FAULT REPLAY
HV+HV−PACKCELL SENSE · CH ACH BCHANNEL INVALIDBMS MCUTRIPDRIVEK1 MAIN CONTACTOROPENLOADINVERTER0 AHV+HV−PACKABCH B INVALIDBMS MCUTRIPDRIVEK1 CONTACTOROPENLOAD0 A
FAULT → CONTACTOR OPEN · EMULATED TARGET
0.0 ms
Limit 500 ms
  1. Channel invalid
  2. MCU trips
  3. Contactor open · 85.9 ms
  4. 85.9 ms ≤ 500 ms · pass
WHAT THE DEMO SHOWS
  1. The AI agent writes the change
  2. The new test fails, then passes on the target
  3. The gates decide
  4. The result pack shows the evidence
THE WORKFLOWS

The agent works. It never decides.

Four workflows, each built from the team’s process: an AI agent writes the test and the change, gates check the results, and a person decides where the process asks.

WORK CAN GO BACK TO THE STEP THIS LINE REACHES

  1. [01]

    Write the tests

    SOFTWARE TEST · TEST WRITTEN

    A new test for REQ-REC-003.
    In this demo the tests were provided: the demo holds no run of this workflow.

    1. AI AGENT Write tests
    2. TOOL Build tests
    3. TOOL Run tests
    4. Gate: a test must fail
    5. AI AGENT Review the tests
    6. PERSON’S STEP Approve

    Way back: from the gate, the review, or the person’s step, the work can go back to Write tests.

  2. [02]

    Reproduce

    SOFTWARE TEST ON THE TARGET

    1 of 3 tests fails on today’s firmware: the new test for REQ-REC-003. The gate stops the run, so the report is not posted.

    1. TOOL Build
    2. Gate: must build
    3. TOOL Load
    4. Gate: must load
    5. TOOL Run the tests
    6. Gate: tests must pass
    7. TOOL Post to issue
    8. Gate: must be posted
  3. [03]

    Fix

    IMPLEMENTATION

    The fixed firmware: the agent cannot change the tests, and a separate AI review checks the change.

    1. AI AGENT Change code
    2. TOOL Build
    3. Gate: must build
    4. AI AGENT Review the change
    5. PERSON’S STEP Approve

    Way back: from the gate, the review, or the person’s step, the work can go back to Change code.

  4. [04]

    Prove

    SOFTWARE TEST ON THE TARGET

    The same workflow as [02], on the fixed firmware: 3 of 3 tests pass.

    1. TOOL Build
    2. Gate: must build
    3. TOOL Load
    4. Gate: must load
    5. TOOL Run the tests
    6. Gate: tests must pass
    7. TOOL Post to issue
    8. Gate: must be posted
FOR THE REVIEWER

The evidence.

The record of one run of workflow [04], Prove, on REQ-REC-003. Your QA, safety manager, customer, or auditor checks it without asking the agent.

RESULT PACK · WORKFLOW [04]RUN b4566c4d
CLAIMEVIDENCE
The requirement holdsREQ-REC-003 · 85.9 ms against a 500 ms limit · 3 of 3 tests
Whereemulated target
What was approvedthis run’s exact plan · before the run started
Can be re-checkedsealed · verified, no findings
WRITTEN FOR
  • ENGINEERS
  • QA
  • SAFETY MANAGER
  • CUSTOMER
  • AUDITOR