Skip to content

feat: implement native backup integration Phase 1 (skill wrapping)#19

Merged
KHAEntertainment merged 3 commits intomasterfrom
feat/issue-6-native-backup
Mar 27, 2026
Merged

feat: implement native backup integration Phase 1 (skill wrapping)#19
KHAEntertainment merged 3 commits intomasterfrom
feat/issue-6-native-backup

Conversation

@KHAEntertainment
Copy link
Copy Markdown
Owner

Summary

Implements Phase 1 of Issue #6: OpenClaw native backup integration.

Changes Made

  • CLI Commands: Added ocbs native-backup and ocbs native-verify commands to wrap OpenClaw's native backup CLI
  • Bug Fixes:
    • Fixed duplicate imports in skill.py (removed non-existent generate_restore_url)
    • Removed duplicate/broken methods from core.py that were overriding correct implementations

New CLI Commands

# Create native backup (tar.gz archive via OpenClaw)
ocbs native-backup --scope config --verify

# Verify native archive
ocbs native-verify ./2026-03-09-openclaw-backup.tar.gz

Phase 1 vs Phase 2

  • Phase 1 (This PR): Skill wrapping - commands that wrap openclaw backup create/verify
  • Phase 2: Native backend - OCBS core engine integration with native backup as storage source (already implemented in this branch)

Test Plan

  • All 43 tests pass
  • CLI help commands work
  • Native backup skill methods implemented
  • Native backend (Phase 2) fully implemented with tests

Closes #6

🤖 Generated with Claude Code

- Add native-backup and native-verify CLI commands to wrap openclaw backup
- Fix duplicate imports in skill.py (removed non-existent generate_restore_url)
- Remove duplicate/broken methods from core.py (add_checkpoint_serve_info and
  second get_checkpoint_serves definition were overriding correct versions)
- All 43 tests pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 22, 2026

Warning

Rate limit exceeded

@KHAEntertainment has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 43 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 15 minutes and 43 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 84a9ca5f-9fbb-4b21-9a74-38279966405d

📥 Commits

Reviewing files that changed from the base of the PR and between beea214 and 01c5047.

📒 Files selected for processing (3)
  • src/ocbs/cli.py
  • src/ocbs/core.py
  • src/ocbs/skill.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/issue-6-native-backup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@KHAEntertainment
Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@KHAEntertainment KHAEntertainment merged commit 09c2df7 into master Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Integrate OpenClaw native backup as OCBS storage backend

1 participant