Approve Always & Reject With Reason
Approve once and forever, or reject with a reason the agent can learn from.
What you'll see
- In prompt mode, ask the agent to create a file so an approval prompt appears.
- Press capital
Yto approve always -- Rysh remembers the decision and won't re-ask for that action. - Trigger a second, riskier action (e.g. "delete that file").
- Press capital
Nto reject with a reason, type the reason, and press Enter -- the agent adapts. - Recap the keys:
yapprove,Yapprove-always,nreject,Nreject-with-reason,Escreject silently.
Commands shown
rysh
create a file notes.txt with a short todo list
Y
now delete notes.txt
N
keep the file, just empty it instead
Keys used
EnterEscape
Transcript
0:00Approve once and forever, or reject with a reason the agent can learn from.
0:03Start rysh and switch into prompt mode to talk to the agent.
0:08Ask the agent to create a file. file_write is a gated tool, so an approval prompt appears in the footer.
0:16Press capital Y to approve always. Rysh remembers this decision so the same kind of action won't ask again.
0:26Now ask for something risky. Press capital N to reject with a reason -- type why, and the agent adapts.
0:38y approves, capital Y always approves, n rejects, capital N rejects with a reason, and Escape rejects silently.
Key takeaway
Approval is fast and expressive -- remember a yes, or reject with feedback the agent uses to change course.