Repository navigation
feat(roadmap): add tests and callers of cited symbols to context - #3178
Conversation
Plans #3012.
Replace the placeholder plan of #3012 with its proposal, design, spec delta and tasks. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
…cited symbol Failing tests for #3012: the tests and callers of a cited symbol, the bound on its paths, the requirement names of the specs of a cited file, and the token budget. The git fake answers git grep -l. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
…cited symbol collect_context lists, for each cited identifier, the Python test files and caller files that name it, at most 50 paths with a note of the cut, and the requirement names of the specs that cover a cited file. Both come before the cited code. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
|
This pull request now delivers #3012. The staged plan (placeholder "x") is replaced by the full change, archived in the last commit. Token cost (body of #3012 on this checkout, Fail-to-pass ( Premise (see Checks run: Generated by Claude Code |
🤖 I have created a release *beep* *boop* --- ## [0.42.0](v0.41.0...v0.42.0) (2026-11-02) ### Features * **roadmap:** add tests and callers of cited symbols to context ([#3178](#3178)) ([6f648d5](6f648d5)) * **roadmap:** the stage job verifies its plan with a model ([#3182](#3182)) ([fd0cc2f](fd0cc2f)) ### Bug Fixes * **roadmap:** the stage job refuses an unneeded spec delta ([#3177](#3177)) ([0c09a3a](0c09a3a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The stage and refine context now lists, for each symbol an item cites, the Python test files and caller files that name it. It shows at most 50 paths for each symbol, tests first, and says how many it left out. It also names the requirements of the base specs that cover a cited file, by the name of the module or by a spec that names the path. Both come before the cited code, so the budget cut keeps them.
The sections add about 1,200 tokens for the issue itself and at most about 5,000 in the worst case.
Closes #3012
Change:
openspec/changes/archive/2026-11-02-3012-the-stage-context-holds-the-callers/🤖 Generated with Claude Code
https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW