Changelog
Release history and updates
Changelog
All notable changes to this project are documented below.
Unreleased
Added
- UCP alignment with Universal Commerce Protocol
@guardrail-sim/ucp-typespackage with discount and checkout types@guardrail-sim/insightspackage with policy health checks- UCP-aligned MCP tools:
validate_discount_code,simulate_checkout_discount - Interactive policy playground in documentation site
- ADR-002: UCP Protocol Alignment
Changed
- MCP server now exposes 5 tools (was 1)
- Updated documentation to match actual API
v0.0.1 (December 2025)
Added
- Initial policy engine implementation with json-rules-engine
- MCP server with
evaluate_policytool - Default policy with rules:
margin_floor- 15% minimum marginmax_discount- 25% maximum discountvolume_tier- Volume-based limits
get_policy_summaryandget_max_discountMCP tools- Documentation website with Fumadocs
- ADR-001: Policy Engine Library selection
Technical
- pnpm monorepo structure
- TypeScript strict mode throughout
- ESLint + Prettier configuration
- Husky pre-commit hooks
- Conventional commits with commitlint
- 76 passing tests across all packages