Description
/rename fails with the error:
✗ Error: Workspace not found: 0bedaedd-a600-4bd7-b639-8b839647ae1e
Steps to Reproduce
- Start a session (session A)
- End the session
- Start a new session (session B)
- Use
/resume to resume session A into session B
- Try
/rename <new-name> or /session rename <new-name>
- Error:
Workspace not found: <session-A-id>
Expected Behaviour
The rename should work on the resumed session.
Environment
- Copilot CLI version: v0.0.421
- OS: macOS (Darwin)
- Session state directory exists on disk: Yes (
~/.copilot/session-state/<id>/ is present with events.jsonl and plan.md)
Analysis
It appears that when a session is resumed via /resume, the workspace ID from the original session is carried over but not registered in the internal workspace registry. The session-state directory exists on disk, but the CLI cannot find it when performing rename operations.
Workaround
None found. /session rename also fails with the same error.
Description
/renamefails with the error:Steps to Reproduce
/resumeto resume session A into session B/rename <new-name>or/session rename <new-name>Workspace not found: <session-A-id>Expected Behaviour
The rename should work on the resumed session.
Environment
~/.copilot/session-state/<id>/is present withevents.jsonlandplan.md)Analysis
It appears that when a session is resumed via
/resume, the workspace ID from the original session is carried over but not registered in the internal workspace registry. The session-state directory exists on disk, but the CLI cannot find it when performing rename operations.Workaround
None found.
/session renamealso fails with the same error.