Skip to content

Commit 24494ec

Browse files
committed
odek memory: force extended memory enabled for CLI maintenance commands
The odek memory extended * subcommands (forget, promote, pin, quarantine, compact) construct ExtendedMemory using DefaultConfig, which has Enabled = false, so all operations silently failed. Force Enabled = true for the CLI surface only; the agent tool surface still does not expose promote.
1 parent 3a43cb0 commit 24494ec

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmd/odek/memory_cmd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ func extendedMemoryCmd(dir string, args []string) error {
8282

8383
extDir := filepath.Join(dir, "extended")
8484
cfg := extended.DefaultConfig()
85+
enabled := true
86+
cfg.Enabled = &enabled
8587
em := extended.New(extDir, nil, cfg)
8688

8789
switch sub {

0 commit comments

Comments
 (0)