A2A Check

ST-02: It does not say what the agent must not keep

Area: Memory · Severity: notice · Catalogue version 1.104.0

Why it matters

Confidential data stays stored longer than needed.

Before (example)

Example: customers' e-mail texts are still in the notes folder weeks later.

How to fix it

Name something the agent must not keep after the run, for example customer data.

After (example)

The agent does not store customer data beyond a single run.

Check it yourself

Read your instruction files and look for a sentence that names something the agent deliberately does not keep after a single run.

Recognised wording

The check looks in your instruction files for a sentence with one of these wordings (German or English):

These are examples: the check knows 447 more wordings, also in other word forms and orders (full list: catalog/rule-keywords-1.23.0.yaml).

A sentence that starts like this counts too: don't keep, never keep, do not keep, don't store, never store, do not store, discard state, speichere nie, behalte nichts, speichere nichts. And 3 more sentence starts.

The check reads words, not meaning: a sentence that is right in meaning but holds none of these wordings is not recognised. The list grows with every catalogue version.

All rules