chore(org): rename Architect codename from Aurelius to Helix

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
parent 19ad03d390
commit 9f8d8672d7
54 changed files with 2723 additions and 11 deletions
+40
View File
@@ -0,0 +1,40 @@
# Gate Check Usage
## Files
- `gate_config.json`: threshold configuration
- `gate_check.sh`: gate decision script
## Thresholds
Current defaults in `gate_config.json`:
- `maxTokens = 30000`
- `maxRetries = 2`
- `maxMinutes = 40`
## Command
```bash
./gate_check.sh <tokens> <retries> <minutes> <escalationFlag>
```
Parameters:
- `tokens` (non-negative integer)
- `retries` (non-negative integer)
- `minutes` (non-negative integer)
- `escalationFlag` (`true/false`, `1/0`, `yes/no`, `y/n`)
## Decision Rules
1. If `escalationFlag` is true-like (`true/1/yes/y`), output `PAUSE_AND_ESCALATE`.
2. Else if any threshold is exceeded (`tokens > maxTokens` OR `retries > maxRetries` OR `minutes > maxMinutes`), output `BLOCK`.
3. Otherwise output `PASS`.
## Return Codes
- `0` = `PASS`
- `2` = `BLOCK`
- `3` = `PAUSE_AND_ESCALATE`
- `1` = input/config error
## Examples
```bash
./gate_check.sh 12000 1 20 false # PASS
./gate_check.sh 45000 1 20 false # BLOCK
./gate_check.sh 12000 1 20 true # PAUSE_AND_ESCALATE
```