memory CLI 가 전체 라이프사이클 처리: 스페이스 생성, 노트/노드/엣지 검사, 스코프된 세션 관리, 진단 (학습된 실패) 메모리와 상호작용.
네 스페이스 패러다임 (메모리 스페이스 참고):
- wiki — 사람 저작 노트.
- index — 옵션 그래프 엣지 있는 벡터 인덱스 노드.
- session — 대화별 단기 메모리.
- evolution — 진단 메모리, 자동 채워짐.
notes, index 는 nodes/edges, session 은 sessions, evolution 은 diagnostic.
명령 그룹
- 스페이스:
spaces list/get/create/update/delete - Wiki 노트:
notes list/upsert/grep/exclude - Index 노드:
nodes list/insert/update/set-position/exclude - Index 엣지:
edges list/insert/update/exclude - 진단:
diagnostic list/recall/peek/exclude/restore - 세션:
sessions scopes/turns/summary/count - 메타:
log,scopes,connected-flows
스페이스
List / get
Create
--slug(필수) — 안정된 식별자.--name(필수) — 표시 이름.--paradigm wiki|index|session|evolution(필수).--index-form vector|graph—index패러다임용, 그래프 엣지 활성 여부.--kg-reference— 지식 그래프 참조 스페이스로 표시.--access-scope-key <key>— 읽기/쓰기 격리에 쓰는 스코프 키.--config <json>— 추가 패러다임 특화 설정.
Update
Delete
Wiki 노트
paradigm=wiki 스페이스용.
List
Upsert
--body 가 인라인 텍스트, 경로용 @file, stdin 용 - 수용.
Grep
Exclude (소프트 가지치기)
Index 노드·엣지
paradigm=index (with index-form=graph) 스페이스용 — 엔티티-관계 데이터 모델.
노드
엣지
진단 메모리
Evolution 패러다임이 알려진 실패 패턴 축적.세션
paradigm=session 스페이스용.
메타
레시피
마크다운 파일에서 노트 벌크 삽입
스페이스의 스코프 키 마이그레이션
access-scope-key 변경 — 옛 항목이 옛 스코프 유지; 새 항목이 새 것 사용. 마이그레이션이 수동: