Filter available skills prompt block according to agent skill permissions
Filter available skills prompt block according to agent skill permissions: a task in LegoFlow-SWE (Harbor dataset). When an agent is configured with limited skills permissions, the <available skills block in the prompt context is not filtered to match those permissions. This causes a mismatch…
The task
When an agent is configured with limited `skills` permissions, the `<available_skills>` block in the prompt context is not filtered to match those permissions. This causes a mismatch: `permission.skill` correctly denies access, but the model still sees globally discovered skills in its prompt, leading to potential…
Part of Lego-X/LegoFlow-SWE.