You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 48aaf0f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(app-shell): move the clone dispatch shaping out of the scanned editor surface (objectui#5987)
CI Test (shard 1/8) failed `permission-slice.authoredKeys.test.ts` on the
first commit: `expected [ 'objectName', 'params' ] to deeply equal []`.
The scanner reads `{ ...spread, key }` literals inside `setDraft(` regions of
`PermissionMatrixEditor.tsx` as facets written into the permission-set draft.
Its `setDraft(` regex also matches the prose `funnels through setDraft (matrix
checkboxes, …` in a `//` comment, and the `)` that would close that region is
on the next comment line, which the walker skips wholesale — so that region
runs to end of file (on main too) and every leading-spread literal below it is
counted. The clone dispatch literal (`{ ...localized, objectName, params }`)
is the action runner's call shape, not a permission-set facet, and it landed
inside that region.
The construction now lives in `permission-set-clone-dispatch.ts`
(`findCloneAction`, `buildCloneDispatch`), which the scan does not read. No
behaviour change; the slice's carried-key list is untouched. The scanner's
comment-matching is reported separately, not changed here.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN
0 commit comments