~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
docs(contributing): add commit email & attribution guide, link it from the welcome comment (#5902)
LearningCircuit2732fc3b1da8
diff --git a/.github/workflows/welcome-first-time.yml b/.github/workflows/welcome-first-time.ymlindex feecffa309..a22eaa1b9e 100644--- a/.github/workflows/welcome-first-time.yml+++ b/.github/workflows/welcome-first-time.yml@@ -86,6 +86,10 @@ jobs:` pre-commit install`,` pre-commit install-hooks`,` \`\`\``,+ `- 📧 **Privacy tip — check your commit email** ([details](https://github.com/LearningCircuit/local-deep-research/blob/main/docs/developing/commit-email-attribution.md)):`,+ ` use an address verified on your GitHub account — or your GitHub noreply address if you'd rather keep your email private.`,+ ` This matters here because we **squash-merge** PRs: if your commit email isn't verified on your account,`,+ ` GitHub authors the squash commit with your account's email instead — which can permanently expose an address you didn't intend to publish.`,``,`**Understand the codebase**`,`- [Architecture overview](https://github.com/LearningCircuit/local-deep-research/blob/main/docs/architecture.md) — how the pieces fit together`,diff --git a/docs/developing.md b/docs/developing.mdindex edf56c2f24..62efd372c4 100644--- a/docs/developing.md+++ b/docs/developing.md@@ -6,6 +6,7 @@- **[Database Schema](architecture/DATABASE_SCHEMA.md)** - Database models and relationships- **[Extension Guide](developing/EXTENDING.md)** - How to add custom search engines, strategies, and LLM providers- **[Testing and CI](CI_CD_INFRASTRUCTURE.md)** - GitHub Actions workflows, pre-commit hooks, and security scanning+- **[Commit Email & Attribution](developing/commit-email-attribution.md)** - How your git email affects squash-merge attribution and how to keep a private address out of the repo history## Development Setupdiff --git a/docs/developing/commit-email-attribution.md b/docs/developing/commit-email-attribution.mdnew file mode 100644index 0000000000..bbf325e871--- /dev/null+++ b/docs/developing/commit-email-attribution.md@@ -0,0 +1,98 @@+# Commit Email & Attribution++How the email address on your commits interacts with GitHub — and how to avoid+two common surprises when your PR is merged:++1. **Your contribution isn't attributed to your GitHub profile** (no avatar,+ commits don't count toward your contribution graph).+2. **A squash merge exposes an email address you didn't intend to publish**+ (for example a private or work address) in the repository's permanent git+ history.++## Why this happens++Git records the `user.email` from your local git config in every commit (as+both the author and committer email, unless you override one of them).+GitHub then tries to match that address against the **verified emails** of a+GitHub account:++- If the address is verified on your account, the commit links to your+ profile and everything works as expected.+- If it is **not** verified on any account, the commit shows no profile link —+ and when a maintainer **squash-merges** your PR (and its commits are all+ yours), GitHub ignores the unlinked commit email and authors the squash+ commit with your *account's* email instead. (If the PR mixes commits from+ several authors, the squash commit is attributed to the merger with+ `Co-authored-by:` trailers.) The maintainer cannot change this from the+ merge dialog. If your+ account's primary email is a private or work address (and you haven't+ enabled email privacy), that address ends up in the merged commit.++This repository uses squash merges, so an unverified commit email will+surface this way.++## How to set it up correctly++Pick one of the two options below.++### Option A: Verify the email you commit with++1. On GitHub, go to **Settings → Emails** and add + verify the address you+ use in `git config user.email`.+2. That's it — commits link to your profile, and squash merges attribute to+ the address you intended.++### Option B: Use your GitHub noreply address (recommended if you want privacy)++GitHub can hide your real email entirely:++1. On GitHub, go to **Settings → Emails** and enable+ **"Keep my email addresses private"**. GitHub assigns you a noreply+ address, typically of the form `<ID>+<username>@users.noreply.github.com` —+ use exactly the address shown on that settings page. GitHub then uses this+ address instead of your real one for web-based operations (squash merges,+ web edits, etc.).+2. Use that noreply address locally so your real email never appears in any+ commit:++ ```bash+ git config --global user.email "<ID>+<username>@users.noreply.github.com"+ ```++3. Optionally also enable **"Block command line pushes that expose my+ email"** — GitHub will then reject any push containing a commit authored+ with an address you've marked private on your account, as a safety net.++Profile attribution and the contribution graph work normally with the noreply+address.++## Checking your setup++```bash+# What email will new commits use?+git config user.email++# What emails are on the commits in your branch?+git log --format='%an <%ae> / committer: %cn <%ce>' origin/main..HEAD+```++If a commit on your branch has the wrong email, fix your config first, then+rewrite the branch (if you work from a fork, replace `origin/main` with the+remote that tracks this repository, e.g. `upstream/main`; note that+`--reset-author` also resets each commit's author date to now):++```bash+# single-commit branch+git commit --amend --reset-author --no-edit++# multi-commit branch+git rebase origin/main --exec 'git commit --amend --reset-author --no-edit'++git push --force-with-lease+```++## Further reading++- [GitHub: Setting your commit email address](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address)+- [GitHub: Blocking command line pushes that expose your personal email](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/blocking-command-line-pushes-that-expose-your-personal-email-address)+- [GitHub: Email addresses reference (noreply address details)](https://docs.github.com/en/account-and-profile/reference/email-addresses-reference#your-noreply-email-address)