Skip to content

fix: harden cross-clone team synchronization#16

Merged
whitelonng merged 12 commits into
mainfrom
develop
Jul 20, 2026
Merged

fix: harden cross-clone team synchronization#16
whitelonng merged 12 commits into
mainfrom
develop

Conversation

@whitelonng

Copy link
Copy Markdown
Owner

What changed

  • harden cross-clone git-ref team synchronization
  • reconcile task bundles already supplied by a normal Git pull
  • serialize materialization through the canonical task lock
  • keep repeated identical sync pulls from advancing the task-head fence
  • release the verified changes as mancode@0.3.18

Why

Independent clones could diverge during team task recovery: Git-supplied task state was classified as split-brain, materialization used a separate lock family, and identical pulls rewrote the task-head fence.

Validation

  • lint and TypeScript checks
  • production build and all 8 dist adapter checks
  • 113 test files and 776 tests
  • cross-clone git-ref E2E, handoff repair, crash matrix, and materialization contracts

# Conflicts:
#	README.en.md
#	README.md
#	package-lock.json
#	package.json
#	tests/website-docs.test.ts
#	website/docs.html
#	website/docs.zh-CN.html
#	website/index.html
#	website/index.zh-CN.html
# Conflicts:
#	README.en.md
#	README.md
#	package-lock.json
#	package.json
#	src/team/git-ref-operation.ts
#	tests/git-ref-cross-clone-e2e.test.ts
#	website/docs.html
#	website/docs.zh-CN.html
#	website/index.html
#	website/index.zh-CN.html
@whitelonng
whitelonng marked this pull request as ready for review July 20, 2026 13:58
@whitelonng
whitelonng merged commit f67fb7d into main Jul 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant