omp-superagent 0.1.10 → 0.1.13

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 (154) hide show
  1. package/DESIGN.md +71 -15
  2. package/README.ko.md +10 -1
  3. package/README.md +10 -1
  4. package/THIRD_PARTY_NOTICES.md +35 -436
  5. package/assets/architecture-dark.svg +7 -12
  6. package/assets/architecture.ko-dark.svg +7 -12
  7. package/assets/architecture.ko.svg +7 -12
  8. package/assets/architecture.mmd +5 -13
  9. package/assets/architecture.svg +7 -12
  10. package/config.example.json +1 -0
  11. package/docs/OPERATIONS.en.md +282 -53
  12. package/docs/OPERATIONS.md +264 -45
  13. package/docs/design/execution.md +80 -52
  14. package/docs/design/messaging.md +113 -32
  15. package/docs/releases/0.1.11.md +20 -0
  16. package/docs/releases/0.1.13.md +13 -0
  17. package/gateway/bin/omp-gateway-darwin-arm64 +0 -0
  18. package/gateway/bin/omp-gateway-darwin-x64 +0 -0
  19. package/gateway/bin/omp-gateway-linux-arm64 +0 -0
  20. package/gateway/bin/omp-gateway-linux-x64 +0 -0
  21. package/host-owner/bin/omp-host-owner-darwin-arm64 +0 -0
  22. package/host-owner/bin/omp-host-owner-darwin-x64 +0 -0
  23. package/host-owner/bin/omp-host-owner-linux-arm64 +0 -0
  24. package/host-owner/bin/omp-host-owner-linux-x64 +0 -0
  25. package/package.json +13 -11
  26. package/scripts/{prepare-ulw.ts → prepare-super.ts} +1 -1
  27. package/scripts/upgrade-evidence-files.mjs +100 -0
  28. package/scripts/upgrade-evidence.mjs +192 -0
  29. package/scripts/upgrade-host-wire.mjs +162 -0
  30. package/skills/head/SKILL.md +12 -3
  31. package/skills/head/references/routing.md +1 -1
  32. package/skills/head/references/supervision.md +23 -26
  33. package/skills/lane/SKILL.md +28 -21
  34. package/skills/lane/references/workflow.md +15 -17
  35. package/src/cli.ts +33 -53
  36. package/src/{config.ts → config/config.ts} +7 -3
  37. package/src/config/wake-config.ts +36 -0
  38. package/src/contracts.ts +61 -12
  39. package/src/{cron-jobs.ts → cron/cron-jobs.ts} +21 -13
  40. package/src/{cron-pr-intake.ts → cron/cron-pr-intake.ts} +4 -4
  41. package/src/{cron-schedule.ts → cron/cron-schedule.ts} +3 -3
  42. package/src/extension.ts +43 -25
  43. package/src/{gateway-client.ts → gateway/gateway-client.ts} +89 -32
  44. package/src/{gateway-native.ts → gateway/gateway-native.ts} +4 -4
  45. package/src/{gateway-protocol.ts → gateway/gateway-protocol.ts} +69 -14
  46. package/src/{gateway-wire.ts → gateway/gateway-wire.ts} +12 -7
  47. package/src/gateway-config.ts +1 -1
  48. package/src/gateway-restart-env.ts +3 -3
  49. package/src/{group-access.ts → group/group-access.ts} +8 -3
  50. package/src/{group-policy.ts → group/group-policy.ts} +2 -2
  51. package/src/{group-runner.ts → group/group-runner.ts} +11 -6
  52. package/src/host-extension.ts +164 -36
  53. package/src/host-sdk-helper.ts +66 -65
  54. package/src/{decision-tool.ts → lane/decision-tool.ts} +12 -4
  55. package/src/{decisions.ts → lane/decisions.ts} +12 -10
  56. package/src/{lane-models.ts → lane/lane-models.ts} +1 -1
  57. package/src/{lane-rows.ts → lane/lane-rows.ts} +2 -2
  58. package/src/{lane-watch.ts → lane/lane-watch.ts} +6 -2
  59. package/src/{workflow.ts → lane/workflow.ts} +1 -1
  60. package/src/lane-extension.ts +25 -7
  61. package/src/managed-memory-helper.ts +2 -2
  62. package/src/{managed-ulw-probe.ts → managed-super-probe.ts} +3 -3
  63. package/src/{delivery.ts → messaging/delivery.ts} +1 -1
  64. package/src/{discord-command-registration.ts → messaging/discord-command-registration.ts} +3 -2
  65. package/src/{discord-context.ts → messaging/discord-context.ts} +1 -1
  66. package/src/{messenger-command-catalog.json → messaging/messenger-command-catalog.json} +1 -0
  67. package/src/messaging/messenger-commands.ts +55 -0
  68. package/src/{result-attachment.ts → messaging/result-attachment.ts} +3 -3
  69. package/src/{slack-command-registration.ts → messaging/slack-command-registration.ts} +3 -3
  70. package/src/{telegram-command-registration.ts → messaging/telegram-command-registration.ts} +2 -2
  71. package/src/omp/head-resume.ts +123 -0
  72. package/src/{host-owner-path.ts → omp/host-owner-path.ts} +1 -1
  73. package/src/{host-protocol.ts → omp/host-protocol.ts} +10 -2
  74. package/src/{host-superkit.ts → omp/host-superkit.ts} +1 -1
  75. package/src/{host.ts → omp/host.ts} +26 -17
  76. package/src/{installed-omp.ts → omp/installed-omp.ts} +1 -1
  77. package/src/{managed-memory.ts → omp/managed-memory.ts} +2 -2
  78. package/src/{managed-ulw.ts → omp/managed-super.ts} +42 -16
  79. package/src/omp/native-journal.ts +124 -0
  80. package/src/{native-launch-profile.ts → omp/native-launch-profile.ts} +6 -2
  81. package/src/{native-presets.ts → omp/native-presets.ts} +2 -2
  82. package/src/omp/native-sessions.ts +124 -0
  83. package/src/{omp-usage.ts → omp/omp-usage.ts} +1 -1
  84. package/src/{soul.ts → omp/soul.ts} +2 -2
  85. package/src/omp/stock-head-launch.ts +31 -0
  86. package/src/{autostart.ts → operator/autostart.ts} +3 -3
  87. package/src/{operator.ts → operator/operator.ts} +2 -2
  88. package/src/{setup-judge.ts → operator/setup-judge.ts} +1 -1
  89. package/src/{setup-profiles.ts → operator/setup-profiles.ts} +2 -2
  90. package/src/{setup.ts → operator/setup.ts} +5 -5
  91. package/src/operator/stop-lane.ts +25 -0
  92. package/src/{pr-intake-automation.ts → pr/pr-intake-automation.ts} +1 -1
  93. package/src/{pr-intake-mode.ts → pr/pr-intake-mode.ts} +3 -3
  94. package/src/{pr-intake-review.ts → pr/pr-intake-review.ts} +5 -5
  95. package/src/{pr-intake-work.ts → pr/pr-intake-work.ts} +1 -1
  96. package/src/{pr-review-models.ts → pr/pr-review-models.ts} +2 -2
  97. package/src/{pr-watch.ts → pr/pr-watch.ts} +36 -26
  98. package/src/{message-order.ts → routing/message-order.ts} +1 -1
  99. package/src/{topic-history.ts → routing/topic-history.ts} +2 -2
  100. package/src/{topic-request.ts → routing/topic-request.ts} +4 -2
  101. package/src/{runtime.ts → runtime/controller.ts} +867 -1213
  102. package/src/runtime/deferred-routing.ts +106 -0
  103. package/src/runtime/dm-timeline.ts +194 -0
  104. package/src/{head-recovery.ts → runtime/head-recovery.ts} +1 -1
  105. package/src/{head-rotation.ts → runtime/head-rotation.ts} +32 -5
  106. package/src/runtime/model-journal.ts +119 -0
  107. package/src/runtime/native-frames.ts +131 -0
  108. package/src/{observation-request.ts → runtime/observation-request.ts} +1 -1
  109. package/src/runtime/preset-sync.ts +232 -0
  110. package/src/runtime/preset-watch-paths.ts +137 -0
  111. package/src/runtime/result-attachments.ts +146 -0
  112. package/src/storage/deferred-routing.ts +149 -0
  113. package/src/{store.ts → storage/store.ts} +75 -42
  114. package/src/{worker-bridge.ts → worker/worker-bridge.ts} +2 -2
  115. package/src/{worker-enrollment.ts → worker/worker-enrollment.ts} +2 -2
  116. package/src/{worker-host.ts → worker/worker-host.ts} +7 -3
  117. package/src/{worker-placement.ts → worker/worker-placement.ts} +1 -1
  118. package/src/{worker-profile.ts → worker/worker-profile.ts} +1 -1
  119. package/src/{worker-registration.ts → worker/worker-registration.ts} +2 -2
  120. package/src/{worker-request.ts → worker/worker-request.ts} +5 -5
  121. package/src/{worker-service.ts → worker/worker-service.ts} +2 -2
  122. package/src/{worker-trust.ts → worker/worker-trust.ts} +1 -1
  123. package/src/{worker-wire.ts → worker/worker-wire.ts} +3 -3
  124. package/src/worker-serve-prepare.ts +4 -4
  125. package/src/board-extension.ts +0 -217
  126. package/src/board.ts +0 -467
  127. package/src/gateway-host-helper.ts +0 -13
  128. package/src/messenger-commands.ts +0 -15
  129. package/src/native-sessions.ts +0 -34
  130. /package/src/{credentials.ts → config/credentials.ts} +0 -0
  131. /package/src/{lane-report.ts → lane/lane-report.ts} +0 -0
  132. /package/src/{dialog.ts → messaging/dialog.ts} +0 -0
  133. /package/src/{telegram-command-languages.json → messaging/telegram-command-languages.json} +0 -0
  134. /package/src/{host-broker-services.ts → omp/host-broker-services.ts} +0 -0
  135. /package/src/{host-inventory-manifest.ts → omp/host-inventory-manifest.ts} +0 -0
  136. /package/src/{host-reply-voice.ts → omp/host-reply-voice.ts} +0 -0
  137. /package/src/{host-services.ts → omp/host-services.ts} +0 -0
  138. /package/src/{native-settings.ts → omp/native-settings.ts} +0 -0
  139. /package/src/{superkit-skills.ts → omp/superkit-skills.ts} +0 -0
  140. /package/src/{repository.ts → operator/repository.ts} +0 -0
  141. /package/src/{pr-github-schema.ts → pr/pr-github-schema.ts} +0 -0
  142. /package/src/{pr-github.ts → pr/pr-github.ts} +0 -0
  143. /package/src/{pr-intake-comment.ts → pr/pr-intake-comment.ts} +0 -0
  144. /package/src/{pr-intake-fix.ts → pr/pr-intake-fix.ts} +0 -0
  145. /package/src/{pr-intake-github.ts → pr/pr-intake-github.ts} +0 -0
  146. /package/src/{pr-intake-material.ts → pr/pr-intake-material.ts} +0 -0
  147. /package/src/{pr-intake-tree.ts → pr/pr-intake-tree.ts} +0 -0
  148. /package/src/{head-quota.ts → runtime/head-quota.ts} +0 -0
  149. /package/src/{worker-checkout.ts → worker/worker-checkout.ts} +0 -0
  150. /package/src/{worker-destination.ts → worker/worker-destination.ts} +0 -0
  151. /package/src/{worker-doctor.ts → worker/worker-doctor.ts} +0 -0
  152. /package/src/{worker-ledger.ts → worker/worker-ledger.ts} +0 -0
  153. /package/src/{worker-repository.ts → worker/worker-repository.ts} +0 -0
  154. /package/upstream/{ulw.json → super.json} +0 -0
@@ -23,8 +23,8 @@ the worker launches the stock Host and owns its Unix socket, processes and nativ
23
23
  journal. An SSH disconnect is client detach, not cancellation, an exit receipt,
24
24
  or authority to reassign work. Open and attachment are separate from sending
25
25
  the first input. A pending or ambiguous launch must be reconciled on that
26
- worker, never retried on another machine. Remote PIDs and session paths are not
27
- local filesystem or board identities. See [worker enrollment](../OPERATIONS.en.md#add-a-remote-worker).
26
+ worker, never retried on another machine. Remote PIDs and session paths do not
27
+ identify local processes or files. See [worker enrollment](../OPERATIONS.en.md#add-a-remote-worker).
28
28
 
29
29
  When several workers qualify, placement accounts for both reported free slots
30
30
  and head assignments waiting to start. Concurrent admissions reserve their
@@ -69,12 +69,19 @@ handoffs and their internal reports use English. No lane gains messenger
69
69
  credentials. Distinguish dispatch acceptance, actual execution, native
70
70
  settlement, verified acceptance criteria, and user delivery.
71
71
 
72
- The [`lane_report` tool](../../src/lane-extension.ts) records evidence in the
72
+ ### Direct lane coordination
73
+
74
+ The [`lane_report` tool](../../src/lane-extension.ts) records observations in the
73
75
  native journal. It hashes selected files in bounded chunks, verifying their identity
74
- and metadata before accepting the digest, or hashes successful tool results. Duplicate
76
+ and metadata before accepting the digest, or hashes successful work tool results.
77
+ Tracked decisions and other coordination receipts are not work evidence. Duplicate
75
78
  content and repeated waits do not refresh evidence timestamps; ordinary
76
79
  commentary is not verification. Resolve only the exact tool/approval/job or
77
- dependency wait. Lane observation reads request only the entries appended
80
+ dependency wait. Direct-topic observations are inspectable and do not notify HEAD.
81
+ Changed manager-handoff evidence or wait transitions are queued for HEAD as
82
+ nonterminal observations. Queueing does not guarantee a new model turn or a
83
+ messenger message.
84
+ Lane observation reads request only the entries appended
78
85
  after the source-bound journal cursor (`get_entries` with `since`). A missing
79
86
  cursor fails the observation rather than replaying another request's history.
80
87
  When only a starting position is needed, the managed owner waits for its queued
@@ -83,7 +90,24 @@ Already-running owners without that capability keep using their stock response.
83
90
  Ownership and outcome checks that need the full journal still read it. The
84
91
  runtime exposes observation timestamps and `ownerCurrent`, not a guarantee
85
92
  that a reported dependency is still live. Native children cannot use the
86
- manager, report as the lane, or access the board.
93
+ manager, report as the lane, or request tracked decisions.
94
+
95
+ A manager handoff returns its final result to HEAD for review. State a blocking
96
+ conflict in that result if no authorized work remains. If HEAD needs to choose
97
+ between in-scope options (for example, which lane owns a shared edit),
98
+ use [`decision_ask({to:"head", questions:[…]})`](messaging.md#approvals-and-owner-decisions)
99
+ even from a bound topic. It immediately queues one durable review of the same
100
+ pending native dialog. Omitting `to` keeps the default: a topic-owned question
101
+ goes directly to its authorized topic; a manager-handoff question goes to HEAD.
102
+ HEAD answers with an original option or escalates the same card on its original
103
+ route via `lane_review_decision`. Do not use a decision to change scope or
104
+ grant native approvals. If a standalone bound-topic owner message explicitly
105
+ supersedes the assignment, use the isolated scope-review procedure below.
106
+ An explicit HEAD-directed question on the resulting corrective assignment is
107
+ cancelled privately, not rerouted to the owner.
108
+ HEAD uses `lane_message` for a specific authorized follow-up; neither an
109
+ observation nor a decision supplies fresh dispatch authority. Do not poll or
110
+ schedule a model just to check for updates.
87
111
 
88
112
  ### Bound-topic assignment scope review
89
113
 
@@ -157,7 +181,7 @@ fenced; the report does not authorize a replay or a move to another lane.
157
181
 
158
182
  ## Execution budget and Host lifecycle
159
183
 
160
- [`maxHosts`, `maxSubagents`, and `idleMs`](../../src/config.ts) are explicit
184
+ [`maxHosts`, `maxSubagents`, and `idleMs`](../../src/config/config.ts) are explicit
161
185
  operator inputs. `maxHosts` includes the head; the per-Host native child
162
186
  concurrency budget is `floor(maxSubagents / maxHosts)`. This bounds configured
163
187
  execution concurrency, not machine memory, CPU or provider spend. Lanes wait
@@ -165,6 +189,11 @@ durably when slots are full. Prioritize authorized follow-ups; approval and
165
189
  stop controls remain reachable. A queued lane, a resident Host, an active turn
166
190
  and an accepted work result are different states.
167
191
 
192
+ The separate [`headIdleMs` policy](../../DESIGN.md#idle-head-hibernation) can
193
+ unload HEAD when there are no resident lanes or controller obligations. It
194
+ does not reassign the HEAD slot to a lane. The Gateway retains admission,
195
+ not model or lane authority; waking resumes the same journal.
196
+
168
197
  Each resident lane is an independent OMP process. Detaching the head's control
169
198
  connection or replacing the head does not end that process. Reconnect only to
170
199
  the matching owned socket, PID, native session ID/file and execution generation.
@@ -190,7 +219,18 @@ persists its launch fence immediately before the manifest is sent, so a refusal
190
219
  before then still releases the slot. Discovery and preparation have separate deadlines.
191
220
  A descendant holding output open cannot extend those deadlines. The owner invokes short-lived
192
221
  SDK helpers for operations that depend on stock semantics, including fitting a withdrawn
193
- queue and verifying journal persistence after exit. On the private v2 interrupt channel,
222
+ queue. The Gateway reads the [session header](../../native-journal/header.rs) itself.
223
+ After its child exits, the [Rust owner](../../host-owner/src/exit_receipt.rs) verifies
224
+ the journal and publishes the exit receipt without starting Bun or loading an SDK.
225
+ The [resident worker](../../src/omp/native-journal.ts) still reads a header in process.
226
+ Only the first physical line, with
227
+ surrounding whitespace trimmed, may be a title slot. Before the session header
228
+ only JSON whitespace is skipped, not a UTF-8 BOM. Identity lookup stops at the
229
+ header; it does not attest to the body. Exit verification checks the entire
230
+ journal and the owner's expected observations. A BOM before a JSON record is
231
+ invalid regardless of read boundaries; a U+FEFF inside a JSON string is data.
232
+ An incomplete or malformed journal is not proof of a settled exit.
233
+ On the private v2 interrupt channel,
194
234
  queue restoration uses the SDK's reassembled-frame byte limit: this is the value of
195
235
  [`maxResponseBytes` in OMP 19.0](https://github.com/can1357/oh-my-pi/blob/v19.0.0/packages/coding-agent/src/modes/rpc/rpc-frame.ts#L341-L347)
196
236
  and [`maxIntactFrameBytes` in 19.1](https://github.com/can1357/oh-my-pi/blob/v19.1.0/packages/coding-agent/src/modes/rpc/rpc-frame.ts#L341-L347).
@@ -218,7 +258,7 @@ The [Host extension](../../src/host-extension.ts) uses the exact registered
218
258
  where available, or the older public `hasPendingAsyncWork()` where appropriate;
219
259
  owned services, child work and unconfirmed completions still need separate
220
260
  checks. The configured CLI's advertised process interface selects the read-only
221
- [OMP 18 broker](../../src/host-broker-services.ts) or [OMP 19 daemon](../../src/host-services.ts)
261
+ [OMP 18 broker](../../src/omp/host-broker-services.ts) or [OMP 19 daemon](../../src/omp/host-services.ts)
222
262
  observation path. Do not start or take over their services, treat probe failure
223
263
  as an empty result, or invent native service generations for old broker records.
224
264
  A terminal service row is not confirmation that its native completion was
@@ -248,7 +288,7 @@ the validated successor. A failure to write at that point fails the restart;
248
288
  it does not restart the predecessor or activate adapters. Head and lane extension
249
289
  composition must be valid before either launch can persist a fallback.
250
290
 
251
- The [guarded native writer](../../src/native-settings.ts) rechecks the expected
291
+ The [guarded native writer](../../src/omp/native-settings.ts) rechecks the expected
252
292
  configuration under the native lock, preserves unrelated settings, and reads
253
293
  back the effective value. It does not overwrite stale values, higher-priority
254
294
  disables or unsets, or unverified legacy/unknown settings. If enabled memory
@@ -258,12 +298,12 @@ still specifically requires an active, searchable Mnemopi backend on the head.
258
298
 
259
299
  ### Native discovery and resume
260
300
 
261
- [Native discovery](../../src/native-sessions.ts) publishes symlinks to the
301
+ [Native discovery](../../src/omp/native-sessions.ts) publishes symlinks to the
262
302
  original journal and artifact directory in the active profile's native project
263
303
  bucket. It does not copy transcripts, transfer a writer lease or wake unloaded
264
304
  lanes. Use normal OMP discovery and `/resume`; native rules govern concurrent
265
- writers and forks. An ordinary resume gets no manager or board authority and
266
- is not attachment to the running managed Host.
305
+ writers and forks. An ordinary resume does not load managed role extensions or
306
+ attach to the running managed Host.
267
307
 
268
308
  ### Goal continuity
269
309
 
@@ -283,7 +323,7 @@ resumes an eligible head goal as described in the [restart contract](../../DESIG
283
323
 
284
324
  ## Models and presets
285
325
 
286
- [`lane_models`](../../src/lane-models.ts) derives the shortlist from native
326
+ [`lane_models`](../../src/lane/lane-models.ts) derives the shortlist from native
287
327
  availability and exact provider/model IDs. Model capabilities and prices are
288
328
  catalogue fields, not measured quality, total cost or permission to spend.
289
329
  The [model-selection skill](../../skills/head/references/model-selection.md)
@@ -293,7 +333,7 @@ unavailability or failure without inventing a receipt or switching providers.
293
333
  Judge usage is native. Runtime enforces exact selection, availability and reason,
294
334
  not a mandatory judge call.
295
335
 
296
- At startup, [preset initialization](../../src/native-presets.ts) inspects native
336
+ At startup, [preset initialization](../../src/omp/native-presets.ts) inspects native
297
337
  `high`, `middle`, `low` presets. If needed the existing head gets one tracked
298
338
  bootstrap turn; do not repeat an uncertain turn after reconnect or restart.
299
339
  Create only missing presets and verify native readback before ordinary work
@@ -363,6 +403,17 @@ default roles/thinking; ordinary head and lane changes leave global configuratio
363
403
  and other lanes alone. Native preset bootstrap/refresh and native auth updates
364
404
  have separate scopes.
365
405
 
406
+ `/fast` displays the current mode and opens a menu on shared HEAD, even while
407
+ busy. A change requires Confirm on the original sent card and the same HEAD
408
+ session, generation, model and selected mode shown as current when it opened.
409
+ HEAD must be idle to change the active model family's tier; the owner serializes it as
410
+ maintenance, and the extension uses native `AgentSession` fast/ultrafast
411
+ controls and flushes the native journal. These APIs were checked in the
412
+ [pinned OMP SDK](../../DESIGN.md#stock-omp-and-verification-scope). No lane, global default
413
+ or provider request is involved. Readback distinguishes the selected mode
414
+ from whether OMP can use a fast tier for the current model, not whether a
415
+ provider accepted it. Uncertain mutations are held, not replayed.
416
+
366
417
  Argumentless `/model` and `/effort` use the same read-only native catalogue and
367
418
  effort capabilities to construct menus. A selection is a new owner control on
368
419
  the original topic, not a model turn or native approval. The head validates
@@ -371,7 +422,7 @@ also requires the model for which the options were shown.
371
422
 
372
423
  ## Owner-facing reply voice
373
424
 
374
- [SOUL](../../src/soul.ts) is an instance-wide presentation preference, not a
425
+ [SOUL](../../src/omp/soul.ts) is an instance-wide presentation preference, not a
375
426
  role, workflow, or OMP profile. The default and the one saved override use
376
427
  bounded choices for presentational concept (plain, editorial, or mentoring),
377
428
  tone, register, detail, answer order, and emoji. The HEAD
@@ -425,7 +476,7 @@ may select a method inside an already authorized objective without claiming the
425
476
  operator selected it. Read the installed skill and preserve its approval and
426
477
  artifact ownership requirements.
427
478
 
428
- [Workflow dispatch](../../src/workflow.ts) binds each choice to the original
479
+ [Workflow dispatch](../../src/lane/workflow.ts) binds each choice to the original
429
480
  source and an explicit `workflow: {name, reason}` on every workflow-selecting
430
481
  `lane_start` or `lane_message`, even when forwarding a user selection. A brief
431
482
  or report is not the selection field. Preserve the original text and native
@@ -467,15 +518,15 @@ does not stand in for its missing canonical command.
467
518
 
468
519
  ## Managed omp-superkit integration
469
520
 
470
- [Preparation](../../scripts/prepare-ulw.ts) runs during `postinstall` or
521
+ [Preparation](../../scripts/prepare-super.ts) runs during `postinstall` or
471
522
  `bun run prepare:ulw`, even if OMP is not installed. The
472
- [declared remote](../../upstream/ulw.json) is the official `omp-superkit`
473
- repository. [Managed installation](../../src/managed-ulw.ts) and duplicate
523
+ [declared remote](../../upstream/super.json) is the official `omp-superkit`
524
+ repository. [Managed installation](../../src/omp/managed-super.ts) and duplicate
474
525
  detection recognize both `omp-superkit` and the legacy `omp-ulw` package ID.
475
526
 
476
527
  Stage the observed revision and its dependencies in a project-owned immutable
477
528
  package. Ignore arbitrary dependency lifecycle scripts; run defined
478
- materialization and an [offline native prompt-composition probe](../../src/managed-ulw-probe.ts)
529
+ materialization and an [offline native prompt-composition probe](../../src/managed-super-probe.ts)
479
530
  for ordinary and explicitly activated operation. For the canonical layout the probe
480
531
  checks that the hook uses the canonical directive and pointer paths and that native
481
532
  discovery resolves both canonical skills and legacy aliases. An older revision
@@ -505,7 +556,7 @@ discarding custom commands or enabling disabled extensions.
505
556
 
506
557
  ## Scheduled work and PR observation
507
558
 
508
- - [Cron jobs](../../src/cron-jobs.ts) run through the head's existing maintenance
559
+ - [Cron jobs](../../src/cron/cron-jobs.ts) run through the head's existing maintenance
509
560
  loop, not a Gateway scheduler or a second agent. `/cron` is a code-handled
510
561
  control scoped to the original owner's full route. `cron_create` requires
511
562
  an explicit request in the current admitted owner turn and the native tool
@@ -528,7 +579,7 @@ discarding custom commands or enabling disabled extensions.
528
579
  than forwarded to a model, and queued shell output is not sent. Verify any
529
580
  previously started legacy run on its original host before resolving it.
530
581
  See the [operator reference](../OPERATIONS.en.md#scheduled-jobs-cron) for syntax and controls.
531
- - [Repository PR intake](../../src/cron-pr-intake.ts) is a typed cron job, not
582
+ - [Repository PR intake](../../src/cron/cron-pr-intake.ts) is a typed cron job, not
532
583
  an executable prompt. Only original configured-owner Discord guild parent
533
584
  controls enroll a repository. Discovery pins the authenticated GitHub owner
534
585
  and repository, filters old/self-authored PRs, and records each offer before
@@ -539,18 +590,21 @@ discarding custom commands or enabling disabled extensions.
539
590
  lane; it is not owner input and cannot serve as a source for manager tools.
540
591
  No ordinary scheduled prompt, observed PR text or model answer grants authority.
541
592
  Older discovery-only registrations remain manual until the owner opts in.
542
- [Review control](../../src/pr-intake-review.ts) binds subsequent actions to
593
+ [Review control](../../src/pr/pr-intake-review.ts) binds subsequent actions to
543
594
  that lane, route, enrollment epoch, review input, delivered answer and SHA.
544
595
  Static review uses a trusted workspace without a contributor checkout. Unlike
545
596
  ordinary coding lanes, this restricted local Host must attest a tool-less
546
597
  session on a supported native provider before the controller submits patch
547
- data. It does not need manager, coordination, shell or editing tools. Fix
598
+ data. The stock launch explicitly selects an empty built-in tool list
599
+ (`--tools=`) and loads only the trusted lifecycle extension. Activation then
600
+ checks the native tool sets before admission. No manager, coordination,
601
+ shell or editing tools are available. Fix
548
602
  proposals and merge verdicts are data, not standing write authority. Each
549
603
  effect checks the enrolled repository, original route and policy revision;
550
604
  higher stages require an explicit policy or a fresh SHA-bound owner command.
551
605
  An uncertain write permits read-only reconciliation, not resubmission. See [operator commands
552
606
  and supported GitHub protections](../OPERATIONS.en.md#reviewing-new-external-prs-cron-pr-add).
553
- - [PR watch](../../src/pr-watch.ts) reads only explicitly registered GitHub PRs
607
+ - [PR watch](../../src/pr/pr-watch.ts) reads only explicitly registered GitHub PRs
554
608
  through existing `gh` authentication and GETs. Establish a quiet baseline,
555
609
  then record changed observations and their cursor together. Work only while
556
610
  the head runtime is available; a watch cannot recover every remote event
@@ -567,29 +621,3 @@ discarding custom commands or enabling disabled extensions.
567
621
  An unloaded Host, an empty socket, and an `agent_end` event are not proof
568
622
  that the work stalled or finished. Clear observation requests may route to
569
623
  HEAD from a bound thread. Routing text alone changes no subscription.
570
-
571
- ## Shared information board
572
-
573
- The [board extension](../../src/board-extension.ts) checks the canonical
574
- instance and current native session ID, file, PID and applicable lane generation
575
- against managed registration for every access or notice. Role environment
576
- alone is insufficient. Standalone resumes, other instances, stale/unloaded
577
- Hosts and native children are excluded. A connected paused lane remains a
578
- participant. The runtime assigns the actor and deduplicates posts by native
579
- session and tool-call ID.
580
-
581
- `board_post`, `board_read`, and `board_subscribe` operate on `general` and
582
- `repo:<canonical absolute path>` channels. Subscribers are per native session;
583
- all registered participants can read all channels in the instance, so channels
584
- are not ACLs. Mark only the exact IDs returned by `board_read`; a reply does
585
- not mark its parent read. Keep notice cursors separate from read receipts.
586
-
587
- Registered head and lane roots receive header-only notices at native context
588
- boundaries. Lane posts are eligible for head notices; lanes receive notices
589
- for subscriptions and explicit mentions. An idle head can display an event-driven
590
- native notice with `triggerTurn: false`; idle lanes wait until their next
591
- authorized turn. A notice is not a model wake,
592
- read confirmation, actor impersonation, command, approval or evidence of
593
- completion. No self-wake, read-ACK loop or unloaded lane activation. Use
594
- durable lane reports for actual outcomes; the board cannot supply an external
595
- messenger route.
@@ -7,7 +7,7 @@
7
7
  The [native Gateway](../../gateway/src/main.rs) owns credentials, the
8
8
  [adapter hub](../../gateway/src/adapter.rs), remote connections and authenticated
9
9
  messenger effects. At least one adapter is required; all configured adapters run
10
- together. The [head runtime](../../src/runtime.ts) owns conversation routing and
10
+ together. The [head runtime](../../src/runtime/controller.ts) owns conversation routing and
11
11
  approval handling. It uses the Gateway's typed local Messenger interface, not
12
12
  platform SDKs, arbitrary URLs or a generic RPC tunnel.
13
13
 
@@ -48,8 +48,19 @@ The Gateway records pending owner-message candidates before advancing the
48
48
  Discord WebSocket sequence. Until it verifies the sender and route, it keeps
49
49
  only lookup coordinates and revision evidence, not message or attachment
50
50
  content. A reply lookup can be retried; it must not substitute a newer edit
51
- or replay a voice command. The head pins a failed Discord history scan to its
52
- original cursor so that later live messages cannot hide the missed interval.
51
+ or replay a voice command.
52
+
53
+ Waking HEAD on the same connected Gateway drains the durable inbox in order;
54
+ it does not start a baseline history sweep. On a fresh Gateway, HEAD pins
55
+ known authorized cursors before intake. The startup history request goes behind
56
+ existing ingress, subject to the initial approval barrier. Each Discord or Slack
57
+ transport gap carries its own exclusive history cutoff, even if HEAD processes
58
+ it much later. A failed read keeps that gap in its inbox position and retries
59
+ only the unfinished pinned routes, including after HEAD replacement. A live
60
+ receipt keeps its original place relative to slash commands. A distinct history
61
+ revision of that pending message stays in the durable inbox after the original,
62
+ where it can inherit the original physical route and logical topic. Already
63
+ admitted inputs and their external effects are not executed again.
53
64
 
54
65
  ### Account presence
55
66
 
@@ -101,12 +112,14 @@ be sent to the configured group model. Do not authorize a private repository
101
112
  or provider that should not see this data.
102
113
 
103
114
  Stock OMP can expand inline file references even with no tools enabled. The
104
- [restricted runner](../../src/group-runner.ts) therefore sends group input as
115
+ [restricted runner](../../src/group/group-runner.ts) therefore sends group input as
105
116
  JSON-quoted data with file-reference characters escaped. A fresh private
106
117
  profile and scratch cwd exclude owner settings and session context; worktree
107
- access goes only through the dedicated file tools. Process exit alone is not
108
- a successful group turn: the runner also requires a matching terminal native
109
- result.
118
+ access goes only through the dedicated file tools. Group chat uses native
119
+ `--no-tools`; group work uses an exact trusted extension and explicitly selects
120
+ its three tools because stock OMP disallows extensions with `--no-tools`.
121
+ Process exit alone is not a successful group turn: the runner also requires a
122
+ matching terminal native result.
110
123
 
111
124
  ## Durable admission and recovery
112
125
 
@@ -142,13 +155,15 @@ deduplicates the original event and any distinct edit revision. A permanent deni
142
155
  may be recorded as rejected; handler, store or transport failures do not turn an
143
156
  unresolved event into a denial. Preserve pending order and recover connectivity
144
157
  with bounded backoff. A held event does not block the initial approval recovery
145
- barrier or selected priority owner controls (`/restart`, `/stop`, `/stop head`);
146
- ordinary intake keeps its order. After the first approval barrier, a head outage
158
+ barrier or selected priority owner controls (`/restart`, `/stop`, `/stop head`).
159
+ During a hold the Gateway selects the barrier first, otherwise the earliest
160
+ eligible control, without reading ordinary message bodies. Ordinary intake
161
+ keeps its order. After the first approval barrier, a head outage
147
162
  does not close Gateway admission. Reconnecting does not replay already submitted work.
148
163
 
149
164
  The head receipt does not wait for a [historical topic search](#topic-routing-and-controls),
150
165
  which may read large native journals. An input that needs one is appended to a
151
- durable deferred-routing queue in the coordination store (`intake:deferred-routing`),
166
+ durable deferred-routing queue in the coordination store (one ordered row per input),
152
167
  receipted, and then searched and admitted in the background. Until it is admitted,
153
168
  later ordinary inputs of the same physical channel or DM (including its threads
154
169
  and logical topics) queue behind it; other conversations are not held. A
@@ -165,19 +180,52 @@ it; other lanes' work is independent. A pending queued
165
180
  choice fences the automatic history choice like an unreceipted Gateway event. A
166
181
  failed admission stays first in its conversation and is retried with bounded
167
182
  backoff; a permanent denial is dropped. The queue survives a restart and resumes
168
- in order once intake is ready.
183
+ in order once intake is ready. On first opening an older store, HEAD migrates the
184
+ previous `intake:deferred-routing` array in order and removes it in the same
185
+ transaction. Do not downgrade a migrated instance with deferred inputs pending.
169
186
 
170
187
  Telegram persists its per-bot offset after admission and acknowledges it with the
171
188
  next `getUpdates`. There is no Bot API history fetch; recovery cannot exceed its
172
189
  24-hour update retention. Omit the previous offset after 24 hours of inactivity,
173
190
  missing/invalid observation time or clock rollback. Stable message and
174
191
  callback-query identities, not a presumed globally monotonic update ID, deduplicate
175
- redeliveries and approval progress.
192
+ redeliveries and approval progress. If command normalization changed between
193
+ admission and redelivery, the Gateway also checks the exact earlier projection
194
+ of that same incoming message. A match keeps the first receipt and lets polling
195
+ advance; a changed payload under the same identity remains a conflict.
196
+ Telegram code, preformatted text and blockquotes can contain command examples:
197
+ a slash verb inside one is literal text, not an owner control. Formatting only
198
+ the arguments does not disable an otherwise valid command.
199
+
200
+ ### HEAD replies while jobs are running
201
+
202
+ A completed HEAD prompt with a final answer can release its messenger request
203
+ at a native yielded pause. The managed Host must attest that all remaining
204
+ wakes are running root jobs, and the controller must have observed each job's
205
+ launch under this or a previously released request. Another owner prompt can
206
+ enter using fresh state and journal evidence. The native session remains
207
+ busy for restart, reaping, recovery, and model maintenance; the jobs keep
208
+ running.
209
+
210
+ Before release the controller persists the job, its observed launch call and original
211
+ input under the exact HEAD generation, session, PID and SDK instance. Reattachment
212
+ uses the original request’s journal cursor and matching launch to recover missed receipts without replaying
213
+ a prompt or sending an unverified assistant reply. A restart fence delays messenger
214
+ delivery, not the durable recording of a completion.
215
+
216
+ Structured completion IDs link a later job turn to its originating request
217
+ and route. A standalone reply for one proven origin uses the durable outbox
218
+ for that origin. If a completion is folded into another conversation's
219
+ foreground turn, the controller sends the attributable native result to the
220
+ job's origin, not the mixed assistant text. A foreground answer observed
221
+ before the foreign completion is still sent to its own conversation. If a
222
+ native batch cannot be split by origin, only individually identified job
223
+ receipts are sent.
176
224
 
177
225
  ### Uncertain submissions
178
226
 
179
227
  Do not replay an ambiguous native prompt, approval response or external mutation.
180
- [HEAD recovery](../../src/head-recovery.ts) can run a separate, evidence-bound
228
+ [HEAD recovery](../../src/runtime/head-recovery.ts) can run a separate, evidence-bound
181
229
  reconciliation turn in the existing head under a native tool gate. The model may
182
230
  propose `release` or `hold` through `head_recovery`; code rechecks the exact
183
231
  request/session/file/generation, native `rpc_prompt_result` and run boundaries,
@@ -319,7 +367,8 @@ See the [operations guide](../OPERATIONS.en.md#4-commands-and-daily-use) for com
319
367
  or `Do the login check in a new thread`. If the operator sends only
320
368
  `이건 따로 빼줘` or `Split this into a new thread`, the controller asks them to
321
369
  name the task with `/new` instead of creating a topic. Natural split
322
- directives apply only to original owner messages in physical Discord work
370
+ directives preserve an explicit `cwd:` header, including spaces inside path
371
+ quotes. They apply only to original owner messages in physical Discord work
323
372
  threads, not edits, quoted text or attachments. DM and other adapters retain
324
373
  their existing topic behavior.
325
374
  - `/head <request>` explicitly addresses the shared coordination model (Slack:
@@ -375,12 +424,30 @@ See the [operations guide](../OPERATIONS.en.md#4-commands-and-daily-use) for com
375
424
  | Telegram | Ordinary slash messages and owner-scoped menus keep real message IDs. Normalize only actual bot-command entities addressed to this bot; ignore commands addressed to other bots. Native topics require eligible forum supergroups or topic-enabled private chat; group topic creation needs the granted capability. |
376
425
  | Slack | Ordinary `!...` messages and registered `/superagent-*` commands use Socket Mode. Slash commands have no message `ts`: deduplicate with a token-free scoped invocation fingerprint; anchor topic boundaries to the last durably admitted real owner message and use admission order on the same anchor. Do not persist trigger/response tokens or invent a timestamp. Use real root messages for threads, never nested threads. |
377
426
 
378
- [Command definitions](../../src/messenger-commands.ts) are shared. Menu registration
427
+ [Command definitions](../../src/messaging/messenger-commands.ts) are shared. Menu registration
379
428
  is a separate explicit apply, not a side effect of setup, doctor or start. Command
380
429
  intake must not wait for a model; Discord's ephemeral admission reply and Slack's
381
430
  Socket Mode acknowledgement are not the actual command result.
382
431
 
383
- The head sends model, effort, and saved-reset menus through its normal outbox. The Gateway
432
+ Discord application commands take arguments in the registered `text` option.
433
+ For commands with fixed tokens, repeated spaces and tabs are separators, not
434
+ part of an identifier. Prompt bodies and multiline compaction instructions are
435
+ not split into words. Ordinary Slack command arguments decode Slack's three
436
+ mrkdwn entities once; registered slash payloads are already plain text. HEAD,
437
+ its initial lane handoff and exact `attach:` path verification use the same
438
+ decoded arguments. Later `lane_message` instructions are HEAD-authored text,
439
+ not Slack input. Neither interpretation changes the original receipt used for
440
+ redelivery.
441
+
442
+ `/fast` is an owner control on the shared HEAD, even from a bound topic.
443
+ It opens an argumentless menu showing the current mode (`off`, `on` or `ultra`).
444
+ Choosing a mode displays the proposed change and Confirm, Back and Cancel.
445
+ Only Confirm on that revision admits a change; Back and Cancel change no
446
+ settings. The result goes to the original route. Slack accepts `!fast` and
447
+ registered `/superagent-fast`. Text arguments cannot bypass the confirmation,
448
+ and edits cannot open the menu.
449
+
450
+ The head sends model, effort, fast and saved-reset menus through its normal outbox. The Gateway
384
451
  renders native components and binds each click to the owner, exact sent card,
385
452
  physical conversation, and displayed page. Navigation and cancellation only
386
453
  edit the card. One final click admits an ordinary durable control receipt on
@@ -459,7 +526,7 @@ defers reconciliation and rechecks current state before the next write;
459
526
  an ambiguous write is not retried.
460
527
 
461
528
  `/help`, `/status`, `/context` and `/usage` are code-handled reads with no model turn.
462
- [`/usage`](../../src/omp-usage.ts) invokes the configured executable and
529
+ [`/usage`](../../src/omp/omp-usage.ts) invokes the configured executable and
463
530
  profile with `usage --json --redact`, so OMP discovers built-in and extension-provided
464
531
  usage sources. Both usage and reset preserve explicit `--no-extensions`,
465
532
  `--extension`, `--hook` and `--config` inputs from the configured launch command.
@@ -504,20 +571,34 @@ the native request and direct the operator to the appropriate local UI.
504
571
  OMP 19.1 sends a built-in `ask` as one HTML `form`. The stdio owner cancels
505
572
  that exact request because the messenger adapters do not render arbitrary HTML;
506
573
  it does not forward the HTML, submit defaults or wait for a connected head.
507
- [`decision_ask`](../../src/decision-tool.ts) uses the separate native `askDialog`; it is not a
508
- parallel approval engine. [Decision records](../../src/decisions.ts) link the
574
+ [`decision_ask`](../../src/lane/decision-tool.ts) uses the separate native `askDialog`; it is not a
575
+ parallel approval engine. [Decision records](../../src/lane/decisions.ts) link the
509
576
  native tool call, original source and original question/card. `answering` is an
510
- attempt, not the `answered` state confirmed by native settlement. A topic-owned
511
- question goes to the authorized topic directly; it does not wake the coordination
512
- model. An unowned native dialog after reconnect is held if its original topic
513
- cannot be verified. A manager-delegated lane's question goes to head review first. For a routine reversible
514
- choice within the assignment, the head returns an original option to the lane
515
- and records the reason internally, without a separate messenger message. When
516
- the owner must decide, the original card shows why their decision is needed
517
- alongside the unchanged questions and choices. Recommendations are not
518
- preselected. This is not authority to grant tool permission or manufacture user
519
- consent. Recommendation, silence, normal text, quotes and reports are not
520
- approval.
577
+ attempt, not the `answered` state confirmed by native settlement. By default,
578
+ a topic-owned question goes directly to the authorized topic without waking
579
+ the HEAD model, and a manager-handoff question goes to HEAD first. A root lane
580
+ can explicitly set `to: "head"` for an in-scope coordination choice even from
581
+ a bound topic. On admission of the valid source, the controller immediately
582
+ queues one durable HEAD review tied to the same pending native lane dialog.
583
+ Queueing is not an answer or a guarantee of when HEAD will reply. An unowned
584
+ native dialog after reconnect is held if its original topic cannot be verified.
585
+ Corrective assignments retain owner-only routing: an explicit `to: "head"`
586
+ question is refused and cancelled privately, not shown to the owner.
587
+
588
+ The isolated HEAD review permits only `lane_review_decision` for that dialog.
589
+ For a routine reversible choice shown to be within the assignment, HEAD
590
+ returns an original option to the lane and records the reason internally,
591
+ without a separate messenger message. When the owner must decide or the
592
+ supplied evidence cannot establish scope, HEAD escalates that same dialog;
593
+ the original route gets the card with the unchanged questions and choices
594
+ and the reason for escalation. If HEAD stops during an existing regular
595
+ review, the controller may escalate that exact pending dialog to the original
596
+ owner. This fallback does not apply to refused corrective-assignment questions.
597
+ Recommendations are not preselected. This path does not change assignment
598
+ scope, grant tool permission or manufacture user consent. Use the
599
+ [source-bound scope review](execution.md#bound-topic-assignment-scope-review)
600
+ for a conflicting original owner correction. Recommendation, silence, normal
601
+ text, quotes and reports are not approval.
521
602
 
522
603
  ## Content and delivery
523
604
 
@@ -528,7 +609,7 @@ approval.
528
609
  message. Do not retry an ambiguous send or attachment upload.
529
610
  - Quoted/replied content and Discord channel context are observations, not
530
611
  commands. Snapshot a reference at first admission; a later edit or deletion
531
- does not change that snapshot. [Discord purpose notes](../../src/discord-context.ts)
612
+ does not change that snapshot. [Discord purpose notes](../../src/messaging/discord-context.ts)
532
613
  are local scoped context tied to a real owner input, not channel mutations
533
614
  or authority to choose a repository or dispatch work.
534
615
  - Resolve Telegram and Slack file references through original authorized
@@ -574,7 +655,7 @@ approval.
574
655
  column labels and each row's values on separate lines. This leaves links,
575
656
  emphasis and inline code available to Discord's Markdown renderer and lets
576
657
  prose wrap naturally. Existing code blocks and stored output are unchanged.
577
- [Delivery classification](../../src/delivery.ts) distinguishes
658
+ [Delivery classification](../../src/messaging/delivery.ts) distinguishes
578
659
  definite rejection from uncertainty across the IPC boundary.
579
660
  - Receipt/working reactions are best-effort decorations bound to the real
580
661
  source message. They neither delay nor prove admission, execution or delivery.
@@ -0,0 +1,20 @@
1
+ # omp-superagent 0.1.11
2
+
3
+ - **Idle HEADs can release memory.** After 30 minutes of verified inactivity, HEAD and its Host owner can exit while the Rust Gateway keeps receiving messages. The next request wakes the same session. Set `headIdleMs` to `0` to keep HEAD resident if first-response latency matters more.
4
+ - **Wake preserves the session and its service tier.** The Gateway checks the native profile, journal, model route and service tier before releasing queued messages. If the configuration changes during wake, restoring its exact bytes lets the same controller continue without resending the request.
5
+ - **Messenger recovery preserves order.** Discord and Slack recover history only through the end of each connection gap. Slack edits keep their original topic, and a replacement HEAD continues unfinished reads without replaying completed effects.
6
+ - **HEAD and lanes communicate directly.** Direct lane reports and follow-ups replace the board tools. HEAD can answer before a background job finishes and retain the job's result for that request. Messenger commands with space-separated arguments now preserve their arguments.
7
+ - **Choose HEAD fast mode from the messenger.** The `/fast` picker shows the current mode; changing it requires confirmation. The SDK and CI baseline are now stock OMP 19.2.1.
8
+
9
+ ## Install or upgrade
10
+
11
+ **Already running 0.1.10? Stop before installing.** Follow the [current in-place upgrade runbook](https://github.com/dbc-hbin/omp-superagent/blob/main/docs/OPERATIONS.en.md#update-an-existing-installation) to capture and stop the exact local lanes on verified connections, stop any affected remote lanes through their managing instance, and stop the Gateway using the **old installation**. If any shutdown is refused or uncertain, keep the old files in place: the 0.1.10 owner needs them to finish shutdown. A replacement installation cannot certify its exit after the fact. Preserve the config, state and journals.
12
+
13
+ ```sh
14
+ bun add --global --trust omp-superagent@0.1.11
15
+ omp-sa --help
16
+ ```
17
+
18
+ Alternatively, use `npm install --global omp-superagent@0.1.11` with Bun 1.4.4 or later on `PATH`. Install OMP separately. After upgrading, explicitly start only the Gateways that were running before maintenance, including those whose HEAD was sleeping. Check `omp-sa status --config FILE` for the same HEAD session and transport, admission and HEAD readiness. Leave intentionally stopped instances stopped.
19
+
20
+ [Changes since 0.1.10](https://github.com/dbc-hbin/omp-superagent/compare/v0.1.10...v0.1.11) · [Current operations guide](https://github.com/dbc-hbin/omp-superagent/blob/main/docs/OPERATIONS.en.md)
@@ -0,0 +1,13 @@
1
+ # omp-superagent 0.1.13
2
+
3
+ **Stop and verify before upgrading.** Follow the [upgrade procedure](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.13/docs/OPERATIONS.en.md#update-an-existing-installation) ([한국어](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.13/docs/OPERATIONS.md#기존-설치-업데이트)) while the original installation is intact. Stop affected resident lanes and the Gateway/HEAD, and verify their exits before replacing files. `stop main` alone does not stop independent lanes. A replacement helper cannot certify a 0.1.10 owner's exit after the fact.
4
+
5
+ - Local lane shutdown checks the configured socket and the live session, PID and journal before sending a single stop on that same connection. A copied state directory or stale lane record no longer authorizes stopping another Host.
6
+ - The packaged upgrade tools capture and recheck live ownership, handle large protocol-v2 state responses, and confirm process exit against a fresh receipt and the original journal file.
7
+ - The package upgrade check runs the real npm installation hooks, resumes the same HEAD journal, and checks that the predecessor's observations survive the upgrade.
8
+
9
+ After confirming shutdown, install `omp-superagent@0.1.13` with `bun add --global --trust` or `npm install --global`. Keep the original config and journals. Use the upgraded CLI to start only Gateways that were running before maintenance.
10
+
11
+ The `v0.1.12` tag did not publish a package: the profile-isolation test assumed a stable directory listing order on Linux. It now compares the same paths regardless of order.
12
+
13
+ [Changes since 0.1.11](https://github.com/dbc-hbin/omp-superagent/compare/v0.1.11...v0.1.13)
Binary file
Binary file
Binary file