omp-headless-orchestration
以无头方式运行耗时较长的 OMP(`omp -p`)任务,使其在派发它的会话结束后仍能继续运行——使用分离的 tmux、NDJSON 事件日志、轮询完成状态、会话 ID 恢复。适用于委派需要运行数分钟以上的仓库任务、编排用的聊天/会话可能重启,或恢复在回合中途被终止的运行。不适用于两分钟即可完成的命令(直接内联运行),也不适用于需要实时操控的工作(那属于 TUI 会话)。
机器翻译查看英文原文
Run long OMP (`omp -p`) jobs headlessly so they survive the session that dispatched them — detached tmux, NDJSON event log, polled completion, session-id recovery. Use when delegating a repo task that will run more than a couple of minutes, when the orchestrating chat/session may restart, or when recovering a run that was killed mid-turn. Do not use for a two-minute command (run it inline) or for work that needs live steering (that is a TUI session).
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- OMP headless orchestration
- When to Use
- Rule: never launch OMP as a bare background job of the session
- Why headless (not TUI)
- Pitfalls (each one observed in production)
- Recovery after a session restart
- When a TUI is still right
- Related
Delegate bounded work to OMP (omp -p) without losing runs when the dispatching session, gateway or terminal goes down. Delegating a repo task to OMP that will run longer than a couple of minutes. You are working from chat (Discord/Slack) and cannot watch a terminal, but the run must not die when the session ends. Recovering an OMP run that was killed mid-turn (needs its session id). Deciding between headless -p and an attachable tmux TUI. A background child of the orchestrating session receives SIGTERM when that session ends, and omp -p prints only at exit — a run killed at minute 37 leaves a 0-byte output file. Always launch through the tmux wrapper shipped with this skill: A detached tmux session hangs off the tmux server (init), not off your session, so it survives session and gateway restarts. Verify with the ancestor chain of the omp pid, not by assumption. The implementation is maintained once, with skill goal-driven-delivery (scripts/adapters/omp-run.sh), because that skill's gdd.py defaults to it; the copy here (scripts/omp-run.sh) is a forwarder, so manual and dispatched runs share one code path. Headless output is a machine-checkable artifact; you can work from chat and a
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- wxxb789/hoa
- 源文件
- skills/omp-headless-orchestration/SKILL.md
- 固定版本
- beb1eca66d8fed7c3942dc3ef50990bf37837706
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:wxxb789/hoa · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T20:02:15.455Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。