본문으로 건너뛰기
cccskills
무료GitHub에 공개

ls-kilo-boss-orchestrator

Orchestrate Kilo headless boss-worker execution with repo-local state, watchdog leases, consensus validation, and safety gates. Use when running multi-agent autonomous loops that require planning, delegation, verifier checks, and high/critical discrepancy adjudication.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(16)

  • SKILL.md4.5 KB
  • references/examples/task.sample.yaml450 B
  • references/kilo-boss-orchestrator-runbook.md4.0 KB
  • references/kilo-boss-state-schema.md2.2 KB
  • references/kilo-headless-boss-worker-gentle-loop-architecture.md1.7 KB
  • scripts/boss_ctl.py13.9 KB
  • scripts/kilo_headless_runner.py8.0 KB
  • scripts/kilo_retry_watchdog.py16.6 KB
  • scripts/lib/__init__.py64 B
  • scripts/lib/boss_orchestrator/__init__.py41 B
  • scripts/lib/boss_orchestrator/command.py2.0 KB
  • scripts/lib/boss_orchestrator/consensus.py1.6 KB
  • scripts/lib/boss_orchestrator/retry_watchdog.py8.4 KB
  • scripts/lib/boss_orchestrator/state.py9.6 KB
  • scripts/lib/boss_orchestrator/util.py3.5 KB
  • scripts/tests/test_boss_orchestrator_hardening.py14.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Kilo Boss Orchestrator

Purpose: run a durable boss-worker gentle loop for headless Kilo execution with explicit state, safety controls, and consensus validation.

When to use

Use this skill when you need:

  • Boss-led planning and worker delegation in headless Kilo mode.
  • Persistent repo-local task state and lease-based stuck-job recovery.
  • Required verifier pass for substantive execution.
  • Frontier-tier tiebreaker routing for high/critical disagreements.
  • Cron-driven orchestration ticks and watchdog checks.

Core loop

  1. Boss dequeues pending tasks.
  2. Boss dispatches primary + verifier worker cards with a required shared session_id.
  3. Workers run Kilo headless commands, preserve session identity, and write results.
  4. Boss evaluates consensus.
  5. If discrepancy severity >= High, route to tiebreaker.
  6. Boss records verdict and advances queue state.

Safety model

  • Destructive/high-impact actions are gate-controlled and require approval.
  • Guarded execution applies safe operations and skips destructive operations.
  • Worker task commands must be structured command_argv lists beginning with kilo run; shell command strings are rejected.
  • Finalization requires gate_passed: true and requires_tiebreaker: false.
  • Watchdog checks enforce lease TTL by reclaiming expired locks and requeueing or deadlettering tasks.
  • All results and errors are redacted for sensitive material before persistence.
  • Mutable state is repo-local under .kilo/state/orchestrator/.

State paths

  • .kilo/state/orchestrator/queue.jsonl
  • .kilo/state/orchestrator/tasks/
  • .kilo/state/orchestrator/results/
  • .kilo/state/orchestrator/leases/
  • .kilo/state/orchestrator/heartbeats/
  • .kilo/state/orchestrator/sessions/
  • .kilo/state/orchestrator/consensus/
  • .kilo/state/orchestrator/deadletter.jsonl
  • .kilo/state/orchestrator/events.log

Scripts

  • scripts/kilo_headless_runner.py: execute a single worker card through kilo run.
  • scripts/boss_ctl.py: queue, dispatch, status, consensus, watchdog, and completion flows.
  • scripts/kilo_retry_watchdog.py: deterministic phase-1 recovery helper that detects failure markers, sends fixed resume prompts to tmux on 15s cadence (configurable), and emits Hermes outbox JSON on retry exhaustion.

Phase-1.1 deterministic retry behavior

Use when orchestration has transient failure and no AI fallback/backstop is available:

  1. detect failure markers from local orchestrator logs,
  2. run deterministic recovery strategies in order (prompt nudge -> interrupt+prompt -> restart in-session -> recreate session+launch),
  3. classify health edge cases (session missing, Kilo inactive, pane freeze/unresponsive),
  4. enforce phase-1.1 single-instance lock guard to avoid concurrent watchdog races,
  5. wait startup grace windows and re-probe health between strategies,
  6. retry every N seconds for a fixed retry budget,
  7. if still not recovered, emit structured Hermes notification payload with telemetry bundle (host/session/service/path/log metadata + tails).

This script is intentionally offline-capable and non-AI.

Commands

python3 scripts/boss_ctl.py init
python3 scripts/boss_ctl.py enqueue --task-file references/examples/task.sample.yaml
python3 scripts/boss_ctl.py dispatch --max-dispatch 2
python3 scripts/boss_ctl.py status
python3 scripts/boss_ctl.py watchdog
python3 scripts/boss_ctl.py consensus --task-id <task-id>
python3 scripts/boss_ctl.py finalize --task-id <task-id>

Cron integration

Recommended trigger strategy:

  • every minute: boss dispatch tick
  • every minute: watchdog lease recovery tick
  • every 5 minutes: heartbeat and queue health summary

Use ls-cron-job-scheduling with a user-created manifest, commonly cron/manifest.yaml in the target repo.

Consensus policy integration

  • Primary + verifier always for substantive tasks.
  • Tiebreaker mandatory for High/Critical discrepancies.
  • Write validation record for each adjudicated task.

References

  • references/kilo-boss-orchestrator-runbook.md
  • references/kilo-boss-state-schema.md
  • references/kilo-headless-boss-worker-gentle-loop-architecture.md
  • references/examples/task.sample.yaml

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

CruxExperts의 스킬 모두 보기

이 스킬의 문제 신고