Skip to content

[codex] Fix search recipe and export issue workflows - #3842

Merged
Widthdom merged 7 commits into
mainfrom
fix-issue3826-3807-3827-3667-3668
Jun 20, 2026
Merged

[codex] Fix search recipe and export issue workflows#3842
Widthdom merged 7 commits into
mainfrom
fix-issue3826-3807-3827-3667-3668

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Apply external search recipe defaults consistently and sanitize duplicate diagnostics from raw recipe source paths.
  • Harden recipe/config boundaries, bounded source reads, query-local recipe metadata, and recipe JSON summary/cursor output.
  • Add issue-draft triage metadata, evidence paths, duplicate preflight details, richer export metadata, and duplicate-threshold tuning.

Scope Notes

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Debug --filter "FullyQualifiedName~RunSearch_ExternalRecipeDefaultsApplyToScope_Issue3807|FullyQualifiedName~RunSearch_ExternalRecipeDuplicateDiagnosticsHideRawSourcePath_Issue3807|FullyQualifiedName~RunSearch_ListRecipesJsonIncludesBuiltInAuditMetadata_Issue3144|FullyQualifiedName~RunSearch_RecipeJsonRunsBuiltInQueries_Issue3144|FullyQualifiedName~RunSearch_ExternalRecipeQueryScopeAndSeverityApply_Issue3826|FullyQualifiedName~RunSearch_ExternalRecipeSourceReadIsBounded_Issues3826_3674|FullyQualifiedName~LoadAndApply_StopsAtRepositoryBoundary_Issue3826|FullyQualifiedName~RunSearch_RecipeCompactJsonEmitsSummaryAndCursor_Issues3392_3667|FullyQualifiedName~RunSearch_RecipeIssueDraftsIncludeLabelsEvidenceAndDuplicatePreflight_Issue3145|FullyQualifiedName~RunSearch_AdHocIssueDraftsUseTitleLabelsAndDuplicatePreflight_Issue3520|FullyQualifiedName~Suggestions_ExportIssueDraftsIncludesEvidenceAndDuplicatePreflight|FullyQualifiedName~RunSearch_FormatSarifEmitsResultsArray|FullyQualifiedName~RunSearch_FormatCsvEmitsDelimitedRows_Issue1941|FullyQualifiedName~RunSearch_AdHocIssueDraftDuplicateThresholdFiltersMatches_Issue3827|FullyQualifiedName~Suggestions_ExportIssueDraftsDuplicateThresholdFiltersMatches_Issue3827|FullyQualifiedName~Suggestions_DuplicateTuningRequiresIssueDraftExport_Issue3827|FullyQualifiedName~PrintUsage_WithoutBanner_HidesAsciiArtAndEasterEggFlags|FullyQualifiedName~PrintUsage_QueryLinesMatchImplementedOptions|FullyQualifiedName~CliFlagSchemaTests"
  • dotnet build CodeIndex.sln -c Debug
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • git diff --check origin/main..HEAD
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll . --json
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Codex adversarial review: No blocking/actionable issues found.

Fixes #3826
Fixes #3807
Fixes #3827
Fixes #3667
Fixes #3668
Fixes #3674

@Widthdom
Widthdom marked this pull request as ready for review June 20, 2026 10:22
@Widthdom
Widthdom merged commit d4e0143 into main Jun 20, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue3826-3807-3827-3667-3668 branch June 20, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment