BILFinancial services

When a Correct Answer Leaves the Customer Stuck

Understanding a customer's changing access constraints before selecting a usable banking-support step, with real language-model state extraction and inspectable source evidence.

System overviewVisual summary
No usable app is not no BILnet access
“The phone app won't open, but I can still get into BILnet on my computer.”
Mobile app unavailablePIN viewing cannot use that app.
Desktop access remainsThe no-BILnet postal fallback is not established.

Design illustration from an authored user turn. A source-bound model update still needs interpretation review.

Public source · Forgotten PIN FAQ

The next useful step depends on what the customer actually said

A support specialist helping with a forgotten card PIN sees: “The phone app won’t open, but I can still get into BILnet on my computer.” Treating this as no BILnet access would select the wrong fallback. The public PIN-viewing procedure needs the mobile app and LuxTrust; the postal-reminder route through Client Care is specified for a customer without BILnet access. Working desktop access is a different situation. BIL: forgotten card PIN

Then the customer adds: “The computer sign-in now fails too.” The support state needs a correction, rather than another copy of the first FAQ answer. If the customer switches to retrieving an older statement, the old PIN prerequisites must not determine that new task.

The deliverable is an evidence-linked support state and a usable next step: a prerequisite question, applicable public procedure or an explicitly unresolved request. This independent prototype interprets fictional English disclosures. It does not connect to Berry, customer accounts or a bank contact service.

BIL and LIST’s 26 March 2026 announcement motivates evaluating context and service quality, but supplies no public session corpus or task-resolution rate. The source is context for this design, not evidence that BIL uses its architecture. LIST announcement

Study the language problem before changing retrieval

The existing experiment already had six source-tagged FAQ passages and an explicit task policy. Its missing capability was understanding the customer’s words: the policy received authored structured facts. Adding more retrieval would not establish whether “the app fails” means “no access anywhere”.

The upgrade uses eight authored session families: desktop/app distinctions, explicit unknown, corrections, goal switches, negated loss, document age, human preference and an unsupported request. They are fixed multi-turn disclosures, not simulator replies conditioned on either strategy’s wording. All are English development examples; there is no random turn split presented as held-out performance.

The representation makes three cases distinct:

Current disclosureState updateConsequence
“I cannot use LuxTrust.”Explicit falseDo not propose PIN viewing.
“I have not checked LuxTrust.”Explicit nullClear the earlier value and ask.
LuxTrust is not mentionedNo patchRetain the previous task’s value.

Switching between recognized goals starts a new task revision and clears old task facts. This conservative choice can require another question. The unknown-to-first-known transition has a separate limitation discussed below. Public procedures were observed on 22 November 2026; their undated pages do not establish a release version.

Separate interpretation, state and banking procedure

Understand the change before selecting the next step

Implemented local functions and recorded state. Two extractors receive the same natural user disclosures; a shared business policy selects the FAQ action.

  1. InterpretVisible lexical rules or actual Qwen inference propose an intent and typed fact delta.extract.py
  2. BindRequire the current user turn, unique literal quotes and allowed value types. Invalid proposals stop for review.bind_delta()
  3. ReduceRetain omitted facts, clear explicit unknowns, replace corrected values and reset a changed task.apply_delta()
  4. SelectThe same existing policy checks prerequisites and returns a public FAQ route, question or unresolved outcome.TaskAware

Recorded state: user turn → raw proposal → bound spans → before/after task state → FAQ action. The model does not receive authored expected states or choose a bank tool.

Human and system handoff: the user supplies or corrects a constraint; the system proposes the next applicable step; a support reviewer inspects uncertain interpretation. Source approval, persistent session storage and real contact/banking connectors remain production proposals.

A visible lexical baseline uses task words, clause-level negation, unknown patterns and explicit abandoned-request handling. Actual text-only Qwen3-VL 4B Instruct inference proposes intent and field deltas from the same user words, visible user history and its own preceding state. Neither receives user.facts, private simulator profiles or expected labels. No weights are trained or fine-tuned.

The LLM fits a bounded semantic task: distinguish device-specific access, interpret a correction and bind a new value to the current request. A single embedding similarity would not express those state operations. Its output is constrained JSON, not free-form banking advice.

bind_delta() checks current-user origin, exact unique quotes, allowed fields and strict value types. apply_delta() updates accepted state. Both strategies then use the same existing TaskAware FAQ policy, isolating language interpretation from different source collections or permissions. Explicit unknowns are omitted from the policy’s usable prerequisites so they trigger questions rather than becoming false.

A valid quote proves a locator. It does not prove that the model understood its negation, included every relevant fact or selected the right goal. Invalid output or an unresolved interpretation stops for review; it cannot quietly release an old action.

Turn the reference mechanism into an executable language layer

Airbnb’s voice-support architecture separates contact-reason understanding from routing and carries context to a human. Here the transferred mechanism is implemented as natural-text state extraction before the existing action policy; there is no ASR, Airbnb model or real transfer integration. Airbnb support engineering

Instacart’s LACE evaluates whole conversations, including lost context and repeated offers. That supports inspecting state changes and usable actions across turns. The separate deterministic outcome experiment below retains that distinction; this upgrade does not reproduce LACE’s judges or claim its coverage. Both articles are in the supplied reference CSV. Instacart conversation evaluation

Follow the words through a proposed state and next step

Recorded inference · same fictional user words · no bank action

A broken app is not loss of all BILnet access

These user turns were authored in advance. Both strategies receive the same text, their own previous state and the visible user history. No fixture facts are inserted.

  1. User turn 1
    I forgot my debit-card PIN.

    Visible lexical rules

    Accepted task: pin · task revision 1

    No accepted field updates in this turn.

    Read the accepted state

    No task facts accepted.

    Shared FAQ policy proposesAsk a prerequisite question

    Can you use the BILnet mobile app for this PIN request?

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON43 lines
    {
      "proposal": {
        "intent": {
          "value": "pin",
          "source_turn_id": "access-u1",
          "quote": "I forgot my debit-card PIN."
        },
        "facts": [],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": null,
        "task_epoch": 0,
        "facts": {},
        "provenance": {}
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {},
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {},
          "action": "clarify:has_mobile_app"
        },
        "intent_agrees": true,
        "fact_differences": {},
        "action_agrees": true,
        "state_agrees": true
      }
    }

    Qwen state proposal

    Accepted task: pin · task revision 1

    No accepted field updates in this turn.

    Read the accepted state

    No task facts accepted.

    Shared FAQ policy proposesAsk a prerequisite question

    Can you use the BILnet mobile app for this PIN request?

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON173 lines
    {
      "proposal": {
        "intent": {
          "value": "pin",
          "source_turn_id": "access-u1",
          "quote": "I forgot my debit-card PIN."
        },
        "facts": [],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": null,
        "task_epoch": 0,
        "facts": {},
        "provenance": {}
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {},
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {},
          "action": "clarify:has_mobile_app"
        },
        "intent_agrees": true,
        "fact_differences": {},
        "action_agrees": true,
        "state_agrees": true
      },
      "call": {
        "request": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "messages": [
            {
              "role": "system",
              "content": "Extract a state DELTA from the latest USER turn of this synthetic banking-support dialogue.\nThis is language interpretation, not a banking action or an answer. Return only the specified JSON.\nSupported intents: pin (retrieve forgotten card PIN), documents (view statements/e-documents),\nlost_card (lost/stolen credit card or request to block it). Negated loss/theft is not a lost-card goal.\nSet intent only when the CURRENT turn establishes or changes the goal; otherwise intent is null.\nExplicitly changing from one goal to another starts a new task: do not carry facts from the old task.\nFacts are optional delta entries, not a replacement profile:\n- has_mobile_app: can currently USE the BILnet mobile app, not merely owns/installed a phone.\n- bilnet_access: ANY usable BILnet access, including desktop. A broken app alone does not mean false.\n- luxtrust: can currently sign with LuxTrust for the task.\n- document_age_months: a stated coarse whole-month age, integer 0..120; no date arithmetic.\n- wants_human: an explicit request for or refusal of human support.\n- app_requested: specifically asks to do the task in the app; mentioning an unusable app is not a request.\nBooleans true/false require explicit relevant statements. Null means the user explicitly says a fact\nis unknown/not checked; it clears an earlier value. Omit unmentioned facts. Do not fill defaults.\nCurrent corrections replace older values; do not repeat old facts unless the current turn restates them.\nEvery proposed intent/fact needs the latest USER source_turn_id and an exact, unique, case-sensitive,\ncontiguous quote from that turn, including relevant negation/context. Never cite an assistant or old turn.\nResolve pronouns using visible history, but quote the current turn. Facts are scoped to the current goal.\nPut unsupported or ambiguous current requests in unresolved. No scores, recommendations, account facts,\ncompletion claims, hidden profile, banking tools or expected answers are available.\nInput layout: current_user_turn is the ONLY source for this patch. earlier_user_turns and\nstate_before_current_turn are interpretation context, not facts to emit again.\nIf the current turn establishes a supported goal, emit its intent object; if it only updates\nthe existing task, intent is null and the old goal remains. Do not label that old goal unresolved.\nFor fields absent from current_user_turn emit NOTHING, not null. An empty facts list is valid.\nFor every emitted object copy current_user_turn.id exactly. Do not copy old provenance."
            },
            {
              "role": "user",
              "content": "{\"operation\": \"sparse_patch_from_current_user_turn_only\", \"current_user_turn\": {\"id\": \"access-u1\", \"speaker\": \"user\", \"text\": \"I forgot my debit-card PIN.\"}, \"earlier_user_turns\": [], \"state_before_current_turn\": {\"intent\": null, \"task_epoch\": 0, \"facts\": {}}}"
            }
          ],
          "format": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "intent",
              "facts",
              "unresolved"
            ],
            "properties": {
              "intent": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "value",
                      "source_turn_id",
                      "quote"
                    ],
                    "properties": {
                      "value": {
                        "type": "string",
                        "enum": [
                          "pin",
                          "documents",
                          "lost_card"
                        ]
                      },
                      "source_turn_id": {
                        "type": "string"
                      },
                      "quote": {
                        "type": "string"
                      }
                    }
                  }
                ]
              },
              "facts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "field",
                    "value",
                    "source_turn_id",
                    "quote"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "has_mobile_app",
                        "bilnet_access",
                        "luxtrust",
                        "document_age_months",
                        "wants_human",
                        "app_requested"
                      ]
                    },
                    "value": {
                      "type": [
                        "boolean",
                        "integer",
                        "null"
                      ]
                    },
                    "source_turn_id": {
                      "type": "string"
                    },
                    "quote": {
                      "type": "string"
                    }
                  }
                }
              },
              "unresolved": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "stream": false,
          "think": false,
          "keep_alive": "1m",
          "options": {
            "temperature": 0,
            "seed": 42,
            "num_ctx": 8192,
            "num_predict": 900
          }
        },
        "response": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "created_at": "2026-11-26T14:08:12.67763Z",
          "message": {
            "role": "assistant",
            "content": "{\n  \"intent\": {\n    \"value\": \"pin\",\n    \"source_turn_id\": \"access-u1\",\n    \"quote\": \"I forgot my debit-card PIN.\"\n  },\n  \"facts\": [],\n  \"unresolved\": []\n}"
          },
          "done": true,
          "done_reason": "stop",
          "total_duration": 1501595958,
          "load_duration": 1023708,
          "prompt_eval_count": 607,
          "prompt_eval_cached_count": 3,
          "prompt_eval_duration": 701523000,
          "eval_count": 51,
          "eval_duration": 764808000
        },
        "elapsed_seconds": 1.503
      }
    }
  2. User turn 2
    The phone app won't open, but I can still get into BILnet on my computer.

    Visible lexical rules

    Accepted task: pin · task revision 1

    • Usable mobile appnot stated → falseThe phone app won't open,access-u2 · characters 0–25
    • Any BILnet accessnot stated → trueI can still get into BILnet on my computer.access-u2 · characters 30–73
    Read the accepted state
    Usable mobile app
    false
    Any BILnet access
    true
    Shared FAQ policy proposesNo supported next step

    PIN viewing requires the mobile app. Working desktop access does not establish the FAQ condition for a postal reminder; this prototype has no verified alternative for that combination.

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON80 lines
    {
      "proposal": {
        "intent": null,
        "facts": [
          {
            "field": "has_mobile_app",
            "value": false,
            "source_turn_id": "access-u2",
            "quote": "The phone app won't open,"
          },
          {
            "field": "bilnet_access",
            "value": true,
            "source_turn_id": "access-u2",
            "quote": "I can still get into BILnet on my computer."
          }
        ],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {},
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          }
        }
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "has_mobile_app": false,
          "bilnet_access": true
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "has_mobile_app": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "The phone app won't open,",
            "start": 0,
            "end": 25
          },
          "bilnet_access": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "I can still get into BILnet on my computer.",
            "start": 30,
            "end": 73
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {
            "has_mobile_app": false,
            "bilnet_access": true
          },
          "action": "unresolved"
        },
        "intent_agrees": true,
        "fact_differences": {},
        "action_agrees": true,
        "state_agrees": true
      }
    }

    Qwen state proposal

    Accepted task: pin · task revision 1

    • Any BILnet accessnot stated → trueThe phone app won't open, but I can still get into BILnet on my computer.access-u2 · characters 0–73
    Read the accepted state
    Any BILnet access
    true
    Shared FAQ policy proposesAsk a prerequisite question

    Can you use the BILnet mobile app for this PIN request?

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON201 lines
    {
      "proposal": {
        "intent": null,
        "facts": [
          {
            "field": "bilnet_access",
            "value": true,
            "source_turn_id": "access-u2",
            "quote": "The phone app won't open, but I can still get into BILnet on my computer."
          }
        ],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {},
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          }
        }
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "bilnet_access": true
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "bilnet_access": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "The phone app won't open, but I can still get into BILnet on my computer.",
            "start": 0,
            "end": 73
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {
            "has_mobile_app": false,
            "bilnet_access": true
          },
          "action": "unresolved"
        },
        "intent_agrees": true,
        "fact_differences": {
          "has_mobile_app": {
            "expected": false,
            "observed": "OMITTED"
          }
        },
        "action_agrees": false,
        "state_agrees": false
      },
      "call": {
        "request": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "messages": [
            {
              "role": "system",
              "content": "Extract a state DELTA from the latest USER turn of this synthetic banking-support dialogue.\nThis is language interpretation, not a banking action or an answer. Return only the specified JSON.\nSupported intents: pin (retrieve forgotten card PIN), documents (view statements/e-documents),\nlost_card (lost/stolen credit card or request to block it). Negated loss/theft is not a lost-card goal.\nSet intent only when the CURRENT turn establishes or changes the goal; otherwise intent is null.\nExplicitly changing from one goal to another starts a new task: do not carry facts from the old task.\nFacts are optional delta entries, not a replacement profile:\n- has_mobile_app: can currently USE the BILnet mobile app, not merely owns/installed a phone.\n- bilnet_access: ANY usable BILnet access, including desktop. A broken app alone does not mean false.\n- luxtrust: can currently sign with LuxTrust for the task.\n- document_age_months: a stated coarse whole-month age, integer 0..120; no date arithmetic.\n- wants_human: an explicit request for or refusal of human support.\n- app_requested: specifically asks to do the task in the app; mentioning an unusable app is not a request.\nBooleans true/false require explicit relevant statements. Null means the user explicitly says a fact\nis unknown/not checked; it clears an earlier value. Omit unmentioned facts. Do not fill defaults.\nCurrent corrections replace older values; do not repeat old facts unless the current turn restates them.\nEvery proposed intent/fact needs the latest USER source_turn_id and an exact, unique, case-sensitive,\ncontiguous quote from that turn, including relevant negation/context. Never cite an assistant or old turn.\nResolve pronouns using visible history, but quote the current turn. Facts are scoped to the current goal.\nPut unsupported or ambiguous current requests in unresolved. No scores, recommendations, account facts,\ncompletion claims, hidden profile, banking tools or expected answers are available.\nInput layout: current_user_turn is the ONLY source for this patch. earlier_user_turns and\nstate_before_current_turn are interpretation context, not facts to emit again.\nIf the current turn establishes a supported goal, emit its intent object; if it only updates\nthe existing task, intent is null and the old goal remains. Do not label that old goal unresolved.\nFor fields absent from current_user_turn emit NOTHING, not null. An empty facts list is valid.\nFor every emitted object copy current_user_turn.id exactly. Do not copy old provenance."
            },
            {
              "role": "user",
              "content": "{\"operation\": \"sparse_patch_from_current_user_turn_only\", \"current_user_turn\": {\"id\": \"access-u2\", \"speaker\": \"user\", \"text\": \"The phone app won't open, but I can still get into BILnet on my computer.\"}, \"earlier_user_turns\": [{\"id\": \"access-u1\", \"speaker\": \"user\", \"text\": \"I forgot my debit-card PIN.\"}], \"state_before_current_turn\": {\"intent\": \"pin\", \"task_epoch\": 1, \"facts\": {}}}"
            }
          ],
          "format": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "intent",
              "facts",
              "unresolved"
            ],
            "properties": {
              "intent": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "value",
                      "source_turn_id",
                      "quote"
                    ],
                    "properties": {
                      "value": {
                        "type": "string",
                        "enum": [
                          "pin",
                          "documents",
                          "lost_card"
                        ]
                      },
                      "source_turn_id": {
                        "type": "string"
                      },
                      "quote": {
                        "type": "string"
                      }
                    }
                  }
                ]
              },
              "facts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "field",
                    "value",
                    "source_turn_id",
                    "quote"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "has_mobile_app",
                        "bilnet_access",
                        "luxtrust",
                        "document_age_months",
                        "wants_human",
                        "app_requested"
                      ]
                    },
                    "value": {
                      "type": [
                        "boolean",
                        "integer",
                        "null"
                      ]
                    },
                    "source_turn_id": {
                      "type": "string"
                    },
                    "quote": {
                      "type": "string"
                    }
                  }
                }
              },
              "unresolved": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "stream": false,
          "think": false,
          "keep_alive": "1m",
          "options": {
            "temperature": 0,
            "seed": 42,
            "num_ctx": 8192,
            "num_predict": 900
          }
        },
        "response": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "created_at": "2026-11-26T14:08:13.948896Z",
          "message": {
            "role": "assistant",
            "content": "{\n  \"intent\": null,\n  \"facts\": [\n    {\n      \"field\": \"bilnet_access\",\n      \"value\": true,\n      \"source_turn_id\": \"access-u2\",\n      \"quote\": \"The phone app won't open, but I can still get into BILnet on my computer.\"\n    }\n  ],\n  \"unresolved\": []\n}"
          },
          "done": true,
          "done_reason": "stop",
          "total_duration": 1266726208,
          "load_duration": 1187042,
          "prompt_eval_count": 646,
          "prompt_eval_cached_count": 551,
          "prompt_eval_duration": 127644000,
          "eval_count": 77,
          "eval_duration": 1131183000
        },
        "elapsed_seconds": 1.268
      }
    }
  3. User turn 3
    Update: the computer sign-in now fails too. I cannot get into BILnet anywhere.

    Visible lexical rules

    Accepted task: pin · task revision 1

    • Any BILnet accesstrue → falseI cannot get into BILnet anywhere.access-u3 · characters 44–78
    Read the accepted state
    Usable mobile app
    false
    Any BILnet access
    false
    Shared FAQ policy proposesClient Care postal-reminder route

    If you have no BILnet access, contact the Client Care Centre on +352 4590-5000 to request a postal PIN reminder. This is a request route; a reply cannot confirm that a reminder has been sent.

    Public FAQ source 1

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON91 lines
    {
      "proposal": {
        "intent": null,
        "facts": [
          {
            "field": "bilnet_access",
            "value": false,
            "source_turn_id": "access-u3",
            "quote": "I cannot get into BILnet anywhere."
          }
        ],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "has_mobile_app": false,
          "bilnet_access": true
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "has_mobile_app": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "The phone app won't open,",
            "start": 0,
            "end": 25
          },
          "bilnet_access": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "I can still get into BILnet on my computer.",
            "start": 30,
            "end": 73
          }
        }
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "has_mobile_app": false,
          "bilnet_access": false
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "has_mobile_app": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "The phone app won't open,",
            "start": 0,
            "end": 25
          },
          "bilnet_access": {
            "turn_id": "access-u3",
            "speaker": "user",
            "quote": "I cannot get into BILnet anywhere.",
            "start": 44,
            "end": 78
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {
            "has_mobile_app": false,
            "bilnet_access": false
          },
          "action": "client_care_postal"
        },
        "intent_agrees": true,
        "fact_differences": {},
        "action_agrees": true,
        "state_agrees": true
      }
    }

    Qwen state proposal

    Accepted task: pin · task revision 1

    • Any BILnet accesstrue → unknownUpdate: the computer sign-in now fails too. I cannot get into BILnet anywhere.access-u3 · characters 0–78
    Read the accepted state
    Any BILnet access
    unknown
    Shared FAQ policy proposesAsk a prerequisite question

    Can you use the BILnet mobile app for this PIN request?

    Source binding and type checks do not verify the interpretation or that a banking task completed.

    Inspect proposal, raw call and development review
    Recorded proposal and independent authored comparisonJSON214 lines
    {
      "proposal": {
        "intent": null,
        "facts": [
          {
            "field": "bilnet_access",
            "value": null,
            "source_turn_id": "access-u3",
            "quote": "Update: the computer sign-in now fails too. I cannot get into BILnet anywhere."
          }
        ],
        "unresolved": []
      },
      "binding_issues": [],
      "state_before": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "bilnet_access": true
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "bilnet_access": {
            "turn_id": "access-u2",
            "speaker": "user",
            "quote": "The phone app won't open, but I can still get into BILnet on my computer.",
            "start": 0,
            "end": 73
          }
        }
      },
      "state_after": {
        "intent": "pin",
        "task_epoch": 1,
        "facts": {
          "bilnet_access": null
        },
        "provenance": {
          "intent": {
            "turn_id": "access-u1",
            "speaker": "user",
            "quote": "I forgot my debit-card PIN.",
            "start": 0,
            "end": 27
          },
          "bilnet_access": {
            "turn_id": "access-u3",
            "speaker": "user",
            "quote": "Update: the computer sign-in now fails too. I cannot get into BILnet anywhere.",
            "start": 0,
            "end": 78
          }
        }
      },
      "development_review": {
        "expected": {
          "intent": "pin",
          "facts": {
            "has_mobile_app": false,
            "bilnet_access": false
          },
          "action": "client_care_postal"
        },
        "intent_agrees": true,
        "fact_differences": {
          "bilnet_access": {
            "expected": false,
            "observed": null
          },
          "has_mobile_app": {
            "expected": false,
            "observed": "OMITTED"
          }
        },
        "action_agrees": false,
        "state_agrees": false
      },
      "call": {
        "request": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "messages": [
            {
              "role": "system",
              "content": "Extract a state DELTA from the latest USER turn of this synthetic banking-support dialogue.\nThis is language interpretation, not a banking action or an answer. Return only the specified JSON.\nSupported intents: pin (retrieve forgotten card PIN), documents (view statements/e-documents),\nlost_card (lost/stolen credit card or request to block it). Negated loss/theft is not a lost-card goal.\nSet intent only when the CURRENT turn establishes or changes the goal; otherwise intent is null.\nExplicitly changing from one goal to another starts a new task: do not carry facts from the old task.\nFacts are optional delta entries, not a replacement profile:\n- has_mobile_app: can currently USE the BILnet mobile app, not merely owns/installed a phone.\n- bilnet_access: ANY usable BILnet access, including desktop. A broken app alone does not mean false.\n- luxtrust: can currently sign with LuxTrust for the task.\n- document_age_months: a stated coarse whole-month age, integer 0..120; no date arithmetic.\n- wants_human: an explicit request for or refusal of human support.\n- app_requested: specifically asks to do the task in the app; mentioning an unusable app is not a request.\nBooleans true/false require explicit relevant statements. Null means the user explicitly says a fact\nis unknown/not checked; it clears an earlier value. Omit unmentioned facts. Do not fill defaults.\nCurrent corrections replace older values; do not repeat old facts unless the current turn restates them.\nEvery proposed intent/fact needs the latest USER source_turn_id and an exact, unique, case-sensitive,\ncontiguous quote from that turn, including relevant negation/context. Never cite an assistant or old turn.\nResolve pronouns using visible history, but quote the current turn. Facts are scoped to the current goal.\nPut unsupported or ambiguous current requests in unresolved. No scores, recommendations, account facts,\ncompletion claims, hidden profile, banking tools or expected answers are available.\nInput layout: current_user_turn is the ONLY source for this patch. earlier_user_turns and\nstate_before_current_turn are interpretation context, not facts to emit again.\nIf the current turn establishes a supported goal, emit its intent object; if it only updates\nthe existing task, intent is null and the old goal remains. Do not label that old goal unresolved.\nFor fields absent from current_user_turn emit NOTHING, not null. An empty facts list is valid.\nFor every emitted object copy current_user_turn.id exactly. Do not copy old provenance."
            },
            {
              "role": "user",
              "content": "{\"operation\": \"sparse_patch_from_current_user_turn_only\", \"current_user_turn\": {\"id\": \"access-u3\", \"speaker\": \"user\", \"text\": \"Update: the computer sign-in now fails too. I cannot get into BILnet anywhere.\"}, \"earlier_user_turns\": [{\"id\": \"access-u1\", \"speaker\": \"user\", \"text\": \"I forgot my debit-card PIN.\"}, {\"id\": \"access-u2\", \"speaker\": \"user\", \"text\": \"The phone app won't open, but I can still get into BILnet on my computer.\"}], \"state_before_current_turn\": {\"intent\": \"pin\", \"task_epoch\": 1, \"facts\": {\"bilnet_access\": true}}}"
            }
          ],
          "format": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "intent",
              "facts",
              "unresolved"
            ],
            "properties": {
              "intent": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "value",
                      "source_turn_id",
                      "quote"
                    ],
                    "properties": {
                      "value": {
                        "type": "string",
                        "enum": [
                          "pin",
                          "documents",
                          "lost_card"
                        ]
                      },
                      "source_turn_id": {
                        "type": "string"
                      },
                      "quote": {
                        "type": "string"
                      }
                    }
                  }
                ]
              },
              "facts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "field",
                    "value",
                    "source_turn_id",
                    "quote"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "has_mobile_app",
                        "bilnet_access",
                        "luxtrust",
                        "document_age_months",
                        "wants_human",
                        "app_requested"
                      ]
                    },
                    "value": {
                      "type": [
                        "boolean",
                        "integer",
                        "null"
                      ]
                    },
                    "source_turn_id": {
                      "type": "string"
                    },
                    "quote": {
                      "type": "string"
                    }
                  }
                }
              },
              "unresolved": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "stream": false,
          "think": false,
          "keep_alive": "1m",
          "options": {
            "temperature": 0,
            "seed": 42,
            "num_ctx": 8192,
            "num_predict": 900
          }
        },
        "response": {
          "model": "qwen3-vl:4b-instruct-q4_K_M",
          "created_at": "2026-11-26T14:08:15.263309Z",
          "message": {
            "role": "assistant",
            "content": "{\n  \"intent\": null,\n  \"facts\": [\n    {\n      \"field\": \"bilnet_access\",\n      \"value\": null,\n      \"source_turn_id\": \"access-u3\",\n      \"quote\": \"Update: the computer sign-in now fails too. I cannot get into BILnet anywhere.\"\n    }\n  ],\n  \"unresolved\": []\n}"
          },
          "done": true,
          "done_reason": "stop",
          "total_duration": 1298680583,
          "load_duration": 923042,
          "prompt_eval_count": 689,
          "prompt_eval_cached_count": 551,
          "prompt_eval_duration": 202729000,
          "eval_count": 76,
          "eval_duration": 1089833000
        },
        "elapsed_seconds": 1.3
      }
    }

The user supplies or corrects a constraint. The system records the proposed delta, literal evidence, accepted before/after state and FAQ action. A support reviewer can inspect uncertainty in that chain instead of treating a fluent answer as completed work. The displayed source-review decisions are development comparisons, not a customer assessment.

For a lost credit card, the public Worldline phone route is available immediately, including when the customer cannot access BILnet. Providing +352 49 10 10, available 24/7, is guidance; it is neither an accepted contact nor proof of blocking. BIL: lost or stolen cards

For documents, usable BILnet access can be mobile or desktop. The initial list covers two months; an older item needs More documents. The lab uses stated coarse whole-month ages, without inventing a precise rolling-calendar cutoff. BIL: electronic documents

Make a correction different from an omitted field

This actual reducer keeps each state operation visible. It never infers a successful bank action from the model’s text.

Apply a source-bound delta to one taskPython16 lines
def apply_delta(previous, bound):
    """Omitted fields persist; explicit null clears; a changed task starts fresh."""
    state = deepcopy(previous)
    next_intent = bound['intent']['value'] if bound['intent'] else state['intent']
    reset = state['intent'] is not None and next_intent != state['intent']
    if reset:
        state['facts'], state['provenance'] = {}, {}
    if next_intent != state['intent']:
        state['task_epoch'] += 1
    state['intent'] = next_intent
    if bound['intent']:
        state['provenance']['intent'] = bound['intent']['source']
    for fact in bound['facts']:
        state['facts'][fact['field']] = fact['value']
        state['provenance'][fact['field']] = fact['source']
    return state, reset
