Skip to content

Commit 8b7788e

Browse files
V48 Gate 3 (implementation-only): align the activity-route test with the F15 scope law (own executions are personal)
The Gate-2 packs scope taxonomy (F15) derives scope from admission/settlement state: only admitted Depository AssetPacks and settled/read APs are network; an account's own executions (e.g. a proof-refresh run) are personal. The v28-era test still pinned the pre-taxonomy hardcoded network scope and failed against the F15 derivation it never followed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 212a52e commit 8b7788e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

uapi/tests/api/activityRoute.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,10 @@ describe('/api/activity GET', () => {
183183
expect(payload.records[1]).toEqual(
184184
expect.objectContaining({
185185
kind: 'execution',
186-
scope: 'network',
186+
// F15 scope taxonomy (V48 Gate 2): only AssetPacks admitted to the
187+
// Depository and settled/read APs are network-scope; the account's own
188+
// executions (e.g. proof refreshes) are personal.
189+
scope: 'personal',
187190
title: 'Proof execution',
188191
summary: 'Refreshed proof family.',
189192
state: 'completed',
@@ -218,8 +221,8 @@ describe('/api/activity GET', () => {
218221
transactions: 0,
219222
executions: 1,
220223
notifications: 1,
221-
network: 1,
222-
personal: 1,
224+
network: 0,
225+
personal: 2,
223226
});
224227
});
225228
});

0 commit comments

Comments
 (0)