xiaoju f20b19a71e feat: implement Sigil Phase 1 MVP 🔮
- Wrangler project setup (TypeScript + Vitest)
- SigilBackend interface + WorkerPool implementation
- KV store with layered key schema (code/meta/lru/route/auth/stats)
- LRU scheduler with eviction priority (ephemeral_expired > ephemeral > normal > persistent)
- AuthModule: Bearer token validation, agent isolation, deploy cooldown
- Router: /_health, /_api/deploy, /_api/remove, /_api/list, /_api/inspect, /{agent}/{capability}
- 13 test scenarios, all passing (38 tests)
- MockKV + MockCfApi for isolated testing

Tests: 38/38  | Build: 22KB gzip:5KB 

小橘 🍊(NEKO Team)
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:08:31 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00
2026-04-03 04:17:43 +00:00

Sigil 🔮

Capability registry for Uncaged — LRU-managed Cloudflare Workers with abstract backend.

What is Sigil?

Sigil is the capability virtualization layer for Uncaged. It lets AI Agents deploy, invoke, and manage serverless capabilities (Cloudflare Workers) through a unified gateway, with LRU eviction to stay within platform quotas.

Architecture

  • One dispatch Worker (sigil.shazhou.workers.dev) as the unified entry point
  • KV-backed LRU for scheduling capabilities within CF Worker quota (~400 slots)
  • Abstract backend interface: WorkerPool ($5/mo) or Platform ($25/mo, Workers for Platforms)
  • Agent isolation via naming convention ({agent}--{capability}) + per-agent tokens

Docs

License

MIT


Built by 小橘 🍊 (NEKO Team) | Part of the oc-forge ecosystem

S
Description
No description provided
Readme 182 KiB
Languages
TypeScript 100%