Repository navigation
feat(team): isolated memory, review and schedules / 团队记忆、整理与调度 - #151
Merged
Merged
Conversation
…mory-schedules # Conflicts: # desktop/frontend/src/generated/desktopContract.generated.ts # desktop/frontend/src/lib/teamBindings.ts # desktop/frontend/src/lib/teamMock.ts # docs/TEAM.zh-CN.md # docs/desktop-contract/INVENTORY.md # docs/desktop-contract/inventory.json
SivanCola
marked this pull request as ready for review
November 3, 2026 08:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Documentation and compatibility
Documentation-impact: Updated bilingual Team usage documentation and the implementation ledger. This is layer 5 of 7; the full port is not complete and Team secrets remain unavailable.
Ordinary sessions keep their existing memory authority and tool catalog. Team memory uses separate namespaces. New schedule, review-state, memory-journal and receipt files are versioned; unknown versions are retained and refused. Existing Team rosters default review to disabled. Dynamic shared memory is appended at the turn tail. The two Team-only tool schemas intentionally change the Team request catalog; ordinary requests do not gain them.
Related issues
Incremental base: #149. Adapted from esengine/DeepSeek-Reasonix #14640 at
ca38fcc4311d7c570d06a319c159ddbd61eac35a, retaining the upstream attribution recorded in this stack. Excludes CLI/outbox and Studio HTTP paths. The accepted local Desktop scope is macOS, Linux and Windows; merge follows current checks; release is outside scope.Complete-stack qualification
This PR remains scoped to its own layer. The completed seven-layer stack, native DMG/DEB/NSIS acceptance, real-model evidence and compatibility limits are tracked in #153 and the qualification record. Merge follows current-head checks and dependency order; release is outside this PR.
Incremental review follow-up
Reviewed only against layer 4. Memory review now presents every checkpointed human turn, sharing the serialized JSON byte budget across the contiguous page instead of dropping early messages. Regression covers 16 long ASCII/Unicode/escaped messages and persisted Desktop evidence checkpoints. Owning tests and the Desktop evidence-to-model regression pass.
CI lifecycle fixture follow-up
The macOS failure exposed test teardown that closed services without joining controller finalization and autosave producers. The layer-4 fixture now quiesces/join all visible and detached owners before closing stores; navigation also joins the replaced controller. Two deterministic regressions fail with the prior cleanup, and focused race/repeated tests pass. These changes affect tests only and preserve the native-qualified production code. The original CI ENOTEMPTY ordering was not naturally reproduced locally.