[Optimization] Streamline fffind & ffgrep promptGuidelines into concise heuristics
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Locate the promptGuidelines entries for fffind and ffgrep in @ff-labs/pi-fff, then review how they are injected into Pi's System Prompt. Consolidate the overlapping guidance into the two concise bullets described in the issue, while preserving the listed search heuristics and reducing the per-session token footprint.
Written by the indexing model from the issue text.
Description
Summary
@ff-labs/pi-fff currently injects 10 separate promptGuidelines entries (~800 characters) across fffind and ffgrep into Pi's System Prompt on every session.
Suggestion
Many of the 10 bullets describe overlapping usage heuristics (e.g., bare identifiers, path include/exclude, glob usage, 1-2 term queries). These can easily be consolidated into 2 concise summary bullets:
ffgrep: prefer bare identifiers, literal queries, and path scoping (e.g., path: 'src/', exclude: 'test/').fffind: whole-path fuzzy search (1-2 terms); use path glob (e.g., path: '**/file.h') for exact matches.
This keeps the guidance clear and effective while cutting the token footprint in half across all user sessions.
- Dominant language
- Rust
- Stars
- 10.8k
- Forks
- 448
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 41
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dmtrKovalenko/fff
-
triaged
Difficulty 3/5 1-2 days Newbie friendliness 74/100
dmtrKovalenko/fff#874 · 1 comment ·
-
feature-request triaged
Difficulty 5/5 Over a week Newbie friendliness 25/100
dmtrKovalenko/fff#850 · 3 comments ·
-
triaged
Difficulty 5/5 Over a week Newbie friendliness 35/100
dmtrKovalenko/fff#843 · 3 comments ·
-
duplicate enhancement triaged
Difficulty 5/5 Over a week Newbie friendliness 45/100
dmtrKovalenko/fff#834 · 3 comments ·
-
ffgrep: path constraint targeting an unindexed file silently widens to a repo-wide fuzzy search Opentriaged
Difficulty 3/5 1-2 days Newbie friendliness 68/100
dmtrKovalenko/fff#830 · 2 comments ·
All issues in dmtrKovalenko/fff
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100