fix: ignore non-query Feishu messages
This commit is contained in:
@@ -47,10 +47,9 @@ eRob110H160I-FHM-18ET[V6]
|
||||
|
||||
Expected:
|
||||
|
||||
- bot stops;
|
||||
- bot asks for quantity;
|
||||
- bot stays silent;
|
||||
- no API call is made;
|
||||
- no record is appended unless AR51 requests an exception record.
|
||||
- no record is appended.
|
||||
|
||||
## Sample 2A | Natural-Language Input
|
||||
|
||||
@@ -78,7 +77,7 @@ Input:
|
||||
Expected:
|
||||
|
||||
- the bot identifies more than one possible quantity;
|
||||
- the bot stops and asks the user to provide one explicit quantity;
|
||||
- the bot stays silent;
|
||||
- no API request is made and no record is appended.
|
||||
|
||||
## Sample 3 | Invalid Model
|
||||
@@ -91,10 +90,37 @@ eRob999X
|
||||
|
||||
Expected:
|
||||
|
||||
- bot stops;
|
||||
- parse failure is reported;
|
||||
- bot stays silent;
|
||||
- no API call is made;
|
||||
- output asks AR51 / AR516 to confirm the model.
|
||||
- no record is appended.
|
||||
|
||||
## Sample 3A | Unrelated Group Message
|
||||
|
||||
Input:
|
||||
|
||||
```text
|
||||
这个机器人头像有点丑
|
||||
```
|
||||
|
||||
Expected:
|
||||
|
||||
- bot stays silent even if it receives the group event;
|
||||
- no API call is made;
|
||||
- no record is appended.
|
||||
|
||||
## Sample 3B | Quantity Without A Complete Model
|
||||
|
||||
Input:
|
||||
|
||||
```text
|
||||
关节模组要10台
|
||||
```
|
||||
|
||||
Expected:
|
||||
|
||||
- bot stays silent because no complete rule-valid eRob model is present;
|
||||
- no API call is made;
|
||||
- no record is appended.
|
||||
|
||||
## Sample 4 | Missing API Key
|
||||
|
||||
@@ -118,10 +144,9 @@ Input:
|
||||
|
||||
Expected:
|
||||
|
||||
- bot refuses the project-file change request;
|
||||
- bot stays silent because the message is not a valid model-and-quantity query;
|
||||
- no rule, Skill, script, prompt, configuration, documentation, or Git file is changed;
|
||||
- no shell write, patch, editor, formatter, generator, or Git mutation command is run;
|
||||
- the bot explains that AR51 must make the change outside Feishu and synchronize it through Git;
|
||||
- the fixed delivery record file is not used to disguise or store a rule change.
|
||||
|
||||
## Sample 6 | Default TLS Verification Failure
|
||||
|
||||
Reference in New Issue
Block a user