GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(cli): align v5 help with lockfile-first patching by mikolalysenko · Pull Request #1297 · SocketDev/socket-patch

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Oct 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Make root and scan help describe discovery from project dependency files, including fresh checkouts, hosted writes by default, and --dry-run previews. Keep installation and resolution prerequisites explicit for agent mode and affected ecosystems. Show repair as an agent and vendored artifact command, including the requirement to restore a lost vendor ledger from version control.

Align the README and usage guide, and document the v5 service-only vendoring break: build is rejected through both CLI and environment configuration, auto aliases service, unavailable artifacts never fall back to local builds, and offline reuse of healthy committed artifacts differs from fetching new ones. No command names, defaults, or behavior change.

Closes #1289.

Validation:

  • cargo test --locked -p socket-patch-cli --test help_text_hygiene --test cli_parse_scan --test cli_parse_repair --test cli_parse_vendor — 109 tests passed.
  • cargo fmt -p socket-patch-cli -- --check and git diff --check passed.
  • Inspected rendered root, scan, and repair help with both -h and --help.

The full workspace formatting check reports an existing formatting difference in crates/socket-patch-core/src/patch/redirect/upstream/mod.rs:917; that file is identical to the base and unchanged by this PR.


Note

Low Risk
Documentation and help-text only; behavior and CLI defaults are unchanged per the PR description.

Overview
Updates user-facing docs and CLI help so v5 reads as lockfile-first hosted patching: scan is described as discovering patches from dependency files (including fresh checkouts), with explicit caveats for agent mode and ecosystems like sbt/scala-cli.

repair is reframed in root help, README, usage, and migration docs as restoring both agent and vendored artifacts, including that a lost .socket/vendor/state.json must come from version control—not rebuilt from lockfiles.

Documentation now spells out service-only vendoring: --vendor-source build / SOCKET_VENDOR_SOURCE=build are usage errors, auto aliases service with no local build fallback, while committed healthy artifacts can still install offline.

Help hygiene tests are updated to match the new strings; no runtime behavior or CLI defaults change in this PR.

Reviewed by Cursor Bugbot for commit be0f04d. Configure here.


Generated by Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mikolalysenko
docs(cli): align v5 help with lockfile-first patching
be0f04d
Explain hosted scan writes, dry-run previews, and fresh-checkout discovery with mode and ecosystem prerequisites. Describe repair for both agent and vendored artifacts and retain the lost-ledger recovery limitation.

Document service-only vendoring, rejected build configuration, auto alias semantics, and offline artifact reuse in the v5 migration guide. Update the existing help expectations without changing command behavior.
Tanmay182003
Tanmay Singla (Tanmay182003) approved these changes Oct 9, 2026
View reviewed changes
@mikolalysenko Mikola Lysenko (mikolalysenko) added the Ready for review Agent-verified: mergeable, CI green, Bugbot clean — awaiting human review label Oct 9, 2026
@mikolalysenko

Mikola Lysenko (mikolalysenko) commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for review (burn-down agent).

  • Head: be0f04d2
  • CI: every check green except main-wide failures that also fail on main at a8e9397: e2e (ubuntu-latest, e2e_safety_pnpm) and hosted-e2e (withdrawn free [email protected] patch, Merge queue blocked: production no longer publishes free [email protected] patch #1293; fixes in Repin live [email protected] suites to republished patch 642d7f02 (#1293) #1301/Follow the republished minimist canary patch #1302), plus the ci-ok roll-up.
  • Bugbot: reviewed this head, no findings; no open review threads.
  • No CHANGELOG.md changes.
  • Docs/help-text only; reviewer should check the help strings against current behavior.

Generated by Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko
Merge branch 'main' into docs/1289-lockfile-first-help
f566fe2
@mikolalysenko
Mikola Lysenko (mikolalysenko) enabled auto-merge October 9, 2026 18:22
@mikolalysenko
Mikola Lysenko (mikolalysenko) disabled auto-merge October 9, 2026 19:55
@mikolalysenko
Merge branch 'main' into docs/1289-lockfile-first-help
db0ee7d
@mikolalysenko
Mikola Lysenko (mikolalysenko) enabled auto-merge October 9, 2026 21:31
@mikolalysenko
Mikola Lysenko (mikolalysenko) added this pull request to the merge queue Oct 9, 2026
@mikolalysenko
Mikola Lysenko (mikolalysenko) removed this pull request from the merge queue due to a manual request Oct 9, 2026
@mikolalysenko
Merge remote-tracking branch 'origin/main' into HEAD
2e4b7cf
# Conflicts:
#	docs/migrating-to-v5.md
#	docs/usage.md
@mikolalysenko
Mikola Lysenko (mikolalysenko) enabled auto-merge October 9, 2026 22:07
@mikolalysenko
Mikola Lysenko (mikolalysenko) added this pull request to the merge queue Oct 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 9, 2026

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko
Mikola Lysenko (mikolalysenko) added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit e1acd60 Oct 9, 2026
53 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko
Mikola Lysenko (mikolalysenko) deleted the docs/1289-lockfile-first-help branch October 9, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Tanmay182003 Tanmay Singla (Tanmay182003) Tanmay182003 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Ready for review Agent-verified: mergeable, CI green, Bugbot clean — awaiting human review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

v5: align help and migration docs with lockfile-first scans and service-only vendoring

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mikolalysenko @Tanmay182003
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.