This release includes 4 breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+8 more
Summary
AI summaryRewrite the git transaction system to use dedicated contentrain branch and full worktree isolation, eliminating mutations of developer trees.
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
Patch Changes
- Updated dependencies [fe97f7b]
- @contentrain/[email protected]
Breaking Changes
- All git operations now occur in temporary worktrees; developer's working tree is no longer mutated during auto‑merge.
- Feature branches must use the `cr/` prefix to avoid namespace collisions with the dedicated `contentrain` branch.
- Auto‑merge flow changed to feature → `contentrain` branch → fast‑forward update of baseBranch.
- Selective sync copies only changed files; dirty files are skipped and emit 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]