diff --git a/crates/misaligned-terminal/src/agent.rs b/crates/misaligned-terminal/src/agent.rs index a2bac4af..4e661b9a 100644 --- a/crates/misaligned-terminal/src/agent.rs +++ b/crates/misaligned-terminal/src/agent.rs @@ -4048,6 +4048,21 @@ mod narration_tests { help_lines().contains(&task_help), "every canonical asset-task shortcut must be discoverable" ); + + let documented_words = canonical + .iter() + .map(|(word, _)| *word) + .collect::>() + .join("|"); + let documented_line = format!("- `task {documented_words}`"); + let agent_play = include_str!(concat!( + env!("CARGO_MANIFEST_DIR"), + "/../../wiki/interface/agent-play.md" + )); + assert!( + agent_play.lines().any(|line| line == documented_line), + "binding agent-play vocabulary must list every canonical asset-task shortcut: {documented_line}" + ); } #[test] diff --git a/wiki/interface/agent-play.md b/wiki/interface/agent-play.md index 267aa210..82276d0d 100644 --- a/wiki/interface/agent-play.md +++ b/wiki/interface/agent-play.md @@ -288,7 +288,7 @@ unlike raw keys, no command's meaning depends on which panel is open. no wire run and rejects an added run id. Missing, stale, crossed, or unknown candidate/run bindings fail instead of choosing another route. - `recruit unwitting|complicit|knowing` -- `task plug|package|lookaway|suppress|switch|badge|circuit|po|maintenance|patrol|audit|review` +- `task plug|package|lookaway|suppress|switch|badge|records|circuit|po|maintenance|patrol|audit|review` - `persona` — retired compatibility word; redirect to PERSONAS and mutate nothing - `actions [target]` (alias `menu`) — list the shared bound action rows for one