Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Expose `disableModelInvocation` on `session.skills_loaded` skill entries

Abierto
#1,850 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
java, rust, typescript

Línea de trabajo

Empieza por el esquema del evento session.skills_loaded y los tipos de entrada por skill, incluidos SkillsLoadedSkill de Rust y el tipo de datos session.skills_loaded de TypeScript. Después, inspecciona las estructuras de descubrimiento relacionadas de Skill y ServerSkill, así como el indicador existente de invocación de modelo del productor. Se considera terminado cuando todas las estructuras enumeradas exponen disableModelInvocation y el productor lo rellena con el indicador existente, mientras que los valores predeterminados de los productores antiguos siguen siendo false.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Summary

The session.skills_loaded event reports each skill's enabled and userInvocable flags, but not its model-invocation flag (the disable-model-invocation frontmatter gate). Please add disableModelInvocation to each skill entry so consumers can tell whether the model may auto-invoke a skill — not just whether the user can invoke it as a slash command.

Why

userInvocable (user slash-command availability) and model-invocability are two independent axes:

  • userInvocable: true/false — can the user invoke it as a slash command.
  • disableModelInvocation: true/false — may the model auto-invoke it.

A skill can be any combination (user-only, model-only, both). Consumers today only receive userInvocable, so they can't distinguish a model-auto-invoked skill from a user-only one. This matters for:

  • Rendering an accurate command palette / skill list (which entries are slash commands vs. silently model-driven).
  • Projecting skills into surfaces that have a native model-invocation concept (for example, AHP's SkillCustomization already has a disableModelInvocation field, which currently can't be populated from this event).

The flag is already part of the skill model — it's used internally to decide whether a skill is visible to the model — so this is a surfacing change, not new behavior.

Current shape

session.skills_loaded skill entries today (camelCase wire):

{
  "name": "…",
  "description": "…",
  "source": "project | inherited | personal-copilot | personal-agents | plugin | custom | builtin",
  "path": "…",            // optional
  "argumentHint": "…",    // optional
  "enabled": true,
  "userInvocable": true
}

Proposed change

Add disableModelInvocation: boolean to each entry:

{
  "name": "…",
  "description": "…",
  "source": "…",
  "path": "…",
  "argumentHint": "…",
  "enabled": true,
  "userInvocable": true,
  "disableModelInvocation": false   // NEW
}

Surfaces to touch:

  • The session.skills_loaded event schema (the per-skill entry shape).
  • Generated types in every language target (e.g. the Rust SkillsLoadedSkill and the TypeScript session.skills_loaded data type).
  • For consistency, mirror the field onto the related skill API types that also omit it today (the Skill / ServerSkill discovery shapes).
  • Populate it at the producer from the skill model's existing model-invocation flag.

Backwards compatibility

Additive boolean; existing consumers are unaffected. A sensible default for older producers is false (model invocation allowed), matching the default semantics of the disable-model-invocation frontmatter flag.

Lenguaje dominante
Java
Estrellas
10.5k
Forks
1.5k
Merge medio
1 d 9 h
PR fusionados (30 d)
131

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/copilot-sdk

Todos los issues de github/copilot-sdk

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.