Streamline AI coding assistant instructions#4922
Merged
Conversation
sauwming
approved these changes
Apr 15, 2026
1502d2a to
f2a3c32
Compare
Reduce CLAUDE.md (266→158 lines) and copilot-instructions.md (310→158 lines), keeping both files in sync. Removed (derivable from code, rarely needed): - SIP module system code example - SIP call flow / media pipeline diagrams - API layers table - Test executable paths list - Manual validation section - Redundant Do's/Don'ts Added (lessons from development): - Skip make dep (corrupt .depend files); make generates deps - Delete .depend fix: find . -name "*.depend" -delete - Tests must run from bin/ directory - make clean required when switching SSL backends - config_site.h not tracked by git, CI uses config_site_test.h - --ci-mode widens timing tolerances for CI runners Co-Authored-By: Claude Code
f2a3c32 to
0692bbd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removed (derivable from code, rarely referenced):
Added (practical lessons from development):
make dep— produces corrupt.dependfiles;makeauto-generates depsfind . -name "*.depend" -deletewhen "missing separator" errors occurbin/directory (cd pjlib/bin && ./pjlib-test-...)make cleanrequired when switching SSL backends (OpenSSL / GnuTLS)config_site.hnot tracked by git — safe for local config; CI usesconfig_site_test.h--ci-modewidens timing tolerances for slow CI runnerspjsip/pjproject_docs) for when docs site is not directly accessibleCo-Authored-By: Claude Code