Context
enableDockLockAction defaults to false while the other five header actions default to true. Operator decision, 2026-09-03: lock should default true.
That reverses a scope statement, not an architectural one. #18014 (closed 2026-09-01) said it plainly:
lock is outside the operator goal and remains opt-in. Keep enableDockLockAction default-off.
and listed "Making lock part of the default engine set" under what it would not do. So the default-off is an artifact of that ticket's scope boundary, and the operator has now moved the boundary.
The operator also named the discipline this ticket has to follow: vast amounts of dock layout work landed after #18014, so the comparison has to be against current reality rather than against the era that set the default. I had cited #18014 AC-1 as the live rationale in consumer source; that was the error this ticket corrects.
Live latest-open sweep: latest 20 open issues at 2026-09-03T09:59:08Z. A2A claim sweep: 8 most recent messages, no competing claim.
The Problem
Lock is opt-in because it once was not engine-owned. It now is, and three tickets closed after #18014 are why:
| Ticket |
Closed |
What it made engine-owned |
| #17949 |
2026-09-01 |
the lock header action that protects a dock pane |
| #18044 |
2026-09-01 |
lock content presentation delegates to the pane, like reload |
| #18152 |
2026-09-03 |
a lock toggle no longer restages the shell |
Verified in source at dev rather than inferred from those titles:
Operations.setItemLocked is a model operation, and its change class is itemFlags — the classification #18152 needed so a toggle writes one item field instead of restaging.
syncDockLockAction exists and runs in the post-commit action sync, alongside close, pin and reload.
dockLockIconCls / dockUnlockIconCls are engine configs, consumed by projection/LayoutAdapter.
- The reducer's refusals, the hidden close action, the suppressed drag source and the
neo-dock-pane-locked frame cue are all engine-side and, per the config's own JSDoc, "never delegated".
dockLock* accounts for 24 references in dashboard/dock/Workspace.mjs.
So a host that enables lock supplies nothing. It flips a boolean to receive a feature the engine already implements end to end — which is #18151's class exactly: the dock asking a consumer to ask for what only the engine has.
The Architectural Reality
src/dashboard/dock/Workspace.mjs — enableDockLockAction: false and its @member tag.
- The projection spreads lock's config conditionally:
...(me.enableDockLockAction && {
dockLockIconCls : me.dockLockIconCls,
dockUnlockIconCls : me.dockUnlockIconCls,
enableDockLockAction: true
}),while the other five pass unconditionally. This shape is correct and should not change: with the default flipped, the guard still does the right thing for an explicit false opt-out, where withholding the icons is what should happen. Noted because it is the reason the flip is a one-line change rather than a projection edit.
- Every existing spec passes
enableDockLockAction: true explicitly (DockLockAction.spec.mjs, DockLayoutAdapter.spec.mjs, DockActionTooltips.spec.mjs, the dock-lock fixture app), and DockLockAction.spec.mjs:159 keeps an explicit-off arm. So no spec asserts the default value, and none reds on the flip — which also means the default is currently uncovered.
The Fix
enableDockLockAction: false → true in src/dashboard/dock/Workspace.mjs, with the @member tag updated to match.
- Add the arm that makes the default a contract: a projection with no lock config at all must emit the lock action. The absence of such an arm is why the flip is otherwise invisible to CI.
- Sweep the class/projection JSDoc for prose that describes lock as the opt-in exception, and the
learn/ guides for the same claim.
Acceptance Criteria
Out of Scope
- What locked means for a pane's content: the
dockLock(locked) delegation contract (#18044) is untouched.
- The structural half — reducer refusals, hidden close action, suppressed drag source, frame cue.
- Persistence of the locked flag.
- Consumer-side cleanup: a host currently passing
enableDockLockAction: true keeps working, and removing that line is each host's own follow-up.
Avoided Traps
- Citing #18014 AC-1 as a live contract. It is a closed ticket's scope boundary from an earlier era, and the operator's point is general: post-#18014 dock work is extensive, so a default's rationale has to be re-read against current source before it is treated as binding. This ticket exists because that re-read changed the answer.
- Re-filing #18148. That ticket (closed
NOT_PLANNED, no closing comment) bundled lock and pop-out under a consumer-reachability framing. This is one default, with two pieces of new information: the operator's explicit reversal, and three lock tickets that closed after it. Not a re-litigation — pop-out's half was separately resolved by #18153 / #18159.
- Changing the conditional spread. It reads like the asymmetry to clean up and is in fact the shape that makes explicit opt-out correct. Flipping the default is enough.
- Assuming CI would catch the flip. It would not: every spec sets the flag explicitly, so the default is uncovered and AC-1 is the arm that closes that gap rather than a formality.
Decision Record impact
none — a config default and its coverage. It supersedes a scope decision recorded in a closed ticket, not an ADR.
Related
- #18014 — set the default off as an explicit scope boundary; this reverses it.
- #17949 / #18044 / #18152 — the post-#18014 work that made lock engine-owned, which is the substantive argument.
- #18151 — the class: the dock asking consumers to supply what only the engine has.
- #18148 — closed
NOT_PLANNED; superseded by this, narrower and operator-authorized.
Handoff Retrieval Hints
query_raw_memories: "lock default on engine owns the lock action post-18014 reality"
- Anchors:
enableDockLockAction, syncDockLockAction, Operations.setItemLocked, operationChangeClass.setItemLocked, DockLockAction.spec.mjs
Origin Session ID: e8ea32a2-b9a8-43ea-84ba-b83081ec4b3d
Context
enableDockLockActiondefaults tofalsewhile the other five header actions default totrue. Operator decision, 2026-09-03: lock should default true.That reverses a scope statement, not an architectural one. #18014 (closed 2026-09-01) said it plainly:
and listed "Making lock part of the default engine set" under what it would not do. So the default-off is an artifact of that ticket's scope boundary, and the operator has now moved the boundary.
The operator also named the discipline this ticket has to follow: vast amounts of dock layout work landed after #18014, so the comparison has to be against current reality rather than against the era that set the default. I had cited #18014 AC-1 as the live rationale in consumer source; that was the error this ticket corrects.
Live latest-open sweep: latest 20 open issues at 2026-09-03T09:59:08Z. A2A claim sweep: 8 most recent messages, no competing claim.
The Problem
Lock is opt-in because it once was not engine-owned. It now is, and three tickets closed after #18014 are why:
Verified in source at
devrather than inferred from those titles:Operations.setItemLockedis a model operation, and its change class isitemFlags— the classification #18152 needed so a toggle writes one item field instead of restaging.syncDockLockActionexists and runs in the post-commit action sync, alongside close, pin and reload.dockLockIconCls/dockUnlockIconClsare engine configs, consumed byprojection/LayoutAdapter.neo-dock-pane-lockedframe cue are all engine-side and, per the config's own JSDoc, "never delegated".dockLock*accounts for 24 references indashboard/dock/Workspace.mjs.So a host that enables lock supplies nothing. It flips a boolean to receive a feature the engine already implements end to end — which is #18151's class exactly: the dock asking a consumer to ask for what only the engine has.
The Architectural Reality
src/dashboard/dock/Workspace.mjs—enableDockLockAction: falseand its@membertag....(me.enableDockLockAction && { dockLockIconCls : me.dockLockIconCls, dockUnlockIconCls : me.dockUnlockIconCls, enableDockLockAction: true }),while the other five pass unconditionally. This shape is correct and should not change: with the default flipped, the guard still does the right thing for an explicit
falseopt-out, where withholding the icons is what should happen. Noted because it is the reason the flip is a one-line change rather than a projection edit.enableDockLockAction: trueexplicitly (DockLockAction.spec.mjs,DockLayoutAdapter.spec.mjs,DockActionTooltips.spec.mjs, thedock-lockfixture app), andDockLockAction.spec.mjs:159keeps an explicit-off arm. So no spec asserts the default value, and none reds on the flip — which also means the default is currently uncovered.The Fix
enableDockLockAction: false→trueinsrc/dashboard/dock/Workspace.mjs, with the@membertag updated to match.learn/guides for the same claim.Acceptance Criteria
DockWorkspaceconfiguring nothing projects the lock action, asserted on a workspace instance with noenableDockLockActionconfig. Not on the adapter:LayoutAdapter.project({})is a different layer and must keep pairing byte-identically withproject({enableDockLockAction: false}), because a projector takes explicit context and an absent key there is not a request. Red-first — the arm has to fail with the old default in place, or it is not witnessing the default.enableDockLockAction: falsestill withholds the action, and still withholdsdockLockIconCls/dockUnlockIconClsfrom the projection context.setItemLockedkeeps change classitemFlags; the flip must not reintroduce the shell restaging #18152 fixed. Asserted, because a default-on action is exercised on every host and a restaging regression would surface everywhere at once.trueunchanged (DockLockAction,DockLayoutAdapter,DockActionTooltips, thedock-lockfixture app).Out of Scope
dockLock(locked)delegation contract (#18044) is untouched.enableDockLockAction: truekeeps working, and removing that line is each host's own follow-up.Avoided Traps
NOT_PLANNED, no closing comment) bundled lock and pop-out under a consumer-reachability framing. This is one default, with two pieces of new information: the operator's explicit reversal, and three lock tickets that closed after it. Not a re-litigation — pop-out's half was separately resolved by #18153 / #18159.Decision Record impact
none— a config default and its coverage. It supersedes a scope decision recorded in a closed ticket, not an ADR.Related
NOT_PLANNED; superseded by this, narrower and operator-authorized.Handoff Retrieval Hints
query_raw_memories: "lock default on engine owns the lock action post-18014 reality"enableDockLockAction,syncDockLockAction,Operations.setItemLocked,operationChangeClass.setItemLocked,DockLockAction.spec.mjsOrigin Session ID: e8ea32a2-b9a8-43ea-84ba-b83081ec4b3d