Kanshō/Shared memory matrix

Shared memory matrix

Which agents may read or write each memory layer. The buyer designs isolation: who shares context, who is walled off, who can only observe.

Included in the single kansho full pack. Components are not offered as separate installs.

Crew access map

research crew · memory access
AgentConversationSessionUserOrganizationAgent-private
OrchestratorRead & writeRead & writeRead onlyRead & writeRead & write
Research agentRead onlyRead & writeRead onlyRead onlyRead & write
Audit writerRead onlyRead onlyNo accessRead & writeNo access
Support agentRead & writeRead onlyRead onlyRead onlyRead & write
Read & writeRead onlyNo access

Component documentation

Shared Memory Matrix

components/memory/shared-memory-matrix.tsx

Purpose

Compares each agent's read and write access across memory layers.

Appropriate use

Use for auditing a crew's effective memory permissions in a dense table.

Example

components/memory/shared-memory-matrix.tsx has a representative live example in the "Crew access map" section on /components/shared-memory-matrix.

States

Access values are read-write, read, or none; missing layer entries are treated as none, and callers choose the ordered layer columns.

API and props

SharedMemoryMatrix accepts agents, layers, caption, and className; MatrixAgent supplies id, name, and a partial layer-to-access map.

Dependencies

Direct imports are React, Lucide icons, Legend, DataTable primitives, shared memory types, and cn.

Accessibility

A real table and caption expose row and column relationships; access icons include visible or assistive labels so meaning is not colour-only.

Limitations

It does not edit permissions, calculate inheritance, sort agents, or virtualise large matrices.

Source

Source: components/memory/shared-memory-matrix.tsx.

Full pack

components/memory/shared-memory-matrix.tsx is documented at /components/shared-memory-matrix and installs only through the single Kansho full pack; no individual component install is offered.