Skip to content

Commit 3d9f35d

Browse files
Preserve TUI remember scope
1 parent 6ce09bc commit 3d9f35d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/tree-ring-memory-cli/src/tui

crates/tree-ring-memory-cli/src/tui/app.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl App {
279279
summary: summary.trim().to_string(),
280280
event_type: "lesson".to_string(),
281281
ring: "cambium".to_string(),
282-
scope: "project".to_string(),
282+
scope: "global".to_string(),
283283
project: None,
284284
tags: Vec::new(),
285285
},
@@ -584,6 +584,7 @@ mod tests {
584584
assert_eq!(memories.len(), 1);
585585
assert_eq!(memories[0].summary, "Use shared TUI remember action");
586586
assert_eq!(memories[0].ring, "cambium");
587+
assert_eq!(memories[0].scope, "global");
587588
}
588589

589590
#[test]

0 commit comments

Comments
 (0)