Add sort:field*weight+field*weight+... syntax for weighted multi-field sorting. Each field computes a 0-1 score, multiplied by weight, summed. Available score fields: isolation — community isolation ratio (1.0 = fully isolated) degree — graph degree (normalized to max) weight — node weight content-len — content size (normalized to max) priority — consolidation priority score recency(X) — time since agent X last visited (sigmoid decay) Example: sort:isolation*0.7+recency(linker)*0.3 Linker agents prioritize isolated communities that haven't been visited recently. Scores are pre-computed per sort (CompositeCache) to avoid redundant graph traversals inside the sort comparator. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| agents | ||
| defaults | ||
| schema | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| config.example.jsonl | ||