diff options
| author | GoldJohnKing <GoldJohnKing@live.cn> | 2026-08-30 00:13:48 +0800 |
|---|---|---|
| committer | GoldJohnKing <GoldJohnKing@live.cn> | 2026-08-30 00:13:48 +0800 |
| commit | 5c0ac7ee00a2f032a6b1369b6a3d3e16684f10e0 (patch) | |
| tree | c5396963fd934bd20eff7d04b7d481f0373c7c9e /docs | |
| parent | ca8cb53f46eb42e1c11c6fa221855165bebbdce8 (diff) | |
fix(opencode): skip controller bootstrap in task subagent sessions (#2160)
Detect child sessions structurally via session parentID instead of
relying on the model honoring <SUBAGENT-STOP>:
- V1: sessionID from firstUser.info.sessionID (hook input is empty at
runtime), parentID via client.session.get({path:{id}})
- V2: sessionID from the context-hook event, parentID via
ctx.session.get({sessionID})
Decision cached per session; lookup failures fail open (previous
behavior) and are not cached. Skills registration is unaffected, so
workers keep explicit access to execution skills.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
