listagentskills β return this agentβs EFFECTIVE skills (legacy
db_agent_skills, or its own ref-bound db_skills + globals when any own
refs exist β see Store::effective_skills). Window-scoped (no
check_s1) because this is called from
agent-model.tsβs pre-launch launchAgentDefinition, before any
agent connection exists to authenticate as β thatβs also exactly why
this must reuse the same merge algorithm as the Rust
write_agent_config_files path rather than the frontend calling the
agent-scoped skill.list RPC directly (it would fail check_s1 pre-
launch). Previously returned only agent_skill_list (legacy-only),
silently hiding every standalone/Memory β Skills skill from the actual
launch flow (reagent P0 on PR #2322).