Skip to content

Resume CodeBuddy by ID and exercise split snapshots across the CLI registry - #1067

Merged
Kuddev merged 3 commits into
mainfrom
test/agent-cold-restore-matrix-1120
Nov 20, 2026
Merged

Kuddev merged 3 commits into
mainfrom
test/agent-cold-restore-matrix-1120

Conversation

@Kuddev

@Kuddev Kuddev commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Result

A saved CodeBuddy conversation can be reopened by its native ID from either the codebuddy or cbc entry point. Pebrel previously recognized both commands and could receive the provider ID, but could not construct a resume command. The official CLI documents codebuddy --resume <sessionId>. CLI reference

Design

Use the existing provider command registry and ID validation. Exercise every registered CLI through the on-disk session format with two conversations in one directory, switch only the upper pane and reload the snapshot again. Providers without exact resume commands retain the saved ID without issuing a command. The terminal startup test independently checks CodeBuddy’s command after the shell becomes ready.

Evidence

  • python3 scripts/check_architecture.py --base b14d23f5 passed.
  • Official CodeBuddy 2.185.0 installed in an isolated Linux profile advertises -r, --resume [sessionId].
  • The matrix exercises persistence and command selection for 28 providers. Packaged native-client checks are tracked separately from the Rust contract.

@github-actions github-actions Bot added the size/S ≤100 行源码改动 label Nov 20, 2026
@Kuddev
Kuddev merged commit dfee6ed into main Nov 20, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S ≤100 行源码改动

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant