Repository navigation
contentrain@0.16.0
·
144 commits
to main
since this release
Minor Changes
-
7032c5f: Adds local mode, an explicit way to keep every MCP write off the remote. Set
"git": { "push": false }in.contentrain/config.json, orCONTENTRAIN_NO_PUSH=1for one run. The env wins over the config in both directions:=1/trueturns pushing off even where config allows it, and=0/falseturns it back on overgit.push: false. Without either, nothing changes: pushing stays on.- No write path pushes: not the branch publish in
ensureContentBranch, the review push, the push after an auto-merge, approve (mergeBranch) or reconcile, and notcontentrain_submit. Remote branch deletes and prunes are skipped too. Fetching is not a push and still happens. - It is never a silent success.
RemotePushgains'disabled', and each write'sgitblock reportsremote_push: "disabled"withremote_note: "not pushed (local mode)"and aLOCAL MODEnext step.contentrain_submitreturns an error naming the switch. Remote delete and prune results reportskipped: 'local-mode'.contentrain_mergeandcontentrain_branch_deletestill delete the local branch fully and leave any remote copy untouched. @contentrain/types:ContentrainConfig.git.pushandRemotePush'disabled'.- CLI:
contentrain mergeandcontentrain prunesay when they skipped the remote in local mode. - The MCP README now documents
CONTENTRAIN_BRANCH,CONTENTRAIN_REMOTEandCONTENTRAIN_NO_PUSH.
- No write path pushes: not the branch publish in
Patch Changes
- Updated dependencies [3fa05b7]
- Updated dependencies [e360392]
- Updated dependencies [e360392]
- Updated dependencies [7032c5f]
- Updated dependencies [19057f7]
- @contentrain/types@1.61.0
- @contentrain/mcp@3.10.0
- @contentrain/query@7.6.41
- @contentrain/wp-import@0.12.1
- @contentrain/rules@0.7.3
- @contentrain/skills@0.9.5