Inspect the current-user evidence boundary
Bind a unique quote from the current user turnPython11 lines
def bind_source(item, current_turn):
    if current_turn['speaker'] != 'user' or item['source_turn_id'] != current_turn['id']:
        raise ValueError('Evidence must belong to the current user turn')
    quote = item['quote']
    if not isinstance(quote, str) or not quote.strip():
        raise ValueError('A nonempty literal quote is required')
    matches = list(re.finditer(re.escape(quote), current_turn['text']))
    if len(matches) != 1:
        raise ValueError('Quote must occur exactly once with unchanged case and wording')
    return {'turn_id': current_turn['id'], 'speaker': 'user', 'quote': quote,
            'start': matches[0].start(), 'end': matches[0].end()}

Offsets are zero-based Unicode code-point positions, with an exclusive end. Assistant text and old user turns cannot supply the current update’s quote; semantic correctness still needs source review.

Inspect state errors separately from action errors

Exact-state agreement and next-action agreement answer different questions. An extra optional preference can change the former without changing the route. A missing access restriction can change both. The authored expectations are read only after inference, and their disagreements remain next to the original completion.

Retain the rule extractor for this bounded input grammar. The 4B model does not reliably follow the sparse-update contract. On the opening desktop/app example it records working BILnet access but omits the unavailable app. It later turns the explicit loss of all access into null, so the policy keeps asking a prerequisite question.

