feat(topology): template builders + evolution/QD search (P5)
cm-topology::build(kind, roles) instantiates a canonical graph for any of the 12 kinds from a role list (the template catalog + the search generator). cm-orchestrator::evolve searches a (kinds × team-size) grid using the comparison machinery as fitness: build a candidate per cell, run the task, score it, and keep a MAP-Elites-style archive of per-cell elites + a quality/cost Pareto front and the global best. evolve_all() covers every kind at full size. This is the bridge toward Autonomous Organizational Evolution on a safe substrate — every candidate still executes via safe turns (§15 invariant holds). Demoed in topology_bench (auto-picks the best topology + Pareto kinds). cm-topology 20 tests; cm-orchestrator 17 (--features provider); clippy clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
bd982943b8
commit
b0c122b88d
@@ -15,12 +15,14 @@
|
||||
//! - [`heuristics`]— per-kind role distributions / optimization weights.
|
||||
|
||||
mod adapter;
|
||||
mod builders;
|
||||
mod classifier;
|
||||
mod graph;
|
||||
mod heuristics;
|
||||
mod kind;
|
||||
|
||||
pub use adapter::{from_json, to_json};
|
||||
pub use builders::build;
|
||||
pub use classifier::{classify, Classification, GraphMetrics};
|
||||
pub use graph::{Edge, EdgeKind, Node, TopologyGraph};
|
||||
pub use heuristics::{heuristics, Heuristics};
|
||||
|
||||
Reference in New Issue
Block a user