Sibyl

Sibyl Client Daemon

Local light daemon -- inbox file watcher, Ingester extraction, KevinProxy dispatch, ResultWriter, billing journal.

Sibyl Client Daemon (v2026-09-30T111922Z-5e473105f4) 2026-09-30 | Local light daemon -- inbox file watcher, Ingester extraction, KevinProxy dispatch, ResultWriter, billing journal. 1 - INGESTION - Convert native files to HolonEnvelope Ingester ingest() safe_ingest() _extract_*() _infer_task_type() 2 - DISPATCH - Send HolonEnvelope to KevinProxy KevinProxy dispatch() _encrypt_prompt() _compute_hmac() _assert_tailnet_ip() 3 - RESULT - Write Kevin AI results to disk ResultWriter write() write_from_kevin_response() list_results() 1. Ingest file 2. Create HolonEnvelope 3. Encrypt and sign envelope 4. Dispatch to KevinProxy 5. Receive Kevin response 6. Write result to disk HolonEnvelope JSON {"job_id": "123e4567-e89b-12d3-a456-426614174000", "product": "sibyl", "task_type": "document_summarise", "prompt": "Sample text prompt", "context": "Some context information", "source_filename": "example.docx", "source_format": "docx", "nonce": "123e4567-e89b-12d3-a456-426614174000", "expires_at": "2023-10-01T12:00:00Z"} Kevin response JSON {"job_id": "123e4567-e89b-12d3-a456-426614174000", "result": "Summary of the document", "task_type": "document_summarise", "total_cost": 0.01} The system ingests files, converts them to a structured format, dispatches them to a processing service, and writes the results back to disk. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-09-30 11:19 UTC, from commit 5e47310

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Sibyl
Slug
sibyl-client-daemon
Rendered
2026-09-30T111922Z
From commit
5e473105f4
Updated
30 Sep 2026, 11:19 UTC
Sources at
5e47310
Watches
2 paths
  • apps/sibyl/daemon
  • apps/sibyl/ingestion