Skip to content

Honor row-selection controls in audit recipe outputs - #4806

Merged
Widthdom merged 6 commits into
mainfrom
fix-issue4759
Jul 24, 2026
Merged

Honor row-selection controls in audit recipe outputs#4806
Widthdom merged 6 commits into
mainfrom
fix-issue4759

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Apply --first-per-file and deterministic --sample to row-producing audit recipe outputs before effective result limits.
  • Report selection metadata consistently in aggregate JSON, compact JSON, NDJSON, and issue-draft sources; preserve selectors in generated replay commands.
  • Suppress unsafe continuation cursors and reject incoming --cursor with recipe row selectors.
  • Reject row selectors for non-row recipe shapes and reject grouped-only --per-file-limit for recipe execution.

Root cause

Recipe row collectors applied only the effective result limit and did not call the shared search-output selection path, so accepted selectors were silently ignored.

Validation

  • Debug and Release solution builds: 0 warnings, 0 errors
  • Affected recipe/console tests: 313 passed on net8.0 and 313 passed on net9.0
  • make lint
  • changelog fragment validation (46 fragments)
  • cdidx status --check --json: fresh and workspace-matched
  • Two-round Codex adversarial review completed; all findings addressed, including selector-aware fetch sizing, cursor safety, replay preservation, and incoming cursor rejection

Documentation

  • Updated English and Japanese user, developer, and testing guidance
  • Added changelog.d/unreleased/4759.fixed.md

Fixes #4759

@Widthdom
Widthdom marked this pull request as ready for review July 24, 2026 16:08
@Widthdom
Widthdom merged commit fc6c505 into main Jul 24, 2026
12 checks passed
@Widthdom
Widthdom deleted the fix-issue4759 branch July 24, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Honor row-selection controls in audit recipe outputs

1 participant