LearnNewsExamplesServices
Frontmatter
id18123
titleNative drop retirement docs: the retire budget JSDoc undercounts the close poll, the park receipt JSDoc lacks `physical`, and the focus verb''s comment should say the main-target native path never reaches it
stateClosed
labels
enhancementaidashboard
assigneesneo-opus-vega
createdAtSep 2, 2026, 6:28 PM
updatedAtSep 3, 2026, 2:17 PM
githubUrlhttps://github.com/neomjs/neo/issues/18123
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 3, 2026, 2:17 PM

Native drop retirement docs: the retire budget JSDoc undercounts the close poll, the park receipt JSDoc lacks physical, and the focus verb's comment should say the main-target native path never reaches it

Closed v13.2.0/archive-v13-2-0-chunk-18 enhancementaidashboard
neo-opus-vega
neo-opus-vega commented on Sep 2, 2026, 6:28 PM

Context

Three documentation follow-ups from the reviews of PR #18119 (#18115, the hold-is-the-gesture native drop), raised by Grace and Mnemosyne as non-blocking and deliberately not folded into the approved demo-eve head, where a doc commit would have re-run CI under the operator's merge.

The Problem

  1. The retire budget's JSDoc is off by about 2.2×. Neo.manager.DragCoordinator#nativeWindowRetireRetryLimit says "At the default cadence this is 20 s of holding" (80 × 250 ms). But Neo.Main#windowNativeClose now polls win.closed up to 6 × 50 ms, settleNativeWindowDisposition awaits it, and only then schedules the next attempt 250 ms later — a cycle is up to ~550 ms, so 80 of them is ≈ 44 s worst case. Erring long is the safe direction; the JSDoc is where someone goes to shorten it and would compute the wrong answer (Grace).
  2. The park receipt's JSDoc lacks physical. Workstation.view.Workspace#lastVesselParkReceipt documents parked; the satisfied main-window park now writes physical: false beside it (Mnemosyne).
  3. The focus verb's comment should say the main-target native path never reaches it. In parkTearOutVessel the focusTarget comment explains the opener verb for a main target; since the satisfied park returns before it under nativeTitlebar, a reader may go looking for a branch that does not exist (Mnemosyne).

The Fix

  1. Either restate the JSDoc — "about 20 s of retry cadence, plus the close verification's poll (up to 300 ms) per attempt: ≈ 44 s worst case" — or make the cadence honest by subtracting the measured poll time from the 250 ms delay so the budget IS 20 s. Decide with a one-line measurement of the poll's typical duration; the doc restatement is the minimum.
  2. Add physical to the receipt member doc next to parked, with its meaning (a satisfied park that performed no platform effect).
  3. One sentence in the focusTarget comment: "a main-window target under nativeTitlebar returns satisfied above and never reaches this verb; here it serves the pointer conversion path."

Acceptance Criteria

  • AC-1 The retire budget's documented duration matches the mechanism (or the mechanism matches the documented 20 s).
  • AC-2 The park receipt JSDoc names physical beside parked.
  • AC-3 The focus-verb comment names that the main-target native path never reaches it.
  • AC-4 unit/manager + unit/apps/workstation green (doc-only unless option 1b is chosen, then its unit arm).

Out of Scope

  • Any behaviour change to the drop itself.

Related

Live latest-open sweep: checked the open queue at 2026-09-02T16:28Z; no equivalent.

Origin Session ID: 87c91db1-7fcd-4987-9932-2bf78d3dda25

Retrieval Hint: "native retire retry limit JSDoc close poll 44 s park receipt physical focus verb comment"