Skip to main content

daemon-dispatch-ledger

Nested daemon-manual reference for append-order ledger warnings and non-repair diagnostics.

설치로 이동

소스 정보

저장소
Lingtai-AI/lingtai-kernel
최근 소스 활동
2026년 9월 9일 05:18
감지된 SKILL.md 언어
영어
스타
11
포크
14

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
daemon-dispatch-ledger
description
Nested daemon-manual reference for append-order ledger warnings and non-repair diagnostics.
version
0.2.0
last_changed_at
2026-09-08T00:00:00.000Z
related_files
["src/lingtai/tools/daemon/manual/SKILL.md","src/lingtai/tools/daemon/CONTRACT.md","src/lingtai/tools/daemon/ANATOMY.md","src/lingtai/tools/daemon/dispatch_ledger.py","src/lingtai/kernel/daemon_dispatch.py"]
maintenance
Keep this reference aligned with the append-only dispatch ledger and its warning codes; route changes from the daemon manual.
# Dispatch Ledger Diagnostics `daemons/.dispatch-ledger.jsonl` records accepted run membership and append order: `schema`, monotonic `sequence`, `run_id`, and informational `created_at`. It is not lifecycle truth; read each ledger-selected `daemon.json` for state, result, and usage. `.dispatch-recovery/` contains only unresolved running or pending-notification markers. ## Normal operation - A new or cutover agent may have no ledger; legacy folders are not backfilled. - `daemon(action="list", input={})` reads the newest 1000 ledger records in append order. It does not sort timestamps, scan lifetime folders, or repair an index. - Use exact `daemon(action="check", input={"id": "<run_id>"})` or manual filesystem inspection for a known legacy run. An omitted list item is not proof of deletion or failure. - The owning Agent Record refreshes a bounded ledger-selected summary asynchronously; heartbeat/liveness does not depend on that snapshot. ## Warnings and write failures List warnings are advisory and bounded: `dispatch_ledger_empty`, `dispatch_ledger_invalid_record`, `dispatch_ledger_sequence_non_monotonic`, `dispatch_ledger_duplicate_run_id`, and `dispatch_ledger_daemon_state_unreadable`. They include the checked scope and never repair files. A malformed final record is stricter than a read warning: a later acceptance refuses before launch because the next sequence is unprovable. No runtime path truncates, repairs, sorts, migrates, or rebuilds this ledger.
GitHub에서 보기