The goal-switch recording exposes a cascade: the model proposes the document intent but changes BILnet to BILland inside a quote. The binder rejects the whole update; the old PIN state survives, and the subsequent document-age correction still leads to a PIN question. Conversely, the document-age session correctly extracts six months rather than the negated two months; the rule baseline reaches the same useful route.

There is also an implemented state-design limitation: an unresolved proposal blocks its current action but can still store bound facts. Moving from unknown to the first recognized goal does not clear them. In the mortgage/PIN session, a model-invented human-support preference survives that transition. Keeping unresolved deltas pending and explicitly initialising a first task are proposed changes, not fixes applied to this recording.

The lexical path remains useful for explicit terms and predictable forms. Model interpretation adds inference cost and can still misread a correction. For this small source collection, the important design comparison is language/state behavior; it is not a retrieval-scale or autonomous-agent experiment.

Production integration would persist (session_id, task_revision, state_version) with conflict-aware writes and version the action rules with their FAQ sources. A real contact connector needs independent permission, pending/accepted states and a correlated receipt. None is implemented here. A changing goal should never turn a previous contact receipt into evidence that the new banking task completed.

Keep an applicable next step separate from task completion

The new replay establishes what the actual extractors proposed and what the shared policy did with those states. It does not establish BIL’s resolution rate, customer satisfaction or bank-side success. Broader language and human review would be required before using these interpretations operationally.

Inspect the earlier structured-input experiment and outcome evaluator

This earlier experiment assumes structured user facts are already available. It compares a stateless FAQ policy with TaskAware against an independent synthetic user simulator. Sixteen authored scenarios isolate applicability and observed event provenance, not the new model’s NLU performance.

In the lost-card example, a source-valid app procedure is blocked by the simulated access restriction; the state-aware policy selects the documented phone route. A mock_handoff_accepted event needs a matching task/session, destination and receipt. A synthetic user report is a different outcome; neither verifies that a real card was blocked.

Recorded synthetic sessions from a local deterministic prototype. These are independent experiments using public FAQs, not tests of Berry. No real account, bank action or human contact is involved.

Require an outcome event rather than assistant wordingPython23 lines
def terminal_outcome(events, session_id, task_id, expected_destination=None):
    """Only correlated simulator receipts/reports establish a terminal outcome."""
    for event in reversed(events):
        if (event.get("session_id") != session_id or event.get("task_id") != task_id
                or event.get("origin") != "simulator"):
            continue
        is_report = (event.get("type") == "user_reported_goal_met"
                     and event.get("actor") == "synthetic_user")
        is_receipt = (event.get("type") == "mock_handoff_accepted"
                      and event.get("actor") == "mock_contact_service"
                      and expected_destination is not None
                      and event.get("destination") == expected_destination
                      and isinstance(event.get("receipt"), str)
                      and bool(event["receipt"].strip()))
        if is_report or is_receipt:
            provenance = {key: event[key] for key in (
                "id", "type", "actor", "origin", "session_id", "task_id",
                "destination", "receipt") if key in event}
            provenance["event_id"] = provenance.pop("id")
            provenance["event_type"] = provenance.pop("type")
            return {"outcome": "user_reported_resolution" if is_report else "accepted_handoff",
                    "provenance": provenance}
    return {"outcome": "unresolved", "provenance": None}
Inspect the run settings and reproduce the records

The downloadable experiment contains the original simulator and the new nlu/ experiment, raw calls, field/state traces and separate authored review labels. Inside the extracted bil-resolution/nlu folder:

python3 verify_recording.py
python3 smoke.py

The README explains fresh local inference. From the portfolio root, npm run prepare:bil replays saved artifacts and packages an explicit allowlist; it does not call the model. Offline verification checks prompts, code/FAQ fingerprints, literal evidence and deterministic state/actions, not meaning or resolution. The website reads recorded data and processes no real customer information.

The recording contains 19 user turns across eight English development families, with a median of 13 whitespace-delimited words per turn. On the separate authored expectations, rules agree with 18 next actions and Qwen with six; exact-state agreement is 18 and four. Direct task terms and short clauses favour this bounded rule grammar. These counts do not establish general NLU accuracy or customer resolution.

The initial model pass often emitted null defaults and old-turn evidence. One generic development iteration separated the current turn, earlier history and preceding state, without changing the schema, business policy, inputs or labels. Both full raw runs and the original prompt remain in the package. The same examples were reused; this is not a held-out improvement or a controlled serving-speed comparison. No further model calls or hand repair were used to turn the result into a success.