This document turns the architecture into buildable milestones.
Each milestone should be:
- locally scoped
- testable
- measurable
- incrementally useful
Avoid speculative infrastructure until it clearly earns its keep.
- Rust crate initialized
- CLI skeleton for
grep,find,trace - command parsing tests
- benchmark harness skeleton
agentgrep --helpworksagentgrep grep/find/trace --helpworks- debug and release builds succeed
- repository walking
- include/exclude/type filtering
- literal grep
- regex grep
- deterministic text output
- JSON output for grep
agentgrep grep foois trustworthy- exactness semantics are locked
- path/basename candidate generation
- identifier-aware normalization
- ranked
findoutput - debug-score support for
find
findis meaningfully better than file-list grep for common navigation tasks
- shared query normalization
- intent classification
- subject extraction
- relation phrase detection
- debug-plan output
- planner decisions are stable and understandable on curated example queries
- internal multi-pass lexical probing
- file/content candidate fusion
- grouped output packet
- relation-aware ranking profiles
- region and structure extraction sufficient for useful output
traceoften replaces several manual search/read steps on representative tasks
- compact structure summaries
- region-kind labels
- nearby match merging
- adaptive full-region inclusion for short, high-confidence regions
- output is measurably more token-efficient than naive grep+read workflows
- manifest cache build/load/clear/status
- cheap validation
- atomic writes
- no-correctness-dependency fallback path
- warm
findimproves materially - cache absence does not break usability
- reproducible benchmark harness
- quality task suite
- profiling notes
- UX iteration based on measurements
- we know where the architecture wins and where it still falls short
Only after lexical-first evidence says it is needed.
Not part of the default path.
Delay outline, symbols, and other top-level commands until the 3 core commands are excellent.