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 — GitHub - Expert-Vision-Software/opencode-auto-upgrades: Skills to manage automatically upgrading dependencies in terms of safe, sensible, and aggressive modes.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.opencode
.opencode
 
 
agents
agents
 
 
commands
commands
 
 
docs/agents
docs/agents
 
 
skills/dependency-upgrade
skills/dependency-upgrade
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
index.ts
index.ts
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

opencode-auto-upgrades

npm version Bun License: MIT Platforms OpenCode plugin Ask DeepWiki

Safe, sensible, and aggressive dependency upgrades for TypeScript/JavaScript codebases (npm, pnpm, Bun workspaces) — run as baseline-gated rounds by an OpenCode agent. 🚦

Why this exists ✨

Autonomous dependency upgrades usually mean either timid patch-only bumps or blind jumps to latest. opencode-auto-upgrades runs upgrade rounds instead: every outdated package is categorized by risk, the risky ones are researched before they are touched, changes land in revertable batches, and each round is proven against your project's frozen test baseline before it counts as done.

What you get 🧰

  • dependency-upgrade skill, /upgrade-deps command, upgrade-deps agent — /upgrade-deps [tier] [--yolo] [--report] is the entry point (tier: safe | sensible | aggressive, default sensible); the skill carries the full round workflow below
  • Three upgrade tiers, selected per run
    • safe — in-range updates only (patch + minor within declared ranges)
    • sensible — out-of-range minors pinned up within the same major; lands only with high confidence of zero functional changes
    • aggressive — majors/latest stable; research-gated, ≥50% confidence, mechanical source adaptation allowed
  • Baseline-gated rounds — a round does not start without a valid baseline at the current HEAD; verification results feed the PROCEED / STOP / REVIEW decision layer
  • Research before risk — every major (and any minor spanning ≥3 upstream versions) gets a research pass with SAFE / ADAPT / BLOCKED verdicts before bumping
  • Atomic coupled bumps — exact-pinned scope families (e.g. @mastra/*) move together in one commit, never partially
  • Deferral ledger — every "not now" carries a written re-check trigger; hard "never again" opt-outs persist to a per-project config file
  • Git discipline — branch per round, one commit per batch, nothing pushed and no PRs opened unless asked
  • Works under any dot-agents-compatible host — OpenCode, Claude Code, and friends. Skill bodies are agent-agnostic; host bindings live in a dedicated section.

Dependencies (required) 🔗

This package hard-depends on the quality-gate skills test-baselining and regression-checking — a round refuses to start without a valid, recent baseline. They are not part of this package; they are delivered by the opencode-auto-qcgates plugin:

bunx opencode-auto-qcgates@latest install --scope global

Install both packages in either order: the upgrade round checks for the two skills at start and prints exactly this remediation command if they are missing. The copies under .opencode/skills/ in this repo are that dependency's vendored install for this dev checkout, not part of this package's payload.

Install 🔌

The payload is Markdown only — a skill, a command, and an agent — installed into an OpenCode scope by the package's CLI (requires Bun):

# all projects (~/.config/opencode)
bunx opencode-auto-upgrades@latest install --scope global

# this project only (./.opencode)
bunx opencode-auto-upgrades@latest install --scope local

install copies skills/dependency-upgrade/ (including its refs/), commands/upgrade-deps.md, and agents/upgrade-deps.md into the chosen scope and records every file's SHA-256 in opencode-auto-upgrades.manifest.json beside the config. Re-running the same version is a zero-write no-op; when the payload changes with a new package version, install refreshes the copies.

Managing the install

bunx opencode-auto-upgrades@latest status              # what each scope holds, and which files you edited
bunx opencode-auto-upgrades@latest status --online     # also check the latest published version
bunx opencode-auto-upgrades@latest uninstall --scope local
bunx opencode-auto-upgrades@latest clear-cache         # drop this package's copies from OpenCode's npm cache

Files you edit in place are skipped with a warning so your changes survive an upgrade — pass --force to take the packaged version back. uninstall removes only the paths this package's manifest lists, plus the manifest itself.

Best time to use it ✅

  • When bun outdated / npm outdated shows a backlog and you want it worked in safe batches
  • After a major framework release — research first, adapt mechanically, verify against the baseline
  • Before a long-lived branch merge — prove the upgraded tree matches the old tree's behavior

Contributing 🤝

See CONTRIBUTING.md. The payload is Markdown; the installer is a small TypeScript CLI verified with bun test and bun run check.

License 📄

MIT

About

Skills to manage automatically upgrading dependencies in terms of safe, sensible, and aggressive modes.

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402775 — 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.