Logo Execution Cron Builder

Execution Cron Builder

Cộng đồng
weiyangzen
execution-cron-builder

Executes one authoritative blueprint as a DAG with isolated workers, oracle gates, master-only acceptance, checkpoints, and cleanup, on cron, tmux, or in-session substrates. Use for long implementation runs or to repair an execution controller. 蓝图执行、DAG 并行。

Tổng quan

Nhà phát hànhweiyangzen
Kho mãb3ehive
Tên kỹ năngexecution-cron-builder
Sao
39
Bản fork
6
Tệp đi kèm
10
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 là Markdown thuần túy, không phải 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ộ.

  • 10 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 weiyangzen công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Execution Cron Builder 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/weiyangzen/b3ehive/tree/main/execution-cron-builder
  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/weiyangzen/b3ehive.git /tmp/b3ehive
mkdir -p .claude/skills
cp -r /tmp/b3ehive/execution-cron-builder .claude/skills/execution-cron-builder
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 Execution Cron Builder 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ự tải Execution Cron Builder 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 Execution Cron Builder không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Execution

For a first user-facing run, read docs/getting-started.md and docs/skill-selection.md. This skill is a long-run execution protocol, not a b3ehive execution CLI command.

core v2 · loop v2, default shape single. Read references/core.md and references/loop.md first; this body adds only execution rules.

Acceptance

  • The master accepts an item after it integrates the submission into the canonical checkout, re-runs the item's oracle.full at the item's tier, and refreshes every status surface, the Gantt projection included.
  • On failure the master rejects with notes. The next generation runs on another model family when one is available. Three failed generations: block the item, then replan it or open a compete run that scores repairs by the oracle.
  • The controller generates two guards. Harvest refuses a submission that edits blueprint checkboxes or oracle paths. CI refuses a [_] -> [x] change unless a master commit carries the evidence row.
  • Completion cleanup needs zero [ ], zero [_], no pending handoff, integration, or repair, and passing gates. A persistent_pool ends only on its frozen stop condition or an operator stop.

Specification

Build the controller from this repository's evidence. Carry no controller, constant, path, item prefix, route, count, or validator over from another project. Freeze one versioned specification before install:

  • blueprint path, parser, item-id rule, Gantt path
  • runtime root, owned-path policy, workspace materialization
  • submission and acceptance schemas, oracle commands, tiers, completion surfaces
  • platform, substrate, route policy, lifecycle (bounded or persistent_pool), live target, hard cap, replacement policy
  • nested-agent policy and caps for claims, executions, startups, transports, running turns, request starts, in-flight requests, integrations, validators
  • scheduler cadence, leases, budgets, exact cron marker, skill version

An unknown field that could alter source, spend money, publish, or delete fails closed with its name. Low-risk housekeeping defaults stay overridable and are labeled as defaults. The controller carries the skill version and spec digest; b3ehive doctor flags controllers generated by an older skill.

Inspect first: repository instructions, branch and dirty state, candidate blueprints, build, test, lint, and benchmark entry points, generated and large paths, host CPU, memory, disk, and accelerators, and existing crons, locks, ledgers, and workers. Preserve user changes; reset, stash, checkout, and delete stay off limits.

Blueprint

One file holds requirements and the checklist:

markdown
- [ ] [ID] title
  - depends_on: [ID, other#ID]
  - owned_paths: src/x/, verify/gates/ID.sh
  - oracle: verify/gates/ID.sh
  - tier: T1
  - budget: loc<5000
  - canon: [A2]
  • oracle is required; an item without one gets a parent item that builds it.
  • other#ID points into another blueprint and blocks acceptance, not work.
  • Reject duplicate ids, missing dependencies, cycles, unknown marks, and chains inferred from document order. When layers exist, close lower layers first.
  • Split an item whose estimate exceeds its budget before anyone claims it.
  • Regenerate the read-only same-name Gantt projection (<name>_Blueprint.<ext> → <name>_Gantt.<ext>) every tick and never parse it back. Rules: references/execution-pattern.md §2.

Claims And Workspaces

  • Each claim owns a task root, an immutable claim card, and a fresh run id.
  • Materialize declared writable paths and justified read-only files. A full repository copy per claim needs a DECIDE line showing the oracle needs it.
  • Workers submit repository-relative patches with checksums and a receipt; the canonical checkout stays outside their reach. The receipt fingerprint covers committed, staged, unstaged, and untracked content, so a review binds to the exact final state.
  • Re-check the pinned source revision at every admission, not only at start.
  • Harvest valid submissions into immutable queue storage before pruning any stale claim.
  • Check ownership, inode independence, card digest, and changed paths at launch and at harvest.

Item Loop

  • Each item runs a loop. Decide relay or review for an item whose single attempts stall or whose oracle is weak.
  • Repair is a new generation in a fresh run root; it never overlaps the generation it replaces.

Effects And Retries

  • Decide with a generated rule table that takes no effects; one entry point executes. Route on the loop's result field.
  • Record intent before each side effect. After a crash, redo an effect only when a readback proves it absent; a readback that cannot decide blocks.
  • Retry by failure kind from one table: transient faults retry with capped backoff; budget exhaustion, schema rejection, and policy refusal never retry.
  • Keep a worker's session across transient faults; discard it on schema rejection or lost history.

Workers And Transport

Transport-agnostic invariants:

  • One worker generation owns one process tree, one private state home, one session, and one task root.
  • Each model request needs an atomic request lease before submission; an execution holds at most one outstanding request.
  • Liveness needs exact identity: process and start time, cwd, private state, route, session, and goal.
  • Lifecycle is frozen. A bounded result ends its transport. A persistent_pool keeps a live generation until stop or proved death, then replaces it without exceeding the cap.
  • Nested agents run only when the specification admits them, and each child counts against every cap.
  • A request storm or an unauthorized continuation opens a fail-closed breaker; only an audited operator reset closes it.

Codex workers follow references/transport-codex-tui.md in full. Other runners follow references/substrate-cron.md.

Admission

  • Keep separate caps for claims, executions, startups, live transports, running turns, request starts per window, in-flight requests, integrations, validator leases, and path conflicts.
  • Check CPU, memory, swap, PIDs, disk, provider limits, and validator capacity before each launch.
  • Inside one tick, launch waves until the live target is full, the tick budget ends, or a named limit binds. Persist the binding reason for every empty slot.
  • Report claims, startups, transports, running turns, request rate, in-flight requests, breaker state, handoffs, and backlog as separate numbers.

Detail: references/execution-pattern.md §6.

Scheduler Tick

  1. Take the scheduler lease; validate the specification and transport.
  2. Harvest submissions; reconcile dead, finished, and mismatched claims.
  3. Validate the DAG; regenerate status and Gantt.
  4. Integrate a bounded, conflict-safe, dependency-ready batch.
  5. Reserve claims; release the lease and close lock descriptors before launch.
  6. Launch waves outside the lease; replace proved-dead persistent generations.
  7. Retake the lease briefly; merge outcomes; write status and Gantt atomically.

Model turns, builds, tests, and network calls never run under the lease.

Substrate

Decide one substrate per run: in-session (subagents or a workflow tool), cron+tmux, or flow (an external agent-flow runner). Cron, tmux, runner templates, and disk guards: references/substrate-cron.md.

Generated Validation

The controller ships tests showing that validate-only launches nothing; each submission happens exactly once; claims stay isolated; caps stop lane N+1 and request R+1; harvest precedes prune; workers inherit no lock; the checkbox and oracle guards hold; persistent replacement restores exactly the target; the Gantt covers every id and stays fresh; cleanup touches only its own runtime; and two unlike fixture repositories share no constants. Full list: references/gate-rules.md.

References

  • references/core.md, references/loop.md: shared laws and loop
  • references/execution-pattern.md: specification, Gantt, isolation, admission, tick, integration, cleanup, observability
  • references/transport-codex-tui.md: Codex worker transport
  • references/gate-rules.md: generated gates and the full validation list
  • references/substrate-cron.md: cron, tmux, runners, disk guards
  • references/lessons.md: where each v1 rule now lives

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

Kỹ năng AI Execution Cron Builder làm được gì?

Executes one authoritative blueprint as a DAG with isolated workers, oracle gates, master-only acceptance, checkpoints, and cleanup, on cron, tmux, or in-session substrates. Use for long implementation runs or to repair an execution controller. 蓝图执行、DAG 并行。

Vì sao nên dùng Execution Cron Builder 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. Execution Cron Builder 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 Execution Cron Builder trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/weiyangzen/b3ehive/tree/main/execution-cron-builder. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Execution Cron Builder?

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.

Bạn có thể dùng Execution Cron Builder 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 Execution Cron Builder 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 Execution Cron Builder có miễn phí không?

Kỹ năng này được weiyangzen phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