You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Roadmap Phase 2, Week 10-11: Access Controls (v1.2.0).
Three deliverables:
1. visibility column: private/workspace/public levels on every entity.
Stored in entities table (TEXT DEFAULT 'workspace'), ALTER migration,
persisted through remember() INSERT/UPDATE, roundtripped through all
6 SELECT lists via entity_from_row index 23. Entity constructors
default to 'workspace'. Added to RecallParams as optional filter.
2. mimir_share MCP tool: shares an entity from one workspace to another
by category+key lookup, clones with new ID + target workspace_hash,
persists via remember(). Returns shared_id, action, from/to workspace.
Registered with full inputSchema/outputSchema/annotations (33 tools now).
3. --workspace-token CLI flag: added to both global Cli and Serve structs
for cross-workspace transport auth (complements --mcp-token).
E2E verified: entity shared w1→w2, recall in w2 returns the shared copy.
31 tests passing.
"description": "Share an entity to another workspace. Copies the entity (by category + key) from its current workspace into the target workspace, preserving content and metadata while generating a new ID. The original entity is unchanged. Use this for controlled cross-workspace knowledge transfer.",
1603
+
"inputSchema": {
1604
+
"type": "object",
1605
+
"properties": {
1606
+
"category": {
1607
+
"type": "string",
1608
+
"description": "Entity category to share"
1609
+
},
1610
+
"key": {
1611
+
"type": "string",
1612
+
"description": "Entity key to share"
1613
+
},
1614
+
"to_workspace": {
1615
+
"type": "string",
1616
+
"description": "Target workspace hash to copy the entity into"
1617
+
}
1618
+
},
1619
+
"required": ["category", "key", "to_workspace"]
1620
+
},
1621
+
"outputSchema": {
1622
+
"type": "object",
1623
+
"properties": {
1624
+
"shared_id": {
1625
+
"type": "string",
1626
+
"description": "ID of the new shared copy"
1627
+
},
1628
+
"action": {
1629
+
"type": "string",
1630
+
"description": "'created' or 'updated'"
1631
+
},
1632
+
"from_workspace": {
1633
+
"type": "string",
1634
+
"description": "Source workspace the entity was copied from"
1635
+
},
1636
+
"to_workspace": {
1637
+
"type": "string",
1638
+
"description": "Target workspace the entity was copied to"
1639
+
}
1640
+
}
1641
+
},
1642
+
"annotations": {
1643
+
"destructiveHint": true
1644
+
}
1645
+
},
1600
1646
{
1601
1647
"name": "mimir_federate",
1602
1648
"description": "Federate entities from one workspace to another. Exports entities scoped to from_workspace, remaps their workspace_hash to to_workspace, and imports them — effectively copying or moving knowledge between workspaces. Use this for cross-agent or cross-project knowledge sharing without manual file transfer.",
0 commit comments