Logo Parallel Run Control Plane

Parallel Run Control Plane

Cộng đồng
Motaghi
parallel-run-control-plane

Rules for a build that runs two or more lanes at once: liveness, one append-only channel, two-gate lifts, pins before the decisive suite, one resource contract, stops and freezes, capacity as a scheduling input, and one decision round at a time. Loads the moment a second lane opens, at kickoff or mid-run. Names roles by function only; hosts and providers live in a profile (see profiles/example.md).

Tổng quan

Nhà phát hànhMotaghi
Kho mãmimir-skills
Tên kỹ năngparallel-run-control-plane
Sao
51
Bản fork
0
Tệp đi kèm
9
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Motaghi công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Parallel Run Control Plane trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Motaghi/mimir-skills/tree/main/skills/parallel-run-control-plane
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/parallel-run-control-plane .claude/skills/parallel-run-control-plane
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Parallel Run Control Plane trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Parallel Run Control Plane ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Parallel Run Control Plane với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

parallel-run-control-plane

Authority order

The user's current instructions, the project's own rules, and the accepted kickoff outrank this skill. Hard stops and no-retry rules win over completion pressure.

Trigger

Loads the moment a second lane opens, whether at kickoff or mid-run. A single lane with an outer watch does not load it. A run that declared single-lane and later opens a second lane loads this skill then and posts the change on the channel.

Profile

Your own profile is parallel-run-control-plane.profile.md in the project root; if it is not there, ask the user where it is. Setup-specific values (where the channel and the evidence store live, the liveness threshold, the worker cap, the load threshold, the report interval, the fallback list, how a monitor is armed on your tools, and how quota exhaustion shows up) are in a profile. profiles/example.md lists the fields with a worked example for an invented project. A run without a profile states each of those values at kickoff and posts them on the channel.

Shared base: capacity and evidence

Both this skill and run-close-pack apply this section.

  • Capacity: every role has a ranked fallback list of providers or accounts agreed before the run, never a single fallback. A fallback is used only if it is an authorised route for that work and within the provider's usage terms and limits; a route that is not authorised or would exceed those terms is not a fallback. Quota exhaustion is a planned handover: the affected session posts it if it still can; the orchestrator treats silence past the liveness threshold plus the provider signal named in the profile as the same event. With no fallback left the default is pause and post; the run never continues silently on a reduced roster. A planned handover uses the replacement mechanics of rule 1: a fresh session in a fresh working copy, resumed from the frozen tip and the channel.
  • Evidence: a channel line is a pointer, never the record. Anything that decides a lift, a verdict, or a close is a saved artifact at a stable path in the durable evidence store, and the channel line names that path. The channel's path and retention rule are in the profile.
  • Owner unreachable: freeze at the last verified state and post the question. Nothing ships on an assumed answer.

Roles, by function

Orchestrator (rules, owner relay, go decisions); coordinator (dispatch, merges, report points); lanes (code, each in its own isolated working copy); reviewers (never the author, fresh working copy, restated evidence on resume); outer watch (verifies every merge in a clean checkout, holds the final line); owner (rulings only).

Definitions

  • Lift: the orchestrator's permission for a lane's work to merge.
  • Reviewer clean: no open blocker or major, every finding answered with a line reference.
  • Observed evidence: the change seen in the running product where it is visible, recorded as a file in the evidence store.
  • Decisive suite: the project's end-to-end suite run once on the tested tip under the resource contract; its classified list is the record.
  • Go decision: the orchestrator's posted line that a gated step may start.
  • Load threshold, report interval, and worker cap: profile fields (the same fields run-close-pack reads); a run without a profile states all three at kickoff.

Rules

  1. Liveness. Every session arms a persistent monitor or an equivalent long-lived shell task as its first act and on every resume. A role is dead when all three hold: no live process for its working copy, no new channel stamp past the profile's threshold, and no FROZEN marker as the first word after the stamp on its latest line. Confirm with <skill-dir>/scripts/liveness-check.sh <channel> <threshold> ROLE=<working-copy> .... The process check looks at command lines and, where lsof exists, working directories; a count of 0 is a hint, not proof, so confirm by process id with whoever launched the session before replacing it. Dead roles are replaced, not nudged. Interrupted steps re-run from the start. A resumed reviewer restates its evidence before continuing.
  2. Channel. One append-only file written only through <skill-dir>/scripts/channel-append.sh, which takes a lock, adds the role prefix and a full date-and-time stamp (YYYY-MM-DDTHH:MM), refuses a line that already starts with a bullet or a role prefix, and refuses to write after an edit that changed or removed sealed bytes. ROLE may hold only letters, digits, dot, underscore and hyphen. If a lock is left behind by a process that no longer runs, the helper exits 4 and names it; remove it by hand once no writer is active. A hand-appended line is not caught by the seal, so at close the orchestrator scans the channel for lines that do not carry a role prefix and a full stamp (the line shape liveness-check.sh reads) and records each one as a violation in the evidence store. After a refusal the orchestrator posts the refusal, saves the diff in the evidence store, and removes the seal file so the next append reseals. Corrections are new lines. Report points at the report interval carry measured pace and derived projections. The channel is authoritative; any other copy of a ruling is diffed against it before close.
  3. Lifts. Two gates: reviewer clean and observed evidence. The expected red set is stated against the merge order before the decisive suite starts, one red per line as <spec-basename> :<line>, and reconciled with <skill-dir>/scripts/red-set-reconcile.sh <expected> <classified-list> (a malformed entry makes it exit 2 before comparing). A block on disclosure alone is reconciled, not stopped. The coordinator confirms the set is stated before scheduling the suite; a suite run without one is rerun.
  4. Pins before the decisive suite. A change that moves a shipped default, a route, a menu path, or a starting state corrects every test pin, fixture, and visual spec that assumed the old value, in the same lane, before asking for a lift. The coordinator checks this before scheduling the suite. A stale pin found during the suite is a lane defect with its own category in the classified list.
  5. Load and resources. One contract shared with run-close-pack: the decisive suite runs in its own isolated working copy; non-browser battery chunks may run beside it under the worker cap (the profile field, or the value stated at kickoff for a run without a profile); every step that opens a browser or binds the suite's ports waits. Load-class failures get one lone quiet rerun below the load threshold. Coordinators withdraw duplicate checks only when an independent clean-checkout check covers the same thing.
  6. Stops. Lanes freeze at their stop and post a FROZEN marker. They extend only by a documented queue wait and never unfreeze themselves. Every later line from a frozen lane starts with FROZEN until the orchestrator posts the lift, because the liveness check reads only the latest line. The orchestrator may grant a bounded delta with the frozen tip as fallback; the frozen tip's review completes before the delta's review starts. The critical-path lane holds lock priority over side lanes.
  7. Decision surface. One round of owner questions at a time, never over an open round, none on an unverified premise. One question is a chat message. A need that arises during an open round waits for that round to close. Rulings are recorded verbatim on the channel and in the round's archive; the channel wins on conflict.

Host adapters

This skill names no host or provider. Reaper timings, surviving monitor primitives, wakeup behaviour, and quota signals differ between agent hosts; write them down once in your profile (or a runbook the profile points to) and keep that table current.

Checks

<skill-dir>/scripts/channel-append.sh, <skill-dir>/scripts/liveness-check.sh, <skill-dir>/scripts/red-set-reconcile.sh; tests under <skill-dir>/scripts/tests/run.sh. <skill-dir> is the folder that holds this SKILL.md, resolved to an absolute path from where the skill is installed; run the helpers by that absolute path. POSIX (Portable Operating System Interface) shell, no provider or host calls.

Why these rules

A watcher that rebuilds each merge in a clean checkout catches what the lanes' own runs miss. Taking one decision round at a time with verbatim rulings avoids lost or contradictory answers. Agreeing capacity and fallbacks before the run turns a quota outage into a handover instead of a stall. Correcting every pin in the same lane that moves a default keeps stale tests out of the decisive suite.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Parallel Run Control Plane làm được gì?

Rules for a build that runs two or more lanes at once: liveness, one append-only channel, two-gate lifts, pins before the decisive suite, one resource contract, stops and freezes, capacity as a scheduling input, and one decision round at a time. Loads the moment a second lane opens, at kickoff or mid-run. Names roles by function only; hosts and providers live in a profile (see profiles/example.md).

Vì sao nên dùng Parallel Run Control Plane trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Parallel Run Control Plane là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Parallel Run Control Plane trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Motaghi/mimir-skills/tree/main/skills/parallel-run-control-plane. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Parallel Run Control Plane?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Parallel Run Control Plane với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Parallel Run Control Plane với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Parallel Run Control Plane có miễn phí không?

Có. Kỹ năng này được Motaghi phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