samagotchi 0.172.1 → 0.173.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -1
  3. data/docs/architecture.md +16 -5
  4. data/docs/cli.md +2 -1
  5. data/docs/configuration.md +1 -1
  6. data/docs/internals/background-tasks.md +19 -6
  7. data/docs/internals/bridge.md +2 -2
  8. data/docs/internals/engine.md +2 -1
  9. data/docs/internals/participants.md +67 -9
  10. data/docs/internals/remote-sessions.md +1 -1
  11. data/docs/internals/web-frontend.md +11 -6
  12. data/docs/plugins.md +3 -1
  13. data/docs/sessions.md +2 -2
  14. data/docs/testing.md +26 -10
  15. data/lib/samagotchi/bridge.rb +3 -2
  16. data/lib/samagotchi/bundle_command/try/sandbox.rb +2 -2
  17. data/lib/samagotchi/bundles/core/manifest.yml +2 -2
  18. data/lib/samagotchi/bundles/slow-commands/manifest.yml +3 -3
  19. data/lib/samagotchi/bundles/slow-commands/plugin.rb +3 -3
  20. data/lib/samagotchi/bundles/system/manifest.yml +1 -1
  21. data/lib/samagotchi/engine/participants.rb +2 -2
  22. data/lib/samagotchi/engine.rb +0 -1
  23. data/lib/samagotchi/file_ref.rb +3 -5
  24. data/lib/samagotchi/guardrails/participant_refusal.rb +1 -1
  25. data/lib/samagotchi/memory_usage.rb +2 -1
  26. data/lib/samagotchi/message_parts.rb +5 -3
  27. data/lib/samagotchi/objectives_backing.rb +6 -10
  28. data/lib/samagotchi/parent_report.rb +1 -1
  29. data/lib/samagotchi/participant_prompts.rb +101 -0
  30. data/lib/samagotchi/participant_turn_mode.rb +1 -1
  31. data/lib/samagotchi/project_env.rb +7 -5
  32. data/lib/samagotchi/prompt_history.rb +2 -2
  33. data/lib/samagotchi/send_command/parent_gate.rb +2 -2
  34. data/lib/samagotchi/send_command.rb +4 -4
  35. data/lib/samagotchi/session_command_catalog.rb +210 -0
  36. data/lib/samagotchi/session_commands.rb +12 -183
  37. data/lib/samagotchi/session_manager/lifecycle.rb +5 -4
  38. data/lib/samagotchi/session_manager.rb +2 -1
  39. data/lib/samagotchi/session_stores.rb +2 -0
  40. data/lib/samagotchi/spawn_env.rb +75 -0
  41. data/lib/samagotchi/task_files.rb +51 -0
  42. data/lib/samagotchi/task_transcript.rb +67 -0
  43. data/lib/samagotchi/task_watch.rb +8 -6
  44. data/lib/samagotchi/terminal_ui/attached_loop/composer.rb +3 -3
  45. data/lib/samagotchi/terminal_ui/attached_loop/questions.rb +2 -2
  46. data/lib/samagotchi/terminal_ui/attached_loop.rb +3 -3
  47. data/lib/samagotchi/terminal_ui/input_support.rb +1 -1
  48. data/lib/samagotchi/testing/boundary.rb +5 -0
  49. data/lib/samagotchi/tool_activity.rb +63 -79
  50. data/lib/samagotchi/tool_names.rb +179 -0
  51. data/lib/samagotchi/tool_view.rb +3 -5
  52. data/lib/samagotchi/tools/ask_user_question.rb +2 -1
  53. data/lib/samagotchi/tools/builtins.rb +1 -1
  54. data/lib/samagotchi/tools/cancel_reminder.rb +2 -1
  55. data/lib/samagotchi/tools/cancel_schedule.rb +3 -1
  56. data/lib/samagotchi/tools/context_read.rb +2 -1
  57. data/lib/samagotchi/tools/delegate.rb +2 -1
  58. data/lib/samagotchi/tools/delegate_result.rb +2 -1
  59. data/lib/samagotchi/tools/edit.rb +2 -1
  60. data/lib/samagotchi/tools/execute.rb +22 -28
  61. data/lib/samagotchi/tools/forget_outputs.rb +2 -1
  62. data/lib/samagotchi/tools/list_reminders.rb +2 -1
  63. data/lib/samagotchi/tools/list_schedules.rb +3 -1
  64. data/lib/samagotchi/tools/list_sessions.rb +2 -1
  65. data/lib/samagotchi/tools/memory.rb +3 -2
  66. data/lib/samagotchi/tools/objectives_tool.rb +5 -4
  67. data/lib/samagotchi/tools/read.rb +2 -1
  68. data/lib/samagotchi/tools/register_reminder.rb +2 -1
  69. data/lib/samagotchi/tools/schedule_task.rb +3 -1
  70. data/lib/samagotchi/tools/send_note.rb +2 -1
  71. data/lib/samagotchi/tools/task_create.rb +2 -1
  72. data/lib/samagotchi/tools/task_get.rb +2 -1
  73. data/lib/samagotchi/tools/task_list.rb +2 -1
  74. data/lib/samagotchi/tools/task_runtime.rb +34 -154
  75. data/lib/samagotchi/tools/task_stop.rb +2 -1
  76. data/lib/samagotchi/tools/task_wait.rb +3 -2
  77. data/lib/samagotchi/tools/web_fetch.rb +2 -1
  78. data/lib/samagotchi/tools/write.rb +2 -1
  79. data/lib/samagotchi/turn_checkpoint.rb +1 -1
  80. data/lib/samagotchi/version.rb +1 -1
  81. data/lib/samagotchi/web/app.rb +38 -36
  82. data/lib/samagotchi/web/message_display.rb +1 -7
  83. data/lib/samagotchi/web/participant_access.rb +12 -4
  84. data/lib/samagotchi/web/participant_history.rb +68 -0
  85. data/lib/samagotchi/web/participant_images.rb +2 -1
  86. data/lib/samagotchi/web/participant_show.rb +5 -5
  87. data/lib/samagotchi/web/participants_admin.rb +1 -1
  88. data/lib/samagotchi/web/public/app.js +11 -9
  89. data/lib/samagotchi/web/public/card_registry.js +248 -0
  90. data/lib/samagotchi/web/public/cards_offscreen.js +3 -3
  91. data/lib/samagotchi/web/public/cards_place.js +8 -2
  92. data/lib/samagotchi/web/public/history_shape.js +1 -2
  93. data/lib/samagotchi/web/public/participant_history.js +27 -0
  94. data/lib/samagotchi/web/public/question_cards.js +1 -15
  95. data/lib/samagotchi/web/public/reload_check.js +90 -72
  96. data/lib/samagotchi/web/public/session_view.js +6 -1
  97. data/lib/samagotchi/web/public/stage_asking.js +6 -20
  98. data/lib/samagotchi/web/public/stage_view.js +2 -2
  99. data/lib/samagotchi/web/public/stage_waiting.js +4 -10
  100. data/lib/samagotchi/web/public/task_stop.js +1 -1
  101. data/lib/samagotchi/web/push_routes.rb +1 -1
  102. data/lib/samagotchi/web/reload_check_route.rb +5 -2
  103. data/lib/samagotchi/web/request_body.rb +72 -0
  104. data/lib/samagotchi/web/server.rb +70 -0
  105. data/lib/samagotchi/web/session_access_routes.rb +13 -11
  106. data/lib/samagotchi/web/session_control.rb +21 -15
  107. data/lib/samagotchi/web/session_create.rb +2 -1
  108. data/lib/samagotchi/web/session_show.rb +8 -8
  109. data/lib/samagotchi/web/viewer.rb +7 -2
  110. data/lib/samagotchi/web/working_set_routes.rb +3 -3
  111. data/lib/samagotchi/worker.rb +49 -182
  112. data/lib/samagotchi/worker_exit_claim.rb +102 -0
  113. data/lib/samagotchi/worker_participant_gate.rb +156 -0
  114. data/lib/samagotchi/worker_task_wakes.rb +2 -2
  115. metadata +13 -1
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "worker_idle_exit"
4
+
5
+ module Samagotchi
6
+ # One exit at a time (Worker#exit_request, Bridge POST /exit): the kind
7
+ # being taken (claimed before the slow stop-all, so a request of another
8
+ # kind meanwhile is refused, not told it went through), the exit taken
9
+ # (who asked, whether it deletes or restarts) and what the last stop-all
10
+ # stopped. A pure state object: it calls nothing while it holds its lock.
11
+ #
12
+ # Threads: safe from any thread. Its fields change only under its own
13
+ # mutex, and the taken exit is one value replaced whole (#taken), so a
14
+ # reader never sees a kind with another request's flags. Today every
15
+ # writer also holds the event lock (Engine#synchronize_events: the Bridge's
16
+ # /exit, the loop's leave); nothing here depends on it. Lock order: the
17
+ # event lock, then this one.
18
+ class WorkerExitClaim
19
+ # The answer for a request that doesn't get the claim, boxed so a nil
20
+ # (accepted) is told apart from "claimed".
21
+ Refused = Data.define(:value)
22
+
23
+ # The exit taken: its +kind+ (:exit, :delete, :restart) and the client
24
+ # that asked (+by+).
25
+ Taken = Data.define(:kind, :by) do
26
+ def restart? = kind == :restart
27
+ def deletes? = kind == :delete
28
+ end
29
+
30
+ def initialize
31
+ @mutex = Mutex.new
32
+ # The kind being taken, or taken (:exit, :delete, :restart); nil when free.
33
+ @claim = nil
34
+ # The Taken exit once accepted; nil while free or being taken.
35
+ @taken = nil
36
+ # The last stop-all's HoldStop::Stopped (Worker#exit_hold); kept across a
37
+ # forget, cleared by a plain exit's accept.
38
+ @stopped = nil
39
+ end
40
+
41
+ # @return [Refused, nil] nil when this request now holds the claim;
42
+ # else its answer: nil (accepted: an exit of the same kind is already
43
+ # taken) or WorkerIdleExit.leaving (one of another kind is, or is still
44
+ # being taken)
45
+ def claim(kind)
46
+ @mutex.synchronize do
47
+ next Refused.new(value: nil) if @claim == kind && @taken
48
+ next Refused.new(value: WorkerIdleExit.leaving(@claim)) if @claim
49
+
50
+ @claim = kind
51
+ nil
52
+ end
53
+ end
54
+
55
+ # The claimed exit goes through: it is taken by +by+ (a client id), and
56
+ # a plain one (no +stop+) drops the last stop-all's list.
57
+ def accept(by:, stop:)
58
+ @mutex.synchronize do
59
+ @stopped = nil unless stop
60
+ @taken = Taken.new(kind: @claim, by: by)
61
+ end
62
+ nil
63
+ end
64
+
65
+ # What a stop-all exit stopped (HoldStop#stop_all), for the Bridge's 200.
66
+ def stopped!(stopped)
67
+ @mutex.synchronize { @stopped = stopped }
68
+ end
69
+
70
+ # The taken exit is let go: held at the leave, or its hand-off failed.
71
+ def forget
72
+ @mutex.synchronize do
73
+ @claim = nil
74
+ @taken = nil
75
+ end
76
+ nil
77
+ end
78
+
79
+ # A request that raised lets its claim go, unless its exit was taken.
80
+ def release
81
+ @mutex.synchronize do
82
+ next if @taken
83
+
84
+ @claim = nil
85
+ end
86
+ nil
87
+ end
88
+
89
+ # @return [Taken, nil] the exit taken, one read: its kind and asker
90
+ # always belong together
91
+ def taken = @mutex.synchronize { @taken }
92
+
93
+ def taken? = !taken.nil?
94
+
95
+ def restart? = taken&.restart? || false
96
+
97
+ def deletes? = taken&.deletes? || false
98
+
99
+ # @return [HoldStop::Stopped, nil] the last stop-all's list
100
+ def stopped = @mutex.synchronize { @stopped }
101
+ end
102
+ end
@@ -0,0 +1,156 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "grants"
4
+ require_relative "log"
5
+ require_relative "participant_name"
6
+ require_relative "participant_turn_mode"
7
+ require_relative "participants"
8
+ require_relative "steer"
9
+ require_relative "turn_checkpoint"
10
+ require_relative "verify_fresh"
11
+
12
+ module Samagotchi
13
+ # The Worker's one seat for "may this participant act": a queued turn as
14
+ # it starts (Worker#run_prompt), a line the running turn's drain would
15
+ # merge (Worker#pending_input_drain), a running pair turn before each
16
+ # generation (Engine#participant_stop, #turn_stop) and the owner's
17
+ # Continue on a participant's offer (ContinueOffer's participant_refused).
18
+ # It reads participants.json and the spend on each ask, and tells the
19
+ # owner of a reached cap once per participant and cap.
20
+ #
21
+ # Threads: loop thread only. Every caller runs on the worker's loop (a
22
+ # turn runs on it too); no Bridge, anytime, signal or scratch-watch thread
23
+ # calls it, so it takes no lock (@cap_noticed is unguarded). A caller
24
+ # from another thread needs a lock here first, and Engine#metrics' spend
25
+ # would still not be safe from any thread. Worker#held_for_offer?, which
26
+ # Bridge threads reach, is not here: it is stateless.
27
+ class WorkerParticipantGate
28
+ CAP_NOTICE = "%<name>s reached their $%<cap>.2f cap: their turns stop and are refused until you raise it " \
29
+ "(chi share cap %<session>s %<id>s AMOUNT)."
30
+ # The reason a pair turn stopped at its participant's cap (the turn's
31
+ # "stopped the turn: …" notice).
32
+ CAP_STOP = "%<name>s reached their $%<cap>.2f cap"
33
+ # The reason a pair turn stopped because its participant's link ended
34
+ # (revoked, expired, or the session archived).
35
+ REVOKED_STOP = "%<name>s's link was revoked or expired"
36
+
37
+ # @param engine [Engine] announces (the cap notice, :turn_dequeued,
38
+ # #watch's :participants_changed) and its metrics' spend
39
+ # @param session [Session] the worker's (its participants source, its
40
+ # Verify fresh)
41
+ # @param hook [String] the cap notice's hook name (Engine::PARTICIPANTS_HOOK)
42
+ def initialize(engine:, session:, session_id:, state_dir:, session_dir:, hook:)
43
+ @engine = engine
44
+ @session = session
45
+ @session_id = session_id
46
+ @state_dir = state_dir
47
+ @session_dir = session_dir
48
+ @hook = hook
49
+ # [author, cap] pairs the owner was told about (#cap_notice).
50
+ @cap_noticed = Set.new
51
+ end
52
+
53
+ # Why the participant +author+ ("p:<id>") may run no more turns, nil
54
+ # while they may (and for the owner): by ParticipantTurnMode, "outdated"
55
+ # for an older chi's read-only invite (an entry, or a Verify fresh child
56
+ # saved, without "pair": this chi runs no read-only turn), "revoked" when
57
+ # participants.json has no current entry for them (revoked, expired,
58
+ # never invited) or they aren't invited to this (the owner's own Verify
59
+ # fresh child), "cap_reached" once they spent their cap (its own,
60
+ # else the config's; their turns and the side requests they caused,
61
+ # Engine#metrics). The owner hears the cap once per cap (#cap_notice).
62
+ def refusal(author)
63
+ author = Steer.sender_author(author) or return nil
64
+
65
+ entry = entry(author)
66
+ case ParticipantTurnMode.of(entry: entry, session: @session, now: Time.now)
67
+ when :outdated then return "outdated"
68
+ when :revoked, :not_invited then return "revoked"
69
+ end
70
+
71
+ cap = cap(entry)
72
+ return nil if spend(author) < cap
73
+
74
+ cap_notice(author, entry, cap)
75
+ "cap_reached"
76
+ end
77
+
78
+ # Why a participant's running pair turn stops (Engine#participant_stop,
79
+ # asked before each of its generations): their link ended (revoked,
80
+ # expired, the session archived) or their cap reached
81
+ # (#refusal, which gives the owner the cap notice), else nil.
82
+ def turn_stop(author)
83
+ reason = refusal(author) or return nil
84
+
85
+ entry = entry(author)
86
+ name = label(author, entry&.name)
87
+ return format(REVOKED_STOP, name: name) if %w[revoked outdated].include?(reason)
88
+
89
+ format(CAP_STOP, name: name, cap: cap(entry))
90
+ end
91
+
92
+ # A participant's queued turn that may not start (#refusal):
93
+ # taken off the queue (:turn_dequeued, so every UI drops its bubble)
94
+ # and audited; it never runs. Its settled record (canceled, the reason)
95
+ # ends the sender's wait on it (chi send --wait, chi web's /wait).
96
+ # @param origin [TurnOrigin] a participant's
97
+ # @return [nil]
98
+ def refuse(origin, reason)
99
+ TurnCheckpoint.record_refused(@session_dir, origin.enqueued_id, reason: reason, author: origin.participant_author)
100
+ Participants.log(source_id, :turn, state_dir: @state_dir, participant: origin.participant_id,
101
+ enqueued_id: origin.enqueued_id, status: "refused", reason: reason)
102
+ @engine.announce(type: :turn_dequeued, enqueued_id: origin.enqueued_id, client_id: origin.client_id)
103
+ nil
104
+ end
105
+
106
+ # A participant invited, revoked or expired since the last look: the
107
+ # UIs hear it (Engine#announce_participants: :participants_changed).
108
+ # Between turns, at most once a fallback tick; a failure only logs.
109
+ def watch
110
+ @engine.announce_participants
111
+ rescue StandardError => e
112
+ Log.warn(:worker, "participants_watch_failed", error: e.class.name)
113
+ end
114
+
115
+ private
116
+
117
+ # +author+'s participants.json entry: this session's, a Verify fresh
118
+ # child's parent's (Session#participants_source_id); nil for none.
119
+ def entry(author)
120
+ Participants.read(source_id, state_dir: @state_dir).find { |e| Steer.author_for(e.id) == author }
121
+ end
122
+
123
+ # The session whose participants.json and audit trail this session's
124
+ # participants are in.
125
+ def source_id = @session&.participants_source_id || @session_id
126
+
127
+ # What +author+ spent against their cap: this session's metrics (live)
128
+ # and, through Verify fresh, the parent's or the children's saved ones
129
+ # (VerifyFresh.related_spend).
130
+ def spend(author)
131
+ @engine.metrics.spend(author) + VerifyFresh.related_spend(@session, author, state_dir: @state_dir)
132
+ end
133
+
134
+ # A participant's cap in dollars: their own, else the config's.
135
+ def cap(entry) = entry&.cap.is_a?(Numeric) ? entry.cap.to_f : Grants.default_cap
136
+
137
+ # A participant's cleaned name, else their id.
138
+ def label(author, name)
139
+ who = ParticipantName.clean(name)
140
+ who.empty? ? Steer.participant_id(author) : who
141
+ end
142
+
143
+ # The owner's notice that a participant reached their cap: once per
144
+ # participant and cap (a raised cap that is reached again says so again).
145
+ def cap_notice(author, entry, cap)
146
+ key = [author, cap]
147
+ return if @cap_noticed.include?(key)
148
+
149
+ @cap_noticed << key
150
+ id = Steer.participant_id(author)
151
+ @engine.announce(type: :hook_notice, hook: @hook, level: :warn, between_turns: true,
152
+ text: format(CAP_NOTICE, name: label(author, entry.name), cap: cap,
153
+ session: source_id[0, 8], id: id))
154
+ end
155
+ end
156
+ end
@@ -7,7 +7,7 @@ require_relative "log"
7
7
  require_relative "task_finish_note"
