Skip to content

Expose status diagnostics and bound hooks - #2938

Merged
Widthdom merged 5 commits into
mainfrom
fix-issue2822-2865-2877
Jun 2, 2026
Merged

Expose status diagnostics and bound hooks#2938
Widthdom merged 5 commits into
mainfrom
fix-issue2822-2865-2877

Conversation

@Widthdom

@Widthdom Widthdom commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Expose bounded unknown-extension path samples in status --json and MCP status.
  • Report extractor plugin and pattern-config load diagnostics through status.
  • Bound post-extraction hook callbacks, drop timed-out mutations, and expose hooks[].callback_budget_ms.

Validation

  • dotnet build CodeIndex.sln -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~IndexCommandRunnerTests|FullyQualifiedName~DocumentationStatusContractTests" -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~ExtractorPluginRegistryTests|FullyQualifiedName~Run_StatusJsonIncludesExtractorPluginDiagnostics|FullyQualifiedName~DocumentationStatusContractTests" -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~PostExtractionHookTests|FullyQualifiedName~DocumentationStatusContractTests" -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~PostExtractionHookTests|FullyQualifiedName~ExtractorPluginRegistryTests|FullyQualifiedName~DocumentationStatusContractTests|FullyQualifiedName~Run_VerboseReportsUnknownExtensionCountAndStatusJsonStampsCount|FullyQualifiedName~Run_StatusJsonCapsUnknownExtensionPathSample|FullyQualifiedName~Run_StatusJsonIncludesExtractorPluginDiagnostics"
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Codex adversarial review of origin/main..HEAD: No blocking/actionable issues found.

Documentation And Changelog

  • Updated README.md, DEVELOPER_GUIDE.md, and AGENT_GUIDE.md for the status contract additions.
  • Added changelog fragments:
    • changelog.d/unreleased/2822.fixed.md
    • changelog.d/unreleased/2865.fixed.md
    • changelog.d/unreleased/2877.fixed.md

Follow-Up Candidates

  • None.

Fixes #2822
Fixes #2865
Fixes #2877

@Widthdom
Widthdom marked this pull request as ready for review June 2, 2026 15:36
@Widthdom
Widthdom merged commit 93461d2 into main Jun 2, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue2822-2865-2877 branch June 2, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant