Skip to content

Module contracts

Normative module contracts define module behaviour, interfaces, dependencies, and evidence requirements.

Module contracts are not runbooks. Operator procedures belong under runbooks. Task-focused walkthroughs belong under HOWTO content.

Scope

A module contract specifies:

  • module identity and lifecycle entry points
  • required inputs and supported overrides
  • dependencies on init targets and drivers
  • produced outputs and evidence requirements
  • failure semantics and security rules
  • change control expectations

Placement

Current draft target-state module contracts:

Standards

  • Normative language only: MUST, MUST NOT, SHOULD, MAY.
  • Contracts define stable behaviour and interfaces, not implementation detail.
  • Outputs and evidence paths MUST be expressed relative to the runtime root where applicable.
  • References to runbooks and HOWTOs SHOULD link to canonical pages where available.