This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+8 more
Affected surfaces
Summary
AI summaryRewrite of the git transaction system to use a dedicated contentrain branch and full worktree isolation.
Full changelog
Minor Changes
-
fe97f7b: Rewrite git transaction system with dedicated
contentrainbranch 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
contentrainbranch 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
SyncResultinterface for selective file sync results - Add
ContentrainErrorinterface for structured error reporting - Add
CONTENTRAIN_BRANCHconstant
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
About Contentrain/ai
Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.
Related context
Related tools
Beta — feedback welcome: [email protected]