Skip to content

Contentrain/ai

v@contentrain/[email protected] Feature

This release adds 4 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents claude-code content-governance contentrain cursor developer-tools
+8 more
git i18n mcp mcp-server model-context-protocol sdk typescript windsurf

Summary

AI summary

Rewrite git transaction system with dedicated contentrain branch and full worktree isolation.

Full changelog

Patch Changes

  • fe97f7b: Rewrite git transaction system with dedicated contentrain branch and full worktree isolation.

    @contentrain/mcp:

    • Eliminate stash/checkout/merge on developer's working tree during auto-merge
    • All git operations happen in temporary worktrees — developer's tree never mutated
    • Dedicated contentrain branch as content state single source of truth
    • Feature branches use cr/ prefix (avoids git ref namespace collision)
    • Auto-merge flow: feature → contentrain → update-ref baseBranch (fast-forward)
    • Selective sync: only changed files copied to working tree, dirty files skipped with warning
    • context.json committed with content (not separately)
    • Structured errors with code, message, agent_hint, developer_action
    • Automatic migration of old contentrain/* branches on first operation

    @contentrain/types:

    • Add SyncResult interface for selective file sync results
    • Add ContentrainError interface for structured error reporting
    • Add CONTENTRAIN_BRANCH constant

    contentrain (CLI):

    • Worktree merge pattern in diff, serve approve, normalize approve
    • Contentrain branch status display in contentrain status
    • Protected contentrain branch in branch listings

    @contentrain/rules & @contentrain/skills:

    • Updated workflow documentation for new git architecture

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Contentrain/ai

Get notified when new releases ship.

Sign up free

About Contentrain/ai

Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.

All releases →

Related context

Beta — feedback welcome: [email protected]