@comity/kernel
v0.9.0
Published
Runtime orchestrator providing lifecycle, DI, and shared services for Comity
Readme
@comity/kernel
Runtime orchestrator for Comity applications.
Purpose
Provides a minimal orchestration layer that coordinates module lifecycle, service registration, and event/hook signaling without imposing a framework or runtime model. The kernel is optional.
Scope
This package:
- ✅ manages application lifecycle and initialization
- ✅ coordinates module setup and shared context
- ✅ exposes lifecycle events (observable) and hook execution (participatory)
This package does NOT:
- ❌ perform UI rendering or transport concerns
- ❌ manage HTTP or external protocols
- ❌ encode application or domain policies
Public API
- Kernel — orchestrator with lifecycle control and context
- Module — metadata, resolver, and loader contracts
- Observer contracts (
@comity/kernel/observers) - Error types (
@comity/kernel/errors) - Setup — module metadata and context types (
@comity/kernel/setup)
No exhaustive reference; see docs for constraints.
Documentation
Related Packages
- @comity/primitives
- @comity/http
Status
Stable
Review Completed: 2026-07-25 Reviewer: Hobiri MAGI (DeepSeek v4 Pro) Compliance Score: 99.6%
