Skip to content

Refer to Socket's backend generically across code, docs and CI notes - #2141

Merged
Mikola Lysenko (mikolalysenko) merged 2 commits into
mainfrom
chore/public-wording
Nov 18, 2026
Merged

Mikola Lysenko (mikolalysenko) merged 2 commits into
mainfrom
chore/public-wording

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Rewords every place in the tree that named one of Socket's private repositories, and adds a rule to AGENTS.md so it stays that way. No behaviour changes.

Why

This repository is public. Comments, docs, workflow notes and a few test identifiers named a private repository, and some quoted its file paths, symbol names, a pull request number and deploy details. The owner asked for these to be cleaned up going forward. History is not rewritten.

What changes

  • Wording, 70 files. The text now says what the other side is: "Socket's backend" or "the Socket backend", "the patch service", "the Socket API", "the Socket GitHub app". A checkout or PR produced by the GitHub app is called a "GitHub-app" checkout or PR.
  • Three renames. SERVER_PATCH_EVENT_TYPES in the telemetry test, the pnpm equivalence test ..._on_monorepo_sized_lock_set with its golden file pnpm_monorepo_sized.golden, and test_shapes_are_backend_capture_shapes in the script tests.
  • docs/installer-hosting.md. Keeps what a contributor here needs: an installer change is live once Socket bumps its pinned commit of this repository and deploys. The bucket, server and deploy-step details are gone, and so is a link that was a 404 for anyone outside Socket.
  • docs/testing/bun-compatibility.md, docs/testing/vlt-compatibility.md. The "TS parity" sections are now "Backend parity". They keep the list of fixture cases that lag and drop the other side's file and symbol names.
  • AGENTS.md. New section "This repository is public": don't name private repositories, their paths, PR numbers or internal identifiers in code, docs, commit messages, PR text or ledger branches.
  • scripts/tests/fixtures/release/CHANGELOG.main-045d7ec7.md. The test snapshot gets the same four wording changes as the changelog PR, and test_release.py now says the snapshot was reworded.

Not in this PR

CHANGELOG.md has four such lines in its 4.0.0 section. It changes only in release PRs, so that edit is #2142, on a release/v* branch of its own.

This cleans the tree going forward. Tags, earlier commits and this PR's own diff keep the old text; history is deliberately not rewritten.

Review

/code-review high found no behaviour bugs and seven wording or consistency points.

Fixed:

  • a docstring sentence in scripts/backtest-vlt.py that the rewording had broken
  • a leftover symbol name of the other side in nuget_feed.rs
  • leftover bucket wording in the installer doc's "Known gaps", after its hosting details were removed
  • the visibility command in the new AGENTS.md rule, which needs the owner: gh repo view SocketDev/<repo>
  • the changelog snapshot is edited by hand, so the test that loads it now says so

A bare "the backend" also became "the Socket backend" in the reworded lines, because the CLI's own vendored and redirect code is split into "backends" too.

Not fixed, and why:

  • Nothing in CI enforces the new rule. A branch cut before this PR can still add the names. A CI step that reads the names from a repository variable would hold it, but that is a new gate on every PR, so it is the owner's call and not part of a wording change.
  • "DESIGN §x.y" pointers in the vlt tests, scripts and workflows (about 30 lines) refer to a design document that is not in this repository. They name no private repository and predate this PR; cleaning them up is a separate change.

How it was checked

  • No match for the private names is left in the tree outside CHANGELOG.md. A second search for file-path and symbol shapes from the other side found three more lines, which are fixed too.
  • python3 -B -m unittest discover -s scripts/tests: 418 tests pass, including the renamed one and the release tests that read the changed snapshot. The release and backtest-harness tests were run again after the review fixes.
  • cargo fmt --all --check passes.
  • The two renamed Rust tests (telemetry event types, the pnpm equivalence golden) were not run locally: the build was queued behind other work on this machine, so CI is the check. The golden harness finds its file by the test's name and ignores # header lines, and the renamed file and name agree. Everything else in the Rust sources is comments.
  • Not checked: how the docs render.

🤖 Generated with Claude Code

Comments, docs, workflow notes and a few test identifiers named one of
Socket's private repositories. Some also quoted its file paths, symbol
names, a pull request number and deploy details. They now say what the
other side is: Socket's backend, the patch service, the Socket API, the
Socket GitHub app.

No behaviour changes. Three identifiers are renamed: the event-type list
in the telemetry test, one pnpm equivalence test with its golden file,
and one script test.

docs/installer-hosting.md keeps what a contributor here needs to know,
that an installer change is live once Socket bumps its pinned commit and
deploys, and drops the hosting internals. The "TS parity" sections of
the bun and vlt testing docs become "Backend parity" and keep the list
of fixture cases that lag.

AGENTS.md gains "This repository is public" so that agents keep private
names, paths and internal identifiers out from here on.

CHANGELOG.md is left alone: it changes only in release PRs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A bare "the backend" was ambiguous in a codebase whose vendored and
redirect code is also split into backends, so the reworded lines now say
"the Socket backend".

From the review: one docstring sentence the rewording had broken, a
leftover symbol name of the other side, leftover bucket wording in the
installer doc after its hosting details were removed, and the visibility
command in AGENTS.md, which needs the owner (SocketDev/<repo>). The test
that reads the changelog snapshot now says the snapshot was reworded.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@mikolalysenko
Mikola Lysenko (mikolalysenko) marked this pull request as ready for review November 18, 2026 21:16
@cursor

cursor Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation, comments, and test naming only; no logic or contract changes to the patch engine or CLI.

Overview
Replaces references to Socket's private depscan repository across comments, docs, CI workflow notes, tests, and agent guidance with public-safe phrasing (Socket's backend, GitHub-app checkout, Socket API, patch service). No runtime or CLI behavior changes.

Adds a "This repository is public" section to AGENTS.md instructing contributors not to name private repos, internal paths, PR numbers, or infrastructure in anything that lands here.

A few identifiers are renamed for consistency (SERVER_PATCH_EVENT_TYPES, pnpm equivalence golden pnpm_monorepo_sized, a capture-shape unit test). Installer-hosting and parity docs drop internal deploy/bucket detail while keeping the pin-and-deploy workflow contributors need. The release-test changelog snapshot and test_release.py note mirror the same rewording; live CHANGELOG.md is explicitly out of scope.

Reviewed by Cursor Bugbot for commit 674ab21. Configure here.

Merged via the queue into main with commit f037d33 Nov 18, 2026
96 checks passed
@mikolalysenko
Mikola Lysenko (mikolalysenko) deleted the chore/public-wording branch November 18, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants