feat(shuma): macros del shell — barra [RUN]

shuma-intent: + módulo macros.

- Macro — secuencia de intenciones nombrada, con tecla física opcional
  (F1-F3...). Builder bind()/step(). Serializable: compartible entre
  sesiones y usuarios (requisito de la spec).
- MacroBook — colección con lookup por tecla y por nombre; insert
  reemplaza por nombre.

Completa el núcleo agnóstico del shell shuma: prompt de intenciones +
grafo de contexto + macros. 11 tests verdes. cargo check --workspace
verde.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
sergio
2026-05-20 15:47:57 +00:00
parent 1da4ee11d7
commit b9a6cd33fd
2 changed files with 116 additions and 0 deletions
@@ -14,6 +14,8 @@
pub mod parse;
pub mod graph;
pub mod macros;
pub use graph::{CommandNode, NodeStatus, SessionGraph};
pub use macros::{Macro, MacroBook};
pub use parse::{Intention, Ref, Stage};