You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vg fix (and related ranked upgrade plans) is how operators move from a DriftScore report to concrete local changes. First-time contributors need a short public page: what the plan contains, that work stays on-disk unless the user applies it, and that secrets/credentials never appear in plan text or examples.
What to do
Document the happy path: vg scan → ranked plan → vg fix apply/preview semantics (prefer vg in snippets).
State local-first bounds: no silent network installs of private packages; never echo tokens or .env contents.
A few things in the current code change what this page should say, so here is a tighter spec before anyone picks it up.
The "local-first" premise needs correcting.vg fix is not a local planner. src/reporting/commands/fix.ts refuses to run without a DSN (vg login, VIBGRATE_DSN, or --dsn) and sends the drifted dependency list to the hosted planner. Source code stays on the machine; dependency names, versions, and aggregate usage signals do not. The page should say exactly that rather than "work stays on-disk", which would be misleading.
Much of the happy path is already in DOCS.md under ### vg fix. Flags, the three plan tiers, --dry-run / --no-apply / --yes / --plan, and exit codes are all there. The gap is narrower than the ticket suggests:
A short "Preview, then apply" block showing the three distinct modes side by side: --no-apply (print plans, never touch the project), --dry-run (show what the chosen or recommended plan would change, never prompts), and --yes / --plan <tier> (apply). Note that with several plans and no --plan, --dry-run previews the recommended one.
Reconcile the tier names. The prose calls them Low-risk / Balanced / Full; --plan takes safe / balanced / aggressive. Say which maps to which.
Say plainly that applying runs the project's own package manager, so it does reach the network and the configured registries. Ecosystems without a one-shot pin (Maven/Gradle) are reported for a manual edit.
Credentials: show VIBGRATE_DSN coming from a CI secret, never an inline value, and never put a DSN or registry token in a snippet.
Acceptance (revised)
A reader can tell --no-apply, --dry-run, and apply apart without reading source
The page states what is sent to the hosted planner and what is not
Tier names in prose and --plan values are reconciled
No DSN, token, or .env contents in any example
Edits stay inside the existing ### vg fix section; no flag or UX changes
Activity
vibgrate-team commentedon Oct 12, 2026
A few things in the current code change what this page should say, so here is a tighter spec before anyone picks it up.
The "local-first" premise needs correcting.
vg fixis not a local planner.src/reporting/commands/fix.tsrefuses to run without a DSN (vg login,VIBGRATE_DSN, or--dsn) and sends the drifted dependency list to the hosted planner. Source code stays on the machine; dependency names, versions, and aggregate usage signals do not. The page should say exactly that rather than "work stays on-disk", which would be misleading.Much of the happy path is already in DOCS.md under
### vg fix. Flags, the three plan tiers,--dry-run/--no-apply/--yes/--plan, and exit codes are all there. The gap is narrower than the ticket suggests:--no-apply(print plans, never touch the project),--dry-run(show what the chosen or recommended plan would change, never prompts), and--yes/--plan <tier>(apply). Note that with several plans and no--plan,--dry-runpreviews the recommended one.--plantakessafe/balanced/aggressive. Say which maps to which.VIBGRATE_DSNcoming from a CI secret, never an inline value, and never put a DSN or registry token in a snippet.Acceptance (revised)
--no-apply,--dry-run, and apply apart without reading source--planvalues are reconciled.envcontents in any example### vg fixsection; no flag or UX changesvibgrate-team commentedon Oct 13, 2026
Fixed by #451 — thanks! Closing.