-
Notifications
You must be signed in to change notification settings - Fork 3
Prototype task-conditioned program slicing for context packs #73
Copy link
Copy link
Open
Labels
context-qualityQuality of the compiled context packQuality of the compiled context packenhancementNew feature or requestNew feature or requestperformanceRuntime, latency, throughput, or token-cost workRuntime, latency, throughput, or token-cost workresearchResearch spike or measurement workResearch spike or measurement workretrievalGraph retrieval / search / candidate selectionGraph retrieval / search / candidate selection
Metadata
Metadata
Assignees
Labels
context-qualityQuality of the compiled context packQuality of the compiled context packenhancementNew feature or requestNew feature or requestperformanceRuntime, latency, throughput, or token-cost workRuntime, latency, throughput, or token-cost workresearchResearch spike or measurement workResearch spike or measurement workretrievalGraph retrieval / search / candidate selectionGraph retrieval / search / candidate selection
Goal
Add a prototype slicer that turns a user task into anchors and computes a backward/forward program slice before building the context pack.
Why
Current retrieval can become inconsistent because nearby graph nodes are not always behaviorally relevant. For coding tasks, the useful unit is often the program slice: what affects this behavior, and what this behavior affects.
Target mental model
Initial task modes
Start small:
explaindebugpr-reviewimpactSlice behavior by mode
explain
debug
pr-review
impact
Deliverables
--strategy sliceor equivalent existing command surfaceAcceptance criteria
Suggested labels
enhancement, research, retrieval, context-quality, performance