Skip to content

Release Notes - v0.4.0

Overview

The ProfileID→Normalizer catalog cmd/rice used internally is now an exported package. Any consumer that needs to resolve a ProfileID at runtime — from a stored assessment document, for instance — previously had to hand-copy the ten-profile map from cmd/rice/catalog.go, per docs/integration.md's old "build a small catalog" instruction. That map now lives in catalog/, and cmd/rice itself is refactored to consume it, so it stays the working example of the pattern instead of the only implementation.

This release was driven by a real consumer: omniroadmap's COMPASS-RICE integration needs to normalize evidence documents ingested from an LLM judge, and the catalog package is exactly the lookup it needs.

What changed

  • New catalog package: Entry, Get(id) (Entry, bool), IDs() []ProfileID, UnmarshalEvidenceFor(id, data), Normalize(id, evidence), NormalizeJSON(id, evidenceJSON), NormalizeDocument(data), and the Document{ProfileID, Evidence} on-disk shape.
  • cmd/rice's normalize() now delegates to catalog.NormalizeDocument — no change to CLI behavior or the assessment document format.
  • docs/integration.md and README.md updated to reference the exported package.

Migrating

No breaking changes. If you had already hand-copied the cmd/rice/catalog.go pattern into your own code (per the old integration guide), you can now depend on catalog directly instead — catalog.Get, catalog.NormalizeJSON, and catalog.NormalizeDocument cover the same ground.