Skip to content

feat(team): isolated memory, review and schedules / 团队记忆、整理与调度 - #151

Merged
SivanCola merged 11 commits into
mainfrom
codex/team-port-5-memory-schedules
Nov 3, 2026
Merged

SivanCola merged 11 commits into
mainfrom
codex/team-port-5-memory-schedules

Conversation

@SivanCola

@SivanCola SivanCola commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add isolated member-private, team and group memory to Desktop Team. Shared writes require a new exact human decision and revalidate memory/roster revisions, Plan state and delegation restrictions.
  • Add opt-in memory review using only new human evidence, with bounded oldest-first consumption, fixed-guidance protection, transactional batch validation, crash recovery and cancel/join lifecycle.
  • Add independent Team schedules with saved IANA zones, occurrence identities, a two-minute admission window and scheduler provenance. Desktop settings support memory editing, review preferences/status and schedule management.

Verification

  • Owning memory, Team, roster, evidence, shared-approval and Desktop tests passed; targeted race suites passed, including cancel/join and busy-window behavior.
  • Root/ Desktop owning lint, repolint, frontend/test typechecks, production build, settings responsive tests and Team Chromium interactions passed.
  • Complete root and independent Desktop Go suites passed (Desktop main package 804.855s). Later parent archive and browser-cache fixes passed their owning checks. Hosted checks, Linux/Windows native acceptance, installable packages and real-model qualification are tracked separately by the final stack layer Team 7/7: Secret boundaries and member usage / 全边界脱敏与成员用量 #153.

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.

…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
SivanCola marked this pull request as ready for review November 3, 2026 08:41
@SivanCola
SivanCola changed the base branch from codex/team-port-4-desktop-ui to main November 3, 2026 11:27
@SivanCola
SivanCola merged commit 413752a into main Nov 3, 2026
23 of 36 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