8
8
  require_relative "task_watch"
9
9
  require_relative "tool_output_cut"
10
- require_relative "tools/task_runtime"
10
+ require_relative "task_transcript"
11
11
  require_relative "worker_inbound"
12
12
  require_relative "worker_wakes"
13
13
 
@@ -117,7 +117,7 @@ module Samagotchi
117
117
  # TaskWatch::MAX_FAILURES they no longer hold the worker up): they wait
118
118
  # for the next look.
119
119
  def take_finished
120
- @watch.take_finished(keep: Tools::TaskRuntime.created_ids_in(@engine.messages_checkpoint))
120
+ @watch.take_finished(keep: TaskTranscript.created_ids_in(@engine.messages_checkpoint))
121
121
  rescue StandardError => e
122
122
  Log.warn(:worker, "task_watch_failed", error: e.class.name, msg: e.message)
123
123
  @watch.look_failed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samagotchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.172.1
4
+ version: 0.173.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dedov
@@ -580,6 +580,7 @@ files:
580
580
  - lib/samagotchi/participant_exposure.rb
581
581
  - lib/samagotchi/participant_messages.rb
582
582
  - lib/samagotchi/participant_name.rb
583
+ - lib/samagotchi/participant_prompts.rb
583
584
  - lib/samagotchi/participant_revise.rb
584
585
  - lib/samagotchi/participant_turn_mode.rb
585
586
  - lib/samagotchi/participant_uploads.rb
@@ -674,6 +675,7 @@ files:
674
675
  - lib/samagotchi/session_archive_command.rb
675
676
  - lib/samagotchi/session_chain.rb
676
677
  - lib/samagotchi/session_chain/links.rb
678
+ - lib/samagotchi/session_command_catalog.rb
677
679
  - lib/samagotchi/session_commands.rb
678
680
  - lib/samagotchi/session_config.rb
679
681
  - lib/samagotchi/session_continue.rb
@@ -711,6 +713,7 @@ files:
711
713
  - lib/samagotchi/share_terms.rb
712
714
  - lib/samagotchi/side_judgments.rb
713
715
  - lib/samagotchi/side_usage.rb
716
+ - lib/samagotchi/spawn_env.rb
714
717
  - lib/samagotchi/starting_marker.rb
715
718
  - lib/samagotchi/state_format.rb
716
719
  - lib/samagotchi/steer.rb
@@ -737,7 +740,9 @@ files:
737
740
  - lib/samagotchi/system_one/self_protect.rb
738
741
  - lib/samagotchi/system_one/similar.rb
739
742
  - lib/samagotchi/system_prompt.rb
743
+ - lib/samagotchi/task_files.rb
740
744
  - lib/samagotchi/task_finish_note.rb
745
+ - lib/samagotchi/task_transcript.rb
741
746
  - lib/samagotchi/task_watch.rb
742
747
  - lib/samagotchi/terminal_ui.rb
743
748
  - lib/samagotchi/terminal_ui/attach_launcher.rb
@@ -809,6 +814,7 @@ files:
809
814
  - lib/samagotchi/tool_declarations.rb
810
815
  - lib/samagotchi/tool_ids.rb
811
816
  - lib/samagotchi/tool_loads.rb
817
+ - lib/samagotchi/tool_names.rb
812
818
  - lib/samagotchi/tool_output_cut.rb
813
819
  - lib/samagotchi/tool_output_files.rb
814
820
  - lib/samagotchi/tool_response.rb
@@ -902,6 +908,7 @@ files:
902
908
  - lib/samagotchi/web/markdown_renderer.rb
903
909
  - lib/samagotchi/web/message_display.rb
904
910
  - lib/samagotchi/web/participant_access.rb
911
+ - lib/samagotchi/web/participant_history.rb
905
912
  - lib/samagotchi/web/participant_images.rb
906
913
  - lib/samagotchi/web/participant_review.rb
907
914
  - lib/samagotchi/web/participant_show.rb
@@ -932,6 +939,7 @@ files:
932
939
  - lib/samagotchi/web/public/bubbles.js
