Skip to content

Add outline JSON projection and paging controls - #4014

Merged
Widthdom merged 1 commit into
mainfrom
fix-issue3986
Jun 23, 2026
Merged

Add outline JSON projection and paging controls#4014
Widthdom merged 1 commit into
mainfrom
fix-issue3986

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add cdidx outline --json controls for field projection, symbol-kind filtering, and pagination via --outline-fields, --kind, --limit / --top, and --cursor outline:<offset>.
  • Emit paging metadata for controlled outline JSON responses, including total_symbol_count, returned_symbol_count, cursor_offset, next_cursor, and has_more.
  • Update CLI help/schema, user/developer docs, tests, and changelog fragment.

Validation

  • dotnet build CodeIndex.sln --no-restore
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --filter Issue3986
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --filter RunOutline
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll outline src/CodeIndex/Cli/QueryCommandRunner.cs --json --kind function --limit 2 --outline-fields name,line,kind --pretty
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll outline src/CodeIndex/Cli/QueryCommandRunner.cs --json --kind function --limit 2 --cursor outline:2 --outline-fields name,line,kind --pretty
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Adversarial review: manual origin/main..HEAD review found no blocking/actionable issues. codex exec review was attempted twice but did not complete because the subprocess shell/model-manager environment repeatedly failed before returning review findings.

Documentation / Changelog

  • Updated USER_GUIDE.md and DEVELOPER_GUIDE.md.
  • Added changelog.d/unreleased/3986.added.md.

Fixes #3986

Follow-up Candidates

  • None.

@Widthdom
Widthdom merged commit 0da6d0d into main Jun 23, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue3986 branch June 23, 2026 15:46
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.

Add projection and paging controls to outline output

1 participant