docs(subagent): restore refusal contract comment

This commit is contained in:
Tianyi Cui
2026-07-25 15:25:52 +08:00
parent a5820f264c
commit d3b5988061
4 changed files with 5 additions and 2 deletions

View File

@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write
subagent.md: 8a134b7be641323057135bcf772bf4cccec5c9a3
subagent.zh.md: a66ad6b6c3b503b81fac97387577a689848edad2
subagent.md: 2497dbab9cfc8304eb7aaeba7109404ac614bbff
subagent.zh.md: 2d96e9bc635951746e72ed58a7c3638dc2598cc2

View File

@@ -135,6 +135,7 @@ interface SubagentStopReasonMap {
error: 'error'
/** The child hit its token ceiling before finishing. */
'max-tokens': 'max-tokens'
/** The child declined the task. */
refusal: 'refusal'
}
```

View File

@@ -135,6 +135,7 @@ interface SubagentStopReasonMap {
error: 'error'
/** The child hit its token ceiling before finishing. */
'max-tokens': 'max-tokens'
/** The child declined the task. */
refusal: 'refusal'
}
```