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

fix(mcp): refuse delete_node in Face selection mode like the native path

Abierto
#83 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust
Área
api, desktop

Línea de trabajo

Read AGENTS.md first for the shared typed operation guard rules. The native refusal is in native_operation in src/app.rs around line 243, and the remote path goes through remote_operation_guarded into apply_operation_guarded, which has no Face-mode check for Operation::Delete. Move or share the check so both paths return the same typed error, then add a regression test that SDK delete_node in Face mode leaves the scene, selection and history unchanged. Done means that test passes, the guard matrix snapshot from #81 has Face-mode Delete cells, and the MCP docs state the refusal.

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

Descripción

area/mcp area/selection type/bug

Problem

Native Delete is refused in Face selection mode, but the MCP delete_node path is not, so a remote client can delete the whole object while the editor is in Face mode. Native UI and MCP must share the same typed operation guards (AGENTS.md).

Current behavior

  • Native: native_operation refuses Delete in Face mode before the guarded pipeline (src/app.rs, around line 243).
  • Remote: remote_operation_guarded -> apply_operation_guarded has no Face-mode check for Operation::Delete, so the deletion succeeds.

Found by the safety-net review of #81 (guard matrix work for #78).

Expected

Delete in Face mode is refused identically for native and remote callers with the same typed error, with the scene unchanged, until component (face) deletion is implemented.

Acceptance

  • The refusal lives in the shared guarded path (or both paths call one check), not only in native_operation.
  • Regression test that fails before the fix: SDK delete_node in Face mode returns the typed refusal and leaves the scene, selection and history unchanged; native path test kept.
  • Guard matrix snapshot (#81) updated with the Face-mode Delete cells.
  • MCP docs state the refusal.
Lenguaje dominante
Rust
Estrellas
4
Forks
2
Merge medio
2 h 44 min
PR fusionados (30 d)
59

Preparar el entorno

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 cristim/AztecCraft

Todos los issues de cristim/AztecCraft

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.