Centralize language support and generalize agent packet retrieval#27
Merged
TheGreenCedar merged 51 commits intoJun 14, 2026
Conversation
Packages the current branch tree as the review unit, not older kept commits, when commit-level kept evidence is stale or incomplete.
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR aligns language-support claims across the codebase and removes benchmark-specific shortcuts from production retrieval.
codestory-contractsnow owns support tiers; the indexer, runtime, CLI, and docs consume that registry instead of maintaining separate claim maps.scripts/lint-retrieval-generalization.mjsguards against benchmark literals in retrieval and indexing paths.filescounts — output separates whole-index, filtered, visible, and truncated totals so filtered views do not look like repository-wide counts.Receiver/call resolution and agent packet quality remain bounded claims; see
docs/architecture/language-support.mdfor the supported boundary.Test plan
cargo fmt --checkandcargo check --all-targetsnode scripts/lint-retrieval-generalization.mjscargo test -p codestory-indexer --test fidelity_regressioncargo test -p codestory-indexer --test tictactoe_language_coveragecargo test -p codestory-runtime packet_sufficiency -- --nocapturecargo test -p codestory-cli --test cli_golden_path -- --nocapturecargo test -p codestory-cli --test onboarding_contracts -- --nocapturecargo build --release -p codestory-cliCODESTORY_ALLOW_SKIP_REAL_REPO_DRILL_CASES=1)Repo-scale indexing stats are logged in
docs/testing/codestory-e2e-stats-log.md(full-sidecar proof tier, 68.25s index, 238 files, 89,726 nodes).Notes