Add summary replacement for excluded lockfiles/generated files
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start by tracing how files exceeding MAX_TOKENS are excluded from the diff, then inspect the user-prompt construction and the --compact-summary git output. Decide how well-known generated files should be recognized and summarized, with the completed behavior replacing eligible excluded files with summary lines while leaving other exclusions unchanged.
Written by the indexing model from the issue text.
Description
Currently, files that exceed the MAX_TOKENS limit are simply excluded from the diff sent to the LLM. For well-known generated files (lockfiles, minified assets), we should replace them with a summary line instead of excluding them entirely.
For example:
... (lockfile updated: X dependencies added, Y removed)
This could use the --compact-summary git output in the user prompt, or implement a lightweight summary generator for excluded files.
Originally identified in #183 - Smart Token Budgeting & Large Diff Truncation.
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- Avg merge
- 18h 49m
- Merged PRs (30d)
- 13
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 rm-hull/git-commit-summary
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
rm-hull/git-commit-summary#190 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
rm-hull/git-commit-summary#185 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
rm-hull/git-commit-summary#184 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
rm-hull/git-commit-summary#183 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
rm-hull/git-commit-summary#106 ·
All issues in rm-hull/git-commit-summary
Similar issues
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/prow#953 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
caddyserver/caddy#8046 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
L1 recommended for recruits
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area/entangle bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100