René's URL Explorer Experiment


Title: feat: add systemPromptFile config key for system prompt replacement by rock-solid-sites · Pull Request #57 · lessweb/deepcode-cli · GitHub

Open Graph Title: feat: add systemPromptFile config key for system prompt replacement by rock-solid-sites · Pull Request #57 · lessweb/deepcode-cli

X Title: feat: add systemPromptFile config key for system prompt replacement by rock-solid-sites · Pull Request #57 · lessweb/deepcode-cli

Description: Adds a new optional config key systemPromptFile that, when set, replaces SYSTEM_PROMPT_BASE with the contents of the file at the given path. Tool docs, runtime context, AGENTS.md, and matched skills continue to load additively after the replacement prompt. Motivation: This enables operators to use deepcode-cli with custom behavioral prompts (e.g., for specialized workflows, team conventions, or experimental prompt designs) without modifying source. Tool calling and existing additive layers are preserved. Implementation: New optional systemPromptFile?: string field in DeepcodingSettings and ResolvedDeepcodingSettings Resolution follows the existing precedence: project settings override user settings, env vars override both getSystemPrompt() in src/prompt.ts reads the file and uses its content in place of SYSTEM_PROMPT_BASE; tool docs and runtime context still append after Fail-loud on file read failure (throws with the resolved path and OS error) — silent fallback to default would hide configuration bugs Testing: Typecheck, lint, and bundle all pass Existing test suite passes (except pre-existing platform-specific failures unrelated to this change) Manual verification: with a test file containing "always start responses with TACOS", confirmed the model produces TACOS- prefixed responses and tool calls still work; with a nonexistent path, confirmed the fail-loud error fires Open to feedback on naming, fallback behavior, or whether a CLI flag (--system-prompt-file) should accompany the config key.

Open Graph Description: Adds a new optional config key systemPromptFile that, when set, replaces SYSTEM_PROMPT_BASE with the contents of the file at the given path. Tool docs, runtime context, AGENTS.md, and matched skill...

X Description: Adds a new optional config key systemPromptFile that, when set, replaces SYSTEM_PROMPT_BASE with the contents of the file at the given path. Tool docs, runtime context, AGENTS.md, and matched skill...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/57

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:657c8a17-6988-e314-8b79-186143ad4216
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD7A:366857:27EEF95:36B1975:6A4EF31E
html-safe-nonce561b55bec2d1208045e48411c3d7eba8b3302895551bcddadbe8f716b11ecab2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDdBOjM2Njg1NzoyN0VFRjk1OjM2QjE5NzU6NkE0RUYzMUUiLCJ2aXNpdG9yX2lkIjoiNDU5MjgwNTQxMjY5NzIwNzU4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac53653eb81d118750bfa10b49fd6ae579d349f94257e6c871c1c7be7781b91ed1
hovercard-subject-tagpull_request:3679145510
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/57/files
twitter:imagehttps://avatars.githubusercontent.com/u/282379644?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/282379644?s=400&v=4
og:image:altAdds a new optional config key systemPromptFile that, when set, replaces SYSTEM_PROMPT_BASE with the contents of the file at the given path. Tool docs, runtime context, AGENTS.md, and matched skill...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/57/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F57%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F57%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/57/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/57/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/57/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/57/files
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 154 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 44 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
rock-solid-siteshttps://github.com/rock-solid-sites
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
rock-solid-sites:add-system-prompt-file-confighttps://github.com/rock-solid-sites/deepcode-cli/tree/add-system-prompt-file-config
Conversation 2 https://github.com/lessweb/deepcode-cli/pull/57
Commits 2 https://github.com/lessweb/deepcode-cli/pull/57/commits
Checks 0 https://github.com/lessweb/deepcode-cli/pull/57/checks
Files changed https://github.com/lessweb/deepcode-cli/pull/57/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/57/files
feat: add systemPromptFile config key for system prompt replacement https://github.com/lessweb/deepcode-cli/pull/57/files#top
Show all changes 2 commits https://github.com/lessweb/deepcode-cli/pull/57/files
5f5c422 feat: add systemPromptFile config key for system prompt replacement rock-solid-sites May 13, 2026 https://github.com/lessweb/deepcode-cli/pull/57/commits/5f5c4228830c3e3b0da78dc210b2152d34e18c35
c07dda5 docs: document systemPromptFile config key rock-solid-sites May 13, 2026 https://github.com/lessweb/deepcode-cli/pull/57/commits/c07dda5496394afa10a68d3516e3f09e7431df9f
Clear filters https://github.com/lessweb/deepcode-cli/pull/57/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/57/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/57/files
configuration.md https://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
prompt.ts https://github.com/lessweb/deepcode-cli/pull/57/files#diff-d833a703f93cc16584da09140d24fdfe096e2322541e280054e192d1e6238eda
session.ts https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
settings.ts https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
docs/configuration.mdhttps://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
View file https://github.com/rock-solid-sites/deepcode-cli/blob/c07dda5496394afa10a68d3516e3f09e7431df9f/docs/configuration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/57/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
src/prompt.tshttps://github.com/lessweb/deepcode-cli/pull/57/files#diff-d833a703f93cc16584da09140d24fdfe096e2322541e280054e192d1e6238eda
View file https://github.com/rock-solid-sites/deepcode-cli/blob/c07dda5496394afa10a68d3516e3f09e7431df9f/src/prompt.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/57/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-d833a703f93cc16584da09140d24fdfe096e2322541e280054e192d1e6238eda
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-d833a703f93cc16584da09140d24fdfe096e2322541e280054e192d1e6238eda
src/session.tshttps://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
View file https://github.com/rock-solid-sites/deepcode-cli/blob/c07dda5496394afa10a68d3516e3f09e7431df9f/src/session.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/57/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
src/settings.tshttps://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
View file https://github.com/rock-solid-sites/deepcode-cli/blob/c07dda5496394afa10a68d3516e3f09e7431df9f/src/settings.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/57/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com/lessweb/deepcode-cli/pull/57/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.