agents: add DEMOTE action for redundancy cleanup
New action type that halves a node's weight (min 0.05), enabling extractors to mark redundant nodes for decay without deleting them. Parser, apply logic, depth computation, and display all updated.
This commit is contained in:
parent
8ba58ce9cd
commit
9d29e392a8
2 changed files with 34 additions and 1 deletions
|
|
@ -231,6 +231,8 @@ pub fn apply_consolidation(store: &mut Store, do_apply: bool, report_key: Option
|
|||
println!(" WRITE {}", key),
|
||||
knowledge::ActionKind::Refine { key, .. } =>
|
||||
println!(" REFINE {}", key),
|
||||
knowledge::ActionKind::Demote { key } =>
|
||||
println!(" DEMOTE {}", key),
|
||||
}
|
||||
}
|
||||
println!("\nTo apply: poc-memory apply-consolidation --apply");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue