Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.2 KB

File metadata and controls

35 lines (29 loc) · 1.2 KB

Instructions for Agents Working in pkg/natsruntime/

Read the repository-root AGENTS.md, cli/AGENTS.md, and authling/AGENTS.md before changing this shared module. Also follow ADR-058.

Boundary

  • 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.

Verification

Run:

mise test-natsruntime
(cd authling && mise test)
mise test-cli
mise license-check