Skip to content

prompt-store

Enterprise Part of the commercial Kumiko Enterprise offering — not in the open framework.

Event-sourced store for versioned prompt templates: every edit appends an immutable revision, the highest revision is active, and rollback appends a copy of an older revision so the full history is preserved. Consume it via resolveActivePrompt(ctx, tenantId, promptKey, { fallback }), which returns the active revision or the caller-owned default when no revision exists yet. Use this instead of a plain config-key when you need an audit trail of prompt changes and the ability to roll back without a deploy.

  • Requires: tenant
  • Activation: always on (not toggleable)