This release includes 5 breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+8 more
Affected surfaces
Summary
AI summaryRewrite git transaction system to use a dedicated contentrain branch with full worktree isolation.
Full changelog
Patch 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
-
Updated dependencies [fe97f7b]
- @contentrain/[email protected]
- @contentrain/[email protected]
- @contentrain/[email protected]
- @contentrain/[email protected]
Breaking Changes
- Eliminated stash/checkout/merge operations on developer's working tree; all Git actions now occur in temporary worktrees.
- Dedicated `contentrain` branch becomes the single source of truth for content state.
- Feature branches must use the `cr/` prefix to avoid namespace collisions with existing refs.
- Auto-merge flow changed to feature → `contentrain` → fast‑forward update of base branch.
- Selective sync copies only modified files; dirty files are skipped with a warning.
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]