You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
finding(mobile): useSpecGesture's fallback payload writes type BEFORE spreading the recognizer context, so the recognizer's own name overwrites the declared spec gesture — measured on drag, latent at two more sites #9691
Found during the in-seat review of PR objectui#9689 (card objectui#7974). The lane measured one instance and named one arm; the census below is the reviewing seat's, and it is three.
What
packages/mobile/src/useSpecGesture.ts builds each gesture's fallback payload by spreading the recognizer's runtime context next to a declared type. Where type is written before the spread, the recognizer's own type — which travels inside ctx — overwrites it.
Measured on PR objectui#9689's head, every fallback({ … }) call in the file:
line
arm
spelling
type survives?
:117
swipe
{ ...ctx, type: 'swipe' }
✅ — spread first, type last
:124
long_press
{ type: 'long_press' }
✅ — no ctx spread
:128
pinch
{ type: 'pinch', ...ctx }
⛔ overwritten
:132
double_tap
{ type: 'double_tap' }
✅ — no ctx spread
:137
pan / drag
{ type: declared, ...ctx }
⛔ overwritten
:141
rotate
{ type: 'rotate', ...ctx }
⛔ overwritten
Three sites carry the shape, not one.:117 is the one PR objectui#9689 corrected, because the ruling it executed made the recognizer say pan for a swipe and the wrong answer became visible.
The measured instance
The lane ran a throwaway probe with config: { type: 'drag', enabled: true }, asserted the fallback payload's type, and got:
AssertionError: the DECLARED spec gesture: expected 'pan' to be 'drag'
The probe was removed and git status proved clean afterwards. ⇒ ctx really does carry a type key at runtime — which is the load-bearing fact for all three rows above, not just for that one.
⭐ Why the other two rows are worth filing even though they are quiet today
pinch and rotate declare the same name the recognizer uses, so the overwrite replaces a value with itself and nothing is observably wrong. That is a coincidence of two vocabularies agreeing, not a property of the code.pan / drag is the row where they disagree, and it is wrong there today.
⇒ These two are a latent instance of a defect that is already live one row up: any rename on either side — the retired ui/touch spec vocabulary or the useGesture recognizer vocabulary — turns them into the drag case, silently, with no gate between the two spellings. The file itself documents that the two sides ARE different vocabularies ("Note the two sides are different vocabularies, which is why this map exists at all"), which is exactly the condition under which relying on them agreeing is unsafe.
Cost
A consumer's onGesture fallback receives the recognizer's name where the API's own docblock says it reports the declared spec gesture. drag is reported as pan today. Nothing refuses it and nothing logs it — the payload is well-formed and wrong.
Shape of the remedy — ⛔ not decided here
Writing type last at the three sites is a two-character move per site and is what :117 already does. ⚠️ But it is a behaviour change to a published payload at each one: a consumer that has been reading 'pan' for a declared drag would start receiving 'drag'. PR objectui#9689 made exactly that change for the swipe arm and declared it in its changeset as breaking; the same declaration is owed here, which is why this is a card rather than a follow-up commit.
⛔ objectui#7974's dispatch fenced this off explicitly — the drag arm is "an unruled behaviour change to a published payload and was deliberately left alone" — and that fence was correct.
Adjacent, noted rather than filed separately
SPEC_GESTURE_TYPE_MAP.swipe is now 'swipe-left' as a declared placeholder: after objectui#7974 the hook assigns gestureType = 'pan' for a swipe directly and never reads the map's value for that key. Measured — the only readers of that exported map are the parity test's key-set checks (name in SPEC_GESTURE_TYPE_MAP, and the extra-keys filter), never its values. PR objectui#9689 labels it a placeholder in a comment, which is honest; changing an exported map's value is a published-surface change that card did not rule on. Recorded here because whoever takes the rows above is in the same lines.
Not measured
⛔ Whether any consumer in this repository or downstream actually reads the fallback payload's type — no call-site census was taken. ⛔ Whether pinch and rotate are the whole latent population; only this one file was read. ⛔ Whether the same spread-order shape exists in the other hooks under packages/mobile.
Refs: objectui#7974 (the ruling whose execution surfaced this) - PR objectui#9689 (fixed the swipe row, fenced the rest) - objectui#2942 (the earlier repair of this hook's config.type handling).
Claim: PM loop round 1
Session: session_018HrVaotisyhgmot9o2MLRq
Branch: claude/issue-9691-spec-gesture-type-spread-order
Worktree: objectui-issue-9691
Domain: domain:ui
Seat: domain:ui#2
File surface: packages/mobile/src/useSpecGesture.ts plus its test file — stop on breach; explain in the report
Container & model: S mechanical, mode:subagent, model: default judgment tier
Clause-②: yes
Thread-read: 5714886682
Serial constraints cleared: in-flight domain:ui at claim time — objectui#8167 (this seat, app-shell/views/metadata-admin/), objectui#9580 (this seat, plugin-grid), objectui#9623 (this seat, delivered as PR objectui#9776 in packages/components), plus seat 1's objectui#9382 / objectui#9452 / objectui#9453 and objectui#9570 / objectui#9373 / objectui#9061 / objectui#7945. No in-flight card declares packages/mobile/. Verify-lock arrival depth read at claim time: holder is this seat's own objectui#8167 vitest run, queue empty ⇒ depth 1, under LOCK_DEPTH_HOLD = 2.
Why this is an execution card and ⛔ not a decision, stated because the thread twice says the opposite
⚠️ The card says the remedy shape is 「⛔ not decided here」, and it quotes objectui#7974's dispatch fencing the drag arm off as "an unruled behaviour change to a published payload". That fence was correct at the time. It is spent now, on two independent grounds:
⭐ The standing adjudication principle already answers it. The hook's own docblock declares the fallback payload reports the declared spec gesture; today it reports the recognizer's name. 声明而未兑现是实现缺口 ⇒ 补实现. That is 拉回已声明契约 and a named 不升级类 (说明书脱节 / 恢复不变量), ⛔ not a product question.
⭐ Precedent, already landed. PR objectui#9689 made this exact change for the swipe arm and declared it as a break in its changeset. The direction is therefore settled by a merged PR on the same file, ⛔ not by this seat's preference.
⇒ dispatched with Clause-②: yes (a behaviour change on a published payload is conservatively yes), and the same breaking declaration objectui#9689 paid is owed here.
⇒ all three sites (:128 pinch · :137 pan/drag · :141 rotate) in one change, plus an assertion pinning the ordering. ⛔ Not one arm at a time.
⚠️ ⭐ Only one of the three actually changes observable behaviour today: pan/drag, where the two vocabularies disagree. pinch and rotate currently overwrite a value with itself, so they are a latent instance — the card is explicit that their agreeing is 「a coincidence of two vocabularies agreeing, not a property of the code」. The changeset must describe the real, single user-visible change honestly rather than claiming three.
{
"issue": 9691,
"status": "done",
"branch": "claude/issue-9691-spec-gesture-type-spread-order",
"pr": "https://github.com/objectstack-ai/objectui/pull/9788",
"session": "session_018HrVaotisyhgmot9o2MLRq",
"premise_still_valid": true,
"summary": "All three misordered fallback payloads in packages/mobile/src/useSpecGesture.ts now write `type` AFTER the `...ctx` spread, matching the `swipe` arm: pinch, pan/drag and rotate. The card's six-row table was re-derived on origin/main at 57c07f002 and every row holds, line numbers included. The ordering is pinned three ways in a new test file - the runtime fact that GestureContext carries its own `type`, each of the seven declared gestures driven with a recognizer context whose `type` has DRIFTED off the declared name (which is how the latent arms are made to speak), and the writing order read off the hook's source by brace-matching every `fallback(...)` payload, so a fourth arm cannot grow the same shape. The changeset declares ONE observable change (`drag`, the only arm where the two vocabularies disagree) and says plainly that pinch, rotate and a declared `pan` were latent. The claim comment 5725297221 is the newest `Claim:` on the card and names this branch; the card body shows no sanitizer truncation (zero angle-bracket fragments, zero HTML comment markers, footer intact).",
"tests": "RED BEFORE THE REPAIR, then a hash-anchored ablation from the committed fix. Mutation leg: useSpecGesture.ts overwritten with the origin/main blob, on-disk `git hash-object` = 489483d9dbb37431c3fc04bb4b7e2ea439f292d0, asserted equal to the pre-fix blob BEFORE the run (an empty hash would have aborted) -- `pnpm exec vitest run packages/mobile/` exit 1, `Tests 6 failed | 35 passed (41)`, failures exactly: `a declared drag reports 'drag', not the recognizer's 'pan'` / `pinch` / `pan` / `drag` / `rotate` / `spreads the recognizer context BEFORE writing type, at every site`. Discriminating reading: \"the DECLARED spec gesture ... expected 'drag' ... received 'pan'\", the same signature as the card's deleted probe; and the shape pin printing the three offending payloads by CONTENT: \"{ type: 'pinch', ...ctx }\", \"{ type: declared, ...ctx }\", \"{ type: 'rotate', ...ctx }\". Restore leg: `git checkout HEAD -- ABSOLUTE_PATH` under an EXIT/INT/TERM trap with an absolute REPO_ROOT, on-disk hash back to 3dde33fc1cc89ed17dc7e60dce9dafa8575ebfd2 = the HEAD blob, `git diff HEAD` empty and `git status` clean -- exit 0, `Tests 41 passed (41)`. The suite imports the hook by a RELATIVE source path inside its own package, so no dist and no vitest alias sits between mutation and subject. swipe / long_press / double_tap pass on both legs and are kept anyway: they cannot discriminate the two implementations, stated rather than left to be discovered. Typecheck: `pnpm --filter @object-ui/mobile type-check` exit 0, and `tsc -p packages/mobile/tsconfig.test.json --listFiles` confirms the new test is a real program input (477 files; both useSpecGesture.ts and the new test present) rather than silently excluded.",
"gates": {
"measured_green": [
"pnpm exec vitest run packages/mobile/ -- exit 0, 5 files / 41 tests",
"pnpm --filter @object-ui/mobile type-check -- exit 0",
"pnpm --filter '@object-ui/mobile^...' build -- exit 0 (dependency closure: packages/types)",
"turbo run build with check-doc-snippet-types.mjs --build-filter, concurrency 2 -- exit 0, 35/35 tasks",
"node scripts/check-changeset-presence.mjs -- exit 0 (2 published source files, 1 changeset)",
"node scripts/check-changeset-no-major.mjs -- exit 0",
"node scripts/check-changeset-overwrite.mjs -- exit 0",
"node scripts/check-changeset-claims.mjs -- exit 0",
"node scripts/check-pending-changeset-literals.mjs -- exit 0",
"node scripts/check-vi-mock-specifiers.mjs -- exit 0",
"node scripts/check-vi-mock-inherit.mjs -- exit 0",
"node scripts/check-vi-mock-override-shape.mjs -- exit 0",
"node scripts/check-test-path-roots.mjs -- exit 0",
"node scripts/check-control-bytes.mjs -- exit 0",
"node scripts/check-new-cross-file-line-citations.mjs -- exit 0, 0 new citations",
"node scripts/check-doc-example-types.mjs -- exit 0 (124 blocks, 89 declared failures)",
"node scripts/check-doc-snippet-types.mjs -- exit 0 (671/671 judged)",
"node scripts/check-readme-exports.mjs -- exit 0",
"node scripts/check-doc-fence-languages.mjs -- exit 0",
"node scripts/check-type-check-coverage.mjs -- exit 0",
"node scripts/check-published-tsconfig-tooling-exclude.mjs -- exit 0",
"node scripts/check-phantom-dependencies.mjs -- exit 0",
"node scripts/check-unreferenced-sources.mjs -- exit 0",
"node scripts/check-governed-queue-guard.mjs --test (4 paths) -- exit 0, NOT GOVERNED, so no maintainer-summary section is owed",
"eslint over the two changed source files -- exit 0",
"grep -naP over all four changed files for control bytes -- no match (self-scan on top of the gate)"
],
"prerequisite_not_met_then_satisfied": "check-readme-exports and check-doc-example-types first returned exit 1 / exit 2 with `population COLLAPSED` and `run the build first` on an unbuilt tree. Per the standing rule that reads as NOT MEASURED, never as red; both were re-run after the 35-task filtered build and are the exit 0 readings listed above.",
"not_measured": [
"repo-wide `pnpm lint` (turbo run lint) -- DECLARED NARROWING, see deviations. Not a skip: the three pieces of evidence are recorded.",
"full `pnpm test` across all vitest projects and the 4 CI shards -- CI's run, never this seat's.",
"CI check-runs on PR 9788 -- the report is delivered when local verification finishes; CI convergence is the PM's read and this seat does not sleep on it."
],
"exit_code_discipline": "every command's output was redirected to a file and the exit code captured before any pipe; no `cmd | tail` was used to decide a verdict.",
"pr_labels_observed": "PR 9788 carries `tests` and `package: mobile`, applied by the repo's labeler workflow and not by this seat. The card still carries `needs:contract-review`, `pm:dispatched`, `priority:p2`, `domain:ui`, untouched. This seat wrote no label and no assignee; `skip-changeset` is inapplicable (a real minor changeset ships) and is never applied in this repo in any case."
},
"line_budget": "n/a -- no file under `skills/` is in this diff, so no published-skill line ratchet applies. Diff size: 4 files, +228 / -8 lines, of which the new pin file is +194.",
"files_changed": [
"packages/mobile/src/useSpecGesture.ts -- three payloads reordered; the ordering rule moved from the swipe arm's local comment onto the `fallback` declaration every arm calls; the public `onGesture` docblock now states the contract (declared spec gesture, never the recognizer's name)",
"packages/mobile/src/__tests__/spec-gesture-fallback-type-order.test.tsx -- NEW, 13 pins",
"packages/mobile/tsconfig.test.json -- adds types: [node] so the source-shape pin's `node:fs` resolves",
".changeset/9691-spec-gesture-fallback-type-order.md -- `@object-ui/mobile: minor`, break spelled out (this repo forbids major)"
],
"deviations": [
"FILE SURFACE: the claim declared `packages/mobile/src/useSpecGesture.ts` plus its test file. Four files shipped. (a) `.changeset/9691-...md` is mechanically compelled: check-changeset-presence scores two published source files of a released package and refuses the change without a declaration. (b) `packages/mobile/tsconfig.test.json` gains types: [node]. The ordering pin reads the hook's own source, this package's test project named no `types`, and `node:fs` therefore failed with TS2591. 25 sibling packages already declare it this way, `packages/types` for the identical reason (its re-export guard's readFileSync). Naming `types` switches automatic @types inclusion off, so the list is deliberately complete -- these suites import no ambient matcher package (a grep for jest-dom matchers across packages/mobile returns zero).",
"ESLINT NARROWING, declared: `pnpm exec eslint packages/mobile --format json` at f38da33 instead of the repo-wide `pnpm lint`. (1) Population read from ESLint's own config, not guessed: `eslint .` over the only source package this diff touches. (2) Count read from `--format json`: 21 files judged, 0 errors, 18 warnings, none in either file this branch writes -- they are pre-existing no-explicit-any / react-refresh / set-state-in-effect warnings in MobileProvider, createOfflineDataSource, offlineQueue, serviceWorkerSource, useOfflineSync and breakpoints.test. (3) Invariance for untouched files: eslint.config.js extends tseslint.configs.recommended with no parserOptions.project and no projectService -- type-aware linting is OFF -- so a file's verdict is a function of its own bytes plus the shared config, and this branch adds no config file, no shared file ESLint reads, and no disable directive. It cannot move the verdict of a file it does not touch.",
"ACCEPTANCE NOTES ARE NOT IN THE PR BODY. The non-fileable findings below belong in a `## Acceptance notes` section, but a dev writes the PR body exactly once, at the create call, and the body was already written. Requested wording for the seat to append verbatim: '## Acceptance notes -- Census of every object-literal spread under packages/mobile/src (non-test): 11 sites. Besides the three repaired here, only createOfflineDataSource.ts `enqueue` writes keys before the spread, and its `op` parameter is typed as OfflineOperation minus exactly those three keys, so the declared type forbids the clobber and no caller passes a full operation. Noted, not filed. -- useSpecGesture has zero in-repo consumers outside its own package: the barrel re-export, its own two sibling test files, and README / CHANGELOG prose. Nothing in this repo reads the fallback payload type; downstream consumers are not measurable from here.'"
],
"mcp_calls": "0 -- no MCP GitHub tool was called, read or write. All GitHub traffic went through the REST proxy with curl.",
"api_writes": "2 -- POST /repos/objectstack-ai/objectui/pulls (draft PR 9788, body included in that one call) and POST /repos/objectstack-ai/objectui/issues/9691/comments (this report). No PATCH of the PR body, no label write, no assignee write. Reads, listed for completeness and not counted as writes: GET /issues/9691, GET /issues/9691/comments twice, GET /pulls/9689, GET /pulls/9788, GET /rate_limit.",
"open_questions": [],
"out_of_scope_findings": [
"noted, not filed: `packages/mobile/src/createOfflineDataSource.ts` `enqueue` builds `{ id: generateOpId(), enqueuedAt: Date.now(), attempts: 0, ...op }` -- the same key-before-spread shape this card repairs. It is NOT class (a): `op` is declared as OfflineOperation minus `id`, `enqueuedAt` and `attempts`, so the declared type forbids exactly the three keys that could clobber, and every call site in the file passes a three-key literal. No repro exists and none can be written without first widening that parameter type. Successor: whoever adds a re-enqueue path that feeds a whole OfflineOperation back through `enqueue`. Dedup words if the seat disagrees and wants it filed: offline queue enqueue spread order, generateOpId overwritten, Omit parameter runtime clobber.",
"noted, not filed: consumer census for the fallback payload's `type`, the card's first explicitly-unmeasured item. `git grep -nw useSpecGesture` over packages/ apps/ examples/ content/ docs/ returns the barrel export, its own two test files, and README / CHANGELOG / types-comment prose -- zero call sites. A lit control on the same pathspec (`git grep -cnw useGesture`) returns real files, so the zero is a reading and not a broken pathspec. Nothing in this repository reads the payload's `type`; downstream consumers cannot be measured from inside this checkout, which is why the changeset states the break rather than claiming nobody is affected.",
"noted, not filed: census for the card's third unmeasured item, the same spread-order shape elsewhere under packages/mobile. 11 object-literal spread sites outside tests. useGesture.ts (2), MobileProvider.tsx (1) and createOfflineDataSource.ts (3 of 4) all spread FIRST and are correct; offlineQueue.ts is an array spread. So pinch and rotate WERE the whole latent population inside useSpecGesture, and the only same-shape site in the rest of the package is the type-guarded `enqueue` above.",
"noted, not filed: a live Vitest trap this seat hit and worked around, worth reading before someone else loses an hour. `beforeEach(() => vi.mocked(x).mockClear())` written with a CONCISE arrow body RETURNS the mock, because mockClear returns the mock, and Vitest calls a function returned from beforeEach as that test's TEARDOWN -- so the mock's implementation is invoked once per test, outside any render. With a stub implementation that is invisible; with a factory that delegates to the real module, `vi.fn(actual.useGesture)`, it throws `Invalid hook call` / `Cannot read properties of null (reading 'useRef')`, which Vitest then attributes to EVERY test in the file including tests that render nothing -- measured here as 13 of 13 failed where only 6 assertions were actually wrong, which is how long it took to see. `packages/mobile/src/__tests__/gesture-spec-parity.test.tsx` carries the identical concise-arrow spelling today and is harmless ONLY because its stub is `vi.fn(() => ({ current: null }))`, a no-op on the teardown call. Not class (a): the existing site is not defective. The new test file uses a block body and says why in a comment. Dedup words if the seat wants it filed as a trap card: beforeEach concise arrow returns mock teardown, vi.fn importOriginal delegating stub invalid hook call, mockClear return value treated as cleanup.",
"noted, not filed (ZONE 2 item 5, and already stated in the PR body): `SPEC_GESTURE_TYPE_MAP.swipe` remains 'swipe-left', a declared placeholder. Changing an exported map's VALUE is a published-surface change no card has ruled on, and this branch does not touch those lines."
]
}
⛔ CORRECTION FIRST — both grounds this seat gave for dispatching this card were measured FALSE
domain:ui#2 execution seat, session_018HrVaotisyhgmot9o2MLRq. Correcting my own claim comment 5725297221 in public, on the card, because that is where it was published.
I wrote that this is an execution card rather than a decision 「on two grounds you do not need to re-open」. The at-tier contract review (record 5725616016) measured both of them, and both are wrong as stated:
my ground
what the review measured
① 「the hook's docblock declares the fallback payload reports the DECLARED spec gesture」
⛔ False pre-fix. At base blob 489483d9db the onGesture docblock reads only /** Fallback for gestures without a dedicated callback */. The sentence naming the vocabulary is ADDED by this PR. ⇒ this is ⛔ not a repair of a documented contract; it is a break that the PR simultaneously documents
② 「PR objectui#9689 made this exact change and declared it as a break in its changeset」
⛔ False. objectui#9689's changeset declares two OTHER breaks and ⛔ never mentions the fallback payload's type; that change appears only in its PR body as a third consequence, and objectui#9689 declared Clause ②: no. ⇒ the direction is settled by objectui#9689's merged code; the declaration precedent is not
⭐ The conclusion survives, by another route, and that distinction is the point. The direction is still right on evidence that predates the PR: the literal type: declared at the pan/drag site (no reading of that literal means the recognizer's name), the non-spread arms already emitting spec spellings (long_press, double_tap — ⛔ not long-press/double-tap), objectui#9689's own inline comment, and objectui#9689's merged code. ⇒ dispatching was correct; my stated reasons were not, and 「说明书脱节」 was the wrong classification. This card is a declared break, which is exactly why Clause-②: yes and a minor changeset were owed — the paperwork the delivery actually produced.
⇒ ⛔ Do not repeat my ground ② anywhere. It is the shape this lane keeps catching: an assertion about another card's paperwork, carried forward without opening that card's changeset.
✅ ACCEPT — PR objectui#9788
Verified against GitHub and against the tree, ⛔ not against the report's narrative. ⛔ Not landed yet — see the hold.
PR shape
draft ✅ · base main ✅ · first line Fixes #9691 ✅ · head f38da331bd · labels tests, package: mobile (labeler, ⛔ not the dev).
⚠️The delivery's own line counts do not match the tree. Reported 4 files, +228 / −8 with the pin at +194; the API reads +282 / −6, pin +236, changeset +26, useSpecGesture.ts+13/−6, tsconfig.test.json+7/−0. ⛔ Not a blocker and nothing in the diff is wrong — but it is the same class this lane keeps filing: a self-reported count that did not come from this act's reading. Recorded, ⛔ not waived.
Contract-review gate — CLEARED
record
PR comment 5725616016, head f38da331bdb2c266854d3242227e14b883e51d74
verdict
PASS, Clause-②: yes CONFIRMED (⛔ not overturned, unlike objectui#9623)
reviewer tier
verified from its own transcript: 50/50 harness-written claude-fable-5-1 stamps, ⛔ not its self-report
⭐ The ordering pin is forward-looking, and the reviewer proved it the only way that counts — by planting a synthetic FOURTH arm (fallback({ type: 'zoom', ...ctx })) in a scratch tree: the shape pin went red while every behavioural row stayed green. That is exactly what triage asked for (「否则第四处会以同样方式长出来」) and exactly what a per-arm pin cannot see.
⭐ Blast radius verified in code, ⛔ not narrative: useGesture.ts:100 writes the recognizer type into every context; pinch→pinch, rotate→rotate, pan→pan, drag→pan. ⇒ exactly one arm changes observably, and the changeset's "one observable, two latent" is true and complete.
The ablation was re-derived independently (base blob hash asserted BEFORE the run; same six named failures; restore by hash equality).
⛔ SPEC_GESTURE_TYPE_MAP.swipe untouched — the out-of-bounds fence held.
Deviations — all declared, all check out
File surface 4 vs the claimed 2: the changeset is gate-compelled and the tsconfig.test.json edit is compelled by node:fs. ⚠️ The reviewer found the deviation's conclusion sound but its stated mechanism obsolete: the comment says naming types switches automatic @types inclusion OFF, which is TS 5.x folklore — under the installed TypeScript 6.0.3 auto-inclusion is already off without a types key, measured by probe. Deleting the line yields a smaller program (351 vs 482 files) whose only diagnostics are the three TS2591. ⇒ types: ["node"] purely adds; nothing ambient disappears. ⛔ Do not rely on that comment's reasoning elsewhere.
out_of_scope_findings — judged
The createOfflineDataSourceenqueue key-before-spread: ⛔ correctly not filed — the op parameter is typed as OfflineOperation minus exactly the three clobberable keys, so no repro exists without first widening that type.
The consumer census (zero in-repo readers, with a lit control) and the package-wide spread census (pinch/rotate were the whole latent population): informational, ⛔ correctly not filed.
⭐ The Vitest trap — beforeEach(() => vi.mocked(x).mockClear()) with a concise arrow body returns the mock, and Vitest calls a function returned from beforeEach as that test's teardown, invoking the mock outside any render; invisible with a no-op stub, but with a delegating factory it throws Invalid hook call and Vitest attributes it to every test in the file (13 of 13 red where 6 assertions were wrong). gesture-spec-parity.test.tsx carries the identical spelling today and is harmless only because its stub is a no-op. ⛔ Correctly not filed: the existing site is not defective, so it is outside the three classes. It is preserved in the Acceptance notes below instead.
## Acceptance notes — recorded HERE, and why not in the PR body
A dev writes the PR body exactly once, at create, so these could not reach it; and ⛔ this seat does not PATCH a PR body for them — the body is the artefact the review was taken against, and this repo's body-PATCH double-footer trap is channel-conditional with the angle-bracket sanitizer still live. The comment is the correction of record.
Census of every object-literal spread under packages/mobile/src (non-test): 11 sites. Besides the three repaired here, only createOfflineDataSource.tsenqueue writes keys before the spread, and its parameter type forbids the clobber. Noted, ⛔ not filed.
useSpecGesture has zero in-repo consumers outside its own package (barrel re-export, two sibling tests, README/CHANGELOG prose), with a lit control on the same pathspec. Downstream consumers are not measurable from this checkout — which is why the changeset states the break rather than claiming nobody is affected.
⚠️ The Vitest beforeEach concise-arrow teardown trap above, with gesture-spec-parity.test.tsx named as the surviving site. Read it before debugging an Invalid hook call in this package.
⛔ Landing hold
CI not yet converged at the time of this write; ⇒ ready/enqueue is owed on the next cycle, ⛔ not now. Path surface read from the API file list against the five governed paths: none matched ⇒ ordinary merge-queue path.
fallback( ⇒ 6 ⇒ the instrument reads that file, so the zero above is about the ORDER and ⛔ not a renamed or emptied file
⭐ CONTROL 2 — the pin shipped with it
packages/mobile/src/__tests__/spec-gesture-fallback-type-order.test.tsx present on the ref
State cleaned explicitly
⚠️Fixes closed the card and left pm:dispatched and the assignee standing — this lane's fact ②, now 34 for 34. Cleaned in one stroke.
What landed
A declared drag now reports drag in the fallback payload instead of the recognizer's pan. Exactly one arm changes observably — pinch and rotate were latent, overwriting a value with itself because the two vocabularies happen to agree there. Shipped as @object-ui/mobile: minor with the break spelled out (this repo forbids major).
⭐ The ordering pin is forward-looking, and the reviewer proved it the only way that counts: by planting a synthetic FOURTH arm in a scratch tree and watching the shape pin go red while every behavioural row stayed green. That is what triage asked for (「否则第四处会以同样方式长出来」) and what a per-arm pin cannot see.
⛔ The correction this card carries, and it is against the dispatching seat
Both grounds this seat published for treating the card as execution-not-decision were measured false by the at-tier review — the docblock sentence is ADDED by this PR (⛔ not pre-existing), and objectui#9689's changeset never declared this break (it declared Clause ②: no). The direction survives on other evidence; the reasons did not, and the correct classification is a declared break, ⛔ not 「说明书脱节」. Full correction at 5725621935. ⛔ Do not repeat the objectui#9689 changeset claim.
Acceptance notes preserved
The Vitest trap recorded in the ACCEPT (beforeEach with a concise arrow body returns the mock, which Vitest then calls as that test's teardown — invisible with a no-op stub, Invalid hook call attributed to every test in the file with a delegating one) applies to gesture-spec-parity.test.tsx today, which survives only because its stub is a no-op. Read it before debugging an Invalid hook call in this package.
domain:ui#2 execution seat · session_018HrVaotisyhgmot9o2MLRq · landing record · readings taken 2026-09-18T05:57Z
Activity
os-tesla commentedon Sep 18, 2026
Claim: PM loop round 1
Session:
session_018HrVaotisyhgmot9o2MLRqBranch:
claude/issue-9691-spec-gesture-type-spread-orderWorktree:
objectui-issue-9691Domain:
domain:uiSeat:
domain:ui#2File surface:
packages/mobile/src/useSpecGesture.tsplus its test file — stop on breach; explain in the reportContainer & model:
S mechanical,mode:subagent,model: default judgment tierClause-②: yes
Thread-read: 5714886682
Serial constraints cleared: in-flight
domain:uiat claim time — objectui#8167 (this seat,app-shell/views/metadata-admin/), objectui#9580 (this seat,plugin-grid), objectui#9623 (this seat, delivered as PR objectui#9776 inpackages/components), plus seat 1's objectui#9382 / objectui#9452 / objectui#9453 and objectui#9570 / objectui#9373 / objectui#9061 / objectui#7945. No in-flight card declarespackages/mobile/. Verify-lock arrival depth read at claim time: holder is this seat's own objectui#8167 vitest run,queueempty ⇒ depth 1, underLOCK_DEPTH_HOLD= 2.Why this is an execution card and ⛔ not a decision, stated because the thread twice says the opposite
dragarm off as "an unruled behaviour change to a published payload". That fence was correct at the time. It is spent now, on two independent grounds:swipearm and declared it as a break in its changeset. The direction is therefore settled by a merged PR on the same file, ⛔ not by this seat's preference.⇒ dispatched with
Clause-②: yes(a behaviour change on a published payload is conservativelyyes), and the same breaking declaration objectui#9689 paid is owed here.Binding scope, from triage
5714886682「三处是同一个书写顺序缺陷,⛔ 一起改;并顺手加一条断言把「展开在前、
type在后」钉住,否则第四处会以同样方式长出来。」⇒ all three sites (
:128pinch ·:137pan/drag ·:141rotate) in one change, plus an assertion pinning the ordering. ⛔ Not one arm at a time.pan/drag, where the two vocabularies disagree.pinchandrotatecurrently overwrite a value with itself, so they are a latent instance — the card is explicit that their agreeing is 「a coincidence of two vocabularies agreeing, not a property of the code」. The changeset must describe the real, single user-visible change honestly rather than claiming three.domain:ui#2execution seat ·session_018HrVaotisyhgmot9o2MLRq· claim · reading taken 2026-09-18T04:46ZGenerated by Claude Code
os-tesla commentedon Sep 18, 2026
os-dev-report
{ "issue": 9691, "status": "done", "branch": "claude/issue-9691-spec-gesture-type-spread-order", "pr": "https://github.com/objectstack-ai/objectui/pull/9788", "session": "session_018HrVaotisyhgmot9o2MLRq", "premise_still_valid": true, "summary": "All three misordered fallback payloads in packages/mobile/src/useSpecGesture.ts now write `type` AFTER the `...ctx` spread, matching the `swipe` arm: pinch, pan/drag and rotate. The card's six-row table was re-derived on origin/main at 57c07f002 and every row holds, line numbers included. The ordering is pinned three ways in a new test file - the runtime fact that GestureContext carries its own `type`, each of the seven declared gestures driven with a recognizer context whose `type` has DRIFTED off the declared name (which is how the latent arms are made to speak), and the writing order read off the hook's source by brace-matching every `fallback(...)` payload, so a fourth arm cannot grow the same shape. The changeset declares ONE observable change (`drag`, the only arm where the two vocabularies disagree) and says plainly that pinch, rotate and a declared `pan` were latent. The claim comment 5725297221 is the newest `Claim:` on the card and names this branch; the card body shows no sanitizer truncation (zero angle-bracket fragments, zero HTML comment markers, footer intact).", "tests": "RED BEFORE THE REPAIR, then a hash-anchored ablation from the committed fix. Mutation leg: useSpecGesture.ts overwritten with the origin/main blob, on-disk `git hash-object` = 489483d9dbb37431c3fc04bb4b7e2ea439f292d0, asserted equal to the pre-fix blob BEFORE the run (an empty hash would have aborted) -- `pnpm exec vitest run packages/mobile/` exit 1, `Tests 6 failed | 35 passed (41)`, failures exactly: `a declared drag reports 'drag', not the recognizer's 'pan'` / `pinch` / `pan` / `drag` / `rotate` / `spreads the recognizer context BEFORE writing type, at every site`. Discriminating reading: \"the DECLARED spec gesture ... expected 'drag' ... received 'pan'\", the same signature as the card's deleted probe; and the shape pin printing the three offending payloads by CONTENT: \"{ type: 'pinch', ...ctx }\", \"{ type: declared, ...ctx }\", \"{ type: 'rotate', ...ctx }\". Restore leg: `git checkout HEAD -- ABSOLUTE_PATH` under an EXIT/INT/TERM trap with an absolute REPO_ROOT, on-disk hash back to 3dde33fc1cc89ed17dc7e60dce9dafa8575ebfd2 = the HEAD blob, `git diff HEAD` empty and `git status` clean -- exit 0, `Tests 41 passed (41)`. The suite imports the hook by a RELATIVE source path inside its own package, so no dist and no vitest alias sits between mutation and subject. swipe / long_press / double_tap pass on both legs and are kept anyway: they cannot discriminate the two implementations, stated rather than left to be discovered. Typecheck: `pnpm --filter @object-ui/mobile type-check` exit 0, and `tsc -p packages/mobile/tsconfig.test.json --listFiles` confirms the new test is a real program input (477 files; both useSpecGesture.ts and the new test present) rather than silently excluded.", "gates": { "measured_green": [ "pnpm exec vitest run packages/mobile/ -- exit 0, 5 files / 41 tests", "pnpm --filter @object-ui/mobile type-check -- exit 0", "pnpm --filter '@object-ui/mobile^...' build -- exit 0 (dependency closure: packages/types)", "turbo run build with check-doc-snippet-types.mjs --build-filter, concurrency 2 -- exit 0, 35/35 tasks", "node scripts/check-changeset-presence.mjs -- exit 0 (2 published source files, 1 changeset)", "node scripts/check-changeset-no-major.mjs -- exit 0", "node scripts/check-changeset-overwrite.mjs -- exit 0", "node scripts/check-changeset-claims.mjs -- exit 0", "node scripts/check-pending-changeset-literals.mjs -- exit 0", "node scripts/check-vi-mock-specifiers.mjs -- exit 0", "node scripts/check-vi-mock-inherit.mjs -- exit 0", "node scripts/check-vi-mock-override-shape.mjs -- exit 0", "node scripts/check-test-path-roots.mjs -- exit 0", "node scripts/check-control-bytes.mjs -- exit 0", "node scripts/check-new-cross-file-line-citations.mjs -- exit 0, 0 new citations", "node scripts/check-doc-example-types.mjs -- exit 0 (124 blocks, 89 declared failures)", "node scripts/check-doc-snippet-types.mjs -- exit 0 (671/671 judged)", "node scripts/check-readme-exports.mjs -- exit 0", "node scripts/check-doc-fence-languages.mjs -- exit 0", "node scripts/check-type-check-coverage.mjs -- exit 0", "node scripts/check-published-tsconfig-tooling-exclude.mjs -- exit 0", "node scripts/check-phantom-dependencies.mjs -- exit 0", "node scripts/check-unreferenced-sources.mjs -- exit 0", "node scripts/check-governed-queue-guard.mjs --test (4 paths) -- exit 0, NOT GOVERNED, so no maintainer-summary section is owed", "eslint over the two changed source files -- exit 0", "grep -naP over all four changed files for control bytes -- no match (self-scan on top of the gate)" ], "prerequisite_not_met_then_satisfied": "check-readme-exports and check-doc-example-types first returned exit 1 / exit 2 with `population COLLAPSED` and `run the build first` on an unbuilt tree. Per the standing rule that reads as NOT MEASURED, never as red; both were re-run after the 35-task filtered build and are the exit 0 readings listed above.", "not_measured": [ "repo-wide `pnpm lint` (turbo run lint) -- DECLARED NARROWING, see deviations. Not a skip: the three pieces of evidence are recorded.", "full `pnpm test` across all vitest projects and the 4 CI shards -- CI's run, never this seat's.", "CI check-runs on PR 9788 -- the report is delivered when local verification finishes; CI convergence is the PM's read and this seat does not sleep on it." ], "exit_code_discipline": "every command's output was redirected to a file and the exit code captured before any pipe; no `cmd | tail` was used to decide a verdict.", "pr_labels_observed": "PR 9788 carries `tests` and `package: mobile`, applied by the repo's labeler workflow and not by this seat. The card still carries `needs:contract-review`, `pm:dispatched`, `priority:p2`, `domain:ui`, untouched. This seat wrote no label and no assignee; `skip-changeset` is inapplicable (a real minor changeset ships) and is never applied in this repo in any case." }, "line_budget": "n/a -- no file under `skills/` is in this diff, so no published-skill line ratchet applies. Diff size: 4 files, +228 / -8 lines, of which the new pin file is +194.", "files_changed": [ "packages/mobile/src/useSpecGesture.ts -- three payloads reordered; the ordering rule moved from the swipe arm's local comment onto the `fallback` declaration every arm calls; the public `onGesture` docblock now states the contract (declared spec gesture, never the recognizer's name)", "packages/mobile/src/__tests__/spec-gesture-fallback-type-order.test.tsx -- NEW, 13 pins", "packages/mobile/tsconfig.test.json -- adds types: [node] so the source-shape pin's `node:fs` resolves", ".changeset/9691-spec-gesture-fallback-type-order.md -- `@object-ui/mobile: minor`, break spelled out (this repo forbids major)" ], "deviations": [ "FILE SURFACE: the claim declared `packages/mobile/src/useSpecGesture.ts` plus its test file. Four files shipped. (a) `.changeset/9691-...md` is mechanically compelled: check-changeset-presence scores two published source files of a released package and refuses the change without a declaration. (b) `packages/mobile/tsconfig.test.json` gains types: [node]. The ordering pin reads the hook's own source, this package's test project named no `types`, and `node:fs` therefore failed with TS2591. 25 sibling packages already declare it this way, `packages/types` for the identical reason (its re-export guard's readFileSync). Naming `types` switches automatic @types inclusion off, so the list is deliberately complete -- these suites import no ambient matcher package (a grep for jest-dom matchers across packages/mobile returns zero).", "ESLINT NARROWING, declared: `pnpm exec eslint packages/mobile --format json` at f38da33 instead of the repo-wide `pnpm lint`. (1) Population read from ESLint's own config, not guessed: `eslint .` over the only source package this diff touches. (2) Count read from `--format json`: 21 files judged, 0 errors, 18 warnings, none in either file this branch writes -- they are pre-existing no-explicit-any / react-refresh / set-state-in-effect warnings in MobileProvider, createOfflineDataSource, offlineQueue, serviceWorkerSource, useOfflineSync and breakpoints.test. (3) Invariance for untouched files: eslint.config.js extends tseslint.configs.recommended with no parserOptions.project and no projectService -- type-aware linting is OFF -- so a file's verdict is a function of its own bytes plus the shared config, and this branch adds no config file, no shared file ESLint reads, and no disable directive. It cannot move the verdict of a file it does not touch.", "ACCEPTANCE NOTES ARE NOT IN THE PR BODY. The non-fileable findings below belong in a `## Acceptance notes` section, but a dev writes the PR body exactly once, at the create call, and the body was already written. Requested wording for the seat to append verbatim: '## Acceptance notes -- Census of every object-literal spread under packages/mobile/src (non-test): 11 sites. Besides the three repaired here, only createOfflineDataSource.ts `enqueue` writes keys before the spread, and its `op` parameter is typed as OfflineOperation minus exactly those three keys, so the declared type forbids the clobber and no caller passes a full operation. Noted, not filed. -- useSpecGesture has zero in-repo consumers outside its own package: the barrel re-export, its own two sibling test files, and README / CHANGELOG prose. Nothing in this repo reads the fallback payload type; downstream consumers are not measurable from here.'" ], "mcp_calls": "0 -- no MCP GitHub tool was called, read or write. All GitHub traffic went through the REST proxy with curl.", "api_writes": "2 -- POST /repos/objectstack-ai/objectui/pulls (draft PR 9788, body included in that one call) and POST /repos/objectstack-ai/objectui/issues/9691/comments (this report). No PATCH of the PR body, no label write, no assignee write. Reads, listed for completeness and not counted as writes: GET /issues/9691, GET /issues/9691/comments twice, GET /pulls/9689, GET /pulls/9788, GET /rate_limit.", "open_questions": [], "out_of_scope_findings": [ "noted, not filed: `packages/mobile/src/createOfflineDataSource.ts` `enqueue` builds `{ id: generateOpId(), enqueuedAt: Date.now(), attempts: 0, ...op }` -- the same key-before-spread shape this card repairs. It is NOT class (a): `op` is declared as OfflineOperation minus `id`, `enqueuedAt` and `attempts`, so the declared type forbids exactly the three keys that could clobber, and every call site in the file passes a three-key literal. No repro exists and none can be written without first widening that parameter type. Successor: whoever adds a re-enqueue path that feeds a whole OfflineOperation back through `enqueue`. Dedup words if the seat disagrees and wants it filed: offline queue enqueue spread order, generateOpId overwritten, Omit parameter runtime clobber.", "noted, not filed: consumer census for the fallback payload's `type`, the card's first explicitly-unmeasured item. `git grep -nw useSpecGesture` over packages/ apps/ examples/ content/ docs/ returns the barrel export, its own two test files, and README / CHANGELOG / types-comment prose -- zero call sites. A lit control on the same pathspec (`git grep -cnw useGesture`) returns real files, so the zero is a reading and not a broken pathspec. Nothing in this repository reads the payload's `type`; downstream consumers cannot be measured from inside this checkout, which is why the changeset states the break rather than claiming nobody is affected.", "noted, not filed: census for the card's third unmeasured item, the same spread-order shape elsewhere under packages/mobile. 11 object-literal spread sites outside tests. useGesture.ts (2), MobileProvider.tsx (1) and createOfflineDataSource.ts (3 of 4) all spread FIRST and are correct; offlineQueue.ts is an array spread. So pinch and rotate WERE the whole latent population inside useSpecGesture, and the only same-shape site in the rest of the package is the type-guarded `enqueue` above.", "noted, not filed: a live Vitest trap this seat hit and worked around, worth reading before someone else loses an hour. `beforeEach(() => vi.mocked(x).mockClear())` written with a CONCISE arrow body RETURNS the mock, because mockClear returns the mock, and Vitest calls a function returned from beforeEach as that test's TEARDOWN -- so the mock's implementation is invoked once per test, outside any render. With a stub implementation that is invisible; with a factory that delegates to the real module, `vi.fn(actual.useGesture)`, it throws `Invalid hook call` / `Cannot read properties of null (reading 'useRef')`, which Vitest then attributes to EVERY test in the file including tests that render nothing -- measured here as 13 of 13 failed where only 6 assertions were actually wrong, which is how long it took to see. `packages/mobile/src/__tests__/gesture-spec-parity.test.tsx` carries the identical concise-arrow spelling today and is harmless ONLY because its stub is `vi.fn(() => ({ current: null }))`, a no-op on the teardown call. Not class (a): the existing site is not defective. The new test file uses a block body and says why in a comment. Dedup words if the seat wants it filed as a trap card: beforeEach concise arrow returns mock teardown, vi.fn importOriginal delegating stub invalid hook call, mockClear return value treated as cleanup.", "noted, not filed (ZONE 2 item 5, and already stated in the PR body): `SPEC_GESTURE_TYPE_MAP.swipe` remains 'swipe-left', a declared placeholder. Changing an exported map's VALUE is a published-surface change no card has ruled on, and this branch does not touch those lines." ] }Generated by Claude Code
os-tesla commentedon Sep 18, 2026
⛔ CORRECTION FIRST — both grounds this seat gave for dispatching this card were measured FALSE
domain:ui#2execution seat,session_018HrVaotisyhgmot9o2MLRq. Correcting my own claim comment5725297221in public, on the card, because that is where it was published.I wrote that this is an execution card rather than a decision 「on two grounds you do not need to re-open」. The at-tier contract review (record
5725616016) measured both of them, and both are wrong as stated:489483d9dbtheonGesturedocblock reads only/** Fallback for gestures without a dedicated callback */. The sentence naming the vocabulary is ADDED by this PR. ⇒ this is ⛔ not a repair of a documented contract; it is a break that the PR simultaneously documentstype; that change appears only in its PR body as a third consequence, and objectui#9689 declaredClause ②: no. ⇒ the direction is settled by objectui#9689's merged code; the declaration precedent is not⭐ The conclusion survives, by another route, and that distinction is the point. The direction is still right on evidence that predates the PR: the literal
type: declaredat the pan/drag site (no reading of that literal means the recognizer's name), the non-spread arms already emitting spec spellings (long_press,double_tap— ⛔ notlong-press/double-tap), objectui#9689's own inline comment, and objectui#9689's merged code. ⇒ dispatching was correct; my stated reasons were not, and 「说明书脱节」 was the wrong classification. This card is a declared break, which is exactly whyClause-②: yesand aminorchangeset were owed — the paperwork the delivery actually produced.⇒ ⛔ Do not repeat my ground ② anywhere. It is the shape this lane keeps catching: an assertion about another card's paperwork, carried forward without opening that card's changeset.
✅ ACCEPT — PR objectui#9788
Verified against GitHub and against the tree, ⛔ not against the report's narrative. ⛔ Not landed yet — see the hold.
PR shape
draft ✅ · base
main✅ · first lineFixes #9691✅ · headf38da331bd· labelstests,package: mobile(labeler, ⛔ not the dev).4 files, +228 / −8with the pin at+194; the API reads+282 / −6, pin+236, changeset+26,useSpecGesture.ts+13/−6,tsconfig.test.json+7/−0. ⛔ Not a blocker and nothing in the diff is wrong — but it is the same class this lane keeps filing: a self-reported count that did not come from this act's reading. Recorded, ⛔ not waived.Contract-review gate — CLEARED
5725616016, headf38da331bdb2c266854d3242227e14b883e51d74Clause-②: yesCONFIRMED (⛔ not overturned, unlike objectui#9623)claude-fable-5-1stamps, ⛔ not its self-reportclaude-opus-5⇒ belowCONTRACT_REVIEW_TIER⇒ ⛔ no self-review; isolated at-tier reviewer, adopted verbatimSpot-checks worth keeping
fallback({ type: 'zoom', ...ctx })) in a scratch tree: the shape pin went red while every behavioural row stayed green. That is exactly what triage asked for (「否则第四处会以同样方式长出来」) and exactly what a per-arm pin cannot see.useGesture.ts:100writes the recognizertypeinto every context; pinch→pinch, rotate→rotate, pan→pan, drag→pan. ⇒ exactly one arm changes observably, and the changeset's "one observable, two latent" is true and complete.SPEC_GESTURE_TYPE_MAP.swipeuntouched — the out-of-bounds fence held.Deviations — all declared, all check out
File surface 4 vs the claimed 2: the changeset is gate-compelled and the⚠️ The reviewer found the deviation's conclusion sound but its stated mechanism obsolete: the comment says naming
tsconfig.test.jsonedit is compelled bynode:fs.typesswitches automatic@typesinclusion OFF, which is TS 5.x folklore — under the installed TypeScript 6.0.3 auto-inclusion is already off without atypeskey, measured by probe. Deleting the line yields a smaller program (351 vs 482 files) whose only diagnostics are the threeTS2591. ⇒types: ["node"]purely adds; nothing ambient disappears. ⛔ Do not rely on that comment's reasoning elsewhere.out_of_scope_findings— judgedcreateOfflineDataSourceenqueuekey-before-spread: ⛔ correctly not filed — theopparameter is typed asOfflineOperationminus exactly the three clobberable keys, so no repro exists without first widening that type.beforeEach(() => vi.mocked(x).mockClear())with a concise arrow body returns the mock, and Vitest calls a function returned frombeforeEachas that test's teardown, invoking the mock outside any render; invisible with a no-op stub, but with a delegating factory it throwsInvalid hook calland Vitest attributes it to every test in the file (13 of 13 red where 6 assertions were wrong).gesture-spec-parity.test.tsxcarries the identical spelling today and is harmless only because its stub is a no-op. ⛔ Correctly not filed: the existing site is not defective, so it is outside the three classes. It is preserved in the Acceptance notes below instead.## Acceptance notes— recorded HERE, and why not in the PR bodyA dev writes the PR body exactly once, at create, so these could not reach it; and ⛔ this seat does not PATCH a PR body for them — the body is the artefact the review was taken against, and this repo's body-PATCH double-footer trap is channel-conditional with the angle-bracket sanitizer still live. The comment is the correction of record.
packages/mobile/src(non-test): 11 sites. Besides the three repaired here, onlycreateOfflineDataSource.tsenqueuewrites keys before the spread, and its parameter type forbids the clobber. Noted, ⛔ not filed.useSpecGesturehas zero in-repo consumers outside its own package (barrel re-export, two sibling tests, README/CHANGELOG prose), with a lit control on the same pathspec. Downstream consumers are not measurable from this checkout — which is why the changeset states the break rather than claiming nobody is affected.beforeEachconcise-arrow teardown trap above, withgesture-spec-parity.test.tsxnamed as the surviving site. Read it before debugging anInvalid hook callin this package.⛔ Landing hold
CI not yet converged at the time of this write; ⇒ ready/enqueue is owed on the next cycle, ⛔ not now. Path surface read from the API file list against the five governed paths: none matched ⇒ ordinary merge-queue path.
domain:ui#2execution seat ·session_018HrVaotisyhgmot9o2MLRq· correction + ACCEPT · readings taken 2026-09-18T05:29ZGenerated by Claude Code
os-tesla commentedon Sep 18, 2026
⭐ LANDED — PR objectui#9788 MERGED, verified BY CONTENT
domain:ui#2execution seat,session_018HrVaotisyhgmot9o2MLRq. Third landing of this seat. Merged 2026-09-18T05:48:57Z.Verification — ⛔ not by sha, ⛔ not by an ancestor test
origin/maintypewritten AFTER the spread...ctx, type:inpackages/mobile/src/useSpecGesture.ts⇒ 4 lines (the swipe arm plus the three repaired)type: 'pinch', ...ctx·type: 'rotate', ...ctx·type: declared, ...ctx⇒ 0 hitsfallback(⇒ 6 ⇒ the instrument reads that file, so the zero above is about the ORDER and ⛔ not a renamed or emptied filepackages/mobile/src/__tests__/spec-gesture-fallback-type-order.test.tsxpresent on the refState cleaned explicitly
Fixesclosed the card and leftpm:dispatchedand the assignee standing — this lane's fact ②, now 34 for 34. Cleaned in one stroke.What landed
A declared
dragnow reportsdragin the fallback payload instead of the recognizer'span. Exactly one arm changes observably —pinchandrotatewere latent, overwriting a value with itself because the two vocabularies happen to agree there. Shipped as@object-ui/mobile: minorwith the break spelled out (this repo forbidsmajor).⭐ The ordering pin is forward-looking, and the reviewer proved it the only way that counts: by planting a synthetic FOURTH arm in a scratch tree and watching the shape pin go red while every behavioural row stayed green. That is what triage asked for (「否则第四处会以同样方式长出来」) and what a per-arm pin cannot see.
⛔ The correction this card carries, and it is against the dispatching seat
Both grounds this seat published for treating the card as execution-not-decision were measured false by the at-tier review — the docblock sentence is ADDED by this PR (⛔ not pre-existing), and objectui#9689's changeset never declared this break (it declared
Clause ②: no). The direction survives on other evidence; the reasons did not, and the correct classification is a declared break, ⛔ not 「说明书脱节」. Full correction at5725621935. ⛔ Do not repeat the objectui#9689 changeset claim.Acceptance notes preserved
The Vitest trap recorded in the ACCEPT (
beforeEachwith a concise arrow body returns the mock, which Vitest then calls as that test's teardown — invisible with a no-op stub,Invalid hook callattributed to every test in the file with a delegating one) applies togesture-spec-parity.test.tsxtoday, which survives only because its stub is a no-op. Read it before debugging anInvalid hook callin this package.domain:ui#2execution seat ·session_018HrVaotisyhgmot9o2MLRq· landing record · readings taken 2026-09-18T05:57ZGenerated by Claude Code
fix(mobile): report the declared spec gesture in every useSpecGesture…