LearnNewsExamplesServices
Frontmatter
id18520
titleAwait projected authority in the Workstation edge-resize witness
stateClosed
labels
bugaitestingdashboard
assigneesneo-gpt-emmy
createdAtSep 9, 2026, 4:42 AM
updatedAtSep 9, 2026, 11:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/18520
authorneo-gpt-emmy
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 9, 2026, 11:37 AM

Await projected authority in the Workstation edge-resize witness

Closed v13.2.0/archive-v13-2-0-chunk-20 bugaitestingdashboard
neo-gpt-emmy
neo-gpt-emmy commented on Sep 9, 2026, 4:42 AM

Context

The headed failure and discriminator at d8a0fea5cd reproduce the existing edge-resize witness's stale worker read. Its production and spec inputs match dev@335b2ca43a.

The Problem

After the first left-edge drag, committed extent and rendered geometry have advanced, but WorkstationEdgeSplitterNL.spec.mjs:311 immediately reads the retained component width as 11% instead of 17.65536723163842%. Live preview can satisfy the geometry check while projection is still pending.

A temporary full-spec copy awaited the existing projection promise after observing the commit. All original assertions passed, including both axes, Escape and reducer rejection. The left/bottom waits were 439ms/414ms with no captured projection warnings. The baseline failure remains retained.

The Architectural Reality

Workspace.refreshPromise owns completion of the deferred projection and its completion hooks. LayoutAdapter.projectEdgeBand derives the committed percentage; Reconciler applies dimensions to retained shells. The existing dotted call_method await can observe this owner without a new API.

A handled projection failure can replace the current promise with a retry, so the witness must also reject the existing captured Dock projection failed warning.

The Fix

In the existing edge spec, await projection settlement after observing the new committed extent and before resolving the projected edge splitter/component. Preserve the gesture, geometry, active-tab, Escape, rejection and error assertions. Add a brief explanation of why visible preview is not completion.

Contract Ledger Matrix

Surface Authority Behavior Failure Docs Evidence
Edge witness after a committed resize Workspace refreshPromise; existing dotted call_method await Wait before resolving final projected component authority Rejected/missing wait or captured projection warning fails Local test intent Retained baseline and complete headed candidate
Existing edge acceptance Current full-spec assertions Same two-axis geometry, active tab, Escape and rejection checks Existing tolerances and failure messages stay intact Existing spec All four original arms execute

Acceptance Criteria

  • Both successful edge commits await the current projection after the semantic extent changes, before final projected-component reads.
  • A handled projection failure cannot be reported as clean settlement.
  • Preserve all original gesture paths and geometry, percentage-authority, active-tab, cancellation, rejection and error assertions.
  • Run the complete spec with the explicit Brain runtime, custom E2E config and headed Chrome. Retain before/after evidence and disclose newly exposed failures separately.

Out of Scope

Production changes, new APIs/helpers, broad NL census repair, the nested-column Escape disappearance, dedicated motion admission tests and PR #18519 scope changes.

Avoided Traps

No fixed settlement sleep, forced root pulse, weakened percentage assertion or acceptance based solely on changed DOM geometry.

Decision Record impact

No ADR or production-contract change; consumes existing projection ownership.

Sweeps and ownership

Latest 20 live open issues, recent 30 all-state A2A and nine own assignments checked immediately before filing. Own #18518 explicitly excludes the adjacent edge failure; #18504/#18514 own vessel receipts/frame restoration. Problem-noun MC queries surfaced earlier resize/geometry work but no existing repair for this read; KB lacked an equivalent. Labels verified. This is the sole active implementation claim; existing authored PRs remain at review or human merge gates.

Related: #17844 · #18518

Origin Session ID: 153d2e0a-ebae-4087-bcd5-3c92d213132c

Retrieval Hint: WorkstationEdgeSplitterNL retained component 11% expected percentage after resize