Files
val-blog/org/m2/T2_RESULT.md
T

51 lines
972 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# T2 门禁验证结果(应 BLOCK)
- 执行目录:`/Users/guchen/.openclaw/workspace`
- 脚本:`org/pilot/gate_check.sh`
- 配置:`org/pilot/gate_config.json`
- 配置内容:
```json
{
"maxTokens": 30000,
"maxRetries": 2,
"maxMinutes": 40
}
```
## 用例与结果
### Case 1tokens 超上限(应 BLOCK
- 命令:`bash org/pilot/gate_check.sh 30001 2 40 false`
- 返回码:`2`
- 输出:
```text
BLOCK
```
### Case 2retries 超上限(应 BLOCK
- 命令:`bash org/pilot/gate_check.sh 30000 3 40 false`
- 返回码:`2`
- 输出:
```text
BLOCK
```
### Case 3minutes 超上限(应 BLOCK
- 命令:`bash org/pilot/gate_check.sh 30000 2 41 false`
- 返回码:`2`
- 输出:
```text
BLOCK
```
### Case 4:多字段同时超限(应 BLOCK)
- 命令:`bash org/pilot/gate_check.sh 99999 9 99 false`
- 返回码:`2`
- 输出:
```text
BLOCK
```
## 结论
上述 4 个超限用例均输出 BLOCK 且返回码 2。