Repository navigation
docs: document vg fix ranked plans and planner bounds - #451
Closed
vibgrate-team wants to merge 1 commit into
Closed
vibgrate-team wants to merge 1 commit into
vibgrate-team wants to merge 1 commit into
Conversation
The vg fix page mixed display labels with --plan ids and described the command as if planning stayed on the machine. State the safe/balanced/ aggressive mapping, the preview versus apply flags, and what the hosted planner and the package manager each send over the network. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: vibgrate-team <vibgrate-team@users.noreply.github.com>
vibgrate-team
marked this pull request as ready for review
October 12, 2026 11:58
3 tasks
Contributor
Author
|
Closing: the vg fix section on main already documents the DSN requirement, the --no-apply / --dry-run / apply modes, and the safe / balanced / aggressive tier ids. This PR is superseded. |
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
The
### vg fixpage already listed flags, the three plans, and exit codes, but two things were easy to misread.The report labels and the
--planvalues did not line up. The prose called the plans Low-risk, Balanced, and Full, while--planacceptssafe,balanced, andaggressive. A reader could not tell which string selects which plan.The network bounds were understated. The page said the CLI only measures the project locally and sends dependency versions plus usage signals.
vg fixrefuses to run without a DSN (vg login,VIBGRATE_DSN, or--dsn) and posts the drifted dependency list to the hosted planner. Source files stay on the machine. Dependency names, versions, and aggregate usage signals do not. Applying then runs the project's own package manager, which reaches the registries that manager is configured to use. Describing the command as local-only planning would be wrong.Edits stay inside the existing
### vg fixsection. No flag or UX changes.--no-applyprints the plans and never touches the project.--dry-runpreviews the chosen or recommended plan and never prompts; when more than one plan contains upgrades and--planis omitted, it previews the recommended plan.--yesand--plan <tier>apply, and the package manager runs.--plan safeis Low-risk,--plan balancedis Balanced, and--plan aggressiveis Full. When two tiers list the same upgrades, the lower-risk tier is kept and the other id selects that plan.VIBGRATE_DSNfrom${{ secrets.VIBGRATE_DSN }}. No DSN, token, or.envcontents appear in an example. Maven and Gradle remain a reported manual edit.Related issues
Closes #292
Checklist
pnpm testpassespnpm lintis cleanpnpm typecheckis cleangraph.json/ report output (content-hashed IDs, stable sorts; no time, randomness, or filesystem-order dependence)git commit -s, DCO)Notes for reviewers
Docs only. The text was checked against
src/reporting/commands/fix.ts(runApplyFlow, DSN gate, candidate payload),src/reporting/utils/fix-plan.ts(hostedPOST /v1/fix/plan),src/reporting/planning/types.ts(PlanTier),src/reporting/credentials.ts(DSN order), andsrc/reporting/planning/apply.ts(package-manager install versus a manual edit for ecosystems with no one-shot pin).How to verify:
DOCS.mdunder### vg fixand compare the three modes, the tier mapping, and the network bounds with those sources.pnpm test,pnpm lint, andpnpm typecheck. Docs checks that readDOCS.mdincludetest/docs-command-coverage.test.tsandtest/go-pseudo-versions.test.ts.Verification on this branch:
pnpm test(504 files, 5295 passed, 2 expected fail),pnpm typecheck(clean), andpnpm lint(exit 0; 5 pre-existing unused-variable warnings in files this change does not touch).