メインコンテンツへスキップ
cohaku memory update <id>
指定されたフィールドのみが更新されます。省略されたフィールドは変更されません。

引数

引数必須説明
idはいメモリ ID

オプション

オプション短縮形デフォルト説明
--content-c新しい内容テキスト
--layer-l新しいレイヤー: rule, working, long_term
--type-t新しいタイプ: rule, decision, fact, note, skill
--tags新しいカンマ区切りのタグ
--expires新しい有効期限(ISO 8601)

使用例

# 内容を更新
cohaku memory update abc123 --content "Updated: API limit is 200 req/min"

# rule レイヤーに昇格
cohaku memory update abc123 --layer rule --type rule

# タグを追加
cohaku memory update abc123 --tags "api,rate-limit,production"