omp-superagent 0.1.9 → 0.1.11

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 (151) hide show
  1. package/DESIGN.md +68 -21
  2. package/README.ko.md +30 -372
  3. package/README.md +31 -419
  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 +8 -0
  11. package/docs/OPERATIONS.en.md +2277 -0
  12. package/docs/OPERATIONS.md +198 -45
  13. package/docs/design/execution.md +163 -54
  14. package/docs/design/messaging.md +125 -34
  15. package/docs/kakao-bridge-protocol.md +193 -0
  16. package/docs/releases/0.1.10.md +17 -0
  17. package/docs/releases/0.1.11.md +18 -0
  18. package/gateway/bin/omp-gateway-darwin-arm64 +0 -0
  19. package/gateway/bin/omp-gateway-darwin-x64 +0 -0
  20. package/gateway/bin/omp-gateway-linux-arm64 +0 -0
  21. package/gateway/bin/omp-gateway-linux-x64 +0 -0
  22. package/host-owner/bin/omp-host-owner-darwin-arm64 +0 -0
  23. package/host-owner/bin/omp-host-owner-darwin-x64 +0 -0
  24. package/host-owner/bin/omp-host-owner-linux-arm64 +0 -0
  25. package/host-owner/bin/omp-host-owner-linux-x64 +0 -0
  26. package/package.json +10 -11
  27. package/scripts/{prepare-ulw.ts → prepare-super.ts} +1 -1
  28. package/skills/head/SKILL.md +36 -5
  29. package/skills/head/references/routing.md +1 -1
  30. package/skills/head/references/supervision.md +32 -26
  31. package/skills/lane/SKILL.md +39 -21
  32. package/skills/lane/references/workflow.md +23 -16
  33. package/src/cli.ts +35 -33
  34. package/src/{config.ts → config/config.ts} +51 -6
  35. package/src/config/wake-config.ts +36 -0
  36. package/src/contracts.ts +91 -13
  37. package/src/{cron-jobs.ts → cron/cron-jobs.ts} +21 -13
  38. package/src/{cron-pr-intake.ts → cron/cron-pr-intake.ts} +4 -4
  39. package/src/{cron-schedule.ts → cron/cron-schedule.ts} +3 -3
  40. package/src/extension.ts +64 -28
  41. package/src/{gateway-client.ts → gateway/gateway-client.ts} +89 -32
  42. package/src/{gateway-native.ts → gateway/gateway-native.ts} +4 -4
  43. package/src/{gateway-protocol.ts → gateway/gateway-protocol.ts} +69 -14
  44. package/src/{gateway-wire.ts → gateway/gateway-wire.ts} +12 -7
  45. package/src/gateway-config.ts +1 -1
  46. package/src/gateway-restart-env.ts +3 -3
  47. package/src/{group-access.ts → group/group-access.ts} +8 -3
  48. package/src/{group-policy.ts → group/group-policy.ts} +2 -2
  49. package/src/{group-runner.ts → group/group-runner.ts} +11 -6
  50. package/src/host-extension.ts +213 -43
  51. package/src/host-sdk-helper.ts +62 -65
  52. package/src/{decision-tool.ts → lane/decision-tool.ts} +12 -4
  53. package/src/{decisions.ts → lane/decisions.ts} +12 -10
  54. package/src/{lane-models.ts → lane/lane-models.ts} +1 -1
  55. package/src/{lane-report.ts → lane/lane-report.ts} +22 -0
  56. package/src/{lane-rows.ts → lane/lane-rows.ts} +2 -2
  57. package/src/{lane-watch.ts → lane/lane-watch.ts} +6 -2
  58. package/src/{workflow.ts → lane/workflow.ts} +1 -1
  59. package/src/lane-extension.ts +69 -13
  60. package/src/managed-memory-helper.ts +2 -2
  61. package/src/{managed-ulw-probe.ts → managed-super-probe.ts} +3 -3
  62. package/src/{delivery.ts → messaging/delivery.ts} +1 -1
  63. package/src/{discord-command-registration.ts → messaging/discord-command-registration.ts} +3 -2
  64. package/src/{discord-context.ts → messaging/discord-context.ts} +1 -1
  65. package/src/{messenger-command-catalog.json → messaging/messenger-command-catalog.json} +1 -0
  66. package/src/messaging/messenger-commands.ts +55 -0
  67. package/src/{result-attachment.ts → messaging/result-attachment.ts} +3 -3
  68. package/src/{slack-command-registration.ts → messaging/slack-command-registration.ts} +3 -3
  69. package/src/{telegram-command-registration.ts → messaging/telegram-command-registration.ts} +2 -2
  70. package/src/omp/head-resume.ts +123 -0
  71. package/src/{host-owner-path.ts → omp/host-owner-path.ts} +1 -1
  72. package/src/{host-protocol.ts → omp/host-protocol.ts} +11 -2
  73. package/src/omp/host-reply-voice.ts +181 -0
  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/omp/soul.ts +214 -0
  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} +7 -6
  91. package/src/{pr-intake-automation.ts → pr/pr-intake-automation.ts} +1 -1
  92. package/src/{pr-intake-mode.ts → pr/pr-intake-mode.ts} +3 -3
  93. package/src/{pr-intake-review.ts → pr/pr-intake-review.ts} +5 -5
  94. package/src/{pr-intake-work.ts → pr/pr-intake-work.ts} +1 -1
  95. package/src/{pr-review-models.ts → pr/pr-review-models.ts} +2 -2
  96. package/src/{pr-watch.ts → pr/pr-watch.ts} +36 -26
  97. package/src/{message-order.ts → routing/message-order.ts} +3 -2
  98. package/src/{topic-history.ts → routing/topic-history.ts} +2 -2
  99. package/src/{topic-request.ts → routing/topic-request.ts} +4 -2
  100. package/src/{runtime.ts → runtime/controller.ts} +1278 -1267
  101. package/src/runtime/deferred-routing.ts +106 -0
  102. package/src/runtime/dm-timeline.ts +194 -0
  103. package/src/{head-recovery.ts → runtime/head-recovery.ts} +1 -1
  104. package/src/{head-rotation.ts → runtime/head-rotation.ts} +32 -5
  105. package/src/runtime/model-journal.ts +119 -0
  106. package/src/runtime/native-frames.ts +131 -0
  107. package/src/{observation-request.ts → runtime/observation-request.ts} +1 -1
  108. package/src/runtime/preset-sync.ts +232 -0
  109. package/src/runtime/preset-watch-paths.ts +137 -0
  110. package/src/runtime/result-attachments.ts +146 -0
  111. package/src/storage/deferred-routing.ts +149 -0
  112. package/src/{store.ts → storage/store.ts} +450 -49
  113. package/src/{worker-bridge.ts → worker/worker-bridge.ts} +2 -2
  114. package/src/{worker-enrollment.ts → worker/worker-enrollment.ts} +2 -2
  115. package/src/{worker-host.ts → worker/worker-host.ts} +7 -3
  116. package/src/{worker-placement.ts → worker/worker-placement.ts} +1 -1
  117. package/src/{worker-profile.ts → worker/worker-profile.ts} +1 -1
  118. package/src/{worker-registration.ts → worker/worker-registration.ts} +2 -2
  119. package/src/{worker-request.ts → worker/worker-request.ts} +5 -5
  120. package/src/{worker-service.ts → worker/worker-service.ts} +2 -2
  121. package/src/{worker-trust.ts → worker/worker-trust.ts} +1 -1
  122. package/src/{worker-wire.ts → worker/worker-wire.ts} +3 -3
  123. package/src/worker-serve-prepare.ts +4 -4
  124. package/src/board-extension.ts +0 -217
  125. package/src/board.ts +0 -467
  126. package/src/gateway-host-helper.ts +0 -13
  127. package/src/messenger-commands.ts +0 -15
  128. package/src/native-sessions.ts +0 -34
  129. /package/src/{credentials.ts → config/credentials.ts} +0 -0
  130. /package/src/{dialog.ts → messaging/dialog.ts} +0 -0
  131. /package/src/{telegram-command-languages.json → messaging/telegram-command-languages.json} +0 -0
  132. /package/src/{host-broker-services.ts → omp/host-broker-services.ts} +0 -0
  133. /package/src/{host-inventory-manifest.ts → omp/host-inventory-manifest.ts} +0 -0
  134. /package/src/{host-services.ts → omp/host-services.ts} +0 -0
  135. /package/src/{native-settings.ts → omp/native-settings.ts} +0 -0
  136. /package/src/{superkit-skills.ts → omp/superkit-skills.ts} +0 -0
  137. /package/src/{repository.ts → operator/repository.ts} +0 -0
  138. /package/src/{pr-github-schema.ts → pr/pr-github-schema.ts} +0 -0
  139. /package/src/{pr-github.ts → pr/pr-github.ts} +0 -0
  140. /package/src/{pr-intake-comment.ts → pr/pr-intake-comment.ts} +0 -0
  141. /package/src/{pr-intake-fix.ts → pr/pr-intake-fix.ts} +0 -0
  142. /package/src/{pr-intake-github.ts → pr/pr-intake-github.ts} +0 -0
  143. /package/src/{pr-intake-material.ts → pr/pr-intake-material.ts} +0 -0
  144. /package/src/{pr-intake-tree.ts → pr/pr-intake-tree.ts} +0 -0
  145. /package/src/{head-quota.ts → runtime/head-quota.ts} +0 -0
  146. /package/src/{worker-checkout.ts → worker/worker-checkout.ts} +0 -0
  147. /package/src/{worker-destination.ts → worker/worker-destination.ts} +0 -0
  148. /package/src/{worker-doctor.ts → worker/worker-doctor.ts} +0 -0
  149. /package/src/{worker-ledger.ts → worker/worker-ledger.ts} +0 -0
  150. /package/src/{worker-repository.ts → worker/worker-repository.ts} +0 -0
  151. /package/upstream/{ulw.json → super.json} +0 -0
@@ -1,444 +1,43 @@
1
1
  # Third-Party Notices and Provenance
2
2
 
3
- Original contributions to this project are licensed under the MIT License in
4
- [`LICENSE`](LICENSE), Copyright (c) 2026 dbc-hbin. Third-party code, artwork,
5
- dependencies, and separately managed packages retain their own licenses and
6
- copyright notices; the project license does not replace or relicense them.
7
- When redistributing dependencies, preserve their LICENSE/NOTICE files and those
8
- of their transitive dependencies. This document also identifies conceptual
9
- references separately from copied or adapted material.
3
+ Original contributions are licensed under the MIT License in [`LICENSE`](LICENSE),
4
+ Copyright (c) 2026 dbc-hbin. Third-party materials retain their own licenses and
5
+ copyright notices. Separately installed dependencies, OMP, and omp-superkit
6
+ are not bundled in Superagent's npm tarball; preserve their own notices if you
7
+ redistribute them.
10
8
 
11
9
  ## Native Host owner and Gateway
12
10
 
13
- The npm package contains `omp-host-owner` and `omp-gateway` for macOS and Linux
14
- (x64 and arm64). It does not include or build OMP. Each binary has a matching
15
- `host-owner/bin/notices/<platform>-<arch>/` or
16
- `gateway/bin/notices/<platform>-<arch>/` directory. `Cargo-LICENSES.txt` and
17
- `Cargo-SOURCES.txt` index the locked target's Cargo dependencies, their declared
18
- licenses and their versioned sources. `crates/` preserves the upstream license
19
- and notice files, including bundled native sources' notices.
20
- `rust/COPYRIGHT-library.html` and `rust/licenses/` preserve the Rust standard
21
- library, runtime and bundled musl notices. Preserve the matching notice directory
22
- when redistributing a binary.
23
-
24
- The Gateway's graph is pinned by `gateway/Cargo.lock`. In particular:
25
-
26
- - The Linux Gateway statically links the SQLite amalgamation from
27
- [`libsqlite3-sys` 0.35.0](https://docs.rs/crate/libsqlite3-sys/0.35.0/source/sqlite3/sqlite3.c).
28
- SQLite is [public domain](https://sqlite.org/copyright.html), and Linux notices
29
- include the dedication from the actual amalgamation used. The macOS Gateway
30
- links Apple's `/usr/lib/libsqlite3.dylib` and does not redistribute the
31
- amalgamation. The Rust bindings and `rusqlite` 0.37.0 retain their MIT licenses
32
- on both platforms.
33
- - HTTP uses `reqwest` 0.12.28 with rustls, not OpenSSL. WebSockets use
34
- `tokio-tungstenite` 0.28.0 with rustls and `webpki-roots`. The locked TLS
35
- graph's notices include rustls, webpki, the Mozilla-root data and ring's
36
- BoringSSL and other bundled code notices.
37
- - Native Discord voice uses [`opus2` 0.4.0](https://docs.rs/crate/opus2/0.4.0)
38
- (MIT or Apache-2.0). [`libopus_sys` 0.3.3](https://docs.rs/crate/libopus_sys/0.3.3/source/)
39
- builds its bundled Xiph.Org Opus codec statically. Redistribution must also
40
- preserve its separate `opus/COPYING` and corresponding notices.
41
- - Codex subscription voice uses [`webrtc` 0.17.3](https://docs.rs/crate/webrtc/0.17.3)
42
- (MIT or Apache-2.0) for ICE, DTLS, SRTP and RTP; both ends of the Gateway's
43
- audio conversion use the bundled Opus codec above. The Gateway stages the
44
- locked WebRTC graph's notices and source URLs, including:
45
- - The MIT and Apache-2.0 files at the published Git revisions for
46
- [`webrtc`](https://github.com/webrtc-rs/webrtc/tree/a3c3f4dff44f2c935be3535ae94330770cd50dbd),
47
- [`asn1-rs-impl` 0.2.0](https://github.com/rusticata/asn1-rs/tree/a20e5f7319c896737ad0f2557037817b91ad854f),
48
- and [`yasna` 0.5.2](https://github.com/qnighy/yasna.rs/tree/b7e65f9a4c317494cce2d18ea02b3d6eaaea7985).
49
- - The two [`crc-catalog` 2.5.0 license files](https://github.com/akhilles/crc-catalog/tree/ed4ad631f22b05055c21a3a4127eb7cf6d75bb62/LICENSES)
50
- from its published archive's `LICENSES/` directory.
51
- - The shared [PRECIS MIT license](https://github.com/sancane/precis/blob/5e9fb2b1a33246bceb3edb1018fb20fcd46dc316/LICENSE)
52
- from the `precis-tools` 0.1.10 revision. The recorded Git revisions for
53
- [`precis-core` 0.1.11](https://static.crates.io/crates/precis-core/precis-core-0.1.11.crate)
54
- and [`precis-profiles` 0.1.13](https://static.crates.io/crates/precis-profiles/precis-profiles-0.1.13.crate)
55
- are unavailable upstream; both immutable archives explicitly offer MIT.
56
- Their generated tables use Unicode Character Database
57
- [6.3.0](https://www.unicode.org/Public/6.3.0/ucd/ReadMe.txt) and
58
- [17.0.0](https://www.unicode.org/Public/17.0.0/ucd/ReadMe.txt), respectively.
59
- Staging includes those data notices and the
60
- [Unicode license](https://github.com/unicode-org/unicodetools/blob/ecd26be2e82be37609090942c14e518e57e905d8/LICENSE).
61
- - DAVE uses [`davey` 0.2.0](https://docs.rs/crate/davey/0.2.0), whose
62
- [upstream MIT license](https://github.com/Snazzah/davey/blob/72d1c6d081f4993d618806990f1d3a1f6f53ed67/LICENSE)
63
- is credited to `Copyright (c) 2025-present Snazzah`. Where published crate
64
- archives omit workspace notices, release staging carries the texts from
65
- the crates' recorded Git revisions (davey, OpenMLS, libcrux and hax) or the
66
- [MPL-2.0 text](https://www.mozilla.org/MPL/2.0/) declared by hpke-rs.
67
- For the MPL-2.0-covered hpke-rs components, obtain the corresponding source at
68
- the locked crates.io archive URLs in `Cargo-SOURCES.txt`.
69
-
70
- ## Artwork adapted from oh-my-pi
71
-
72
- - Source: [README hero](https://github.com/can1357/oh-my-pi/blob/c308970263ae13744ea15ab67302e3dac840e266/assets/hero.png)
73
- and [icon.svg](https://github.com/can1357/oh-my-pi/blob/c308970263ae13744ea15ab67302e3dac840e266/assets/icon.svg).
74
- - `assets/superagent-mascot.webp` was generated with `gpt-image-2` using the hero
75
- as a reference, retaining its pi silhouette and pink/purple palette while adding
76
- a visor, eyes, and short cape. The icon's plug motif became a small orange
77
- ornament. This replaced the former connected-node SVG logo.
78
- - `assets/superagent-avatar.jpg` is a white-background JPEG conversion of that
79
- mascot, made with `sips -s format jpeg` at the original dimensions.
80
- - This is an independent project's adapted logo, not an official upstream product
81
- or endorsement. The upstream MIT license and copyright notices are reproduced
82
- in the OMP section below and apply to the source artwork.
83
-
84
- ## ompbot: adapted SQLite ledger patterns
85
-
86
- - Source: [gimso2x/ompbot](https://github.com/gimso2x/ompbot/tree/ddd0f854e8e8d395b7ed43104ec541f909a52ad4),
87
- revision `ddd0f854e8e8d395b7ed43104ec541f909a52ad4`.
88
- - Original files: `src/store/db.ts`, `src/lanes/manager.ts`.
89
- - Adapted in `src/store.ts`, whose header also retains the full MIT notice.
90
- - Original [LICENSE](https://github.com/gimso2x/ompbot/blob/ddd0f854e8e8d395b7ed43104ec541f909a52ad4/LICENSE):
91
-
92
- ```text
93
- MIT License
94
-
95
- Copyright (c) 2026 ompbot contributors
96
-
97
- Permission is hereby granted, free of charge, to any person obtaining a copy
98
- of this software and associated documentation files (the "Software"), to deal
99
- in the Software without restriction, including without limitation the rights
100
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
101
- copies of the Software, and to permit persons to whom the Software is
102
- furnished to do so, subject to the following conditions:
103
-
104
- The above copyright notice and this permission notice shall be included in all
105
- copies or substantial portions of the Software.
106
-
107
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
108
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
109
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
110
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
111
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
112
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
113
- SOFTWARE.
114
- ```
115
-
116
- ## Discord transport
117
-
118
- - The previous Bun voice link, retained as a test oracle, uses [`@discordjs/voice` 0.19.2](https://www.npmjs.com/package/@discordjs/voice/v/0.19.2)
119
- (Apache-2.0), its locked DAVE implementation [`@snazzah/davey` 0.1.12](https://github.com/Snazzah/davey),
120
- [`opusscript` 0.0.8](https://github.com/abalabahaha/opusscript) (MIT bindings for libopus),
121
- and [`@noble/ciphers` 2.4.0](https://github.com/paulmillr/noble-ciphers) (MIT) for XChaCha20 transport encryption.
122
- These are development dependencies, not shipped native Gateway dependencies.
123
- Their licenses and included codec notices remain applicable.
124
- - For subscription voice, we compared the independent billing/transport paths in
125
- [TheSmokeDev/hermes-talk `f19bc975`](https://github.com/TheSmokeDev/hermes-talk/blob/f19bc975d3f5ea1bfb533c42966cec2fca7f7678/talk_live_realtime.py)
126
- and the WebRTC media, server-side event handling and retention caveats in
127
- [dmmeteo/codex-voice `956d6b29`](https://github.com/dmmeteo/codex-voice/blob/956d6b299f13b02a7ad036a619568e1740a2ee67/docs/voice.md#test-subscription-gpt-live).
128
- The [Hermes Talk MIT notice](https://github.com/TheSmokeDev/hermes-talk/blob/f19bc975d3f5ea1bfb533c42966cec2fca7f7678/LICENSE)
129
- credits `Copyright (c) 2026 SmokeDev`; the [codex-voice MIT notice](https://github.com/dmmeteo/codex-voice/blob/956d6b299f13b02a7ad036a619568e1740a2ee67/LICENSE-MIT)
130
- credits `Copyright (c) 2026 codex-asr contributors`. Both use the MIT permission notice reproduced above.
131
- Neither project grants a subscription entitlement. Discord routing, source-bound confirmation and HEAD delivery remain this project's responsibilities.
132
- - The test-only Bun Gateway oracle uses
133
- [discord.js](https://github.com/discordjs/discord.js), not a copied client.
134
- The declared range is `^14.25.1`; `bun.lock` records the resolved version.
135
- The inspected installed version, `14.28.1`, is **Apache-2.0, not MIT**.
136
- - The full license is in `node_modules/discord.js/LICENSE` and the
137
- [versioned upstream LICENSE](https://github.com/discordjs/discord.js/blob/14.28.1/packages/discord.js/LICENSE).
138
- It includes `Copyright 2021 Noel Buechler` and `Copyright 2015 Amish Shah`.
139
- Distributions containing the package must include its Apache-2.0 license and
140
- applicable notices; the project MIT license does not replace these terms.
141
- - `test/oracles/bun-gateway/discord.ts` independently implements behavior compared with
142
- [ompbot `4d2eb28d0bf66644892dc0fc333580d0eb7e7780`](https://github.com/gimso2x/ompbot/tree/4d2eb28d0bf66644892dc0fc333580d0eb7e7780),
143
- `src/discord/{adapter,attachments,channel,transport}.ts`. That revision is MIT;
144
- those files were not copied.
145
- - `src/setup-profiles.ts` uses public `REST.get/patch` and `Routes.user` APIs from
146
- `14.28.1`. The [Modify Current User](https://docs.discord.com/developers/resources/user#modify-current-user)
147
- image-data upload and User response contracts were checked on 2026-11-15.
148
- No external avatar implementation was copied.
149
- - No unlicensed poke code or SUL-covered Dori code was imported. Referencing
150
- operational concepts does not relicense code or grant permission to copy it.
151
-
152
- ## Scheduled jobs
153
-
154
- - Schedule calculation uses the public `CronExpressionParser` API from the MIT
155
- dependency [`cron-parser` 5.10.6](https://github.com/harrisiirak/cron-parser/tree/5c378949a7382d0dec8e9a30474668650df3774a).
156
- Its license and those of its locked dependencies remain applicable.
157
- - The `/cron` command vocabulary and interrupted-run behavior were compared with
158
- [Hermes Agent's cron docs](https://hermes-agent.nousresearch.com/docs/user-guide/features/cron)
159
- and its [jobs implementation at `9f47677`](https://github.com/NousResearch/hermes-agent/blob/9f47677483d1b4de4d1a88d37b3b7ca18b18b215/cron/jobs.py).
160
- No Hermes code was copied. Superagent uses its existing HEAD, SQLite ledger and original messenger route.
161
-
162
- ## Operational skills: conceptual references, independently written
163
-
164
- `skills/head/` and `skills/lane/` were written for this repository's design and
165
- current OMP tool/session contracts, not copied from Dori skill text or scripts.
166
-
167
- - Reference: [vntrevx/omp-dori `3b5487df12540cdd428ebcf7455375d72921e2dc`](https://github.com/vntrevx/omp-dori/tree/3b5487df12540cdd428ebcf7455375d72921e2dc),
168
- reviewed on 2026-11-13.
169
- - Reviewed: `skills/dori-mode/SKILL.md`, `prompts/lead.md`,
170
- `prompts/lane-footer.md`, `skills/dori-mode/references/sessions.md`, and
171
- `skills/dori-mode/references/done-protocol.md`.
172
- - Concepts: explicit handoff/completion conditions, checking reported facts and
173
- interrupted external effects, and distinguishing a worker's completion claim
174
- from verified closure.
175
- - Not adopted: `dori`/`herdr`/`hc` commands, separate state/supervision registries,
176
- a resident duty LLM, mandatory delegation, or elapsed-time-based automatic
177
- approval, closure, or worktree deletion.
178
- - The referenced upstream-derived material is governed by its
179
- [SUL and NOTICE](https://github.com/vntrevx/omp-dori/blob/3b5487df12540cdd428ebcf7455375d72921e2dc/NOTICE).
180
- `LICENSE.omp-dori` is not treated as an MIT grant for that entire repository.
181
-
182
- The on-demand HEAD references and parallel-work guidance also use conceptual
183
- comparisons with [original dori-superagent `78c863a`](https://github.com/sisyphuslabs/dori-superagent/tree/78c863a9b0c4c03fd7ef3e679e4dcf44a86d4fbf)
184
- (role contract, sessions, and verifiable completion) and
185
- [Cataly `9b380aa`](https://github.com/vntrevx/Cataly/tree/9b380aa0f454fed73b00d22ac6666d2e4de56ef0)
186
- (per-resource sequencing in `docs/locks.md` and `src/lock.ts`). No prompt or code
187
- was copied, and neither a shared lock service nor Cataly's patched OMP runtime
188
- was imported. This project continues to use stock OMP and native skill discovery.
189
-
190
- ### Dori pull-request comparisons: independent implementation
191
-
192
- - The opt-in Discord voice assistant is conceptually based on
193
- [Dori PR #86](https://github.com/vntrevx/omp-dori/pull/86), feature commit
194
- `d2a5b3ac3f168650190a03167c86b20afe52b5b7`, reviewed at
195
- `c136c9e7e78a54629b63c5093ac7b4b9c1ad65a0`. The Gateway integration,
196
- voice link, provider client and written handoff are independently implemented;
197
- no Dori source, prompts or tests were imported.
198
-
199
- - Snapshot: [vntrevx/omp-dori `dc7402efce8adc87aeac808a1b1f50100f9f53d9`](https://github.com/vntrevx/omp-dori/tree/dc7402efce8adc87aeac808a1b1f50100f9f53d9).
200
- - Compared Git environment isolation in [#9](https://github.com/vntrevx/omp-dori/pull/9),
201
- reply/voice context in [#32/#41](https://github.com/vntrevx/omp-dori/pull/41), and
202
- native prompt compatibility regressions in
203
- [#8/#27](https://github.com/vntrevx/omp-dori/pull/27) and
204
- [#31](https://github.com/vntrevx/omp-dori/pull/31).
205
- - Also compared evidence-based progress, structured waiting, and visual
206
- preservation concepts in [#45](https://github.com/vntrevx/omp-dori/pull/45) and
207
- [#46](https://github.com/vntrevx/omp-dori/pull/46).
208
- - Implemented independently using existing SQLite/Gateway contracts, native custom
209
- journals, tool results, lanes, progress receipts, discord.js/grammY APIs, and the
210
- OMP renderer/ExtensionRunner. No Dori code, skills, prompts, tests,
211
- supervisor, separate state registry, or timers were copied; its SUL notices are
212
- not reinterpreted.
213
-
214
- ### Discord forum and thread management
215
-
216
- - Conceptual reference: [Dori #40](https://github.com/vntrevx/omp-dori/pull/40),
217
- feature commit `25197919ea82abcd8601950f67869306a829639f`, inspected at
218
- [revision `dba30db8faa3c76c4dad15e239f3a56046027ca4`](https://github.com/vntrevx/omp-dori/tree/dba30db8faa3c76c4dad15e239f3a56046027ca4).
219
- - Independently implemented exact forum-tag selection and thread rename/retag/
220
- archive/reopen using the installed discord.js API and existing head/Gateway
221
- authorization and effect receipts. No Dori source, prompts, or tests were copied.
222
- - Management is limited to registered Discord guild threads. It does not import
223
- Dori's alternate intake, command launcher, transcription, or automatic cleanup.
224
-
225
- ### PR follow-up observation and Discord channel context
226
-
227
- - Conceptual references: [Dori #70](https://github.com/vntrevx/omp-dori/pull/70)
228
- at `2d773ad0b5824d24415ddad52bc78e950833088c` and
229
- [Dori #69](https://github.com/vntrevx/omp-dori/pull/69)
230
- at `2c1cbd66e9410885b053006c21aedad60293dcab`.
231
- - Independently implemented with existing SQLite admission, managed HEAD tools,
232
- discord.js channel metadata, and the public
233
- [GitHub CLI `gh api`](https://cli.github.com/manual/gh_api) GET/pagination interface.
234
- No Dori source, tests, prompt text, JSONL registry, or monitor framework was copied.
235
- - GitHub observation uses the operator's separately installed CLI/authentication;
236
- it does not bundle GitHub CLI or establish live-account/production verification.
237
- Channel metadata and PR text are context, never instruction or authorization.
238
-
239
- ### Discord reply references and tracked owner decisions
240
-
241
- - Conceptual references: [Dori #68](https://github.com/vntrevx/omp-dori/pull/68)
242
- at `f7072950ad6744b4756f69209e7bd7a19cd720f0` and
243
- [Dori #71](https://github.com/vntrevx/omp-dori/pull/71)
244
- at `8a777dc22f667eb4044b9f322f7677c770496414`.
245
- - Independently implemented through the existing SQLite outbox and approval
246
- transactions, discord.js reply references, and the public OMP
247
- `ExtensionUIContext.askDialog` / `set_ask_dialog`. No Dori source, prompt,
248
- tests, question transport, registry, or reply-splitting engine was copied.
249
- - Owner answers remain bound to original authenticated native cards. The ledger
250
- is coordination metadata, not a transcript copy, tool-permission approval,
251
- automatic lane resumer, or a second messaging engine.
252
-
253
- ## Telegram transport: grammY
254
-
255
- - API client: [`grammy` 1.46.0](https://github.com/grammyjs/grammY/tree/055a5a440f04d0b9fd5fd75a6d14dac4c2b83553),
256
- source revision `055a5a440f04d0b9fd5fd75a6d14dac4c2b83553`.
257
- Installed metadata is in `node_modules/grammy/package.json`; dependency pins
258
- are in `bun.lock`.
259
- - The Bun Gateway oracle (`test/oracles/bun-gateway/telegram.ts`) uses
260
- grammY, not a
261
- copied Telegram bot or SUL implementation. Version `1.46.0`'s
262
- `Api.setMyProfilePhoto`, the [official method](https://core.telegram.org/bots/api#setmyprofilephoto),
263
- and [JPEG multipart contract](https://core.telegram.org/bots/api#inputprofilephotostatic)
264
- were checked on 2026-11-15. Production setup now calls the official Bot API
265
- from Rust; no image-conversion dependency is needed.
266
- - Documentation: [grammY API](https://grammy.dev/guide/api),
267
- [Telegram Bot API](https://core.telegram.org/bots/api).
268
- - The test oracle uses [`abort-controller` 3.0.0](https://github.com/mysticatea/abort-controller),
269
- the signal implementation required by grammY's Node API. Its MIT license,
270
- Copyright (c) 2017 Toru Nagashima, is retained in
271
- `node_modules/abort-controller/LICENSE`; preserve it when redistributing the dependency.
272
- - `node_modules/grammy/LICENSE` contains this MIT license. Preserve it when
273
- redistributing the package:
274
-
275
- ```text
276
- MIT License
277
-
278
- Copyright (c) 2021-2024 KnorpelSenf
279
-
280
- Permission is hereby granted, free of charge, to any person obtaining a copy
281
- of this software and associated documentation files (the "Software"), to deal
282
- in the Software without restriction, including without limitation the rights
283
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
284
- copies of the Software, and to permit persons to whom the Software is
285
- furnished to do so, subject to the following conditions:
286
-
287
- The above copyright notice and this permission notice shall be included in all
288
- copies or substantial portions of the Software.
289
-
290
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
291
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
292
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
293
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
294
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
295
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
296
- SOFTWARE.
297
- ```
298
-
299
- ## Slack transport: official Node Slack SDK
300
-
301
- | Package | Installed version | Source revision | License |
302
- | --- | --- | --- | --- |
303
- | `@slack/web-api` | `8.3.0` | [`d8df118652c5749e56e00bb4f614b344993a24e4`](https://github.com/slackapi/node-slack-sdk/tree/d8df118652c5749e56e00bb4f614b344993a24e4) | MIT |
304
- | `@slack/socket-mode` | `3.2.0` | [`5e8d3f08c16144a2d700c38389bf94cbcc4d5f0f`](https://github.com/slackapi/node-slack-sdk/tree/5e8d3f08c16144a2d700c38389bf94cbcc4d5f0f) | MIT |
305
-
306
- - The Bun Gateway oracle (`test/oracles/bun-gateway/slack.ts`) uses the
307
- official `WebClient` and `SocketModeClient`. Both are development dependencies;
308
- production command registration uses the Web API from Rust. Transport, routing and
309
- approval coordination were not copied from another Slack bot or SUL-covered bot.
310
- - Documentation: [Web API SDK](https://docs.slack.dev/tools/node-slack-sdk/web-api/),
311
- [Socket Mode SDK](https://docs.slack.dev/tools/node-slack-sdk/socket-mode/),
312
- [Socket Mode setup](https://docs.slack.dev/apis/events-api/using-socket-mode),
313
- [starting external uploads](https://docs.slack.dev/reference/methods/files.getUploadURLExternal/),
314
- and [completing uploads](https://docs.slack.dev/reference/methods/files.completeUploadExternal/).
315
- - Both installed `node_modules/@slack/{web-api,socket-mode}/LICENSE` files contain
316
- the following identical MIT license and copyright notice. Preserve it when
317
- redistributing either package:
318
-
319
- ```text
320
- MIT License
321
-
322
- Copyright (c) 2014- Slack Technologies, LLC
323
-
324
- Permission is hereby granted, free of charge, to any person obtaining
325
- a copy of this software and associated documentation files (the
326
- "Software"), to deal in the Software without restriction, including
327
- without limitation the rights to use, copy, modify, merge, publish,
328
- distribute, sublicense, and/or sell copies of the Software, and to
329
- permit persons to whom the Software is furnished to do so, subject to
330
- the following conditions:
331
-
332
- The above copyright notice and this permission notice shall be
333
- included in all copies or substantial portions of the Software.
334
-
335
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
336
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
337
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
338
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
339
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
340
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
341
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
342
- ```
343
-
344
- ## Hermes setup: UX reference, independent implementation
345
-
346
- - Reference: [`NousResearch/hermes-agent` `4b40ffb0ad6d7da5d3260f5e499e1691508dd4d5`](https://github.com/NousResearch/hermes-agent/tree/4b40ffb0ad6d7da5d3260f5e499e1691508dd4d5).
347
- - Reviewed [`scripts/install.sh`](https://github.com/NousResearch/hermes-agent/blob/4b40ffb0ad6d7da5d3260f5e499e1691508dd4d5/scripts/install.sh)
348
- for `/dev/tty` setup handoff and `0600` environment files,
349
- [`hermes_cli/secret_prompt.py`](https://github.com/NousResearch/hermes-agent/blob/4b40ffb0ad6d7da5d3260f5e499e1691508dd4d5/hermes_cli/secret_prompt.py)
350
- for secret input and terminal restoration, and
351
- [`hermes_cli/setup_platforms.py`](https://github.com/NousResearch/hermes-agent/blob/4b40ffb0ad6d7da5d3260f5e499e1691508dd4d5/hermes_cli/setup_platforms.py)
352
- for platform credential prompts and preservation of existing configuration.
353
- - `scripts/setup.sh` and CLI setup/credential loading were independently written
354
- for this project's OMP/Gateway contracts using Bash builtins, Node's standard
355
- `readline`/dotenv parser, and existing configuration validation. No Python or
356
- installer code was copied, and Hermes is not a runtime dependency.
357
- - Scope is Unix terminals, Bun, and a separately installed unmodified OMP.
358
- Hermes automatic bot creation, login, Gateway service installation/restart,
359
- and allow-all policies were not adopted.
360
-
361
- ## Hermes Gateway: login-autostart UX reference, independent implementation
362
-
363
- - Reference: [`NousResearch/hermes-agent` `fa1aab3187fa9951fa7c3620e0aa6f922d6636f6`](https://github.com/NousResearch/hermes-agent/tree/fa1aab3187fa9951fa7c3620e0aa6f922d6636f6).
364
- - Reviewed install/uninstall dispatch in
365
- [`hermes_cli/gateway.py`](https://github.com/NousResearch/hermes-agent/blob/fa1aab3187fa9951fa7c3620e0aa6f922d6636f6/hermes_cli/gateway.py)
366
- and per-instance LaunchAgents, `ProgramArguments`, `RunAtLoad`, no-start
367
- installation, and ownership checks in
368
- [`hermes_cli/gateway_launchd.py`](https://github.com/NousResearch/hermes-agent/blob/fa1aab3187fa9951fa7c3620e0aa6f922d6636f6/hermes_cli/gateway_launchd.py).
369
- - Upstream license: [MIT, Copyright (c) 2025 Nous Research](https://github.com/NousResearch/hermes-agent/blob/fa1aab3187fa9951fa7c3620e0aa6f922d6636f6/LICENSE).
370
- `src/autostart.ts` and CLI install/uninstall/status were independently
371
- implemented with Node/Bun APIs and macOS `launchctl`/`plutil`, not copied Python.
372
- - Registration runs the existing `start` once at macOS login. It does not import
373
- Hermes KeepAlive supervision, forced process replacement, detached fallback,
374
- sudo/system services, or a Windows backend. Installation does not start the bot;
375
- prepare/doctor/setup do not register it automatically.
376
- - Assumptions: the current account's macOS GUI login, accessible absolute
377
- Bun/repository/config paths, private sibling credentials, and separately installed
378
- OMP. Registration is distinct from Gateway readiness and does not establish
379
- successful reboot or operational-account round-trip verification.
380
-
381
- ## Managed omp-superkit: separately licensed package and bundled skills
382
-
383
- - Source: [dbc-hbin/omp-superkit](https://github.com/dbc-hbin/omp-superkit) (formerly `omp-ulw`);
384
- management configuration: `upstream/ulw.json`. Packages are prepared separately
385
- under `.upstream/ulw/revisions/<revision>/package`; `active.json` identifies the
386
- selected revision. The previously inspected snapshot was
387
- [`1625e0de2e4807f1cfdac19e6b54578af1329951`](https://github.com/dbc-hbin/omp-superkit/tree/1625e0de2e4807f1cfdac19e6b54578af1329951).
388
- The current SUPER command and skill contract was inspected at
389
- [`c11a6e4e185f9c31f484a05a13528ef724337bc1`](https://github.com/dbc-hbin/omp-superkit/tree/c11a6e4e185f9c31f484a05a13528ef724337bc1).
390
- - This project's MIT license does not grant a license to that separate package or
391
- override its per-file licenses and attribution. Neither inspected snapshot has a
392
- root LICENSE or `package.json` license declaration; no blanket package license
393
- is asserted here.
394
- - Bundled `skills/{browser,coding-agent-sessions,ultimate-browsing}/LICENSE.md`
395
- retain the Sustainable Use License. `skills/computer-use/LICENSE.md` retains
396
- SUL terms for OMO-derived portions and MIT terms for OMP-derived guidance.
397
- These are actual bundled materials, not merely conceptual references.
398
- - Other retained notices include `skills/frontend/LICENSE-Apache-2.0.txt`,
399
- the MIT license in `skills/frontend/references/designpowers/vendor/LICENSE`
400
- (`Copyright (c) 2026 MC Dean`), and the MIT license in
401
- `skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/LICENSE`
402
- (`Copyright (c) 2026 T3 Tools Inc.`).
403
- - Consult the selected package's license and attribution files before using or
404
- redistributing it. Preserve those files and applicable modification notices;
405
- the Dori non-copy statements above do not imply that omp-superkit's bundled skills are MIT.
406
-
407
- ## OMP: installed runtime and published SDK
408
-
409
- - SDK/API baseline: [can1357/oh-my-pi v19.1.1](https://github.com/can1357/oh-my-pi/tree/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
410
- - The operator installs OMP separately. This repository does not patch, build,
411
- or redistribute an OMP executable. Local native tests discover that installed
412
- runtime by default. CI verifies OMP release binaries against their checksum
413
- manifests. PR and release runs use the SDK-matched CLI on Linux and macOS;
414
- OMP 18 checks are manual.
415
- - `src/host-broker-services.ts` implements a read-only subset of the
416
- [stock OMP 18.22.2 launch broker protocol](https://github.com/can1357/oh-my-pi/tree/e1ae2cc998efd1ca151b46ebefc0e0dab6c23c63/packages/coding-agent/src/launch).
417
- It uses the published native IPC and lock primitives without copying the broker
418
- or starting one to observe it.
419
- - Published `@oh-my-pi/pi-coding-agent`, `pi-ai`, `pi-catalog`, `pi-tui`, and `pi-utils`
420
- dependencies are pinned in `package.json`; `bun.lock` records resolved packages
421
- and integrity data. Public SDK interfaces support this project's managed
422
- extensions and transport adapter. Same-process native TUI attach is not claimed.
423
- - `pi-tui` supplies native thinking-level helpers and the keyword matcher used by
424
- tests; no TUI implementation is copied into this project.
425
- - The live state projection in `src/host-extension.ts` adapts the `get_state`
426
- object from [`rpc-mode.ts` in v18.22.0](https://github.com/can1357/oh-my-pi/blob/3e8cff3b7ce19a805c11a26a6dd1703066435851/packages/coding-agent/src/modes/rpc/rpc-mode.ts).
427
- It reads the actual session through public getters so status remains observable
428
- during a serialized command. It conservatively reports unsettled while that
429
- command is pending; idle disposal still requires the stock RPC settlement check.
430
- The async-work flag follows the running CLI's public `wakeSources` getter,
431
- or `hasPendingAsyncWork()` on older CLIs that still use it for RPC. Separate
432
- owned-resource checks remain intact.
433
- The upstream copyright and MIT terms below apply to this adapted projection.
434
- - `host-owner/src/wire.rs` adapts the wire limits and v1 shrink pass
435
- thresholds and elision markers from stock
436
- [`rpc-frame.ts` in v19.0.0](https://github.com/can1357/oh-my-pi/blob/57771ae562b9345e0579bceb2d68d585e3e6927e/packages/coding-agent/src/modes/rpc/rpc-frame.ts)
437
- for JSONL/v2 interoperability. The upstream MIT terms apply to those
438
- adaptations, including in the compiled Host owner.
439
- - The adaptations, published SDK and source artwork identified above retain the
440
- following MIT notice, also present in the installed package's `LICENSE` and the
441
- [upstream LICENSE](https://github.com/can1357/oh-my-pi/blob/57771ae562b9345e0579bceb2d68d585e3e6927e/LICENSE):
11
+ The npm package ships `omp-host-owner` and `omp-gateway` for macOS and Linux
12
+ (x64 and arm64). Preserve the matching notice directory when redistributing a
13
+ binary: `host-owner/bin/notices/<platform>-<arch>/` or
14
+ `gateway/bin/notices/<platform>-<arch>/`.
15
+
16
+ - `Cargo-LICENSES.txt` and `Cargo-SOURCES.txt` index the target's locked Cargo
17
+ dependencies, declared licenses, and versioned sources. `crates/` preserves
18
+ upstream notices, including the bundled Opus codec's `opus/COPYING` and the
19
+ public-domain dedication for the SQLite amalgamation bundled on Linux.
20
+ - For the Gateway's [MPL-2.0](https://www.mozilla.org/MPL/2.0/)-covered hpke-rs
21
+ components, the corresponding source is available at the locked crate URLs
22
+ in `Cargo-SOURCES.txt`.
23
+ - `rust/COPYRIGHT-library.html` and `rust/licenses/` preserve the Rust standard
24
+ library, runtime, and bundled musl notices.
25
+
26
+ ## oh-my-pi: adapted code and artwork
27
+
28
+ - `src/host-extension.ts` adapts the `get_state` projection from
29
+ [`rpc-mode.ts` in v18.22.0](https://github.com/can1357/oh-my-pi/blob/3e8cff3b7ce19a805c11a26a6dd1703066435851/packages/coding-agent/src/modes/rpc/rpc-mode.ts).
30
+ - `host-owner/src/wire.rs` adapts the wire limits, v1 shrink thresholds, and
31
+ elision markers from [`rpc-frame.ts` in v19.0.0](https://github.com/can1357/oh-my-pi/blob/57771ae562b9345e0579bceb2d68d585e3e6927e/packages/coding-agent/src/modes/rpc/rpc-frame.ts).
32
+ This adaptation is also part of the compiled Host owner.
33
+ - `assets/superagent-mascot.webp` adapts the pi silhouette and palette from the
34
+ [README hero](https://github.com/can1357/oh-my-pi/blob/c308970263ae13744ea15ab67302e3dac840e266/assets/hero.png)
35
+ and the plug motif from [`icon.svg`](https://github.com/can1357/oh-my-pi/blob/c308970263ae13744ea15ab67302e3dac840e266/assets/icon.svg).
36
+ `assets/superagent-avatar.jpg` is a white-background conversion of the mascot.
37
+ Neither image is an official upstream logo or implies endorsement.
38
+
39
+ The [upstream MIT notice](https://github.com/can1357/oh-my-pi/blob/57771ae562b9345e0579bceb2d68d585e3e6927e/LICENSE)
40
+ applies to the adapted code and source artwork:
442
41
 
443
42
  ```text
444
43
  MIT License
@@ -1,6 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="960" height="430" viewBox="0 0 960 430" role="img" aria-labelledby="architecture-title architecture-desc" font-family="system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif">
2
2
  <title id="architecture-title">One always-on service, one OMP head, independent lane sessions</title>
3
- <desc id="architecture-desc">Discord, Telegram, and Slack connect to the always-on Gateway service. All input passes to the OMP Head agent session, which decides and works directly or controls independent repository or topic sessions in Lane A and Lane B. Only the head controls lanes. Lane results return through the head and Gateway to the messengers. The head and lanes share an informational board; dashed connections are not a command bus.</desc>
3
+ <desc id="architecture-desc">Discord, Telegram, and Slack connect to the Gateway, which relays requests and replies through the head controller. The controller routes bound-topic prompts and replies without a head model turn. The head assigns work directly to independent lane sessions. Manager handoff results, decisions addressed to HEAD, and source-bound scope reviews return through the controller.</desc>
4
4
  <defs>
5
5
  <linearGradient id="hero" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#fc49c6"/><stop offset="0.5" stop-color="#b47cff"/><stop offset="1" stop-color="#57e6fb"/></linearGradient>
6
6
  <marker id="flow-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 10 5 0 10Z" fill="#a49bbd"/></marker>
@@ -18,9 +18,6 @@
18
18
  <path d="M754 162H714V200H638" fill="none" stroke="#a49bbd" stroke-width="1.8" stroke-linejoin="round" marker-end="url(#flow-arrow)"/>
19
19
  <path d="M638 234H714V266H754" fill="none" stroke="#bb86ff" stroke-width="2.4" stroke-linejoin="round" marker-end="url(#control-arrow)"/>
20
20
  <path d="M754 306H684V258H638" fill="none" stroke="#a49bbd" stroke-width="1.8" stroke-linejoin="round" marker-end="url(#flow-arrow)"/>
21
- <path d="M542 274V370" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
22
- <path d="M936 122H948V392H936" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
23
- <path d="M846 338V370" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
24
21
  </g>
25
22
  <g>
26
23
  <rect x="24" y="132" width="160" height="142" rx="14" fill="#17141f" stroke="#3f3854" stroke-width="1.5"/>
@@ -39,7 +36,7 @@
39
36
  <rect x="446" y="132" width="192" height="142" rx="14" fill="#24163a" stroke="url(#hero)" stroke-width="2.5"/>
40
37
  <rect x="470" y="129" width="144" height="6" rx="3" fill="url(#hero)"/>
41
38
  <text x="542" y="167" font-size="22" font-weight="700" text-anchor="middle" fill="#d6b2ff">OMP Head</text>
42
- <text x="542" y="195" font-size="16" text-anchor="middle" fill="#b7aecb">agent session</text>
39
+ <text x="542" y="195" font-size="16" text-anchor="middle" fill="#b7aecb">model + controller</text>
43
40
  <text x="542" y="222" font-size="16" text-anchor="middle" fill="#b7aecb">decides · works</text>
44
41
  <text x="542" y="250" font-size="15" font-weight="600" text-anchor="middle" fill="#d6b2ff">Head-only lane control</text>
45
42
  </g>
@@ -57,13 +54,11 @@
57
54
  <text x="845" y="288" font-size="16" text-anchor="middle" fill="#b7aecb">independent session</text>
58
55
  <text x="845" y="315" font-size="16" text-anchor="middle" fill="#b7aecb">repo / topic B</text>
59
56
  </g>
60
- <text x="249" y="304" font-size="15" fill="#b7aecb">Replies via head</text>
61
- <text x="650" y="219" font-size="15" fill="#b7aecb">results</text>
62
- <text x="695" y="295" font-size="15" fill="#b7aecb">results</text>
63
- <text x="553" y="325" font-size="15" fill="#b7aecb">status / context</text>
64
57
  <g>
65
- <rect x="446" y="370" width="490" height="44" rx="12" fill="#1c1828" stroke="#8f86a8" stroke-width="1.2" stroke-dasharray="5 5"/>
66
- <text x="466" y="398" font-size="18" font-weight="700" fill="#efeaf8">Shared board</text>
67
- <text x="609" y="398" font-size="15" fill="#b7aecb">information only · not control</text>
58
+ <path d="M24 360H49" fill="none" stroke="#bb86ff" stroke-width="2.4" marker-end="url(#control-arrow)"/>
59
+ <text x="60" y="365" font-size="16" fill="#b7aecb">HEAD to lane: lane_start or lane_message</text>
60
+ <path d="M24 383H49" fill="none" stroke="#a49bbd" stroke-width="1.8" marker-end="url(#flow-arrow)"/>
61
+ <text x="60" y="388" font-size="16" fill="#b7aecb">Lane to HEAD: delegated results, decisions for HEAD, and source-bound scope reviews</text>
62
+ <text x="60" y="411" font-size="16" fill="#b7aecb">The controller routes bound-topic prompts and replies without a HEAD model turn.</text>
68
63
  </g>
69
64
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="960" height="430" viewBox="0 0 960 430" role="img" aria-labelledby="architecture-title architecture-desc" font-family="system-ui, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR', 'Segoe UI', sans-serif">
2
2
  <title id="architecture-title">상시 실행 서비스 하나, OMP 헤드 하나, 독립 레인 세션</title>
3
- <desc id="architecture-desc">Discord, Telegram, Slack은 상시 실행되는 Gateway 서비스에 연결됩니다. 모든 입력은 OMP 헤드 에이전트 세션으로 전달되며, 헤드는 직접 판단하고 작업하거나 레인 A와 레인 B의 독립 저장소·주제 세션을 제어합니다. 레인 제어는 헤드만 합니다. 레인 결과는 헤드와 Gateway를 거쳐 메신저로 돌아갑니다. 헤드와 레인은 정보 게시판을 공유하며, 점선 연결은 명령 경로가 아닙니다.</desc>
3
+ <desc id="architecture-desc">Discord, Telegram, Slack의 요청과 답변은 Gateway와 헤드 컨트롤러를 거칩니다. 연결된 주제의 일반 요청과 답변은 헤드 모델을 호출하지 않고 처리합니다. 헤드는 독립 레인 세션에 직접 작업을 맡깁니다. 위임 작업 결과, 헤드에 보낸 질문, 원본 메시지에 연결된 범위 검토 요청은 컨트롤러를 거쳐 헤드에 전달됩니다.</desc>
4
4
  <defs>
5
5
  <linearGradient id="hero" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#fc49c6"/><stop offset="0.5" stop-color="#b47cff"/><stop offset="1" stop-color="#57e6fb"/></linearGradient>
6
6
  <marker id="flow-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 10 5 0 10Z" fill="#a49bbd"/></marker>
@@ -18,9 +18,6 @@
18
18
  <path d="M754 162H714V200H638" fill="none" stroke="#a49bbd" stroke-width="1.8" stroke-linejoin="round" marker-end="url(#flow-arrow)"/>
19
19
  <path d="M638 234H714V266H754" fill="none" stroke="#bb86ff" stroke-width="2.4" stroke-linejoin="round" marker-end="url(#control-arrow)"/>
20
20
  <path d="M754 306H684V258H638" fill="none" stroke="#a49bbd" stroke-width="1.8" stroke-linejoin="round" marker-end="url(#flow-arrow)"/>
21
- <path d="M542 274V370" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
22
- <path d="M936 122H948V392H936" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
23
- <path d="M846 338V370" fill="none" stroke="#8f86a8" stroke-width="1.6" stroke-dasharray="5 5" stroke-linecap="round" stroke-linejoin="round"/>
24
21
  </g>
25
22
  <g>
26
23
  <rect x="24" y="132" width="160" height="142" rx="14" fill="#17141f" stroke="#3f3854" stroke-width="1.5"/>
@@ -39,7 +36,7 @@
39
36
  <rect x="446" y="132" width="192" height="142" rx="14" fill="#24163a" stroke="url(#hero)" stroke-width="2.5"/>
40
37
  <rect x="470" y="129" width="144" height="6" rx="3" fill="url(#hero)"/>
41
38
  <text x="542" y="167" font-size="22" font-weight="700" text-anchor="middle" fill="#d6b2ff">OMP 헤드</text>
42
- <text x="542" y="195" font-size="16" text-anchor="middle" fill="#b7aecb">에이전트 세션</text>
39
+ <text x="542" y="195" font-size="16" text-anchor="middle" fill="#b7aecb">모델 + 컨트롤러</text>
43
40
  <text x="542" y="222" font-size="16" text-anchor="middle" fill="#b7aecb">판단 · 작업</text>
44
41
  <text x="542" y="250" font-size="15" font-weight="600" text-anchor="middle" fill="#d6b2ff">레인 제어는 헤드만</text>
45
42
  </g>
@@ -57,13 +54,11 @@
57
54
  <text x="845" y="288" font-size="16" text-anchor="middle" fill="#b7aecb">독립 세션</text>
58
55
  <text x="845" y="315" font-size="16" text-anchor="middle" fill="#b7aecb">저장소 / 주제 B</text>
59
56
  </g>
60
- <text x="249" y="304" font-size="15" fill="#b7aecb">헤드를 거쳐 응답</text>
61
- <text x="650" y="219" font-size="15" fill="#b7aecb">결과</text>
62
- <text x="695" y="295" font-size="15" fill="#b7aecb">결과</text>
63
- <text x="553" y="325" font-size="15" fill="#b7aecb">상태 / 맥락</text>
64
57
  <g>
65
- <rect x="446" y="370" width="490" height="44" rx="12" fill="#1c1828" stroke="#8f86a8" stroke-width="1.2" stroke-dasharray="5 5"/>
66
- <text x="466" y="398" font-size="18" font-weight="700" fill="#efeaf8">공유 게시판</text>
67
- <text x="586" y="398" font-size="15" fill="#b7aecb">정보 공유 전용 · 제어 아님</text>
58
+ <path d="M24 360H49" fill="none" stroke="#bb86ff" stroke-width="2.4" marker-end="url(#control-arrow)"/>
59
+ <text x="60" y="365" font-size="16" fill="#b7aecb">헤드에서 레인으로: lane_start 또는 lane_message</text>
60
+ <path d="M24 383H49" fill="none" stroke="#a49bbd" stroke-width="1.8" marker-end="url(#flow-arrow)"/>
61
+ <text x="60" y="388" font-size="16" fill="#b7aecb">레인에서 헤드로: 위임 작업 결과, 헤드에 보낸 질문, 원본 메시지에 연결된 범위 검토 요청</text>
62
+ <text x="60" y="411" font-size="16" fill="#b7aecb">컨트롤러는 연결된 주제의 일반 요청과 답변을 헤드 모델 호출 없이 처리합니다.</text>
68
63
  </g>
69
64
  </svg>