scoring: add organize and connector to nightly consolidation plan
Organize runs at half the linker count — synthesizes what linker connects, creates hub nodes for unnamed concepts. Connector runs when communities are fragmented (<5 nodes/community → 20 runs, <10 → 10 runs). Bridges isolated clusters. Both interleaved round-robin with existing agent types. Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
b903cf5fb4
commit
c9e622e150
2 changed files with 46 additions and 1 deletions
|
|
@ -478,6 +478,8 @@ fn compute_graph_health(store: &crate::store::Store) -> GraphHealth {
|
|||
plan_linker: plan.linker_count,
|
||||
plan_separator: plan.separator_count,
|
||||
plan_transfer: plan.transfer_count,
|
||||
plan_organize: plan.organize_count,
|
||||
plan_connector: plan.connector_count,
|
||||
plan_rationale: plan.rationale,
|
||||
computed_at: crate::store::format_datetime_space(crate::store::now_epoch()),
|
||||
}
|
||||
|
|
@ -603,6 +605,8 @@ pub struct GraphHealth {
|
|||
pub plan_linker: usize,
|
||||
pub plan_separator: usize,
|
||||
pub plan_transfer: usize,
|
||||
pub plan_organize: usize,
|
||||
pub plan_connector: usize,
|
||||
pub plan_rationale: Vec<String>,
|
||||
pub computed_at: String,
|
||||
}
|
||||
|
|
@ -986,6 +990,8 @@ pub fn run_daemon() -> Result<(), String> {
|
|||
linker_count: h.plan_linker,
|
||||
separator_count: h.plan_separator,
|
||||
transfer_count: h.plan_transfer,
|
||||
organize_count: h.plan_organize,
|
||||
connector_count: h.plan_connector,
|
||||
run_health: true,
|
||||
rationale: Vec::new(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue