omp-superagent 0.0.0-stage → 0.1.1

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 (76) hide show
  1. package/DESIGN.md +1361 -0
  2. package/LICENSE +21 -0
  3. package/README.ko.md +184 -0
  4. package/README.md +205 -2
  5. package/THIRD_PARTY_NOTICES.md +313 -0
  6. package/assets/architecture.mmd +24 -0
  7. package/assets/architecture.svg +126 -0
  8. package/assets/superagent-avatar.jpg +0 -0
  9. package/assets/superagent-mascot.webp +0 -0
  10. package/config.example.json +26 -0
  11. package/docs/OPERATIONS.md +1030 -0
  12. package/docs/releases/0.1.0.md +222 -0
  13. package/docs/releases/0.1.1.md +60 -0
  14. package/package.json +59 -4
  15. package/scripts/check-omp.ts +4 -0
  16. package/scripts/ci.ts +28 -0
  17. package/scripts/prepare-ulw.ts +18 -0
  18. package/scripts/release.ts +50 -0
  19. package/scripts/setup.sh +25 -0
  20. package/skills/head/SKILL.md +259 -0
  21. package/skills/head/references/model-selection.md +263 -0
  22. package/skills/head/references/routing.md +356 -0
  23. package/skills/head/references/supervision.md +312 -0
  24. package/skills/lane/SKILL.md +188 -0
  25. package/skills/lane/references/workflow.md +349 -0
  26. package/src/autostart.ts +295 -0
  27. package/src/board-extension.ts +217 -0
  28. package/src/board.ts +396 -0
  29. package/src/cli.ts +167 -0
  30. package/src/config.ts +191 -0
  31. package/src/contracts.ts +317 -0
  32. package/src/credentials.ts +172 -0
  33. package/src/delivery.ts +7 -0
  34. package/src/dialog.ts +73 -0
  35. package/src/discord-command-registration.ts +201 -0
  36. package/src/discord-commands.ts +29 -0
  37. package/src/discord-markdown.ts +172 -0
  38. package/src/discord.ts +745 -0
  39. package/src/extension.ts +289 -0
  40. package/src/gateway-client.ts +222 -0
  41. package/src/gateway-protocol.ts +85 -0
  42. package/src/gateway-restart.ts +151 -0
  43. package/src/gateway-server.ts +392 -0
  44. package/src/gateway-store.ts +237 -0
  45. package/src/gateway.ts +638 -0
  46. package/src/head-recovery.ts +61 -0
  47. package/src/host-extension.ts +449 -0
  48. package/src/host-owner.ts +350 -0
  49. package/src/host-protocol.ts +136 -0
  50. package/src/host.ts +414 -0
  51. package/src/installed-omp.ts +63 -0
  52. package/src/lane-extension.ts +179 -0
  53. package/src/lane-models.ts +75 -0
  54. package/src/lane-report.ts +70 -0
  55. package/src/managed-ulw-probe.ts +172 -0
  56. package/src/managed-ulw.ts +471 -0
  57. package/src/message-order.ts +21 -0
  58. package/src/messenger-commands.ts +16 -0
  59. package/src/messengers.ts +114 -0
  60. package/src/native-presets.ts +282 -0
  61. package/src/native-sessions.ts +32 -0
  62. package/src/native-settings.ts +129 -0
  63. package/src/repository.ts +12 -0
  64. package/src/runtime.ts +3864 -0
  65. package/src/setup-judge.ts +34 -0
  66. package/src/setup-memory.ts +39 -0
  67. package/src/setup-profiles.ts +84 -0
  68. package/src/setup.ts +300 -0
  69. package/src/slack-command-registration.ts +217 -0
  70. package/src/slack-commands.ts +18 -0
  71. package/src/slack.ts +776 -0
  72. package/src/store.ts +806 -0
  73. package/src/telegram-command-registration.ts +155 -0
  74. package/src/telegram.ts +661 -0
  75. package/src/workflow.ts +94 -0
  76. package/upstream/ulw.json +9 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dbc-hbin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.ko.md ADDED
@@ -0,0 +1,184 @@
1
+ <p align="center">
2
+ <img src="assets/superagent-mascot.webp" width="320" alt="omp-superagent — 보라색 π 모양의 슈퍼히어로 에이전트">
3
+ </p>
4
+
5
+ [English](README.md) · **한국어**
6
+
7
+ # omp-superagent
8
+
9
+ **메신저에서 하나의 OMP 헤드와 대화하고, 필요한 작업만 독립적인 저장소·주제 레인으로 나눕니다.**
10
+
11
+ Discord·Telegram·Slack을 [oh-my-pi](https://github.com/can1357/oh-my-pi)의 세션·인증·도구·native `task`에 연결합니다.
12
+ 헤드는 직접 작업하거나 독립 레인에 위임하고 결과를 종합합니다. 기존 레인에 연결된 대화에서도 모든 후속 입력은 먼저 헤드로 갑니다.
13
+
14
+ [설계](DESIGN.md) · [운영](docs/OPERATIONS.md) · [설정 예제](config.example.json)
15
+
16
+ ## 배포 형태
17
+
18
+ **0.1.1부터 [npm 패키지](https://www.npmjs.com/package/omp-superagent)를 제공합니다.**
19
+ Bun 또는 npm으로 설치하거나
20
+ [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.1)의 소스·npm tarball을 받으세요.
21
+ 실행에는 Bun이 필요하며 독립 실행 바이너리는 아닙니다. OMP는 미리 설치되어 있어야 하며
22
+ 이 프로젝트가 패치하거나 빌드하지 않습니다. 설치 시 관리형 의존성도 준비합니다.
23
+
24
+ ## 차별점
25
+
26
+ - **직접 실행하는 헤드:** 조사·구현을 직접 처리하거나, 분리할 작업의 범위와 인계를 정해 위임합니다.
27
+ - **맡긴 목표 안의 자율 실행:** 다음 유용한 일을 선택·우선순위화하고 계획·실행·검증·수정합니다.
28
+ 검증한 중간 결과 뒤에도 남은 허가 작업을 단계별 허락 없이 이어가되 새 범위·외부 효과를 임의로 추가하지 않습니다.
29
+ - **저장소·주제별 독립 레인:** 별도 OMP Host와 세션으로 작업 디렉터리와 맥락을 나눕니다.
30
+ - **레인별 native 모델·프리셋:** 헤드가 native judge의 자문을 받아 선택하며, 다른 레인이나 전역 설정을 바꾸지 않습니다.
31
+ - **연결과 세션 수명의 분리:** 지속 실행되는 Gateway가 메신저 연결과 수신·조율 장부를 맡고, OMP 세션이 대화 맥락을 맡습니다.
32
+ - **관리 세션만 쓰는 공유 게시판:** 같은 인스턴스에 등록된 헤드·레인이 정보를 공유하며, 명령이나 승인 경로로 쓰지 않습니다.
33
+ - **순정 OMP 사용:** 관리형 익스텐션과 공개 API로 기존 세션·도구·승인·인증을 재사용하며 코어 fork를 유지하지 않습니다.
34
+
35
+ ## 구조
36
+
37
+ ![메신저 연결을 유지하는 Gateway, 직접 작업하거나 독립 레인에 인계하는 OMP 헤드, 같은 인스턴스의 정보 게시판](assets/architecture.svg)
38
+
39
+ [구조도 Mermaid 원본](assets/architecture.mmd)
40
+
41
+ Gateway는 메신저 연결·수신 장부·헤드 수명을 관리하는 데몬입니다. 작업을 판단하고 레인을 지시하는 주체는 헤드입니다.
42
+ 레인은 결과를 헤드에 보고하고, 헤드는 원래 대화에 맞춰 답합니다.
43
+
44
+ ## 빠른 시작
45
+
46
+ Git, **Bun >= 1.4.4**, 미리 설치된 **OMP >= 18.20.2, < 19**, 로컬 Unix socket 지원 환경이 필요합니다.
47
+ 검증 기준 OMP는 **18.20.2**이며 Windows는 지원하지 않습니다.
48
+
49
+ ### 1. 설치
50
+
51
+ [공식 설치 안내](https://github.com/can1357/oh-my-pi#installation)에 따라 OMP를 먼저 설치한 뒤,
52
+ Bun으로 CLI를 설치합니다.
53
+
54
+ ```sh
55
+ omp --version
56
+ bun add --global --trust omp-superagent@0.1.1
57
+ omp-sa --help
58
+ ```
59
+
60
+ `--trust`는 이 패키지의 OMP 검사와 관리형 `omp-ulw` 준비 스크립트 실행을 허용합니다.
61
+ `bun pm bin --global`의 출력 경로를 `PATH`에 포함하세요. Bun이 `PATH`에 있다면 npm으로도 설치할 수 있습니다.
62
+
63
+ ```sh
64
+ npm install --global omp-superagent@0.1.1
65
+ ```
66
+
67
+ 설치 시 별도로 설치된 OMP를 먼저 확인하고, postinstall이 필수 관리형 `omp-ulw`를 준비합니다.
68
+ 설치 lifecycle 스크립트를 생략하지 마세요.
69
+ 공개 SDK 패키지와 플랫폼 네이티브 의존성은 패키지 레지스트리에서 받으며, Rust 도구·OMP 소스
70
+ checkout·코어 패치·네이티브 빌드가 필요하지 않습니다. 의존성 설치에는 네트워크가 필요하지만,
71
+ 봇을 시작하거나 설치된 OMP를 교체하지는 않습니다.
72
+ `command`에는 설치된 OMP 실행 파일과 그 뒤에 네이티브 CLI 옵션을 지정합니다.
73
+ Bun 등 런타임으로 OMP 소스를 실행하는 래퍼는 지원하지 않습니다.
74
+
75
+ CLI 명령어는 **`omp-sa`**이며 프로젝트·패키지 이름은 `omp-superagent`로 유지합니다.
76
+ 소스 checkout이나 소스 tarball을 사용하는 경우에는 그 루트에서 대신 실행합니다.
77
+
78
+ ```sh
79
+ bun install --frozen-lockfile
80
+ bun link
81
+ ```
82
+
83
+ `omp-sa`와 소스 호출 `bun --no-env-file src/cli.ts`는 같은 CLI이며 둘 다 `.env` 자동 로딩을 끕니다.
84
+
85
+ ### 2. 설정과 자격 증명
86
+
87
+ [플랫폼 앱·권한](docs/OPERATIONS.md#2-플랫폼별-앱과-접근-범위)을 준비한 뒤 터미널에서 실행합니다.
88
+
89
+ ```sh
90
+ omp-sa setup --config ./config.local.json
91
+ ```
92
+
93
+ 셋업은 `config.local.json`을 만들고 숨김 입력으로 받은 토큰을 소유자 전용
94
+ `config.local.json.env`(`0600`)에 저장합니다. 파일은 암호화 저장소가 아닌 평문이며,
95
+ 비어 있지 않은 셸 자격 증명이 우선합니다. 모델 제공자 인증은 기존 OMP 방식으로 설정합니다.
96
+
97
+ 봇·모델 세션은 시작하지 않습니다. 최종 저장 확인에는 Discord/Telegram 봇 프로필 사진을
98
+ 마스코트로 바꾸는 작업도 포함됩니다. 권장하는 Mnemopi 기억 backend 활성화는 별도의 명시적
99
+ `yes`와 최종 저장 확인이 있어야 하며 OMP 전역 기억 backend를 변경합니다.
100
+ 누락된 native judge 역할은 설정을 권장하지만 모델을 자동 선택하거나 호출하지 않습니다.
101
+
102
+ 메모리 동작, 다른 설정 경로, 수동 설정과 저장 효과는
103
+ [설정 가이드](docs/OPERATIONS.md#3-설정)를 참고하세요.
104
+
105
+ ### 3. 진단 후 명시적으로 시작
106
+
107
+ ```sh
108
+ omp-sa doctor --config ./config.local.json
109
+ ```
110
+
111
+ 소스 준비와 `doctor`는 메신저에 로그인하지 않습니다. `doctor`로 로컬 설정과 CLI·자격 증명 환경을 진단한 뒤 시작합니다.
112
+
113
+ ```sh
114
+ omp-sa start --config ./config.local.json
115
+ ```
116
+
117
+ 같은 헤드가 누락된 native `high`/`middle`/`low` 프리셋만 초기화한 뒤 일반 작업을 시작합니다.
118
+ 기존 프리셋은 보존하며 `status`는 초기화와 transport 준비를 구분합니다.
119
+ setup과 doctor는 봇·모델 세션을 시작하지 않습니다.
120
+
121
+ `start`는 설정에 남긴 **모든 플랫폼**을 활성화하고, detached Gateway와 헤드를 시작합니다.
122
+ 이 패치 없는 배포판은 관리형 RPC Host에 native TUI/herdr로 접속하는 기능을 제공하지 않습니다.
123
+ 관리 세션은 메신저 명령과 `omp-sa status`로 확인하고 제어합니다.
124
+ 레인 기록은 일반 OMP의 기본 세션 검색에서도 찾습니다. `/resume`(Tab으로 모든 프로젝트)
125
+ 또는 native 기록 도구를 사용하세요. 의도적인 재개는 일반 OMP 작업이며 관리 Host 접속이나
126
+ 관리·게시판 권한 부여가 아닙니다.
127
+ [native 세션 접근](docs/OPERATIONS.md#일반-omp에서-세션-기록-찾기)에서 범위와 사용법을 확인하세요.
128
+
129
+ 상태 조회·종료·macOS 로그인 후 자동 시작·복구는 [운영 가이드](docs/OPERATIONS.md)를
130
+ 참고하세요. 로그인 자동 시작은 한 번 실행하는 방식이며 crash 자동 재시작은 아닙니다.
131
+ Linux 서비스 설치는 제공하지 않습니다.
132
+
133
+ ## 사용 방법
134
+
135
+ - 일반 메시지로 요청하세요. 질문은 바로 답하고, 작업 지시는 별도 주제에서 짧은 착수 보고와
136
+ 의미 있는 진척·결과를 전달합니다.
137
+ - 같은 주제의 후속 입력은 헤드를 통해 실행 중인 작업을 조정합니다. 저장소·주제별 레인 맥락은
138
+ 독립적입니다. 음성 첨부 메타데이터 보존이 자동 전사를 뜻하지는 않습니다.
139
+ - `/help`와 `/status`로 명령·상태를 확인합니다. `/model`·`/effort`는 유휴 헤드 세션만
140
+ 바꾸며 기존 레인·전역 기본값은 유지합니다. 전역 프리셋 저장은 명시적 `--global`이 필요합니다.
141
+ Slack 일반 메시지 명령은 `!`를 씁니다.
142
+ - `/stop`은 연결 레인을 일시정지하고 `/resume`은 재개를 허가합니다. 승인·취소·도구 제외와
143
+ 불확실한 효과에 대한 보류는 유지합니다. 진척 보고·복구가 작업 완료의 검증이나 외부 효과의
144
+ 취소를 뜻하지 않으며, 저장된 goal은 crash replay나 로드되지 않은 상태의 실행을 보장하지 않습니다.
145
+
146
+ 명령 등록, 재시작·복구 의미와 플랫폼 차이는
147
+ [명령과 일상 사용](docs/OPERATIONS.md#4-명령과-일상-사용)을 참고하세요.
148
+ 저장소를 편집했다고 현재 운영 서비스에 반영되는 것은 아닙니다.
149
+
150
+ ## ULW
151
+
152
+ 공식 [omp-ulw](https://github.com/dbc-hbin/omp-ulw)는 필수 관리형 통합입니다.
153
+ 사용자의 명시적 요청이나 허가된 작업에 구체적으로 도움이 된다는 헤드의 판단으로 workflow를
154
+ 선택합니다. 일반 작업은 직접 세션·native task·일반 레인으로 처리할 수 있습니다.
155
+
156
+ 업데이트는 새 Host에 적용하며 실행 중인 헤드·레인의 버전은 유지합니다.
157
+ [관리형 통합 운영](docs/OPERATIONS.md#필수-관리형-omp-ulw-설치와-갱신)에서 갱신·활성화 동작을 확인하세요.
158
+
159
+ ## 개발
160
+
161
+ 설치 후 로컬 검사를 실행합니다.
162
+
163
+ ```sh
164
+ bun run check
165
+ bun test test
166
+ bun run test:ci
167
+ ```
168
+
169
+ 오프라인 native/PTY 범위·필요 도구·로컬 패키징과 게시 경계는
170
+ [개발자 검증·소스 릴리즈 절차](docs/OPERATIONS.md#6-개발자-검증)를 참고하세요.
171
+ [실행 결과와 한계](docs/releases/0.1.0.md#verification-records)는 실계정·운영 준비 완료의 주장이 아닙니다.
172
+
173
+ ## 문서와 출처
174
+
175
+ - [운영 가이드](docs/OPERATIONS.md): 설치·설정·명령·복구 절차.
176
+ - [릴리즈 기록](docs/releases/0.1.0.md#verification-records): 날짜·기준선별 검증 근거와 한계.
177
+ - [설계](DESIGN.md): Gateway·헤드·레인과 공유 게시판의 계약.
178
+
179
+ [oh-my-pi](https://github.com/can1357/oh-my-pi)를 기반으로 하며, workflow에는 [omp-ulw](https://github.com/dbc-hbin/omp-ulw)를 사용합니다.
180
+
181
+ ## License
182
+
183
+ 프로젝트 코드는 [MIT 라이선스](LICENSE)를 따릅니다. 서드파티 구성 요소에는 별도 조건이
184
+ 적용됩니다. [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)를 참고하세요.
package/README.md CHANGED
@@ -1,3 +1,206 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <img src="assets/superagent-mascot.webp" width="320" alt="omp-superagent — a purple pi-shaped superhero agent">
3
+ </p>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ # omp-superagent
6
+
7
+ **English** · [한국어](README.ko.md)
8
+
9
+ **One OMP head in your messenger. Independent sessions for work that needs its own context.**
10
+
11
+ Connect Discord, Telegram, and Slack to [oh-my-pi](https://github.com/can1357/oh-my-pi).
12
+ The head can investigate, write code, and answer directly—or assign work to independent
13
+ OMP sessions called **lanes**, each with its own repository, context, and model.
14
+ Every request and follow-up goes through the head, which coordinates the work and brings
15
+ the results back to your conversation.
16
+
17
+ [Design](DESIGN.md) · [Setup & operations](docs/OPERATIONS.md) · [Configuration](config.example.json)
18
+
19
+ ## Distribution
20
+
21
+ **0.1.1 is available on [npm](https://www.npmjs.com/package/omp-superagent)** and as
22
+ source and npm tarballs in the
23
+ [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.1).
24
+ Install with Bun or npm below. Bun is still required at runtime; this is not a
25
+ standalone binary. OMP must already be installed; this project neither patches nor
26
+ builds it. Installation prepares the managed dependencies.
27
+
28
+ ## Why superagent?
29
+
30
+ - **A head that works, not just delegates.** Keep straightforward work in the main session.
31
+ Open lanes when separate context or independent execution helps.
32
+ - **Autonomy inside the entrusted objective.** Choose and prioritize useful next work,
33
+ plan, act, test, and repair. Verified intermediate results lead to remaining authorized
34
+ work without per-step permission, not to unrelated scope or automatic external effects.
35
+ - **Separate repositories and topics.** Lanes are real OMP work sessions, not another
36
+ supervisor layered over a worker.
37
+ - **Models chosen per lane.** The head consults OMP's judge and chooses a native model or
38
+ preset. Lane model changes stay local to that session, without rewriting global settings.
39
+ - **An always-on gateway, not an always-thinking agent.** The daemon keeps messenger
40
+ connections and durable intake alive. OMP retains conversations separately from process residency.
41
+ - **A shared information board.** The head and its managed lanes exchange findings and
42
+ progress. Unconnected OMP sessions cannot join; posts are information, not commands.
43
+ - **Unmodified OMP.** Reuse native sessions, tools, approvals, and authentication through
44
+ managed extensions and public APIs, without maintaining a core fork.
45
+
46
+ ## Architecture
47
+
48
+ ![Messengers connect to the Gateway, which routes all input through the OMP head. The head controls independent lanes and shares an informational board with them.](assets/architecture.svg)
49
+
50
+ [Mermaid source](assets/architecture.mmd)
51
+
52
+ The **Gateway** owns messenger connections and the head's lifecycle. The **head** owns
53
+ lane control and decides whether to work directly or delegate. **Lanes** report to the
54
+ head; the head replies to the original conversation.
55
+
56
+ ## Quick start
57
+
58
+ Requires Git, **Bun >= 1.4.4**, an installed **OMP >= 18.20.2 and < 19**, and local Unix
59
+ sockets. The tested OMP version is **18.20.2**. Windows is unsupported.
60
+ Configure `command` with the installed OMP executable followed by native CLI flags;
61
+ runtime/script wrappers are unsupported.
62
+
63
+ ### 1. Install
64
+
65
+ Install OMP using the
66
+ [upstream instructions](https://github.com/can1357/oh-my-pi#installation) first,
67
+ then install the CLI with Bun:
68
+
69
+ ```sh
70
+ omp --version
71
+ bun add --global --trust omp-superagent@0.1.1
72
+ omp-sa --help
73
+ ```
74
+
75
+ `--trust` allows this package's OMP check and managed `omp-ulw` preparation scripts.
76
+ Ensure `bun pm bin --global` is on `PATH`. Alternatively, with Bun on `PATH`:
77
+
78
+ ```sh
79
+ npm install --global omp-superagent@0.1.1
80
+ ```
81
+
82
+ Installation checks for a separately installed OMP before preparing the managed
83
+ `omp-ulw` integration. Do not skip lifecycle scripts.
84
+ Published SDK packages and platform-native dependencies come from the package registry;
85
+ no Rust toolchain, OMP source checkout, core patch, or native build is required.
86
+ Dependency installation needs network access. It does not start a bot or replace OMP.
87
+
88
+ The CLI command is **`omp-sa`**; the package name is `omp-superagent`.
89
+ For a source checkout or extracted source tarball, run from its root instead:
90
+
91
+ ```sh
92
+ bun install --frozen-lockfile
93
+ bun link
94
+ ```
95
+
96
+ Both `omp-sa` and the source invocation `bun --no-env-file src/cli.ts` run the same
97
+ CLI with automatic `.env` loading disabled.
98
+
99
+ ### 2. Configure
100
+
101
+ Prepare your platform apps using the [operations guide](docs/OPERATIONS.md#2-플랫폼별-앱과-접근-범위),
102
+ then run:
103
+
104
+ ```sh
105
+ omp-sa setup --config ./config.local.json
106
+ ```
107
+
108
+ Setup creates `config.local.json` and stores hidden-input tokens in owner-only
109
+ `config.local.json.env` (`0600`). That file is plaintext, not a vault; nonempty shell
110
+ credentials take precedence. Configure model authentication through OMP.
111
+
112
+ Setup does not start a bot or model session. Its final save confirmation includes
113
+ replacing configured Discord/Telegram bot avatars with the mascot. Enabling the
114
+ recommended Mnemopi memory backend requires a separate explicit `yes` and final save;
115
+ it changes OMP's global memory backend. Setup recommends configuring a missing native
116
+ judge role but does not choose or call a model.
117
+
118
+ See [configuration and setup effects](docs/OPERATIONS.md#3-설정) for permissions,
119
+ memory behavior, alternative config paths, and manual configuration.
120
+
121
+ ### 3. Start
122
+
123
+ Check local configuration without logging into the messengers:
124
+
125
+ ```sh
126
+ omp-sa doctor --config ./config.local.json
127
+ ```
128
+
129
+ Start the detached Gateway and head, connecting **all configured messengers**:
130
+
131
+ ```sh
132
+ omp-sa start --config ./config.local.json
133
+ ```
134
+
135
+ The same head initializes only missing native `high`/`middle`/`low` presets before ordinary
136
+ work. Existing presets remain intact; `status` distinguishes initialization from transport
137
+ readiness. Setup and doctor do not start bot/model sessions.
138
+
139
+ Native TUI/herdr attachment to managed RPC Hosts is not available in this patch-free
140
+ release. Use messenger commands and `omp-sa status` for managed sessions.
141
+ Lane journals also appear in ordinary OMP's native session discovery. Use `/resume`
142
+ (Tab for all projects) or native history tools; an intentional resume is normal OMP work,
143
+ not managed-Host attachment or a manager/board permission grant. See
144
+ [native session access](docs/OPERATIONS.md#일반-omp에서-세션-기록-찾기).
145
+
146
+ For status, shutdown, macOS login startup, and recovery, use the
147
+ [operations guide](docs/OPERATIONS.md). Login startup is a one-shot launch, not a
148
+ crash supervisor; Linux service installation is not provided.
149
+
150
+ ## Working from chat
151
+
152
+ - Ask normally. Questions get direct answers; work instructions open a topic with a
153
+ brief approach, followed by meaningful progress and results.
154
+ - Follow up in the same topic to steer active work through the head. Repositories and
155
+ topics keep independent lane context; voice metadata does not imply transcription.
156
+ - Use `/help` and `/status` for controls and state. `/model` and `/effort` manage the
157
+ idle head session, not existing lanes or global defaults. Global preset changes
158
+ require explicit `--global`. Slack's message commands use `!`.
159
+ - `/stop` pauses the bound lane; `/resume` authorizes continuation. Approvals,
160
+ cancellations, tool exclusions, and uncertain-effect holds remain binding.
161
+ Neither progress reports nor recovery prove task completion or undo external effects.
162
+ Saved goals do not guarantee crash replay or execution while unloaded.
163
+
164
+ See [commands, approvals, and everyday use](docs/OPERATIONS.md#4-명령과-일상-사용)
165
+ for command registration, restart and recovery semantics, and platform differences.
166
+ Repository changes alone do not update a running service.
167
+
168
+ ## ULW included
169
+
170
+ [omp-ulw](https://github.com/dbc-hbin/omp-ulw) is installed and loaded as a managed integration.
171
+ Use a workflow explicitly, or let the head select one when the authorized task genuinely
172
+ benefits from it. Ordinary work can stay in a direct session, native task, or regular lane.
173
+
174
+ Updates apply to new Hosts, not running heads or lanes. See
175
+ [managed integration operations](docs/OPERATIONS.md#필수-관리형-omp-ulw-설치와-갱신)
176
+ for update and activation behavior.
177
+
178
+ ## Development
179
+
180
+ Local checks after installation:
181
+
182
+ ```sh
183
+ bun run check
184
+ bun test test
185
+ bun run test:ci
186
+ ```
187
+
188
+ See [developer verification and source release steps](docs/OPERATIONS.md#6-개발자-검증)
189
+ for offline native/PTY coverage, prerequisites, and local packaging/publication boundaries.
190
+ [Recorded results and limitations](docs/releases/0.1.0.md#verification-records) are not a
191
+ claim of live-account or production readiness.
192
+
193
+ ## Documentation & credits
194
+
195
+ - [Design](DESIGN.md): routing, roles, sessions, and lifecycle.
196
+ - [Operations guide](docs/OPERATIONS.md): platform setup, commands, and recovery.
197
+ - [Release records](docs/releases/0.1.0.md#verification-records): dated verification evidence and limits.
198
+
199
+ Built on [oh-my-pi](https://github.com/can1357/oh-my-pi), with
200
+ [omp-ulw](https://github.com/dbc-hbin/omp-ulw) workflow integration.
201
+ The mascot reimagines OMP's pi mark as a little superhero.
202
+
203
+ ## License
204
+
205
+ Project code is licensed under [MIT](LICENSE). Third-party components retain their
206
+ separate terms; see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).