omp-superagent 0.1.18 โ†’ 0.1.19

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 (63) hide show
  1. package/docs/OPERATIONS.en.md +127 -30
  2. package/docs/OPERATIONS.md +114 -27
  3. package/docs/design/execution.md +90 -23
  4. package/docs/design/messaging.md +34 -2
  5. package/docs/releases/0.1.19.md +10 -0
  6. package/gateway/bin/omp-gateway-darwin-arm64 +0 -0
  7. package/gateway/bin/omp-gateway-darwin-x64 +0 -0
  8. package/gateway/bin/omp-gateway-linux-arm64 +0 -0
  9. package/gateway/bin/omp-gateway-linux-x64 +0 -0
  10. package/host-owner/bin/omp-host-owner-darwin-arm64 +0 -0
  11. package/host-owner/bin/omp-host-owner-darwin-x64 +0 -0
  12. package/host-owner/bin/omp-host-owner-linux-arm64 +0 -0
  13. package/host-owner/bin/omp-host-owner-linux-x64 +0 -0
  14. package/package.json +1 -1
  15. package/skills/head/SKILL.md +4 -3
  16. package/skills/head/references/model-selection.md +8 -22
  17. package/skills/head/references/routing.md +19 -11
  18. package/skills/lane/SKILL.md +24 -76
  19. package/skills/lane/references/workflow.md +7 -94
  20. package/src/cli.ts +36 -16
  21. package/src/config/config.ts +6 -2
  22. package/src/contracts.ts +20 -4
  23. package/src/extension.ts +10 -5
  24. package/src/host-extension.ts +76 -8
  25. package/src/lane/lane-report.ts +1 -1
  26. package/src/lane/lane-rows.ts +2 -1
  27. package/src/lane-extension.ts +4 -21
  28. package/src/messaging/result-attachment.ts +77 -19
  29. package/src/messaging/written-directives.ts +56 -0
  30. package/src/omp/exit-record.ts +27 -0
  31. package/src/omp/host-protocol.ts +20 -0
  32. package/src/omp/host.ts +73 -20
  33. package/src/omp/installed-omp.ts +15 -12
  34. package/src/omp/managed-super.ts +135 -65
  35. package/src/routing/topic-request.ts +7 -4
  36. package/src/runtime/controller.ts +512 -165
  37. package/src/runtime/inbound-attachments.ts +70 -0
  38. package/src/runtime/local-host-fence.ts +85 -0
  39. package/src/runtime/model-journal.ts +14 -9
  40. package/src/runtime/native-frames.ts +5 -1
  41. package/src/runtime/result-attachments.ts +151 -24
  42. package/src/runtime/worker-result-download.ts +36 -0
  43. package/src/storage/store.ts +79 -26
  44. package/src/worker/worker-checkout.ts +89 -9
  45. package/src/worker/worker-destination.ts +8 -7
  46. package/src/worker/worker-doctor.ts +29 -9
  47. package/src/worker/worker-enrollment.ts +44 -12
  48. package/src/worker/worker-git-startup.ts +157 -0
  49. package/src/worker/worker-host.ts +16 -26
  50. package/src/worker/worker-ledger.ts +42 -18
  51. package/src/worker/worker-placement-intent.ts +13 -0
  52. package/src/worker/worker-placement.ts +204 -28
  53. package/src/worker/worker-profile.ts +18 -65
  54. package/src/worker/worker-project-startup.ts +106 -0
  55. package/src/worker/worker-registration.ts +85 -30
  56. package/src/worker/worker-repository.ts +55 -6
  57. package/src/worker/worker-request.ts +13 -6
  58. package/src/worker/worker-result-attachments.ts +185 -0
  59. package/src/worker/worker-result-wire.ts +12 -0
  60. package/src/worker/worker-service.ts +51 -23
  61. package/src/worker/worker-trust.ts +19 -4
  62. package/src/worker/worker-wire.ts +47 -14
  63. package/upstream/super.json +2 -3
@@ -239,9 +239,8 @@ entries that were manually changed or deleted, other presets, and entries shadow
239
239
  higher-precedence configuration are not overwritten. Model and preset snapshots held by
240
240
  the running head and existing lanes remain unchanged.
241
241
 
242
- The head considers the actual requirements and available native models, then usually
243
- consults a native judge before choosing the final model and recording its reason.
244
- Consultation is skill policy, not a runtime gate requiring a receipt for every invocation.
242
+ The head selects an exact model or preset. A judge comparison and a written
243
+ selection note are optional for new lanes; neither is needed to start ordinary work.
245
244
  The lane's selection is stored as a full preset snapshot and does not change on later
246
245
  preset edits or resume. Availability or identity drift puts the lane on hold without
247
246
  automatic substitution. Request an explicit model change for an idle lane only through
@@ -537,21 +536,29 @@ previous layout still work. To prepare only omp-superkit again, run:
537
536
  bun run prepare:ulw
538
537
  ```
539
538
 
540
- `upstream/super.json` specifies the official remote and `checkIntervalMs: 3600000` (one hour).
541
- Installation checks the remote's **default branch HEAD**. A production Gateway needs a
539
+ `upstream/super.json` specifies the official GitHub release source and
540
+ `checkIntervalMs: 3600000` (one hour). Installation checks GitHub's **latest stable
541
+ release** and verifies its packaged ZIP against the published SHA-256. Unreleased
542
+ commits are not installed. A production Gateway needs a
542
543
  valid active installation before startup. Once it confirms that, it starts IPC and the
543
- head first, checks the remote in the background, and then checks hourly for new commits
544
+ head first, checks the remote in the background, and then checks hourly for new releases
544
545
  to prepare and activate. A slow or unreachable upstream does not delay startup if the
545
546
  Gateway already has a valid active installation. Ordinary code checks for updates; this
546
547
  is not a model watchdog, does not run a work lane, and does not authorize messenger bot
547
- login. Git and dependency downloads need network access. The process does not modify the
548
+ login. Preparation needs `curl`, `git`, and `unzip` on PATH, and network access for
549
+ GitHub and any package dependencies. The process does not modify the
548
550
  user's omp-superkit checkout, global OMP installation or configuration, or shared prompt
549
551
  sources.
550
552
 
553
+ If GitHub limits anonymous API requests, set `OMP_SUPERAGENT_SUPERKIT_GITHUB_TOKEN`
554
+ for preparation to a GitHub token with read access to the public release metadata.
555
+ It is used only for the official metadata endpoint, not the ZIP download.
556
+
551
557
  Only an immutable revision that passes preparation and the offline composition probe is
552
- activated, and activation is atomic. Once a revision is active, only fast-forwards from
553
- the same remote are allowed. The same check applies to the official `omp-ulw` โ†’
554
- `omp-superkit` rename. Failures, rewinds, and divergence leave the previous revision active.
558
+ activated, and activation is atomic. An existing commit-based installation remains
559
+ usable. The next release must come from the same remote and tag the active commit or
560
+ a descendant; this also applies across the official `omp-ulw` โ†’ `omp-superkit` rename.
561
+ Failures, rewinds, and divergence leave the previous package active.
555
562
  See the [design](design/execution.md#managed-omp-superkit-integration) for the lock, staging,
556
563
  and probe contracts. Do not bypass them by manually editing the managed pointer or lock.
557
564
  If there is no valid active revision, `start` fails before activating adapters. Recover
@@ -564,11 +571,11 @@ To check installation status without network access, run:
564
571
  bun run prepare:ulw -- --status
565
572
  ```
566
573
 
567
- The Gateway status response's `ulw` fields distinguish `revision`, `packagePath`,
568
- `upstreamRevision`, `checkedAt`, `error`, and `updating`. `injected` appears only for test
569
- injection. `revision` and `packagePath` identify the **active package the next new Host
570
- will use**, not the version of every running Host. `upstreamRevision` is the last observed
571
- remote result; read it alongside `checkedAt`, `error`, and `updating`. A failed or
574
+ The Gateway status response's `ulw` fields `releaseTag`, `revision`, and `packagePath`
575
+ identify the **active package the next new Host will use**, not the version of every
576
+ running Host. `releaseTag` is null for a legacy commit-based installation.
577
+ `upstreamReleaseTag` and `upstreamRevision` describe the last remote check; read them
578
+ alongside `checkedAt`, `error`, and `updating`. `injected` appears only for test injection. A failed or
572
579
  unperformed remote check does not show as a confirmed match with the latest version.
573
580
  In `omp-sa status --config FILE`, `gateway.head.loadedSuperkitPath` is the package path
574
581
  verified when the connected head's actual OMP session started. If it differs from
@@ -970,6 +977,15 @@ also shows uncertain IDs for earlier inputs or inputs joined to the current exec
970
977
  and any runtime or kickoff blocks. `pending` does not guarantee native delivery or
971
978
  execution.
972
979
 
980
+ When admission waits for `maxHosts`, `queueHolds.capacity` reports the last
981
+ completed admission check: resident count (including HEAD), limit, and `unverifiedLocalLaneIds`.
982
+ Inspect those lanes individually. `localFence: "journal-unverified"` means
983
+ HEAD verified a dead local Host and released only its slot; the original
984
+ journal, approvals and inputs remain held. Use a new lane for independent
985
+ work. Do not rename the socket, edit the ledger, or replay uncertain input.
986
+ An unknown owner, including an older installation with neither a recorded
987
+ handshake nor a matching fresh exit receipt, continues to count.
988
+
973
989
  Elapsed time is calculated at query time and is null if the clock moves backward. Only
974
990
  the root lane's `lane_report` selects and hashes actual files or tool results and records
975
991
  them in the native journal. In `eval`, finish the report cell before entering a long
@@ -2247,16 +2263,23 @@ checkout, use the source checkout instructions in [Local preparation](#1-local-p
2247
2263
  Configure the worker account's own OMP provider access (not a shell-command
2248
2264
  API key or remote auth broker) and enable its native
2249
2265
  memory backend (for example `omp config set memory.backend mnemopi` if none
2250
- is enabled). Prepare a dedicated clean clone of the same Git repository
2251
- **at the requested commit**. Enable **OpenSSH
2266
+ is enabled). Choose the repository to enroll. For reproducible placement (`--repo`),
2267
+ prepare a clean checkout **at the requested commit**. To work on the worker's
2268
+ existing files, including uncommitted work, choose a current-checkout mode below. Enable **OpenSSH
2252
2269
  server** for this account over your private network (e.g. a tailnet). The
2253
2270
  endpoint must enforce OpenSSH `authorized_keys` forced commands; Tailscale
2254
2271
  SSH's own login policy is not a substitute. No public port, second head,
2255
2272
  `omp-sa setup` or `omp-sa start` is needed on the worker.
2256
2273
  2. **On the head:** verify the worker's SSH host-key fingerprint with its operator
2257
2274
  and trust it in the head account's `known_hosts`. Use a directly resolvable DNS
2258
- name/IP, not a nickname from `~/.ssh/config`. If Tailscale SSH handles port 22,
2259
- use a separate OpenSSH listener on the private network, pin its host key as
2275
+ name/IP, not a nickname from `~/.ssh/config`. To route through the head's
2276
+ local Tailscale client instead of system DNS/TCP, use `tailscale://dev@linux-box:2222`.
2277
+ This uses `tailscale nc` as a byte pipe; it is **not** Tailscale SSH login.
2278
+ IPv6 literals use brackets, e.g. `dev@[fd00::42]:2222`. If Tailscale SSH handles port 22,
2279
+ use an OpenSSH port on the private network. Alternatively, an operator can
2280
+ expose an existing loopback OpenSSH listener through a tailnet-only TCP forward
2281
+ (Tailscale Serve), without moving its listening port. Restrict the exposed
2282
+ port to the intended client in the tailnet access policy. Pin the OpenSSH host key as
2260
2283
  `[host]:port` in `known_hosts`, and use `dev@linux-box:port` in both `worker add`
2261
2284
  calls. For the default SSH port:
2262
2285
  ```sh
@@ -2267,6 +2290,18 @@ checkout, use the source checkout instructions in [Local preparation](#1-local-p
2267
2290
  ```sh
2268
2291
  omp-sa worker init --head-key 'ssh-ed25519 โ€ฆ' --repo "$HOME/src/my-app"
2269
2292
  ```
2293
+ Choose a flag **per checkout**, when authorizing the key:
2294
+
2295
+ | Flag | What a new lane can use |
2296
+ | --- | --- |
2297
+ | `--repo PATH` | The exact, clean commit matched to the head. |
2298
+ | `--current-repo PATH` | Also the current contents on the worker, including staged, unstaged and untracked files, without copying or resetting them. Normal startup restrictions apply. |
2299
+ | `--trusted-repo PATH` | Also permits the supported project settings, filters and submodules described below. Use only for code the worker operator trusts. |
2300
+
2301
+ To run simultaneous lanes in **different, non-overlapping** enrolled repositories,
2302
+ pass `--capacity N` here (default `1`, at most the number of repositories).
2303
+ Each physical checkout still admits only one resident writer. A repeated init
2304
+ with a different policy does not broaden an existing key's permissions.
2270
2305
  This authorizes a dedicated forced-command key in that account's
2271
2306
  `~/.ssh/authorized_keys`. Do not copy the head's private key, bot tokens or
2272
2307
  configuration. Use a dedicated OS account if the worker should not have access
@@ -2277,17 +2312,65 @@ checkout, use the source checkout instructions in [Local preparation](#1-local-p
2277
2312
  repeat `worker add` with `--default --local-repo /path/on/head/my-app`.
2278
2313
  Omitting `--local-repo` uses the configured `headCwd`. Other checkouts with
2279
2314
  the same Git origin do not inherit permission to send ordinary tasks there.
2315
+ To work in the **worker's current files by default** instead, use this on the
2316
+ head after enrolling that repository with `--current-repo` or `--trusted-repo`:
2317
+ ```sh
2318
+ omp-sa worker add dev@linux-box --default-current --local-repo /path/on/head/my-app --config ./config.local.json
2319
+ ```
2320
+ New ordinary requests for that physical head checkout now use the worker's
2321
+ files without a special chat directive. You can register a path through a
2322
+ symlink. If you later point it at another checkout, reselect the intended
2323
+ default explicitly; `worker doctor` will report the change. If the binding cannot be verified,
2324
+ placement fails rather than running against other files. Explicit local
2325
+ placement opts out. Existing defaults and previously bound lanes do not change
2326
+ just because the software was upgraded. If an older enrollment recorded only
2327
+ the physical directory, repeat `worker add --default-current` with the alias
2328
+ before retargeting it; its original spelling cannot be recovered from the old record.
2280
2329
 
2281
2330
  Use `omp-sa worker list --config ./config.local.json` to see verified enrollments
2282
2331
  without contacting the workers. To check one now, run
2283
2332
  `omp-sa worker doctor dev@linux-box --config ./config.local.json` using the exact
2284
2333
  enrolled destination, including its port if specified. It checks the worker identity
2285
- and available slots. For a default worker it also verifies the current revision of
2286
- the approved head checkout. A blocked check exits nonzero; neither command starts a lane.
2334
+ and available slots. It checks a default's workspace policy: matching commit
2335
+ for `--default`, or the original local checkout and currently verified worker
2336
+ checkout for `--default-current`. A blocked check exits nonzero; neither command starts a lane.
2337
+
2338
+ Now ask for a remote lane or name the required platform in chat. Ordinary exact
2339
+ placement matches the repository by Git origin, not folder name, and requires a
2340
+ clean, committed source tree. To select the worker's own files for a single request,
2341
+ send the following to HEAD. Copy the worker ID and repository ID from `worker list`;
2342
+ append the relative subdirectory to the first line only if not working at the root.
2343
+
2344
+ ```text
2345
+ /head worker-current: WORKER_ID REPO_ID
2346
+ attach: reports/test-results.txt
2347
+ Run the tests against the worker's uncommitted changes and send me the report.
2348
+ ```
2287
2349
 
2288
- Now ask for a remote lane or name the required platform in chat. Superagent matches
2289
- the repository by Git origin, not folder name; local edits and ignored files are
2290
- not synchronized. Start with a clean, committed source tree. The worker reserves
2350
+ The `attach:` line is optional. Write both control lines yourself, not in a
2351
+ quote or forward. You can attach input files to the same message. The result
2352
+ file is relative to the selected **worker** directory. An exact model ID
2353
+ available only in the worker profile can be used there; the worker verifies
2354
+ the selected model before starting the request. An already-open lane in
2355
+ that worker directory can handle the request; no additional registration or
2356
+ second copy of the selector is needed. If an older Slack or
2357
+ Telegram receipt cannot show that you wrote the directive, replaying the
2358
+ message will not grant permission. Check whether the earlier request ran or
2359
+ sent a file before sending a new instruction.
2360
+
2361
+ The head needs a verified local directory for the same repository and relative
2362
+ subdirectory, but the commits and working files need not match in this mode.
2363
+ The lane pins the worker's actual base commit and physical directories. A
2364
+ different checkout or base is not a continuation. **This does not sync files.**
2365
+ If the changes exist only on the head, send the specific files or a reviewed
2366
+ patch as attachments, or prepare the worker checkout through your own authorized
2367
+ file-sharing workflow before opening it. For example, attach a reviewed patch
2368
+ and ask the lane to run `git apply --check` in its checkout before applying it;
2369
+ an overlapping worker edit is a conflict, not permission to overwrite it.
2370
+ Send a new untracked file explicitly if it is not in the patch. Do not send
2371
+ dotenv, credentials or a whole home directory. An `ovnfs attach` view without a
2372
+ physical `.git` directory is not itself an enrollable Git checkout. There is no automatic copy back.
2373
+ The worker reserves
2291
2374
  its checkout for one resident lane; it does not fetch, switch branches, or discard
2292
2375
  edits. Follow-ups stay on the same worker and native session; disconnecting SSH
2293
2376
  does not stop that Host. After a verified release, a lane can reopen its same
@@ -2301,14 +2384,28 @@ and that no public socket remains. For a previously attached lane, this also
2301
2384
  requires proof that guarded shutdown confirmed no native work remained. The old
2302
2385
  lane stays held for inspection; its journal and permissions are unchanged.
2303
2386
  Missing proof is not permission to remove a stale-looking checkout claim.
2304
- Chat replies and approval cards use the original route; messenger file transfer
2305
- is not provided across SSH.
2387
+ Chat replies and approval cards use the original route. Supported messenger
2388
+ attachments travel as verified bytes over the enrolled connection, not as CDN
2389
+ links, bot credentials or head-local paths. Use matching builds at both ends.
2390
+ To receive a result in an existing worker lane, start the owner message with
2391
+ `attach: relative/path` on its own line. The named regular file comes from the worker,
2392
+ not a same-name file on the head; the local 8 MiB limit and route checks apply.
2306
2393
  Remote lanes require the normal stock OMP command without extra head-side flags:
2307
2394
  custom tool/profile/approval flags are never silently removed to run remotely.
2308
- Use a dedicated worker OMP profile without ambient plugins. Worker startup
2309
- rejects project execution configuration (such as `.omp/`, `.env` or Git filter
2310
- drivers), linked worktrees and submodules rather than loading or rewriting
2311
- them. An operator who needs a custom model extension can list its trusted,
2395
+ Use a dedicated worker OMP profile without ambient plugins. With `--trusted-repo`
2396
+ and current placement, owned regular `.env` files may remain for the project's
2397
+ own tools; the worker does not load them as Host credentials. The selected
2398
+ directory's `.omp/config.yml` or `.omp/settings.json` can provide `modelRoles`
2399
+ and `defaultThinkingLevel`. A project role set to `null` inherits the worker
2400
+ profile's role, as it does in local OMP. Selecting an exact lane model changes only the
2401
+ `default` role; a named preset still supplies its own role map. `.omp/README.md`
2402
+ and `.omp/.gitignore` may remain alongside these settings. Ordinary fetch, pull
2403
+ and push preferences, local Git filters and validated submodules do not need to
2404
+ be removed; verification does not execute filters or fetch/update modules.
2405
+ Use stored worker model credentials, not provider keys inherited through the
2406
+ environment, in this mode. This is **not** permission for ambient project plugins,
2407
+ MCP servers, Git hooks/includes, arbitrary `.omp` settings or linked worktrees.
2408
+ An operator who needs a custom model extension can list its trusted,
2312
2409
  absolute module path in a private `worker-extensions.json` array in the worker's
2313
2410
  OMP agent directory (`0600`, outside enrolled checkouts).
2314
2411
  Check `omp-sa status --config ./config.local.json` for the saved placement.
@@ -196,8 +196,8 @@ SUPER ์Šคํ‚ฌ ์กฐํšŒยท์ถ”๊ฐ€ ๋ ˆ์ธยทgoalยท๋ชจ๋ธ ๋ณ€๊ฒฝยทworkflow artifact๊ฐ€
196
196
  ๋‹ค๋ฅธ ํ”„๋ฆฌ์…‹, ์ƒ์œ„ ์„ค์ •์ด ๊ฐ€๋ฆฐ ํ•ญ๋ชฉ์€ ๋ฎ์–ด์“ฐ์ง€ ์•Š๋Š”๋‹ค. ์ด๋ฏธ ์‹คํ–‰ ์ค‘์ธ ํ—ค๋“œ์™€ ๊ธฐ์กด
197
197
  ๋ ˆ์ธ์ด ๋ณด์œ ํ•œ ๋ชจ๋ธยทํ”„๋ฆฌ์…‹ ์Šค๋ƒ…์ƒท์€ ๋ฐ”๋€Œ์ง€ ์•Š๋Š”๋‹ค.
198
198
 
199
- ํ—ค๋“œ๋Š” ์‹ค์ œ ์š”๊ตฌยทnative ๊ฐ€์šฉ ํ›„๋ณด๋ฅผ ์กฐ์‚ฌํ•˜๊ณ  ํ†ต์ƒ native judge ์ž๋ฌธ ๋’ค ์ตœ์ข… ๋ชจ๋ธ๊ณผ ์ด์œ ๋ฅผ
200
- ์ •ํ•œ๋‹ค. ์ž๋ฌธ์€ ์Šคํ‚ฌ ์ •์ฑ…์ด์ง€ ๋ชจ๋“  ํ˜ธ์ถœ์— ์˜์ˆ˜์ฆ์„ ์š”๊ตฌํ•˜๋Š” runtime gate๊ฐ€ ์•„๋‹ˆ๋‹ค.
199
+ ํ—ค๋“œ๋Š” ์ •ํ™•ํ•œ ๋ชจ๋ธ์ด๋‚˜ ํ”„๋ฆฌ์…‹์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ƒˆ ๋ ˆ์ธ์„ ์—ด ๋•Œ ๋ชจ๋ธ ๋น„๊ต๋ฅผ ์œ„ํ•œ
200
+ judge ํ˜ธ์ถœ์ด๋‚˜ ์„ ํƒ ์‚ฌ์œ  ์ž‘์„ฑ์€ ํ•„์ˆ˜๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค.
201
201
  ๋ ˆ์ธ ์„ ํƒ์€ ์ „์ฒด preset snapshot์œผ๋กœ ์œ ์ง€ํ•˜๋ฉฐ ์ดํ›„ ํ”„๋ฆฌ์…‹ ํŽธ์ง‘ยท์žฌ๊ฐœ๋กœ ๋ฐ”๋€Œ์ง€ ์•Š๋Š”๋‹ค.
202
202
  ๊ฐ€์šฉ์„ฑยทidentity drift๋Š” ์ž๋™ ๋Œ€์ฒด ์—†์ด ๋ณด๋ฅ˜ํ•œ๋‹ค. ๋ช…์‹œ์  ์œ ํœด ๋ ˆ์ธ ๋ณ€๊ฒฝ์€ ํ—ค๋“œ์˜
203
203
  `lane_set_model`๋กœ๋งŒ ์š”์ฒญํ•˜๋ฉฐ ์ „์—ญ ์„ค์ •ยทํ—ค๋“œยท๋‹ค๋ฅธ ๋ ˆ์ธยทpause/uncertain ์ƒํƒœ๋ฅผ ๋ฐ”๊พธ์ง€ ์•Š๋Š”๋‹ค.
@@ -464,17 +464,23 @@ export PATH="$PWD/.upstream/toolchain/node_modules/.bin:$PATH"
464
464
  bun run prepare:ulw
465
465
  ```
466
466
 
467
- ์„ค์ •์€ `upstream/super.json`์˜ ๊ณต์‹ ์›๊ฒฉ๊ณผ `checkIntervalMs: 3600000`(1์‹œ๊ฐ„)์ด๋‹ค. ์„ค์น˜ ๋•Œ ์›๊ฒฉ์˜
468
- **๊ธฐ๋ณธ ๋ธŒ๋žœ์น˜ HEAD**๋ฅผ ํ™•์ธํ•œ๋‹ค. production Gateway ์‹œ์ž‘์—๋Š” ์ด๋ฏธ ์œ ํšจํ•œ active ์„ค์น˜๊ฐ€
467
+ `upstream/super.json`์— ๊ณต์‹ GitHub ๋ฆด๋ฆฌ์Šค ์ฃผ์†Œ์™€ `checkIntervalMs: 3600000`(1์‹œ๊ฐ„)์ด ์ง€์ •๋˜์–ด ์žˆ๋‹ค.
468
+ ์„ค์น˜ํ•  ๋•Œ GitHub์˜ **์ตœ์‹  ์ •์‹ ๋ฆด๋ฆฌ์Šค**๋ฅผ ํ™•์ธํ•˜๊ณ  ๋ฐฐํฌ ZIP์„ ๊ณต๊ฐœ๋œ SHA-256์œผ๋กœ ๊ฒ€์ฆํ•œ๋‹ค.
469
+ ๋ฆด๋ฆฌ์Šค๋˜์ง€ ์•Š์€ ์ปค๋ฐ‹์€ ์„ค์น˜ํ•˜์ง€ ์•Š๋Š”๋‹ค. production Gateway ์‹œ์ž‘์—๋Š” ์ด๋ฏธ ์œ ํšจํ•œ active ์„ค์น˜๊ฐ€
469
470
  ํ•„์š”ํ•˜๋‹ค. ์ด๋ฅผ ํ™•์ธํ•˜๋ฉด IPC/head๋ฅผ ๋จผ์ € ์‹œ์ž‘ํ•˜๊ณ  startup ์›๊ฒฉ ํ™•์ธ์€ ๋ฐฑ๊ทธ๋ผ์šด๋“œ๋กœ ์ˆ˜ํ–‰ํ•˜๋ฉฐ,
470
- ์ดํ›„ ๋งค์‹œ๊ฐ„ ์ƒˆ ์ปค๋ฐ‹์„ ํ™•์ธํ•ด ์ค€๋น„ยทํ™œ์„ฑํ™”ํ•œ๋‹ค. ๋А๋ฆฌ๊ฑฐ๋‚˜ ์ ‘๊ทผ ๋ถˆ๊ฐ€๋Šฅํ•œ upstream ๋•Œ๋ฌธ์— ์ •์ƒ
471
+ ์ดํ›„ ๋งค์‹œ๊ฐ„ ์ƒˆ ๋ฆด๋ฆฌ์Šค๋ฅผ ํ™•์ธํ•ด ์ค€๋น„ยทํ™œ์„ฑํ™”ํ•œ๋‹ค. ๋А๋ฆฌ๊ฑฐ๋‚˜ ์ ‘๊ทผ ๋ถˆ๊ฐ€๋Šฅํ•œ upstream ๋•Œ๋ฌธ์— ์ •์ƒ
471
472
  active๊ฐ€ ์žˆ๋Š” Gateway ์‹œ์ž‘์„ ๊ธฐ๋‹ค๋ฆฌ๊ฒŒ ํ•˜์ง€ ์•Š๋Š”๋‹ค. ์ด๋Š” ์ผ๋ฐ˜ ์ฝ”๋“œ์˜ ์—…๋ฐ์ดํŠธ ํ™•์ธ์ด์ง€ ๋ชจ๋ธ watchdogยท์ž‘์—… ๋ ˆ์ธ ์‹คํ–‰์ด๋‚˜
472
- ๋ฉ”์‹ ์ € ๋ด‡ ๋กœ๊ทธ์ธ ํ—ˆ๊ฐ€๊ฐ€ ์•„๋‹ˆ๋‹ค. Gitยท์˜์กด์„ฑ ๋‹ค์šด๋กœ๋“œ์— ๋„คํŠธ์›Œํฌ๊ฐ€ ํ•„์š”ํ•˜๋ฉฐ ์‚ฌ์šฉ์ž omp-superkit
473
- checkout, ์ „์—ญ OMP ์„ค์น˜ยท์„ค์ •, ๊ณต์œ  ํ”„๋กฌํ”„ํŠธ ์›๋ณธ์€ ์ˆ˜์ •ํ•˜์ง€ ์•Š๋Š”๋‹ค.
473
+ ๋ฉ”์‹ ์ € ๋ด‡ ๋กœ๊ทธ์ธ ํ—ˆ๊ฐ€๊ฐ€ ์•„๋‹ˆ๋‹ค. ์„ค์น˜์—๋Š” PATH์˜ `curl`, `git`, `unzip`๊ณผ GitHub ๋ฐ ์˜์กด์„ฑ ๋‹ค์šด๋กœ๋“œ์šฉ
474
+ ๋„คํŠธ์›Œํฌ๊ฐ€ ํ•„์š”ํ•˜๋‹ค. ์‚ฌ์šฉ์ž omp-superkit checkout, ์ „์—ญ OMP ์„ค์น˜ยท์„ค์ •, ๊ณต์œ  ํ”„๋กฌํ”„ํŠธ ์›๋ณธ์€ ์ˆ˜์ •ํ•˜์ง€ ์•Š๋Š”๋‹ค.
475
+
476
+ GitHub๊ฐ€ ์ต๋ช… API ์š”์ฒญ์„ ์ œํ•œํ•˜๋ฉด, ํŒจํ‚ค์ง€ ์ค€๋น„ ์‹œ `OMP_SUPERAGENT_SUPERKIT_GITHUB_TOKEN`์—
477
+ ๊ณต๊ฐœ ๋ฆด๋ฆฌ์Šค ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ์ฝ์„ ์ˆ˜ ์žˆ๋Š” GitHub ํ† ํฐ์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. ํ† ํฐ์€ ๊ณต์‹ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
478
+ ์กฐํšŒ์—๋งŒ ์“ฐ๋ฉฐ ZIP ๋‹ค์šด๋กœ๋“œ์—๋Š” ๋ณด๋‚ด์ง€ ์•Š๋Š”๋‹ค.
474
479
 
475
480
  ์ค€๋น„ยทoffline composition probe๊ฐ€ ์„ฑ๊ณตํ•œ immutable revision๋งŒ ์›์ž์ ์œผ๋กœ ํ™œ์„ฑํ™”ํ•œ๋‹ค.
476
- ๊ธฐ์กด active ์ดํ›„์—๋Š” ๊ฐ™์€ ์›๊ฒฉ์˜ fast-forward๋งŒ ํ—ˆ์šฉํ•˜๋ฉฐ, ๊ณต์‹ `omp-ulw` โ†’ `omp-superkit`
477
- ์ด๋ฆ„ ๋ณ€๊ฒฝ์—๋„ ๊ฐ™์€ ๊ฒ€์‚ฌ๋ฅผ ์ ์šฉํ•œ๋‹ค. ์‹คํŒจยทrewindยทdivergence๋Š” ์ด์ „ active๋ฅผ ๋ณด์กดํ•œ๋‹ค.
481
+ ๊ธฐ์กด ์ปค๋ฐ‹ ๊ธฐ๋ฐ˜ ์„ค์น˜๋Š” ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ์ดํ›„์—๋Š” ๊ฐ™์€ ์›๊ฒฉ์—์„œ ๊ธฐ์กด ํ™œ์„ฑ ์ปค๋ฐ‹์ด๋‚˜
482
+ ๊ทธ ํ›„์† ์ปค๋ฐ‹์„ ํƒœ๊ทธํ•œ ๋ฆด๋ฆฌ์Šค๋งŒ ํ™œ์„ฑํ™”ํ•œ๋‹ค. ๊ณต์‹ `omp-ulw` โ†’ `omp-superkit` ์ด๋ฆ„ ๋ณ€๊ฒฝ์—๋„
483
+ ๊ฐ™์€ ๊ฒ€์‚ฌ๋ฅผ ์ ์šฉํ•œ๋‹ค. ์‹คํŒจยทrewindยทdivergence๋Š” ์ด์ „ ํ™œ์„ฑ ํŒจํ‚ค์ง€๋ฅผ ๋ณด์กดํ•œ๋‹ค.
478
484
  ์ƒ์„ธ lockยทstagingยทprobe ๊ณ„์•ฝ์€ [์„ค๊ณ„](design/execution.md#managed-omp-superkit-integration)๋ฅผ ๋”ฐ๋ฅธ๋‹ค.
479
485
  ๊ด€๋ฆฌ pointer/lock์„ ์ˆ˜๋™ ํŽธ์ง‘ํ•ด ์šฐํšŒํ•˜์ง€ ์•Š๋Š”๋‹ค. active๊ฐ€ ์—†๊ฑฐ๋‚˜ ๋ฌดํšจ๋ฉด start๋Š” ์–ด๋Œ‘ํ„ฐ
480
486
  ํ™œ์„ฑํ™” ์ „์— ์‹คํŒจํ•˜๋ฏ€๋กœ `bun run prepare:ulw`๋กœ ๋จผ์ € ๋ณต๊ตฌํ•œ๋‹ค. doctor๋Š” ์›๊ฒฉ ์ตœ์‹ ์„ฑ์ด๋‚˜
@@ -486,10 +492,10 @@ loader ์„ฑ๊ณต์„ ๊ฒ€์‚ฌํ•˜์ง€ ์•Š๋Š”๋‹ค. ์ด์ „ revision์€ ์ž๋™ ์‚ญ์ œํ•˜์ง€
486
492
  bun run prepare:ulw -- --status
487
493
  ```
488
494
 
489
- Gateway ์ƒํƒœ ์‘๋‹ต์˜ `ulw`๋Š” `revision`, `packagePath`, `upstreamRevision`, `checkedAt`,
490
- `error`, `updating`์„ ๊ตฌ๋ถ„ํ•œ๋‹ค(`injected`๋Š” ํ…Œ์ŠคํŠธ์šฉ ์ฃผ์ž…์ธ ๊ฒฝ์šฐ์—๋งŒ ํ‘œ์‹œ). `revision`๊ณผ
491
- `packagePath`๋Š” **๋‹ค์Œ ์ƒˆ Host๊ฐ€ ์‚ฌ์šฉํ•  active package**์ด๋ฉฐ ์‹คํ–‰ ์ค‘ ๋ชจ๋“  Host์˜ ๋ฒ„์ „์ด ์•„๋‹ˆ๋‹ค.
492
- `upstreamRevision`์€ ๋งˆ์ง€๋ง‰ ํ™•์ธํ•œ ์›๊ฒฉ ๊ฒฐ๊ณผ์ด๊ณ  `checkedAt`ยท`error`ยท`updating`๊ณผ ํ•จ๊ป˜ ์ฝ๋Š”๋‹ค.
495
+ Gateway ์ƒํƒœ ์‘๋‹ต์˜ `ulw`์—์„œ `releaseTag`, `revision`, `packagePath`๋Š” **๋‹ค์Œ ์ƒˆ Host๊ฐ€ ์‚ฌ์šฉํ• 
496
+ ํ™œ์„ฑ ํŒจํ‚ค์ง€**๋ฅผ ๊ฐ€๋ฆฌํ‚ค๋ฉฐ ์‹คํ–‰ ์ค‘ ๋ชจ๋“  Host์˜ ๋ฒ„์ „์ด ์•„๋‹ˆ๋‹ค. ์ด์ „ ์ปค๋ฐ‹ ๊ธฐ๋ฐ˜ ์„ค์น˜์˜ `releaseTag`๋Š”
497
+ `null`์ด๋‹ค. ๋งˆ์ง€๋ง‰ ์›๊ฒฉ ์กฐํšŒ์˜ `upstreamReleaseTag`ยท`upstreamRevision`์€
498
+ `checkedAt`ยท`error`ยท`updating`๊ณผ ํ•จ๊ป˜ ์ฝ๋Š”๋‹ค(`injected`๋Š” ํ…Œ์ŠคํŠธ์šฉ ์ฃผ์ž…์ธ ๊ฒฝ์šฐ์—๋งŒ ํ‘œ์‹œ).
493
499
  ์›๊ฒฉ ์กฐํšŒ ์‹คํŒจยท๋ฏธํ™•์ธ์„ ์ตœ์‹  ์ผ์น˜๋กœ ํ‘œ์‹œํ•˜์ง€ ์•Š๋Š”๋‹ค. `omp-sa status --config FILE`์˜
494
500
  `gateway.head.loadedSuperkitPath`๋Š” ์—ฐ๊ฒฐ๋œ head์˜ ์‹ค์ œ OMP ์„ธ์…˜์ด ์‹œ์ž‘ํ•  ๋•Œ ํ™•์ธํ•œ ํŒจํ‚ค์ง€ ๊ฒฝ๋กœ๋‹ค.
495
501
  ์ด ๊ฒฝ๋กœ์™€ `gateway.ulw.packagePath`๊ฐ€ ๋‹ค๋ฅด๋ฉด head๋Š” ์•„์ง ์ด์ „ ๋ฒ„์ „์„ ์“ฐ๊ณ  ์žˆ๋‹ค.
@@ -810,6 +816,15 @@ job/dependency๋Š” ๋ช…์‹œ์ ์ธ ๊ทผ๊ฑฐ ํฌํ•จ `resolved`๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค.
810
816
  ๋ฐ˜ํ™˜ํ•œ๋‹ค. `lane_message`๋Š” ์˜์† ์ž…๋ ฅ ID์™€ ์ƒํƒœ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋ฉฐ, `pending`์ด๋ฉด
811
817
  ์•ž์„  ์ž…๋ ฅ ๋˜๋Š” ํ˜„์žฌ ์‹คํ–‰์— ํ•ฉ๋ฅ˜ํ•œ ์ž…๋ ฅ์˜ ๋ถˆํ™•์‹คํ•œ ID์™€ ๋Ÿฐํƒ€์ž„/์ฐฉ์ˆ˜ ๋ฉ”์‹œ์ง€ ์ฐจ๋‹จ๋„
812
818
  ํ‘œ์‹œํ•œ๋‹ค. `pending`์€ native ์ „๋‹ฌ์ด๋‚˜ ์‹คํ–‰์„ ๋ณด์žฅํ•˜์ง€ ์•Š๋Š”๋‹ค.
819
+
820
+ `maxHosts` ํ•œ๋„ ๋•Œ๋ฌธ์— ๊ธฐ๋‹ค๋ฆฌ๋Š” ๋ ˆ์ธ์˜ `queueHolds.capacity`์—๋Š” ๋งˆ์ง€๋ง‰์œผ๋กœ ์™„๋ฃŒํ•œ
821
+ ๋ฐฐ์ • ๊ฒ€์‚ฌ์—์„œ ํ™•์ธํ•œ ์ƒ์ฃผ ์ˆ˜(HEAD ํฌํ•จ), ํ•œ๋„, ์†Œ์œ ๊ถŒ ๋ฏธํ™•์ธ ๋กœ์ปฌ ๋ ˆ์ธ ID(`unverifiedLocalLaneIds`)๊ฐ€
822
+ ํ‘œ์‹œ๋œ๋‹ค. ํ•ด๋‹น ๋ ˆ์ธ์„ ๊ฐœ๋ณ„ ์กฐํšŒํ•œ๋‹ค. `localFence: "journal-unverified"`๋Š” ์ข…๋ฃŒ๊ฐ€
823
+ ํ™•์ธ๋œ ๋กœ์ปฌ Host์˜ **์Šฌ๋กฏ๋งŒ** ๋ฐ˜ํ™˜ํ–ˆ๋‹ค๋Š” ๋œป์ด๋‹ค. ์›๋ž˜ ์ €๋„ยท์Šน์ธยท์ž…๋ ฅ์€ ๊ทธ๋Œ€๋กœ
824
+ ๋ณดํ˜ธ๋œ๋‹ค. ๋…๋ฆฝ๋œ ์ž‘์—…์€ ์ƒˆ ๋ ˆ์ธ์—์„œ ์ง„ํ–‰ํ•˜๊ณ  ์†Œ์ผ“ ์ด๋ฆ„ ๋ณ€๊ฒฝ, DB ์ˆ˜์ •, ๋ถˆํ™•์‹คํ•œ
825
+ ์ž…๋ ฅ ์žฌ์ „์†ก์€ ํ•˜์ง€ ์•Š๋Š”๋‹ค. ์ด์ „ ๋ฒ„์ „์—์„œ ์—ฐ๊ฒฐ ๋‹น์‹œ์˜ ์†Œ์œ ์ž ์ •๋ณด๋„ ์ผ์น˜ํ•˜๋Š”
826
+ ์ตœ์‹  ์ข…๋ฃŒ ๊ธฐ๋ก๋„ ๋‚จ์ง€ ์•Š์€ ๊ฒฝ์šฐ์ฒ˜๋Ÿผ ์†Œ์œ ์ž๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์—†์œผ๋ฉด ์Šฌ๋กฏ์€ ์œ ์ง€๋œ๋‹ค.
827
+
813
828
  ๊ฒฝ๊ณผ ์‹œ๊ฐ„์€ ์กฐํšŒ ์‹œ ๊ณ„์‚ฐํ•˜๋ฉฐ ์‹œ๊ณ„ ์—ญํ–‰์ด๋ฉด null์ด๋‹ค. root lane์˜ `lane_report`๋งŒ
814
829
  ์‹ค์ œ ํŒŒ์ผ/๋„๊ตฌ ๊ฒฐ๊ณผ๋ฅผ ์„ ํƒยทํ•ด์‹œํ•˜๊ณ  native journal์— ๊ธฐ๋กํ•œ๋‹ค. eval์—์„œ๋Š” ๋ณด๊ณ  cell์„
815
830
  ์™„๋ฃŒํ•œ ๋’ค ๊ธด ๋Œ€๊ธฐ์— ๋“ค์–ด๊ฐ€์•ผ ํ•ด๋‹น ๊ฒฝ๊ณ„์—์„œ ํ—ค๋“œ๊ฐ€ ํšŒ์ˆ˜ํ•  ์ˆ˜ ์žˆ๋‹ค. ์žฌ์‹œ์ž‘ ์‹œ ๊ฐ™์€ ์›๋ณธ
@@ -1836,14 +1851,19 @@ bun --no-env-file src/cli.ts uninstall --config config.local.json
1836
1851
  ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž๊ฐ€ ํ•ด๋‹น ๊ฒฝ๋กœ์˜ ํŒŒ์ผ์„ ๊ต์ฒดํ•  ์ˆ˜ ์—†์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
1837
1852
  ์ž‘์—…ํ•  ๊ณ„์ •์—์„œ OMP ๋ชจ๋ธ ์ธ์ฆ๊ณผ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฉ”๋ชจ๋ฆฌ ๋ฐฑ์—”๋“œ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์›Œ์ปค์—์„œ๋Š” ์…ธ ๋ช…๋ น์œผ๋กœ
1838
1853
  ๊ฐ€์ ธ์˜ค๋Š” API ํ‚ค์™€ ์›๊ฒฉ ์ธ์ฆ ๋ธŒ๋กœ์ปค๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ฉ”๋ชจ๋ฆฌ ๋ฐฑ์—”๋“œ๊ฐ€ ์—†๋‹ค๋ฉด
1839
- ์˜ˆ๋ฅผ ๋“ค์–ด `omp config set memory.backend mnemopi`๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐ™์€ Git ์ €์žฅ์†Œ์˜ ์ „์šฉ clone์„
1840
- **์š”์ฒญํ•  ์ปค๋ฐ‹์œผ๋กœ** ๋งž์ถฅ๋‹ˆ๋‹ค. ์ปค๋ฐ‹๋งŒ ๋ฐ›์•„ ๋†“๊ณ  ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜์—์„œ ์ž‘์—… ์ค‘์ธ ์ƒํƒœ๋กœ๋Š” ๋ถ€์กฑํ•ฉ๋‹ˆ๋‹ค.
1854
+ ์˜ˆ๋ฅผ ๋“ค์–ด `omp config set memory.backend mnemopi`๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. `--repo`๋กœ ๋“ฑ๋กํ•  ๋•Œ๋Š”
1855
+ ๊ฐ™์€ Git ์ €์žฅ์†Œ์˜ ๊นจ๋—ํ•œ checkout์„ **์š”์ฒญํ•  ์ปค๋ฐ‹์œผ๋กœ** ๋งž์ถฅ๋‹ˆ๋‹ค. ์›Œ์ปค์˜ ํ˜„์žฌ ํŒŒ์ผ๋กœ
1856
+ ์ž‘์—…ํ•˜๋ ค๋ฉด ์•„๋ž˜์˜ `--current-repo` ๋˜๋Š” `--trusted-repo`๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”.
1841
1857
  ํ…Œ์ผ๋„ท ๋“ฑ ์‚ฌ์„ค๋ง์„ ํ†ตํ•ด ์ด ๊ณ„์ •์˜ **OpenSSH ์„œ๋ฒ„**์— ์ ‘์†ํ•  ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
1842
1858
  `authorized_keys`์˜ ์ง€์ • ๋ช…๋ น ์ œํ•œ์„ ์‚ฌ์šฉํ•˜๋ฏ€๋กœ Tailscale SSH ์ž์ฒด์˜ ๋กœ๊ทธ์ธ ์ •์ฑ…์œผ๋กœ ๋Œ€์ฒดํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
1843
1859
  ๊ณต๊ฐœ ํฌํŠธ, ๋‘ ๋ฒˆ์งธ ํ—ค๋“œ, ์›Œ์ปค์—์„œ์˜ `omp-sa setup`์ด๋‚˜ `omp-sa start`๋Š” ํ•„์š” ์—†์Šต๋‹ˆ๋‹ค.
1844
1860
  2. **ํ—ค๋“œ์—์„œ:** ์›Œ์ปค ์šด์˜์ž์™€ SSH ํ˜ธ์ŠคํŠธ ํ‚ค ์ง€๋ฌธ์„ ํ™•์ธํ•œ ๋’ค `known_hosts`์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.
1845
- `~/.ssh/config` ๋ณ„์นญ ๋Œ€์‹  ์ง์ ‘ ์ ‘์†ํ•  ์ˆ˜ ์žˆ๋Š” DNS ์ด๋ฆ„์ด๋‚˜ IP๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. Tailscale SSH๊ฐ€
1846
- 22๋ฒˆ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค๋ฉด ์‚ฌ์„ค๋ง์—์„œ ๋ณ„๋„ ํฌํŠธ๋กœ ์ˆ˜์‹ ํ•˜๋Š” OpenSSH๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. ํ•ด๋‹น ํ‚ค๋Š”
1861
+ `~/.ssh/config` ๋ณ„์นญ ๋Œ€์‹  DNS ์ด๋ฆ„์ด๋‚˜ IP๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. ํ—ค๋“œ์—์„œ ์‹œ์Šคํ…œ DNS๋‚˜ TCP ๊ฒฝ๋กœ ๋Œ€์‹ 
1862
+ Tailscale ํด๋ผ์ด์–ธํŠธ๋ฅผ ๊ฑฐ์น˜๋ ค๋ฉด `tailscale://dev@linux-box:2222`๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ด ๋ฐฉ์‹์€
1863
+ `tailscale nc`๋กœ OpenSSH ์—ฐ๊ฒฐ์„ ์šด๋ฐ˜ํ•˜๋ฉฐ **Tailscale SSH ๋กœ๊ทธ์ธ๊ณผ๋Š” ๋‹ค๋ฆ…๋‹ˆ๋‹ค**.
1864
+ IPv6 ์ฃผ์†Œ๋Š” `dev@[fd00::42]:2222`์ฒ˜๋Ÿผ ๋Œ€๊ด„ํ˜ธ๋กœ ๊ฐ์Œ‰๋‹ˆ๋‹ค. Tailscale SSH๊ฐ€ 22๋ฒˆ์„ ์“ฐ๋ฉด ๋ณ„๋„
1865
+ OpenSSH ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ฑฐ๋‚˜, ์šด์˜์ž๊ฐ€ Tailscale Serve์˜ ํ…Œ์ผ๋„ท ์ „์šฉ TCP ํฌ์›Œ๋”ฉ์œผ๋กœ ๊ธฐ์กด
1866
+ ๋ฃจํ”„๋ฐฑ OpenSSH ํฌํŠธ์— ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ…Œ์ผ๋„ท ์ ‘๊ทผ ์ •์ฑ…์—์„œ ๋Œ€์ƒ ํฌํŠธ๋ฅผ ํ•„์š”ํ•œ ํด๋ผ์ด์–ธํŠธ์—๋งŒ ํ—ˆ์šฉํ•˜์„ธ์š”. ํ•ด๋‹น ํ‚ค๋Š”
1847
1867
  `known_hosts`์˜ `[ํ˜ธ์ŠคํŠธ]:ํฌํŠธ`์— ๊ณ ์ •ํ•˜๊ณ , ๋‘ ๋ฒˆ์˜ `worker add` ๋ชจ๋‘ `dev@linux-box:ํฌํŠธ`๋ฅผ
1848
1868
  ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ SSH ํฌํŠธ๋ฅผ ์“ธ ๋•Œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.
1849
1869
  ```sh
@@ -1854,6 +1874,17 @@ bun --no-env-file src/cli.ts uninstall --config config.local.json
1854
1874
  ```sh
1855
1875
  omp-sa worker init --head-key 'ssh-ed25519 โ€ฆ' --repo "$HOME/src/my-app"
1856
1876
  ```
1877
+ ์ €์žฅ์†Œ๋ณ„๋กœ ์›Œ์ปค ์šด์˜์ž๊ฐ€ ์–ด๋А ํŒŒ์ผ์„ ์‚ฌ์šฉํ• ์ง€ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
1878
+
1879
+ | ๋“ฑ๋ก ์˜ต์…˜ | ์ƒˆ ๋ ˆ์ธ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ž‘์—… ์‚ฌ๋ณธ |
1880
+ | --- | --- |
1881
+ | `--repo PATH` | ํ—ค๋“œ์™€ ๊ฐ™์€ ์ปค๋ฐ‹์˜ ๊นจ๋—ํ•œ checkout |
1882
+ | `--current-repo PATH` | ์œ„ ๋ฐฉ์‹์— ๋”ํ•ด ์›Œ์ปค์— ์ด๋ฏธ ์žˆ๋Š” ํŒŒ์ผ. ์Šคํ…Œ์ด์ง•ํ•œ ๋ณ€๊ฒฝยท์•„์ง ์Šคํ…Œ์ด์ง•ํ•˜์ง€ ์•Š์€ ๋ณ€๊ฒฝยท์ถ”์ ํ•˜์ง€ ์•Š๋Š” ํŒŒ์ผ์„ ๋ณด์กดํ•˜๋ฉฐ ์‹œ์ž‘ ์„ค์ • ์ œํ•œ์€ ๊ทธ๋Œ€๋กœ์ž…๋‹ˆ๋‹ค. |
1883
+ | `--trusted-repo PATH` | ์œ„ ๋‘ ๋ฐฉ์‹์— ๋”ํ•ด ์•„๋ž˜์— ๋ช…์‹œํ•œ ํ”„๋กœ์ ํŠธ ์„ค์ •ยทGit ํ•„ํ„ฐยท์„œ๋ธŒ๋ชจ๋“ˆ์„ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค. ์šด์˜์ž๊ฐ€ ์‹ ๋ขฐํ•˜๋Š” ํ”„๋กœ์ ํŠธ์—๋งŒ ์“ฐ์„ธ์š”. |
1884
+
1885
+ **์„œ๋กœ ๊ฒน์น˜์ง€ ์•Š๋Š” ๋‹ค๋ฅธ ์ €์žฅ์†Œ** ์—ฌ๋Ÿฌ ๊ฐœ์—์„œ ๋ ˆ์ธ์„ ๋™์‹œ์— ์‹คํ–‰ํ•˜๋ ค๋ฉด ๋“ฑ๋กํ•  ๋•Œ
1886
+ `--capacity N`์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ์€ 1, ์ตœ๋Œ€๋Š” ๋“ฑ๋กํ•œ ์ €์žฅ์†Œ ์ˆ˜์ด๋ฉฐ, ๊ฐ™์€ ๋ฌผ๋ฆฌ์ 
1887
+ checkout์€ ์—ฌ์ „ํžˆ ํ•œ ๋ ˆ์ธ๋งŒ ์ ์œ ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ์ •์ฑ…์œผ๋กœ `init`์„ ๋ฐ˜๋ณตํ•ด๋„ ๊ธฐ์กด ํ‚ค์˜ ๊ถŒํ•œ์€ ๋ฐ”๋€Œ์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
1857
1888
  ์ง€์ •๋œ ์›Œ์ปค ๋ช…๋ น๋งŒ ํ˜ธ์ถœํ•  ์ˆ˜ ์žˆ๋Š” ์ „์šฉ ํ‚ค๊ฐ€ `~/.ssh/authorized_keys`์— ๋“ฑ๋ก๋ฉ๋‹ˆ๋‹ค.
1858
1889
  ํ—ค๋“œ์˜ ๊ฐœ์ธ ํ‚คยท๋ด‡ ํ† ํฐยท์„ค์ • ํŒŒ์ผ์€ ๋ณต์‚ฌํ•˜์ง€ ๋งˆ์„ธ์š”. ๋ ˆ์ธ์˜ ๋„๊ตฌ๋Š” ์›Œ์ปค OS ๊ณ„์ •์˜
1859
1890
  ๊ถŒํ•œ์œผ๋กœ ์‹คํ–‰๋˜๋ฏ€๋กœ ๋‹ค๋ฅธ ํŒŒ์ผ๊ณผ ๊ฒฉ๋ฆฌํ•˜๋ ค๋ฉด ์ „์šฉ ๊ณ„์ •์„ ์‚ฌ์šฉํ•˜์„ธ์š”.
@@ -1862,23 +1893,79 @@ bun --no-env-file src/cli.ts uninstall --config config.local.json
1862
1893
  ์ด ์›Œ์ปค๋ฅผ ์šฐ์„  ์‚ฌ์šฉํ•˜๋ ค๋ฉด `--default --local-repo /ํ—ค๋“œ์˜/๊ฒฝ๋กœ/my-app`์„ ๋ถ™์ž…๋‹ˆ๋‹ค.
1863
1894
  `--local-repo`๋ฅผ ์ƒ๋žตํ•˜๋ฉด ์„ค์ •์˜ `headCwd`๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ฐ™์€ Git ์›๊ฒฉ ์ฃผ์†Œ๋ผ๋„
1864
1895
  ๋‹ค๋ฅธ checkout์— ์ด ๊ธฐ๋ณธ ๋ฐฐ์น˜ ๊ถŒํ•œ์ด ๋„˜์–ด๊ฐ€์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค.
1896
+ ๊ทธ ๋Œ€์‹  **์›Œ์ปค์˜ ํ˜„์žฌ ํŒŒ์ผ์„ ๊ธฐ๋ณธ์œผ๋กœ** ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์›Œ์ปค์—์„œ `--current-repo` ๋˜๋Š”
1897
+ `--trusted-repo`๋กœ ๋“ฑ๋กํ•œ ํ›„ ํ—ค๋“œ์—์„œ ๋‹ค์Œ์„ ์‹คํ–‰ํ•˜์„ธ์š”.
1898
+ ```sh
1899
+ omp-sa worker add dev@linux-box --default-current --local-repo /ํ—ค๋“œ์˜/๊ฒฝ๋กœ/my-app --config ./config.local.json
1900
+ ```
1901
+ ์ด์ œ ํ•ด๋‹น ํ—ค๋“œ checkout์˜ ์ผ๋ฐ˜ ์š”์ฒญ์—๋Š” ๋งค๋ฒˆ ์›Œ์ปค ID๋ฅผ ์ž…๋ ฅํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
1902
+ ์‹ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฑฐ์น˜๋Š” ๊ฒฝ๋กœ๋„ ๋“ฑ๋กํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‚˜์ค‘์— ๋งํฌ๋ฅผ ๋‹ค๋ฅธ ์ž‘์—… ์‚ฌ๋ณธ์œผ๋กœ
1903
+ ๋ฐ”๊พธ๋ฉด `worker doctor`๊ฐ€ ์•Œ๋ ค ์ค๋‹ˆ๋‹ค. ๊ทธ ์‚ฌ๋ณธ์„ ๊ธฐ๋ณธ์œผ๋กœ ์“ธ ๋•Œ๋งŒ ๋‹ค์‹œ ์ง€์ •ํ•˜์„ธ์š”.
1904
+ ์—ฐ๊ฒฐ์ด๋‚˜ ์ž‘์—… ์‚ฌ๋ณธ์˜ ์‹ ์›์„ ํ™•์ธํ•  ์ˆ˜ ์—†์œผ๋ฉด ๋‹ค๋ฅธ ํŒŒ์ผ์—์„œ ๋Œ€์‹  ์‹คํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
1905
+ ๋กœ์ปฌ ์‹คํ–‰์„ ๋ช…์‹œํ•˜๋ฉด ์ด ๊ธฐ๋ณธ๊ฐ’์„ ์“ฐ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ”„๋กœ๊ทธ๋žจ์„ ์—…๋ฐ์ดํŠธํ•˜๋Š” ๊ฒƒ๋งŒ์œผ๋กœ ๊ธฐ์กด
1906
+ ๊ธฐ๋ณธ๊ฐ’์ด๋‚˜ ์ด๋ฏธ ๋ฐฐ์น˜๋œ ๋ ˆ์ธ์˜ ์œ„์น˜๊ฐ€ ๋ฐ”๋€Œ์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. ์ด์ „ ๋ฒ„์ „์—์„œ ์‹ค์ œ ๋””๋ ‰ํ„ฐ๋ฆฌ๋งŒ
1907
+ ์ €์žฅํ–ˆ๋‹ค๋ฉด ์›๋ž˜ ๋งํฌ ์ด๋ฆ„์€ ๋ณต์›ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ๋งํฌ ๋Œ€์ƒ์„ ๋ฐ”๊พธ๊ธฐ ์ „์— ๊ฐ™์€ ๋งํฌ ๊ฒฝ๋กœ๋กœ
1908
+ `worker add --default-current`๋ฅผ ๋‹ค์‹œ ์‹คํ–‰ํ•˜์„ธ์š”.
1865
1909
 
1866
1910
  ๋“ฑ๋ก ๋ชฉ๋ก์€ `omp-sa worker list --config ./config.local.json`์œผ๋กœ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ๋ชฉ๋ก ์กฐํšŒ๋Š”
1867
1911
  ์›Œ์ปค์— ์ ‘์†ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€๊ธˆ ์—ฐ๊ฒฐ๋˜๋Š”์ง€ ํ™•์ธํ•˜๋ ค๋ฉด
1868
1912
  `omp-sa worker doctor dev@linux-box --config ./config.local.json`์— ๋“ฑ๋ก ๋•Œ ์“ด ์ฃผ์†Œ์™€
1869
- ํฌํŠธ๋ฅผ ๊ทธ๋Œ€๋กœ ์ง€์ •ํ•˜์„ธ์š”. ์›Œ์ปค ์‹ ์›๊ณผ ๋นˆ ์Šฌ๋กฏ์„ ํ™•์ธํ•˜๋ฉฐ, ๊ธฐ๋ณธ ์›Œ์ปค๋ผ๋ฉด ์Šน์ธ๋œ ํ—ค๋“œ
1870
- checkout์˜ ํ˜„์žฌ ์ปค๋ฐ‹๋„ ๋Œ€์กฐํ•ฉ๋‹ˆ๋‹ค. ํ™•์ธ์ด ๋ง‰ํžˆ๋ฉด ์ข…๋ฃŒ ์ฝ”๋“œ๋Š” 0์ด ์•„๋‹ˆ๋ฉฐ, ๋ ˆ์ธ์„ ์‹œ์ž‘ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
1913
+ ํฌํŠธ๋ฅผ ๊ทธ๋Œ€๋กœ ์ง€์ •ํ•˜์„ธ์š”. ์›Œ์ปค ์‹ ์›๊ณผ ๋นˆ ์Šฌ๋กฏ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. `--default`๋Š” ์–‘์ชฝ ์ปค๋ฐ‹์„
1914
+ ๋Œ€์กฐํ•˜๊ณ  `--default-current`๋Š” ๋“ฑ๋กํ•œ ํ—ค๋“œ ๋””๋ ‰ํ„ฐ๋ฆฌ์™€ ์›Œ์ปค์˜ ํ˜„์žฌ checkout์„ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค.
1915
+ ํ™•์ธ์ด ๋ง‰ํžˆ๋ฉด ์ข…๋ฃŒ ์ฝ”๋“œ๋Š” 0์ด ์•„๋‹ˆ๋ฉฐ, ๋ ˆ์ธ์„ ์‹œ์ž‘ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
1916
+
1917
+ ์ด์ œ ์ฑ„ํŒ…์—์„œ ์›๊ฒฉ ์‹คํ–‰์ด๋‚˜ ํ•„์š”ํ•œ OS๋ฅผ ์ง€์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ผ๋ฐ˜ ๋ฐฐ์น˜๋Š” ํด๋” ์ด๋ฆ„์ด ์•„๋‹ˆ๋ผ
1918
+ Git ์›๊ฒฉ ์ฃผ์†Œ์™€ ๊นจ๋—ํ•œ ์ปค๋ฐ‹์„ ๋Œ€์กฐํ•ฉ๋‹ˆ๋‹ค. ํ•œ ๋ฒˆ๋งŒ **์›Œ์ปค์˜ ํ˜„์žฌ ํŒŒ์ผ**์„ ๊ธฐ์ค€์œผ๋กœ ์‹คํ–‰ํ•˜๋ ค๋ฉด
1919
+ `worker list`์— ๋‚˜์˜จ ์›Œ์ปค ID์™€ ์ €์žฅ์†Œ ID๋กœ ๋‹ค์Œ์ฒ˜๋Ÿผ ์š”์ฒญํ•˜์„ธ์š”. ๋ฃจํŠธ๊ฐ€ ์•„๋‹Œ ๊ฒฝ์šฐ์—๋งŒ
1920
+ ์ฒซ ์ค„์˜ ์ €์žฅ์†Œ ID ๋’ค์— ์ƒ๋Œ€ ํ•˜์œ„ ๊ฒฝ๋กœ๋ฅผ ๋ถ™์ž…๋‹ˆ๋‹ค.
1921
+
1922
+ ```text
1923
+ /head worker-current: ์›Œ์ปคID ์ €์žฅ์†ŒID
1924
+ attach: reports/test-results.txt
1925
+ ์›Œ์ปค์˜ ๋ฏธ์ปค๋ฐ‹ ๋ณ€๊ฒฝ์œผ๋กœ ํ…Œ์ŠคํŠธํ•˜๊ณ  ๊ฒฐ๊ณผ ๋ณด๊ณ ์„œ๋ฅผ ๋ณด๋‚ด ์ค˜.
1926
+ ```
1871
1927
 
1872
- ์ด์ œ ์ฑ„ํŒ…์—์„œ ์›๊ฒฉ ์‹คํ–‰์ด๋‚˜ ํ•„์š”ํ•œ OS๋ฅผ ์ง€์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ €์žฅ์†Œ๋Š” ํด๋” ์ด๋ฆ„์ด ์•„๋‹ˆ๋ผ
1873
- Git ์›๊ฒฉ ์ฃผ์†Œ๋กœ ๋งค์นญํ•ฉ๋‹ˆ๋‹ค. ์ปค๋ฐ‹ํ•˜์ง€ ์•Š์€ ๋ณ€๊ฒฝ๊ณผ ๋ฌด์‹œ๋œ ํŒŒ์ผ์„ ๋™๊ธฐํ™”ํ•˜์ง€ ์•Š์œผ๋ฏ€๋กœ
1874
- ๊นจ๋—ํ•œ ์ปค๋ฐ‹์„ ๊ธฐ์ค€์œผ๋กœ ์š”์ฒญํ•˜์„ธ์š”. ์‹คํ–‰ ์ค‘์ธ ๋ ˆ์ธ์ด ํ•ด๋‹น checkout์„ ์˜ˆ์•ฝํ•˜๋ฉฐ
1928
+ ๊ฒฐ๊ณผ ํŒŒ์ผ์ด ํ•„์š” ์—†์œผ๋ฉด `attach:` ์ค„์€ ์ƒ๋žตํ•˜์„ธ์š”. ๋‘ ์ง€์‹œ ์ค„์€ ์ธ์šฉ๋ฌธ์ด๋‚˜
1929
+ ์ „๋‹ฌ ๋ฉ”์‹œ์ง€๊ฐ€ ์•„๋‹ˆ๋ผ ์†Œ์œ ์ž๊ฐ€ ์ง์ ‘ ์ž‘์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ™์€ ๋ฉ”์‹œ์ง€์— ์ž…๋ ฅ ํŒŒ์ผ๋„
1930
+ ์ฒจ๋ถ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฒฐ๊ณผ ํŒŒ์ผ ๊ฒฝ๋กœ๋Š” **์„ ํƒํ•œ ์›Œ์ปค ๋””๋ ‰ํ„ฐ๋ฆฌ**๋ฅผ ๊ธฐ์ค€์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.
1931
+ ํ—ค๋“œ์— ์—†๊ณ  ์›Œ์ปค ํ”„๋กœํ•„์—๋งŒ ์žˆ๋Š” ๋ชจ๋ธ๋„ ์ •ํ™•ํ•œ ID๋กœ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
1932
+ ์‹คํ–‰ ์ „์—๋Š” ์›Œ์ปค๊ฐ€ ์‹ค์ œ ์„ ํƒ๋œ ๋ชจ๋ธ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
1933
+ ํ•ด๋‹น ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์ด๋ฏธ ์—ด๋ฆฐ ๋ ˆ์ธ์ด ์žˆ๋‹ค๋ฉด ๊ทธ๋Œ€๋กœ ์“ธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ๋“ฑ๋กํ•˜๊ฑฐ๋‚˜
1934
+ ์š”์ฒญ์— ์›Œ์ปค ID์™€ ๊ฒฝ๋กœ๋ฅผ ๋‘ ๋ฒˆ ์“ธ ํ•„์š”๋Š” ์—†์Šต๋‹ˆ๋‹ค.
1935
+ ์ด์ „ ๋ฒ„์ „์˜ SlackยทTelegram ์ˆ˜์‹  ๊ธฐ๋ก์œผ๋กœ๋Š” ๋ˆ„๊ฐ€ ์ง€์‹œ ์ค„์„ ์ž‘์„ฑํ–ˆ๋Š”์ง€ ํ™•์ธํ•  ์ˆ˜
1936
+ ์—†๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐ™์€ ๋ฉ”์‹œ์ง€๊ฐ€ ๋‹ค์‹œ ๋„์ฐฉํ•ด๋„ ๊ถŒํ•œ์ด ์ƒ๊ธฐ์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค.
1937
+ ์ƒˆ ์š”์ฒญ์„ ๋ณด๋‚ด๊ธฐ ์ „, ์ด์ „ ์š”์ฒญ์ด ์ด๋ฏธ ์‹คํ–‰๋๊ฑฐ๋‚˜ ํŒŒ์ผ์ด ์ „๋‹ฌ๋˜์ง€๋Š” ์•Š์•˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.
1938
+
1939
+ ํ—ค๋“œ์—๋„ ๊ฐ™์€ ์ €์žฅ์†Œยท์ƒ๋Œ€ ๊ฒฝ๋กœ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š” ๋””๋ ‰ํ„ฐ๋ฆฌ๋Š” ํ•„์š”ํ•˜์ง€๋งŒ, ์ด ๋ฐฉ์‹์—์„œ๋Š”
1940
+ ์ปค๋ฐ‹๊ณผ ํŒŒ์ผ ๋‚ด์šฉ๊นŒ์ง€ ๊ฐ™์„ ํ•„์š”๋Š” ์—†์Šต๋‹ˆ๋‹ค. ๋ ˆ์ธ์€ ์›Œ์ปค์—์„œ ์‹ค์ œ ํ™•์ธํ•œ ๊ธฐ์ค€ ์ปค๋ฐ‹๊ณผ
1941
+ ๋ฌผ๋ฆฌ์  ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ๊ณ ์ •ํ•ฉ๋‹ˆ๋‹ค. **์ž๋™ ๋™๊ธฐํ™”๋Š” ์•„๋‹™๋‹ˆ๋‹ค.** ๋ณ€๊ฒฝ์ด ํ—ค๋“œ์—๋งŒ ์žˆ๋‹ค๋ฉด ํ•„์š”ํ•œ
1942
+ ํŒŒ์ผ์ด๋‚˜ ๊ฒ€ํ† ํ•œ ํŒจ์น˜๋ฅผ ์ฒจ๋ถ€ํ•˜๊ฑฐ๋‚˜, ์šด์˜์ž๊ฐ€ ์Šน์ธํ•œ ํŒŒ์ผ ๊ณต์œ  ๋ฐฉ์‹์œผ๋กœ ์›Œ์ปค์˜ ์ž‘์—… ์‚ฌ๋ณธ์„
1943
+ ๋จผ์ € ์ค€๋น„ํ•˜์„ธ์š”. ์˜ˆ๋ฅผ ๋“ค์–ด ๊ฒ€ํ† ํ•œ ํŒจ์น˜๋ฅผ ์ฒจ๋ถ€ํ•˜๋ฉด์„œ ์›Œ์ปค์—์„œ `git apply --check`๊ฐ€
1944
+ ํ†ต๊ณผํ•œ ๋’ค ์ ์šฉํ•˜๋„๋ก ์š”์ฒญํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ธฐ์กด ์ˆ˜์ •๊ณผ ์ถฉ๋Œํ•˜๋ฉด ๋ฎ์–ด์“ฐ์ง€ ๋งˆ์„ธ์š”. ํŒจ์น˜์—
1945
+ ์—†๋Š” ์ƒˆ ํŒŒ์ผ์€ ๋”ฐ๋กœ ์ฒจ๋ถ€ํ•ฉ๋‹ˆ๋‹ค. `.env`ยท์ธ์ฆ ์ •๋ณดยทํ™ˆ ๋””๋ ‰ํ„ฐ๋ฆฌ ์ „์ฒด๋Š” ๋ณด๋‚ด์ง€ ๋งˆ์„ธ์š”.
1946
+ ๋ฌผ๋ฆฌ์ ์ธ `.git` ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†๋Š” `ovnfs attach` ๋ทฐ ์ž์ฒด๋Š” ๋“ฑ๋กํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
1947
+ ์ž‘์—… ๊ฒฐ๊ณผ๊ฐ€ ํ—ค๋“œ์— ์ž๋™์œผ๋กœ ๋ฎ์–ด์จ์ง€์ง€๋„ ์•Š์Šต๋‹ˆ๋‹ค.
1948
+ ์‹คํ–‰ ์ค‘์ธ ๋ ˆ์ธ์ด ํ•ด๋‹น checkout์„ ์˜ˆ์•ฝํ•˜๋ฉฐ
1875
1949
  ์ž๋™ fetchยท๋ธŒ๋žœ์น˜ ์ „ํ™˜ยท๋ณ€๊ฒฝ ํ๊ธฐ๋Š” ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ›„์† ์š”์ฒญ์€ ๊ฐ™์€ ์›Œ์ปค์˜ ๊ฐ™์€ ์„ธ์…˜์œผ๋กœ ๊ฐ‘๋‹ˆ๋‹ค.
1876
- SSH๊ฐ€ ๋Š๊ฒจ๋„ Host ์ž์ฒด๋Š” ์ข…๋ฃŒ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. Host๊ฐ€ ์ข…๋ฃŒ๋œ ๋’ค checkout์ด ๋‹ฌ๋ผ์ ธ ์žˆ์œผ๋ฉด
1877
- ์žฌ๊ธฐ๋™์€ ๋ณด๋ฅ˜๋ฉ๋‹ˆ๋‹ค. ๋‹ต๋ณ€๊ณผ ์Šน์ธ ์นด๋“œ๋Š” ์›๋ž˜ ๋Œ€ํ™”๋กœ ๋Œ์•„์˜ค์ง€๋งŒ ๋ฉ”์‹ ์ € ์ฒจ๋ถ€ํŒŒ์ผ ์ „๋‹ฌ์€
1878
- ์›๊ฒฉ ๋ ˆ์ธ์—์„œ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ—ค๋“œ์˜ OMP ์‹คํ–‰ ๋ช…๋ น์—
1950
+ SSH๊ฐ€ ๋Š๊ฒจ๋„ Host ์ž์ฒด๋Š” ์ข…๋ฃŒ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. Host๊ฐ€ ์ข…๋ฃŒ๋œ ๋’ค ๋‹ค๋ฅธ checkout์ด๋‚˜ ๊ธฐ์ค€ ์ปค๋ฐ‹์œผ๋กœ
1951
+ ๋ฐ”๋€Œ๋ฉด ์žฌ๊ธฐ๋™์€ ๋ณด๋ฅ˜๋ฉ๋‹ˆ๋‹ค. ๋‹ต๋ณ€๊ณผ ์Šน์ธ ์นด๋“œ๋Š” ์›๋ž˜ ๋Œ€ํ™”๋กœ ๋Œ์•„์˜ต๋‹ˆ๋‹ค. ์–‘์ชฝ์— ๊ฐ™์€ ๊ธฐ๋Šฅ์ด
1952
+ ์žˆ๋Š” ๋นŒ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋ฉ”์‹ ์ € ์ฒจ๋ถ€ํŒŒ์ผ์€ ์ „์šฉ ์—ฐ๊ฒฐ๋กœ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค. ์›Œ์ปค์— ๋ณด๋‚ด๋Š” ๊ฒƒ์€ ํ™•์ธํ•œ
1953
+ ํŒŒ์ผ ๋‚ด์šฉ์ด๋ฉฐ, ๋ฉ”์‹ ์ € ๋‹ค์šด๋กœ๋“œ URLยท๋ด‡ ํ† ํฐยทํ—ค๋“œ์˜ ๋กœ์ปฌ ํŒŒ์ผ ๊ฒฝ๋กœ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์›Œ์ปค์˜ ๊ฒฐ๊ณผ
1954
+ ํŒŒ์ผ์„ ๊ธฐ์กด ๋ ˆ์ธ์—์„œ ๋ฐ›์œผ๋ ค๋ฉด ์†Œ์œ ์ž ๋ฉ”์‹œ์ง€ ์ฒซ ์ค„์— `attach: ์ƒ๋Œ€/๊ฒฝ๋กœ`๋ฅผ ์”๋‹ˆ๋‹ค. ํ—ค๋“œ์˜ ๋™๋ช… ํŒŒ์ผ์ด
1955
+ ์•„๋‹ˆ๋ผ ์›Œ์ปค์˜ ํŒŒ์ผ์„ ๊ฐ€์ ธ์˜ค๋ฉฐ ๋กœ์ปฌ๊ณผ ๊ฐ™์€ 8 MiB ํ•œ๋„์™€ ์›๋ž˜ ๋Œ€ํ™” ๊ถŒํ•œ ๊ฒ€์‚ฌ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค.
1956
+ ํ—ค๋“œ์˜ OMP ์‹คํ–‰ ๋ช…๋ น์—
1879
1957
  ๋„๊ตฌยทํ”„๋กœํ•„ยท์Šน์ธ ๋“ฑ์˜ ์ถ”๊ฐ€ ํ”Œ๋ž˜๊ทธ๊ฐ€ ์žˆ์œผ๋ฉด ์ด๋ฅผ ๋นผ๊ณ  ์›๊ฒฉ ์‹คํ–‰ํ•˜์ง€ ์•Š๊ณ  ์š”์ฒญ์„ ๊ฑฐ๋ถ€ํ•ฉ๋‹ˆ๋‹ค.
1880
- ์›Œ์ปค๋Š” ์ž๋™ ๋กœ๋“œ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ์—†๋Š” ์ „์šฉ OMP ํ”„๋กœํ•„์„ ์‚ฌ์šฉํ•˜์„ธ์š”. `.omp/`, `.env`, Git ํ•„ํ„ฐ ๋“ฑ
1881
- ์‹คํ–‰ ์„ค์ •์ด ์žˆ๋Š” checkout, linked worktree, ์„œ๋ธŒ๋ชจ๋“ˆ์€ ์ž๋™์œผ๋กœ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ๋กœ๋“œํ•˜์ง€ ์•Š๊ณ  ๊ฑฐ๋ถ€ํ•ฉ๋‹ˆ๋‹ค.
1958
+ ์›Œ์ปค๋Š” ์ž๋™ ๋กœ๋“œ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ์—†๋Š” ์ „์šฉ OMP ํ”„๋กœํ•„์„ ์‚ฌ์šฉํ•˜์„ธ์š”. `--trusted-repo`์˜ ํ˜„์žฌ ํŒŒ์ผ๋กœ
1959
+ ์‹คํ–‰ํ•  ๋•Œ ๊ณ„์ • ์†Œ์œ ์˜ ์ผ๋ฐ˜ `.env` ํŒŒ์ผ์€ ํ”„๋กœ์ ํŠธ ๋„๊ตฌ๋ฅผ ์œ„ํ•ด ๊ทธ๋Œ€๋กœ ๋‘˜ ์ˆ˜ ์žˆ์ง€๋งŒ Host ์ธ์ฆ์—
1960
+ ์ž๋™ ๋กœ๋“œํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์„ ํƒํ•œ ๋””๋ ‰ํ„ฐ๋ฆฌ์˜ `.omp/config.yml` ๋˜๋Š” `.omp/settings.json`์—์„œ๋Š”
1961
+ `modelRoles`, `defaultThinkingLevel`์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ์—ญํ• ์„ `null`๋กœ
1962
+ ์„ค์ •ํ•˜๋ฉด ๋กœ์ปฌ OMP์ฒ˜๋Ÿผ ์›Œ์ปค ํ”„๋กœํ•„์˜ ์—ญํ• ์„ ์ƒ์†ํ•ฉ๋‹ˆ๋‹ค. ๋ ˆ์ธ์˜ ๋ชจ๋ธ ํ•˜๋‚˜๋ฅผ ๋ช…์‹œํ•˜๋ฉด
1963
+ `default` ์—ญํ• ๋งŒ ๋ฐ”๋€Œ๊ณ  ๋‚˜๋จธ์ง€ ์—ญํ• ์€ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค. ์ด๋ฆ„ ์žˆ๋Š” ํ”„๋ฆฌ์…‹์„ ์„ ํƒํ•˜๋ฉด ํ”„๋ฆฌ์…‹์˜
1964
+ ์—ญํ•  ๊ตฌ์„ฑ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. `.omp/README.md`์™€ `.omp/.gitignore`, ์ผ๋ฐ˜์ ์ธ Git
1965
+ fetchยทpullยทpush ์„ค์ •, ๋กœ์ปฌ ํ•„ํ„ฐ, ๊ฒ€์ฆ๋œ ์„œ๋ธŒ๋ชจ๋“ˆ์€ ๊ทธ๋Œ€๋กœ ๋‘˜ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
1966
+ ๊ฒ€์ฆ ๊ณผ์ •์—์„œ ํ•„ํ„ฐ๋ฅผ ์‹คํ–‰ํ•˜๊ฑฐ๋‚˜ ์„œ๋ธŒ๋ชจ๋“ˆ์„ ๋ฐ›์•„์˜ค๊ฑฐ๋‚˜ ์—…๋ฐ์ดํŠธํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
1967
+ ์ด ๋ชจ๋“œ์—์„œ๋Š” ์›Œ์ปค ํ”„๋กœํ•„์— ์ €์žฅํ•œ ๋ชจ๋ธ ์ธ์ฆ์„ ์‚ฌ์šฉํ•˜๋ฉฐ ํ™˜๊ฒฝ ๋ณ€์ˆ˜์˜ ๊ณต๊ธ‰์ž ํ‚ค๋Š” ์ƒ์†ํ•˜์ง€
1968
+ ์•Š์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ํ”Œ๋Ÿฌ๊ทธ์ธยทMCPยทGit ํ›…๊ณผ includeยท์ž„์˜์˜ `.omp` ์„ค์ •ยทlinked worktree๋Š” ๊ณ„์† ๊ฑฐ๋ถ€ํ•ฉ๋‹ˆ๋‹ค.
1882
1969
  ์ปค์Šคํ…€ ๋ชจ๋ธ ํ™•์žฅ์ด ํ•„์š”ํ•˜๋ฉด ์›Œ์ปค OMP agent ๋””๋ ‰ํ„ฐ๋ฆฌ์˜ `worker-extensions.json`(`0600`)์—
1883
1970
  ๋“ฑ๋ก๋œ checkout ๋ฐ–์˜ ์‹ ๋ขฐํ•˜๋Š” ๋ชจ๋“ˆ ์ ˆ๋Œ€๊ฒฝ๋กœ๋ฅผ JSON ๋ฐฐ์—ด๋กœ ์ ์Šต๋‹ˆ๋‹ค. ๋ฐฐ์น˜๋œ ์œ„์น˜๋Š”
1884
1971
  `omp-sa status --config ./config.local.json`์—์„œ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ์ ‘๊ทผ์„ ์ฒ ํšŒํ•  ๋•Œ๋Š”