You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tools): bind schema-enrichment reads to executor delegations (#6593)
* fix(tools): bind schema-enrichment reads to executor delegations
Two schema-enrichment callers still sent the deprecated legacy internal JWT
to routes that moved onto delegation-only auth, so both 401'd and swallowed
the failure:
- tools/params.ts fetched a child workflow's input fields with an unsubjected
buildAuthHeaders(), leaving the Agent block's workflow_executor inputMapping
untyped so the model guessed the child's field names.
- tools/schema-enrichers.ts fetched KB tag definitions the same way, which
dropped the tags/tagFilters parameter from the knowledge tools entirely.
Extract the executionId binding rule into executionScopeForTarget so the three
enrichment call sites share one definition.
* improvement(tools): surface tag-definition read failures at error level
Enrichment degrades silently by design, so the log line is the only signal a
credential break leaves. Drain the body on the failure path too.
0 commit comments