Skip to content

Commit 413ff70

Browse files
Thomas TupperThomas Tupper
authored andcommitted
docs: add plugin-v2 scope isolation test plan
1 parent 12b499d commit 413ff70

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

SCOPE_ISOLATION_TEST_PLAN.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Scope Isolation Test Plan (plugin-v2)
2+
3+
## Goal
4+
Prove strict separation for:
5+
- session memory (`run_id`)
6+
- long-term memory (`user_id`)
7+
- merged `all`
8+
9+
## Cases
10+
1. Write session marker only, verify:
11+
- found in `scope=session`
12+
- not found in `scope=long-term`
13+
2. Write long-term marker only, verify:
14+
- found in `scope=long-term`
15+
- not found in `scope=session`
16+
3. Write one marker in each lane, verify:
17+
- both appear in `scope=all`
18+
- dedupe stable when identical text appears in both lanes
19+
20+
## Pass Criteria
21+
- zero cross-lane leakage for cases 1 and 2
22+
- deterministic merged output in case 3

0 commit comments

Comments
 (0)