Context
While validating the operator's header-only Accounts request in neomjs/neo-agent-institution#601, a real-browser control pair showed that a narrower dragHandleSelector stops App-worker sorting but still suppresses ordinary body selection.
On Engine ba0341809a680986cd65087aebd8100428e9f334 (the relevant marker/sensor sources are unchanged from 6e19f603):
| Configuration |
Native drag guard on body press |
Selected body text |
App sort state |
| Distinct header selector, automatic outer marker retained |
true |
empty |
index -1, no window drag |
| Same selector/header, only automatic outer marker removed |
false |
Select these ordinary |
index -1, no window drag |
The same widget's marked header still tears out in the control. Removing the outer marker once is a diagnostic, not a durable fix: construction, items-created and insertion restore it.
The Problem
The browser claims the whole pane before the App worker rejects the gesture. A consumer-only selector change therefore fails the body-interaction requirement even when it prevents an accidental popup.
Design authority: src/draggable/container/SortZone.mjs documents that when a handle is specified, “the drag is initiated on this element, but the owning component is dragged.” The operator also explicitly requires body interactions to remain normal. The selection guard introduced for legitimate drags in #16362 must remain effective.
The Architectural Reality
container/DragZone.adjustItemCls and onItemInsert project neo-draggable onto every admitted item's wrapper.
container/SortZone.isDraggableItem tests handle membership; onDragStart checks the event path later.
main/draggable/sensor/Mouse.onMouseDown finds a marked ancestor and immediately adds neo-drag-active. Touch uses the same marker boundary.
- The construction-time zone registry cannot alone gate the first press: container zones can have no
dragElement until App-side drag start.
The Fix
Separate sortable membership from automatic outer-marker eligibility at the existing container drag-zone projection boundary. For a distinct descendant handle, preserve the authored native handle marker without making the whole item a native drag target. Use the same decision for initial marking and inserted items. Preserve whole-item operation and root-handle selectors; do not remove the selection guard or introduce a Mouse-only workaround.
| Target surface |
Source of authority |
Proposed behavior |
Fallback |
Docs |
Evidence |
Existing dragHandleSelector |
SortZone config JSDoc |
A distinct descendant handle does not make its body a native drag target |
Existing null/default whole-item and root-handle modes stay compatible |
Owning marker/selector JSDoc |
Native body-selection negative and header positive controls |
Protected isItemRootDragTarget(item) / automatic neo-draggable projection |
Existing DragZone construction/insertion ownership |
One root-marker decision, independent of isDraggableItem membership; overridden by SortZone for distinct handles |
Null, legacy marker and root-handle modes remain compatible; authored descendant markers remain consumer-owned |
Both protected methods' JSDoc |
Initial, insertion, mode-change and root-handle unit controls |
Decision Record impact: none; restores the existing handle boundary, with no new service or wire contract. Existing Body class ownership; no new production module or directory.
Acceptance Criteria
Out of Scope
Accounts' consumer selector change and installed FM acceptance (Institution #601), popup-close restoration (#19462), new synchronous sensor metadata, CSS selection overrides, and unrelated drag refactors.
Related and discovery
Blocks the complete consumer solution in neomjs/neo-agent-institution#601. Related: #16362. Euclid's #19461 changes Demo B's host proof and its witnesses; those files are outside this leaf.
Latest 20 created-descending open Engine issues and latest 30 all-state A2A entries checked at 2026-10-08T02:24Z: no equivalent or competing marker claim. Org historical searches dragHandleSelector selection and body drag marker selection found no match. Own Engine assignment: only #19462, a different close-return surface. MC problem sweeps found the selection-guard rationale (memory 0e988439-7fff-4f70-9db9-629e1426f75a) and adjacent drag history, not this admission repair.
Origin Session ID: e6ce4d70-a7ff-454e-996d-e7c25efdf4cf
Retrieval Hint: "dragHandleSelector body selection outer neo-draggable marker native guard"
Context
While validating the operator's header-only Accounts request in neomjs/neo-agent-institution#601, a real-browser control pair showed that a narrower
dragHandleSelectorstops App-worker sorting but still suppresses ordinary body selection.On Engine
ba0341809a680986cd65087aebd8100428e9f334(the relevant marker/sensor sources are unchanged from6e19f603):Select these ordinaryThe same widget's marked header still tears out in the control. Removing the outer marker once is a diagnostic, not a durable fix: construction, items-created and insertion restore it.
The Problem
The browser claims the whole pane before the App worker rejects the gesture. A consumer-only selector change therefore fails the body-interaction requirement even when it prevents an accidental popup.
Design authority:
src/draggable/container/SortZone.mjsdocuments that when a handle is specified, “the drag is initiated on this element, but the owning component is dragged.” The operator also explicitly requires body interactions to remain normal. The selection guard introduced for legitimate drags in#16362must remain effective.The Architectural Reality
container/DragZone.adjustItemClsandonItemInsertprojectneo-draggableonto every admitted item's wrapper.container/SortZone.isDraggableItemtests handle membership;onDragStartchecks the event path later.main/draggable/sensor/Mouse.onMouseDownfinds a marked ancestor and immediately addsneo-drag-active. Touch uses the same marker boundary.dragElementuntil App-side drag start.The Fix
Separate sortable membership from automatic outer-marker eligibility at the existing container drag-zone projection boundary. For a distinct descendant handle, preserve the authored native handle marker without making the whole item a native drag target. Use the same decision for initial marking and inserted items. Preserve whole-item operation and root-handle selectors; do not remove the selection guard or introduce a Mouse-only workaround.
dragHandleSelectorisItemRootDragTarget(item)/ automaticneo-draggableprojectionisDraggableItemmembership; overridden by SortZone for distinct handlesDecision Record impact: none; restores the existing handle boundary, with no new service or wire contract. Existing Body class ownership; no new production module or directory.
Acceptance Criteria
Out of Scope
Accounts' consumer selector change and installed FM acceptance (Institution
#601), popup-close restoration (#19462), new synchronous sensor metadata, CSS selection overrides, and unrelated drag refactors.Related and discovery
Blocks the complete consumer solution in neomjs/neo-agent-institution#601. Related: #16362. Euclid's #19461 changes Demo B's host proof and its witnesses; those files are outside this leaf.
Latest 20 created-descending open Engine issues and latest 30 all-state A2A entries checked at 2026-10-08T02:24Z: no equivalent or competing marker claim. Org historical searches
dragHandleSelector selectionandbody drag marker selectionfound no match. Own Engine assignment: only#19462, a different close-return surface. MC problem sweeps found the selection-guard rationale (memory0e988439-7fff-4f70-9db9-629e1426f75a) and adjacent drag history, not this admission repair.Origin Session ID: e6ce4d70-a7ff-454e-996d-e7c25efdf4cf
Retrieval Hint: "dragHandleSelector body selection outer neo-draggable marker native guard"