Summary
Add the ability to update applied bundles to newer versions and roll back to previous versions.
Motivation
After applying a bundle, users need to:
- Discover when a newer version is available
- Update to the latest version without manual re-application
- Roll back to a known-good version if issues arise
Currently, oc bundle apply has no knowledge of previous applications or version tracking.
Proposed Solution
Track applied versions
Store provenance in .opencode/bundle.json:
{
"sourceId": "abc12345",
"bundleVersion": "v1.2.0",
"appliedAt": "2026-04-13T10:00:00Z"
}
oc bundle check
Check if newer version available:
oc bundle check
# Output: Bundle 'qbic' can be updated: v1.2.0 -> v1.3.0
oc bundle update
Update to latest version:
oc bundle update qbic
# Updates to latest version, preserves config changes
oc bundle rollback
Roll back to previous version:
oc bundle rollback qbic
# Re-applies previous version
Acceptance Criteria
Summary
Add the ability to update applied bundles to newer versions and roll back to previous versions.
Motivation
After applying a bundle, users need to:
Currently,
oc bundle applyhas no knowledge of previous applications or version tracking.Proposed Solution
Track applied versions
Store provenance in
.opencode/bundle.json:{ "sourceId": "abc12345", "bundleVersion": "v1.2.0", "appliedAt": "2026-04-13T10:00:00Z" }oc bundle checkCheck if newer version available:
oc bundle updateUpdate to latest version:
oc bundle rollbackRoll back to previous version:
Acceptance Criteria
oc bundle checkreports available updatesoc bundle updateupgrades to newer versionoc bundle rollbackre-applies previous version