omp-conductor 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +549 -234
  2. package/package.json +8 -5
  3. package/schema/config.schema.json +609 -0
  4. package/src/availability.ts +165 -0
  5. package/src/board.ts +19 -32
  6. package/src/brief-upgrade.ts +1 -1
  7. package/src/briefs/orchestrator.md +72 -31
  8. package/src/briefs/policy.md +48 -36
  9. package/src/briefs/probes/gates.md +51 -0
  10. package/src/briefs/probes/project-context.md +59 -0
  11. package/src/briefs/probes/release-procedure.md +81 -0
  12. package/src/cli.ts +356 -212
  13. package/src/config-schema.ts +352 -0
  14. package/src/config.ts +1037 -679
  15. package/src/confinement.ts +54 -0
  16. package/src/daemon.ts +644 -390
  17. package/src/diff-flags.ts +73 -4
  18. package/src/digest-schedule.ts +92 -24
  19. package/src/escalate.ts +89 -22
  20. package/src/fleet.ts +351 -46
  21. package/src/generate-schema.ts +21 -0
  22. package/src/graph.ts +3 -3
  23. package/src/host.ts +16 -0
  24. package/src/omp.ts +21 -1
  25. package/src/orchestrator-tick.ts +732 -56
  26. package/src/privileged.ts +264 -0
  27. package/src/reports.ts +203 -6
  28. package/src/session-host.ts +3 -0
  29. package/src/setup-host.ts +209 -24
  30. package/src/setup-install.ts +320 -0
  31. package/src/setup-probe.ts +412 -0
  32. package/src/setup-wizard.ts +1946 -0
  33. package/src/setup.ts +457 -53
  34. package/src/store.ts +610 -98
  35. package/src/tracker/github.ts +43 -5
  36. package/src/types.ts +153 -14
  37. package/src/upgrade.ts +44 -10
  38. package/src/verbs/actions.ts +131 -13
  39. package/src/verbs/server.ts +40 -18
  40. package/src/wizard-ui.ts +249 -0
  41. package/src/worker.ts +24 -7
  42. package/skills/conductor-onboarding/SKILL.md +0 -748
  43. package/skills/conductor-update/SKILL.md +0 -51
  44. package/src/plugin.ts +0 -1495
@@ -1,51 +0,0 @@
1
- ---
2
- name: conductor-update
3
- description: Update an installed conductor fleet through its deterministic one-command lifecycle. Use when the user asks to update, upgrade, refresh, reinstall, or deploy conductor.
4
- ---
5
-
6
- # Update conductor
7
-
8
- Run the package-owned lifecycle from a shell or maintenance omp session outside
9
- the target Herdr session:
10
-
11
- ```bash
12
- omp-conductor upgrade
13
- ```
14
-
15
- If the user requested a published version, run:
16
-
17
- ```bash
18
- omp-conductor upgrade --to X.Y.Z
19
- ```
20
-
21
- The command owns the full transaction: release resolution, preflight, pause,
22
- drain, exact-version installation across the Bun-global CLI, omp plugin, and
23
- Herdr plugin, managed-brief recomposition, process reload, pane recovery,
24
- two-pass verification, and restoration of the previous dispatch state.
25
-
26
- ## When it fails on the systemd unit
27
-
28
- Since 0.4.0 the command also verifies the unit systemd actually booted from, not
29
- just the staged copy. A unit installed before a directive the current
30
- configuration requires keeps running without it, and package identities,
31
- services, pane and ticks all look perfectly healthy around it, which is why it
32
- needed its own check.
33
-
34
- The error names the missing directives. Fix it by re-staging rather than by
35
- hand-editing the live unit:
36
-
37
- ```bash
38
- # in an omp session
39
- /conductor setup # amend nothing; it re-renders the unit
40
- # then run the install commands it prints, and:
41
- sudo systemctl daemon-reload && sudo systemctl restart omp-conductor.service
42
- omp-conductor upgrade # re-run; it now verifies clean
43
- ```
44
-
45
- Only directives this configuration *requires* are checked, so an operator's own
46
- `MemoryMax`, `After=` or extra `Environment=` never fails an upgrade.
47
-
48
- Report the command's result. Do not reproduce its lifecycle as an AI checklist,
49
- edit installed files, publish npm, or substitute separate install/restart steps.
50
- If it fails, report the exact error and leave dispatch paused as the command
51
- requires.