Skip to content

Make codebase query results readable in VS Code - #269

Closed
forhappy wants to merge 1 commit into
mainfrom
codex/readable-codebase-query-results
Closed

Make codebase query results readable in VS Code#269
forhappy wants to merge 1 commit into
mainfrom
codex/readable-codebase-query-results

Conversation

@forhappy

Copy link
Copy Markdown
Contributor

Summary

  • request the existing typed natural-discovery JSON contract from the Compass CLI
  • render query answers as an itemized trace with overview metrics, source-linked symbol cards, relationship flows, evidence, diagnostics, and bounded/no-match states
  • number and wrap CompassQL rows while preserving legacy prose and traversal fallbacks
  • document the behavior and regenerate the deterministic embedded viewer assets

Compatibility

This does not change the Compass CLI or its public query schema. The VS Code extension now opts into the existing --format json discovery output.

Verification

  • npm ci
  • npm run typecheck:js
  • npm run test:js (205 viewer tests, 121 VS Code tests, 86 browser tests)
  • node scripts/check_viewer_assets.mjs
  • npm run package -w editors/vscode
  • npm run smoke:vsix -w editors/vscode

Packaged locally as editors/vscode/crabbuild-compass-vscode-0.3.18.vsix.

@forhappy
forhappy marked this pull request as ready for review August 21, 2026 04:50
@forhappy forhappy closed this Aug 21, 2026
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.

1 participant