LearnNewsExamplesServices
Frontmatter
id18524
titleClassify Group batches before dock projection
stateClosed
labels
bugaitestingcoredashboard
assigneesneo-gpt-emmy
createdAtSep 9, 2026, 5:08 AM
updatedAtSep 9, 2026, 11:38 AM
githubUrlhttps://github.com/neomjs/neo/issues/18524
authorneo-gpt-emmy
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 9, 2026, 11:38 AM

Classify Group batches before dock projection

Closed v13.2.0/archive-v13-2-0-chunk-20 bugaitestingcoredashboard
neo-gpt-emmy
neo-gpt-emmy commented on Sep 9, 2026, 5:08 AM

Context

The runtime correlation identifies why the nested Workstation splitter witness loses its column before Escape: a Group resize reaches refresh classification as {operations: [resizeSplit], workspaceKey}, but the classifier reads only the scalar operation field.

The controlled single-operation delegation keeps every original E2E assertion and changes only classification in the disposable app. It passes the complete test, with geometryOnly:true, landedInPlace:true, and the same column/splitter through reverse movement and Escape.

The Problem

On dev@335b2ca43a, the array descriptor produces both fast-path flags false. The resize queues behind the preceding structural projection, then stages replacement chrome while the next pointer press is arming. Root-motion absence and correct preview geometry do not protect the captured ids.

This is a lost classification at the real Group consumer boundary, not a stable-topology validator refusal. No first-introducing commit is attributed.

The Architectural Reality

WorkspaceSet.commit owns the operations-array descriptor. Workspace.projectDockCommit forwards it with captured/preservation context. Workspace.getRefreshOptions consumes operation change classes from Operations.changeClassFor; Reconciler remains the final structural validator of any fast-path request.

The earlier #18472 batch handling belongs to Maximize's ordered-neutrality decision and does not classify reconciliation. Group writes, history and persisted documents are separate authorities and need no change here.

The Fix

Extend the existing engine refresh classifier to consume the whole operations batch through Operations.changeClassFor. Admit a nonempty homogeneous geometry batch as geometry-only and a homogeneous itemFlags batch as retained topology. Homogeneity means change class, not identical operation names. Mixed, unknown, empty or malformed batches use full reconciliation. Preserve scalar behavior and never mutate the descriptor.

Use the existing Workspace unit/integration fixtures and the unchanged nested E2E. Keep one classification authority; no new operation-name table, manager policy, helper module or app-side batch special case. Shorten the existing classifier commentary while documenting the lasting rule.

Contract Ledger Matrix

Surface Authority Behavior Fallback Docs Evidence
Engine refresh classification Operations.changeClassFor plus Group descriptor Classify every batch entry; emit the existing fast-path request only for one homogeneous class Mixed/unknown/empty/malformed retains full projection getRefreshOptions JSDoc Table controls and real Group projection
Stable geometry projection Reconciler structural validation A valid Group resize retains shell/chrome and applies final geometry Structural mismatch still stages normally Existing validator contract Group integration plus unchanged headed nested journey

Acceptance Criteria

  • Homogeneous geometry and item-flag batches produce the corresponding existing refresh option; scalar behavior is unchanged.
  • Mixed classes, unknown operations, empty and malformed batches remain on full projection, with no descriptor mutation.
  • Real Group/WorkspaceSet projection receives the classification and retains valid geometry-only chrome while updating geometry. Existing validator-refusal behavior remains intact.
  • The complete unchanged WorkstationNestedColumnResizeNL test passes headed with explicit Brain runtime, including active-FLIP admission, reverse preview, Escape, pane identity and document checks.
  • Focused and full unit checks pass; retain the failing baseline and successful controlled/runtime evidence.

Out of Scope

Transaction ordering/history, Maximize policy, asynchronous drop cleanup, new APIs or files, and test relaxation. Workstation already honors base.geometryOnly; its separate override dropping base.retainTopology is tracked by #18208 and remains untouched, so this leaf makes no Workstation lock-path claim. The edge/grid witness settlement PRs remain separate.

Decision Record impact

Aligned with ADR 0029 §2.1's engine-owned projection and preserved pane identity; no authority amendment.

Sweeps and ownership

Latest20 live created-open issues, recent30 all-state A2A and own10 assignments checked immediately before filing. Own #18518/#18520 cover test completion witnesses, not this engine classifier. #18522 owns asynchronous source-drop completion on different files. Problem-noun MC queries recovered the current diagnostic but broader rationale queries returned unrelated records; live source, PR #18472, exact GitHub search and KB were checked without treating those weak retrievals as proof of absence. Labels verified.

Taking this as the sole active implementation; previous authored PRs remain at review or human merge gates.

Related: #17844 · #18303

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

Retrieval Hint: Group operations resizeSplit getRefreshOptions stable topology chrome replacement