933
940
  - lib/samagotchi/web/public/card.js
934
941
  - lib/samagotchi/web/public/card_kinds.js
942
+ - lib/samagotchi/web/public/card_registry.js
935
943
  - lib/samagotchi/web/public/card_stamps.js
936
944
  - lib/samagotchi/web/public/cards_offscreen.js
937
945
  - lib/samagotchi/web/public/cards_place.js
@@ -1006,6 +1014,7 @@ files:
1006
1014
  - lib/samagotchi/web/public/owner_claim.js
1007
1015
  - lib/samagotchi/web/public/owner_verify.js
1008
1016
  - lib/samagotchi/web/public/participant_bar.js
1017
+ - lib/samagotchi/web/public/participant_history.js
1009
1018
  - lib/samagotchi/web/public/participant_main.js
1010
1019
  - lib/samagotchi/web/public/participant_model.js
1011
1020
  - lib/samagotchi/web/public/participant_names.js
@@ -1139,6 +1148,7 @@ files:
1139
1148
  - lib/samagotchi/web/push_routes.rb
1140
1149
  - lib/samagotchi/web/qr.rb
1141
1150
  - lib/samagotchi/web/reload_check_route.rb
1151
+ - lib/samagotchi/web/request_body.rb
1142
1152
  - lib/samagotchi/web/running.rb
1143
1153
  - lib/samagotchi/web/server.rb
1144
1154
  - lib/samagotchi/web/session_access_routes.rb
@@ -1158,9 +1168,11 @@ files:
1158
1168
  - lib/samagotchi/web/working_set_routes.rb
1159
1169
  - lib/samagotchi/worker.rb
1160
1170
  - lib/samagotchi/worker_boot.rb
1171
+ - lib/samagotchi/worker_exit_claim.rb
1161
1172
  - lib/samagotchi/worker_idle_exit.rb
1162
1173
  - lib/samagotchi/worker_inbound.rb
1163
1174
  - lib/samagotchi/worker_link.rb
1175
+ - lib/samagotchi/worker_participant_gate.rb
1164
1176
  - lib/samagotchi/worker_presence.rb
1165
1177
  - lib/samagotchi/worker_sidecar.rb
1166
1178
  - lib/samagotchi/worker_signals.rb