Class: Pikuri::Workspace::Confirmer::AutoApprove
- Inherits:
-
Confirmer
- Object
- Confirmer
- Pikuri::Workspace::Confirmer::AutoApprove
- Defined in:
- lib/pikuri/workspace/confirmer.rb
Overview
Approves everything unedited — the headless "opted out of dialogs"
stance. Request-independent, so it classifies nothing and stays a
legitimate Confirmer. Used by bin/pikuri-code --yolo, downstream hosts'
yolo modes, and specs that don't want to coordinate stdin.
Instance Method Summary collapse
-
#ask(request:) ⇒ Approved
Always, carrying
detailunchanged. -
#blocks_on_human? ⇒ Boolean
false— nobody is asked, so a tool gated by this confirmer holds autonomous egress however human-gated its wiring looks on paper.
Instance Method Details
#ask(request:) ⇒ Approved
Returns always, carrying detail unchanged.
158 159 160 |
# File 'lib/pikuri/workspace/confirmer.rb', line 158 def ask(request:) Approved.new(new_request_detail: request.detail) end |
#blocks_on_human? ⇒ Boolean
Returns false — nobody is asked, so a tool gated by this
confirmer holds autonomous egress however human-gated its wiring
looks on paper.
165 |
# File 'lib/pikuri/workspace/confirmer.rb', line 165 def blocks_on_human? = false |