Mateo Wang
1b693eff9f
chore: make it more concise
2026-08-26 12:21:04 -07:00
mateo
d8a0adb8d9
docs: tighten the pull-before-work rule in CLAUDE.md
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-26 19:12:56 +00:00
mateo-berri
1332f27729
docs(CLAUDE.md): say what git pull --no-rebase does on divergence
2026-08-26 11:55:41 -07:00
mateo-berri
d33fd7e194
docs(CLAUDE.md): add pull-before-work rule
2026-08-26 11:51:35 -07:00
Mateo Wang
296ebc1103
Merge pull request #38252 from BerriAI/litellm_pr_template_caveat_severity
...
docs(pr-template): split Caveats bullets into severity tiers and call for plain engineering language
2026-08-25 15:04:37 -07:00
Mateo Wang
a40157c55d
chore: make it more concise
2026-08-25 14:53:24 -07:00
Mateo Wang
d61ccd0f58
chore: make it more clear
2026-08-25 14:51:53 -07:00
Mateo Wang
99c1b33fd3
chore: humanize the CLAUDE.md
2026-08-25 14:50:14 -07:00
mateo-berri
2bd2c1393c
docs(pr-template): split Caveats bullets into severity tiers and call for plain engineering language
2026-08-25 12:31:43 -07:00
Mateo Wang
8e7ad14dfd
chore: make it more concise
2026-08-24 19:35:59 -07:00
Yucheng Zhu
6c7dfbd249
ci: run the migration data-rewrite check in code quality
2026-08-21 15:27:56 -07:00
Mateo Wang
082469ff3d
chore: make it more concise
2026-08-15 16:41:00 -07:00
mateo
c9697cbce5
refactor(make): stop queueing bootstrap for a machine-wide gate slot
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-15 21:53:28 +00:00
mateo
8e588cec8c
docs(claude): correct which gate entrypoints are slot-aware
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-15 21:47:29 +00:00
mateo
2e996a120f
docs(claude): tell agents to let heavy gates queue for machine-wide slots
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-15 21:41:54 +00:00
Mateo Wang
3798df392a
chore: make it more concise
2026-08-15 01:13:16 -07:00
mateo
1abde19280
docs(claude): require ReadOnly on every TypedDict field (LIT012)
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-15 04:24:18 +00:00
mateo
de4765ae88
docs(claude): drop the @ prefix from the PR template path
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-13 03:20:15 +00:00
Mateo Wang
4eb4511f20
chore: make it clearer
2026-08-11 10:40:57 -07:00
mateo
c8f3854833
docs: require a user flow and a stuck-at proof in feature requests
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-11 10:40:57 -07:00
Mateo Wang
0a41b19e5b
chore: make it more brief
2026-08-11 08:33:22 -07:00
mateo
5643a59aa4
fix: move bug report guidance out of prefilled values so required means filled
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-11 02:58:21 +00:00
mateo
f096e4c10b
docs: require a user flow and live-proxy proof in bug reports
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-11 02:27:07 +00:00
mateo
95577e08d3
docs: clarify the CLAUDE.md comment exceptions are any-of
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-10 16:49:04 +00:00
Mateo Wang
805fc49776
chore: mention AI slop reason
2026-08-08 14:29:36 -07:00
Mateo Wang
1f8964a4c4
chore: handwrite the rule
2026-08-08 14:20:13 -07:00
mateo
6e6e0d662b
docs: frame the comment rule around AI slop and allow TODO/FIXME
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-08 21:07:40 +00:00
mateo
abbad8ad52
docs: limit the comment exception to tool-read directives
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-08 21:04:43 +00:00
mateo
8812debeff
docs: allow functional comments as an exception in CLAUDE.md
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-08 20:58:30 +00:00
mateo
ff5f8132d1
docs: clarify guideline priority ordering in CLAUDE.md
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-08 19:55:37 +00:00
Mateo Wang
4150248095
chore: remove pre-commit rule
...
some users do not use make pre-commit as it is a multi-minute process. I personally use it but I want users themselves to decide whether to pre-commit before each commit or not, based on what works best for them
2026-08-08 12:38:23 -07:00
mateo-berri
fb7861fbfd
build(lint): count deleted files toward check triggers
2026-08-08 10:41:06 -07:00
mateo-berri
f038be22db
build(lint): rename make pre-commit to make check with a working-tree fallback
2026-08-08 03:25:35 -07:00
Mateo Wang
41d8cddfd7
Merge pull request #36072 from BerriAI/litellm_ruff_strict_mappingproxy
...
chore(lint): name MappingProxyType in the mutable-collection fix messages
2026-08-06 09:47:25 -07:00
Mateo Wang
d0712e1a5e
chore: make CLAUDE.md more concise
2026-08-06 03:37:46 -07:00
mateo-berri
0c1a4b127d
chore(lint): name MappingProxyType in the mutable-collection fix messages
...
LIT001/LIT002 and the typing.Dict ban all steered dict-shaped values to
frozen dataclasses or suppression even though the checker already accepts
MappingProxyType as a freezing wrapper; the messages now name it so the
dict-shaped freeze path is actually discoverable at fix time.
2026-08-06 03:31:40 -07:00
Mateo Wang
920e05c484
chore: fix typo
2026-08-06 02:45:44 -07:00
Mateo Wang
3e5dee7317
chore: make it clearer to Claude that GitHub comments must be concise and to use fewer semicolons
2026-08-05 23:21:18 -07:00
mateo-berri
e34b47f682
docs: cap all GitHub comments at 15-25 words, curb semicolon splices
...
The 15-25 word cap previously applied only to replies/rebuttals to AI PR
review bots; it now covers every GitHub comment (issue comments and PR
discussion comments included). The public-writing punctuation bullet also
gains a warning that a word cap is not a one-sentence cap, so tight budgets
should be met with period splits or conjunctions rather than ";" splices,
at most one ";" per message
2026-08-05 23:11:21 -07:00
Mateo Wang
f047124b5a
feat(pre-commit): save full lint output to a per-worktree log file ( #36004 )
...
* feat(pre-commit): save full lint output to a per-worktree log file
* docs(claude): point agents at the pre-commit log instead of rerunning
* fix(pre-commit): warn when the log cannot be created or fully written
2026-08-05 15:16:52 -07:00
Mateo Wang
a0d08b8143
chore: remove pre-commit and bootstrap advisories
...
They were taking too long
2026-08-04 19:38:34 -07:00
mateo-berri
38cd75342d
Note the one case where staging schema.d.ts changes what runs
...
For a backend-only commit, staging the regenerated schema.d.ts newly
satisfies the ui file triggers, so the folder-wide dashboard lint
budgets run locally for the first time and CI's frontend-lint job
(budgets plus knip) activates on the PR. Those can only fail from
pre-existing dashboard-tree state, never from the regenerated file,
but the guidance should say so instead of implying a re-run is
always redundant.
2026-08-04 19:38:34 -07:00
mateo-berri
4a2ceed595
Stop advising a pre-commit re-run for stale dashboard API types
...
The stale-types failure already writes the regenerated schema.d.ts to the
working tree, and staging it cannot introduce a new failure: the file is
listed in .prettierignore and the eslint config ignores, so no lint pass
sees it, and gen:api derives it purely from the Python proxy code, so a
second regeneration is a no-op. The only reason left to re-run is when
other checks also failed, so say exactly that in the script message and
CLAUDE.md instead of prescribing an unconditional re-run.
2026-08-04 19:38:34 -07:00
Mateo Wang
4395e974db
Merge pull request #35825 from BerriAI/litellm_claude_md_em_dash_order
...
docs(CLAUDE.md): prefer commas over semicolons when replacing em dashes
2026-08-04 14:47:32 -07:00
mateo-berri
ae54f0c95d
docs(CLAUDE.md): add colon to em dash replacement list
2026-08-04 14:34:01 -07:00
mateo-berri
bd7d270e17
docs(CLAUDE.md): weight punctuation variety instead of defaulting to comma
2026-08-04 14:24:29 -07:00
Mateo Wang
98fed43ae7
chore: make it more concise
2026-08-04 14:19:56 -07:00
mateo-berri
09388532d2
docs(CLAUDE.md): prefer commas over semicolons when replacing em dashes
2026-08-04 14:10:03 -07:00
Mateo Wang
c1450e9fa9
chore: fix formatting
2026-08-04 13:24:15 -07:00
mateo-berri
741aa901cd
docs(claude): state the Final-binding and frozen-parameter conventions
2026-08-04 13:20:59 -07:00