返回 DeepSeek-Reasonix
verify.sh
1 set -e
2 # Exercises a fresh `task` sub-agent delegation in the headless `reasonix run`
3 # path: 17 + 28 + 41 = 86. The numbers are arbitrary so the answer can only be
4 # produced by actually reading the three seed files (the prompt mandates doing
5 # that via the `task` tool). Before sub-agents could run without a parent
6 # session, the `task` call errored here with "parent session is required".
7 test -f result.txt
8 got=$(tr -d '[:space:]' < result.txt)
9 if [ "$got" != "86" ]; then
10 echo "result.txt = '$got', want 86"
11 exit 1
12 fi
13
13 lines BASH