Read the repository-root AGENTS.md,
cli/AGENTS.md, and
authling/AGENTS.md before changing this shared
module. Also follow
ADR-058.
- Keep production code application-neutral.
- This module owns only embedded NATS process lifecycle mechanics: creation, startup readiness, failure cleanup, in-process connection options, and shutdown.
- Applications own their configuration schemas, defaults, listeners, authentication, monitoring, logging, storage paths, and deployment policy.
- Do not import Chatto or Authling packages.
- Keep the API thin over
nats-server; do not mirror its complete options surface in a second configuration model. - The module is independently versioned but pre-1.0 and has no API stability promise yet.
- The complete module is licensed under Apache-2.0. Keep its source, tests, documentation, and standalone license metadata inside that permissive boundary.
Run:
mise test-natsruntime
(cd authling && mise test)
mise test-cli
mise license-check