Skip to content

feat: enforce team private user identity#1000

Merged
wbugitlab1 merged 4 commits into
mainfrom
issue/511-team-private-userid
Jun 18, 2026
Merged

feat: enforce team private user identity#1000
wbugitlab1 merged 4 commits into
mainfrom
issue/511-team-private-userid

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • adds per-request team userId resolution with AGENTMEMORY_USER_ID fallback
  • enforces TEAM_MODE=private filtering for team feed/profile and routes the MCP team profile resource through the same function boundary
  • whitelists REST/MCP team payload fields and documents the multi-user team behavior

Fixes #511.

Verification

  • corepack pnpm exec vitest run test/team.test.ts test/config-resolve.test.ts test/mcp-server-surface.test.ts test/api-boundary-coverage.test.ts test/plugin-surface-contract.test.ts --exclude test/integration.test.ts
  • corepack pnpm run lint
  • corepack pnpm run build
  • git diff --check refs/remotes/origin/main...HEAD
  • corepack pnpm test
  • semgrep scan --config p/default --error --metrics=off .
  • gitleaks protect --staged --redact

@wbugitlab1 wbugitlab1 merged commit 093775f into main Jun 18, 2026
2 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.

[upstream PR 689] feat(team): per-request userId + TEAM_MODE=private enforcement

1 participant