fix(resume): add --workspace symmetry in resume_session.sh and update test_tier4_e2e for isolation model
This commit is contained in:
@@ -103,11 +103,10 @@ def test_e2e_scenario2_disconnect_resume(mam_sandbox, mock_herdr, mock_agents):
|
||||
# Simulate first message creating own ID (materialized own ID)
|
||||
own_uuid = "e2e-own-uuid-111"
|
||||
|
||||
iso_root = Path(orig_session["isolation"]["root"])
|
||||
key = str(tmp_path).replace('/', '-').replace('_', '-')
|
||||
proj_dir = iso_root / "projects" / key
|
||||
proj_dir.mkdir(parents=True, exist_ok=True)
|
||||
(proj_dir / f"{own_uuid}.jsonl").write_text(json.dumps({"sessionId": own_uuid}) + "\n")
|
||||
claude_dir = Path(os.environ.get("CLAUDE_PROJECT_DIR", Path.home() / ".claude" / "projects")) / key
|
||||
claude_dir.mkdir(parents=True, exist_ok=True)
|
||||
(claude_dir / f"{own_uuid}.jsonl").write_text(json.dumps({"sessionId": own_uuid}) + "\n")
|
||||
|
||||
mutation = f"""
|
||||
for s in d.get('herdr_sessions', []):
|
||||
|
||||
Reference in New Issue
Block a user