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

ls-codex-heartbeat-checks

Opt-in agent heartbeat harness for target repositories: initialize config, run transaction-safe checks, preserve artifacts, and wire cron only after explicit activation.

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

설치 방법 보기

포함된 파일(14)

  • SKILL.md6.2 KB
  • references/artifacts.md1.3 KB
  • references/command-logging.md1.5 KB
  • references/config.md19.0 KB
  • references/process-control.md7.5 KB
  • references/recovery.md4.2 KB
  • references/transactions.md1.4 KB
  • scripts/codex_heartbeat_support.py16.8 KB
  • scripts/codex_heartbeat.py24.7 KB
  • scripts/heartbeat_lscli.py4.6 KB
  • scripts/heartbeat_process.py5.9 KB
  • scripts/heartbeat_protocol.py4.1 KB
  • templates/codex_heartbeat.yaml1.2 KB
  • templates/HEARTBEAT.md728 B

SKILL.md(원문)

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

Agent Heartbeat

Use this skill when a repository needs an explicit, auditable heartbeat harness for periodic checks run by a configured agent CLI. The runtime is client-neutral: each profile supplies its own executable argv, prompt transport, and launcher mode.

Guardrails

  • Installing this skill only makes the harness available. It does not create config, cron entries, or autonomous runs.
  • Activate per target repo with localsetup harness codex-heartbeat init and enable.
  • Ordinary transaction artifacts stay under the configured ignored target heartbeat state directory (default .localsetup/state/codex-heartbeat/). Reserved actions retain separate private attempt/accounting evidence as described in artifacts.
  • enable --install-crontab refuses to install a live crontab unless --yes is also passed.
  • Ordinary run --no-agent skips agent profile loading and launcher resolution entirely, then exercises configured hooks, lock acquisition, recovery, command logging, staged validation, and atomic promotion. Broken or missing agent configuration does not prevent this transaction check; normal agent runs still validate it. With reserved-action controller options, --no-agent instead returns an early skip before configuration, locks, hooks or transaction checks. See reserved runs.
  • An ordinary run acquires heartbeat.lock before inspecting or changing active and staged state. It reclaims only a same-host lock whose owner PID is absent and whose age meets heartbeat.stale_after_seconds, then unlinks that held stale pathname and retries exclusive acquisition. Ambiguous locks remain locked for manual review.
  • Direct hooks reject git commit, git push, and blocked destructive executables unless their specific policy switches are enabled; Git global options are parsed before the subcommand check.
  • Every executed or policy-blocked ordinary-run command receives a sidecar. Promotion validates hashes for the result, command log, and every logged sidecar. Reserved execution uses the same overlap lock but its own protected result evidence.
  • Agent profiles record execution; they are not a sandbox replacement.

Rule ownership

This skill owns heartbeat harness behavior. HARNESS_AUTOMATION.md is the public reference for the same guardrails; changes to activation, artifacts, transaction handling, or cron wiring belong here first.

  • Heartbeat is opt-in per target repo.
  • New cron cadence must be faithfully representable: integer minute divisors of 60, or whole-hour divisors of 24. Enabling rejects other intervals before changing configuration. Disabling preserves an existing trigger schedule. See the timezone and wall-clock limits in configuration.
  • Cron activation is delegated to explicit harness commands and should be coordinated with ls-cron-job-scheduling when broader scheduling is involved.
  • Runtime evidence stays in ignored target state, not public framework docs.

Activation and evidence workflow

Use ls-localsetup-framework-changes for repository checks and ls-cron-job-scheduling for scheduling coordination. Preserve the explicit activation gates throughout this lifecycle:

  1. Inspect the target paths, configuration, cron manifest, and launcher with plan.
  2. Use init to create HEARTBEAT.md and configuration with heartbeat disabled.
  3. Use enable to update the heartbeat configuration and cron manifest while preserving unrelated tasks; retain the live-crontab confirmation gate above.
  4. Validate a run with --no-agent when appropriate. Success requires validated staged artifacts and atomic promotion, as defined in references/transactions.md.
  5. Inspect configuration, cron, lock, latest pointer, and run evidence with status.
  6. Use disable to stop future heartbeat runs without deleting historical artifacts.

Record activation, validation, and artifact locations in the run ledger.

Commands

localsetup harness codex-heartbeat plan
localsetup harness codex-heartbeat init
localsetup harness codex-heartbeat enable
localsetup harness codex-heartbeat status
localsetup harness codex-heartbeat budget
localsetup harness codex-heartbeat run --no-agent
localsetup harness codex-heartbeat disable

budget is read-only. It reports policy, summary, and task reservations from heartbeat.task_queue_path when configured; it does not spawn agents or enforce scheduling.

Standalone runtime script:

python3 ls/skills/ls-codex-heartbeat-checks/scripts/codex_heartbeat.py --target-root . --no-agent

References

  • references/config.md
  • references/artifacts.md
  • references/recovery.md
  • references/command-logging.md
  • references/process-control.md
  • references/transactions.md

LSCli coding runs

The unselected lscli-heartbeat template profile uses an owned protected registration, explicit provider configuration and task grant, stdin prompt, and validated JSONL completion. Configure its absolute paths and bounded limits using the typed profile contract before selecting it. Planning and --no-agent do not call a provider. Activation, credentials, delegated sandbox capability, and recurring authority remain explicit. Generic client profiles retain their existing launcher modes.

Controller accounting

Use controller accounting commands for reviewed private policy initialization, resource inspection, and result-bound progress dispositions. These commands neither run an agent nor close an external issue. Keep accounting and controller inputs outside the writable workspace. Use explicit reserved actions for task-wide enforcement and compound compaction. Ordinary fresh profiles do not acquire that authority from an accounting file's existence.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고