mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-06 01:50:14 +02:00
AgentInvocationTarget.target_type's "team" is an unrelated, inert placeholder from migration 130 (agent_invocation_permission) — "reserved for the future team concept... NOT effective in V1" — not the workspace Team entity this branch renamed to Space. The server's CHECK constraint, Go constant, and packages/core/types/agent.ts all still say "team"; only apps/mobile/data/schemas.ts had been swept to "space" by mistake (most likely an overzealous find/replace during the Team→Space rename), which desynced it from the server and broke mobile's typecheck. Revert schemas.ts and its test back to "team" to match the real server contract. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>