test-case: no Norris block in config = Phase 2 behavior intact #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps
safety = {...}block.[aish] mcp ...or safety-related status changes at startup.:safety patterns— should still work (the pattern list is static; no config needed).:norris hello— Norris should fire normally with default settings.Expected
CMD:extraction continues to useconfirm_cmdexactly as Phase 0/1/2 specified —is_destructiveis NOT called in interactive mode (R-B3 narrowed scope).:safety patternsworks (it's data, not config-gated).:norris hellodefaults tomax_norris_steps = 8andllm_second_opinion = true. If no deep/cloud model is configured, the LLM probe fail-safes (every safe-looking command flagged), which is conservative — the user can opt out viacfg.safety.llm_second_opinion = false.What this exercises
safetyblock is configured.Likely failure modes
config.safetyis nil and some code path forgot the nil guard.CMD: rm -rf /tmp/foonow triggersis_destructiveeven though Norris isn't active → R-B3 didn't take.:norriserrors out trying to readconfig.safety.max_norris_stepsof nil.[aish:fast]> :norris hello
─── NORRIS MODE ─────────────────────────
goal: hello
─────────────────────────────────────────
─ step 1/8 ─
GOAL: complete
─── NORRIS DONE ──
GOAL: complete
──────────────────────────────────────────
[aish:fast]>