Class: Rubino::Tools::BackgroundTasks::Entry
- Inherits:
-
Struct
- Object
- Struct
- Rubino::Tools::BackgroundTasks::Entry
- Defined in:
- lib/rubino/tools/background_tasks.rb
Overview
last_activity / tool_count / activity_log — live-progress fields written by UI::SubagentView#tool_started / #tool_finished (via #record_tool_started / #record_tool_finished) under the registry mutex and read by the parent renderer (UI::SubagentCards) and the /agents drill-in. activity_log is a bounded ring of the last few ‘✓ verb · hint` lines for the live drill-in; nothing is persisted (it dies with the process, like the rest of the registry).
approval_gate / approval_question / approval_command are the Option-2 approval-surfacing state: when a background child’s tool needs approval the child thread parks on ‘approval_gate` (a Run::ApprovalGate) and the entry flips to status :needs_approval with the question/command shown on the card; the user resolves it via /agents <id>.
Instance Attribute Summary collapse
-
#activity_log ⇒ Object
Returns the value of attribute activity_log.
-
#approval_command ⇒ Object
Returns the value of attribute approval_command.
-
#approval_gate ⇒ Object
Returns the value of attribute approval_gate.
-
#approval_id ⇒ Object
Returns the value of attribute approval_id.
-
#approval_question ⇒ Object
Returns the value of attribute approval_question.
-
#ask_blocking ⇒ Object
Returns the value of attribute ask_blocking.
-
#ask_gate ⇒ Object
Returns the value of attribute ask_gate.
-
#ask_id ⇒ Object
Returns the value of attribute ask_id.
-
#ask_question ⇒ Object
Returns the value of attribute ask_question.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#error ⇒ Object
Returns the value of attribute error.
-
#finished_at ⇒ Object
Returns the value of attribute finished_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_activity ⇒ Object
Returns the value of attribute last_activity.
-
#last_probe_at ⇒ Object
Returns the value of attribute last_probe_at.
-
#owner_subagent_id ⇒ Object
Returns the value of attribute owner_subagent_id.
-
#parent_sink ⇒ Object
Returns the value of attribute parent_sink.
-
#probe_count ⇒ Object
Returns the value of attribute probe_count.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#result ⇒ Object
Returns the value of attribute result.
-
#runner ⇒ Object
Returns the value of attribute runner.
-
#started_at ⇒ Object
Returns the value of attribute started_at.
-
#status ⇒ Object
Returns the value of attribute status.
-
#steer_queue ⇒ Object
Returns the value of attribute steer_queue.
-
#subagent ⇒ Object
Returns the value of attribute subagent.
-
#thread ⇒ Object
Returns the value of attribute thread.
-
#tool_count ⇒ Object
Returns the value of attribute tool_count.
Instance Attribute Details
#activity_log ⇒ Object
Returns the value of attribute activity_log
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def activity_log @activity_log end |
#approval_command ⇒ Object
Returns the value of attribute approval_command
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def approval_command @approval_command end |
#approval_gate ⇒ Object
Returns the value of attribute approval_gate
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def approval_gate @approval_gate end |
#approval_id ⇒ Object
Returns the value of attribute approval_id
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def approval_id @approval_id end |
#approval_question ⇒ Object
Returns the value of attribute approval_question
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def approval_question @approval_question end |
#ask_blocking ⇒ Object
Returns the value of attribute ask_blocking
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def ask_blocking @ask_blocking end |
#ask_gate ⇒ Object
Returns the value of attribute ask_gate
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def ask_gate @ask_gate end |
#ask_id ⇒ Object
Returns the value of attribute ask_id
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def ask_id @ask_id end |
#ask_question ⇒ Object
Returns the value of attribute ask_question
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def ask_question @ask_question end |
#depth ⇒ Object
Returns the value of attribute depth
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def depth @depth end |
#error ⇒ Object
Returns the value of attribute error
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def error @error end |
#finished_at ⇒ Object
Returns the value of attribute finished_at
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def finished_at @finished_at end |
#id ⇒ Object
Returns the value of attribute id
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def id @id end |
#last_activity ⇒ Object
Returns the value of attribute last_activity
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def last_activity @last_activity end |
#last_probe_at ⇒ Object
Returns the value of attribute last_probe_at
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def last_probe_at @last_probe_at end |
#owner_subagent_id ⇒ Object
Returns the value of attribute owner_subagent_id
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def owner_subagent_id @owner_subagent_id end |
#parent_sink ⇒ Object
Returns the value of attribute parent_sink
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def parent_sink @parent_sink end |
#probe_count ⇒ Object
Returns the value of attribute probe_count
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def probe_count @probe_count end |
#prompt ⇒ Object
Returns the value of attribute prompt
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def prompt @prompt end |
#result ⇒ Object
Returns the value of attribute result
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def result @result end |
#runner ⇒ Object
Returns the value of attribute runner
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def runner @runner end |
#started_at ⇒ Object
Returns the value of attribute started_at
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def started_at @started_at end |
#status ⇒ Object
Returns the value of attribute status
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def status @status end |
#steer_queue ⇒ Object
Returns the value of attribute steer_queue
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def steer_queue @steer_queue end |
#subagent ⇒ Object
Returns the value of attribute subagent
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def subagent @subagent end |
#thread ⇒ Object
Returns the value of attribute thread
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def thread @thread end |
#tool_count ⇒ Object
Returns the value of attribute tool_count
49 50 51 |
# File 'lib/rubino/tools/background_tasks.rb', line 49 def tool_count @tool_count end |