Phase 1 (miroir-cdo): Core Routing verification complete

All 145 tests pass with 91.72% line coverage (exceeds 90% requirement).

Core routing components verified:
- router.rs: 96.20% coverage (rendezvous hashing, write targets, covering set)
- topology.rs: 100% coverage (node health, groups, state transitions)
- scatter.rs: 100% coverage (fan-out orchestration primitives)
- merger.rs: 95.45% coverage (result merge, facets, global sort)

DoD requirements met:
 Deterministic rendezvous assignment
 Minimal reshuffling on node add/remove
 Uniform shard distribution (64/3/RF=1 → 18-26 shards/node)
 write_targets returns exactly RG × RF nodes
 query_group distributes evenly
 covering_set returns one node per shard with replica rotation
 merger handles merge/facet/limit correctly
 ≥90% line coverage (achieved 91.72%)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-09 10:58:11 -04:00
parent 1511ad597b
commit ab19cde8d5
12 changed files with 11441 additions and 5846 deletions

File diff suppressed because one or more lines are too long

View file

@ -5,11 +5,11 @@
"model": "glm-4.7",
"exit_code": 1,
"outcome": "failure",
"duration_ms": 326962,
"duration_ms": 182491,
"input_tokens": null,
"output_tokens": null,
"cost_usd": null,
"captured_at": "2026-05-09T11:08:28.814292471Z",
"captured_at": "2026-05-09T14:43:50.927187054Z",
"trace_format": "claude_json",
"pruned": false,
"template_version": null

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,16 @@
{
"bead_id": "miroir-cdo.1",
"agent": "claude-code-glm-4.7",
"provider": "zai",
"model": "glm-4.7",
"exit_code": 1,
"outcome": "failure",
"duration_ms": 202124,
"input_tokens": null,
"output_tokens": null,
"cost_usd": null,
"captured_at": "2026-05-09T14:44:26.162212833Z",
"trace_format": "claude_json",
"pruned": false,
"template_version": null
}

View file

@ -0,0 +1,2 @@
SessionEnd hook [/home/coding/.ccdash/hooks/session-end.sh] failed: /bin/sh: line 1: /home/coding/.ccdash/hooks/session-end.sh: cannot execute: required file not found

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,16 @@
{
"bead_id": "miroir-cdo.2",
"agent": "claude-code-glm-4.7",
"provider": "zai",
"model": "glm-4.7",
"exit_code": 1,
"outcome": "failure",
"duration_ms": 204006,
"input_tokens": null,
"output_tokens": null,
"cost_usd": null,
"captured_at": "2026-05-09T14:45:05.629528275Z",
"trace_format": "claude_json",
"pruned": false,
"template_version": null
}

View file

@ -0,0 +1,2 @@
SessionEnd hook [/home/coding/.ccdash/hooks/session-end.sh] failed: /bin/sh: line 1: /home/coding/.ccdash/hooks/session-end.sh: cannot execute: required file not found

File diff suppressed because one or more lines are too long

View file

@ -3,13 +3,13 @@
"agent": "claude-code-glm-4.7",
"provider": "zai",
"model": "glm-4.7",
"exit_code": 124,
"outcome": "timeout",
"duration_ms": 600001,
"exit_code": 0,
"outcome": "success",
"duration_ms": 256832,
"input_tokens": null,
"output_tokens": null,
"cost_usd": null,
"captured_at": "2026-05-09T10:48:14.644205637Z",
"captured_at": "2026-05-09T14:58:08.232480435Z",
"trace_format": "claude_json",
"pruned": false,
"template_version": null

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
7906ac1c2225f15360eb4732c90dfa14e4957a0c
982f405549fad4eb798343d32bb7141f31f85cc3