Commit 8e3625c
fix(context): use agent ID not name for GetAgentFile fallback lookup
cb.agentID was set to a.name (display name like "拽姐") instead of
a.agentID (database ID like "agt_xxx"). The GetAgentFile fallback
subquery `SELECT user_id FROM agents WHERE id = ?` failed silently,
so SOUL.md/IDENTITY.md were missing from the system prompt when the
UserSpace owner differs from the agent owner (e.g. app_user channels).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1131744 commit 8e3625c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3288 | 3288 | | |
3289 | 3289 | | |
3290 | 3290 | | |
3291 | | - | |
| 3291 | + | |
3292 | 3292 | | |
3293 | 3293 | | |
3294 | 3294 | | |
| |||
0 commit comments