Summary
Grouped search truncation metadata is false and the reported total reflects only emitted rows, making a bounded response look complete.
Integrated v1.39.4 findings
- Propagate truncation metadata in grouped search output
Evidence
search CommandErrorWriter --format grouped --limit 4 reported total_matches=4 and truncated=false, while the same query has 292 matches.
Expected behavior / direction
Compute totals/truncation from the complete bounded query contract, distinguish matched/emitted/grouped counts, and expose continuation guidance consistently.
Related closed issues
These issues remain closed; this is a new regression or follow-up observed on v1.39.4.
Environment
Reproduced with a locally built cdidx v1.39.4 from current origin/main at 87b8bf44210344f52ba4cb7827c149dfad32c0c8, using a fresh repository index on macOS arm64.
Summary
Grouped search truncation metadata is false and the reported total reflects only emitted rows, making a bounded response look complete.
Integrated v1.39.4 findings
Evidence
search CommandErrorWriter --format grouped --limit 4reportedtotal_matches=4andtruncated=false, while the same query has 292 matches.Expected behavior / direction
Compute totals/truncation from the complete bounded query contract, distinguish matched/emitted/grouped counts, and expose continuation guidance consistently.
Related closed issues
These issues remain closed; this is a new regression or follow-up observed on v1.39.4.
Environment
Reproduced with a locally built
cdidxv1.39.4 from currentorigin/mainat87b8bf44210344f52ba4cb7827c149dfad32c0c8, using a fresh repository index on macOS arm64.