Repository navigation
Conversation
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on b2b339d. The verdict and the full list are in the summary comment.
There was a problem hiding this comment.
1 issue found across 29 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="packages/contracts/src/interaction.ts">
<violation number="1" location="packages/contracts/src/interaction.ts:331">
P3: `SwipeCommandResponseData.pattern` is typed `string`, which accepts values the swipe command never returns. Use the existing `SwipePattern` type from `scroll-gesture.ts`, as the sibling contract files do.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 finding moved to a new line on f3113f6. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
No blocking code problem was found at 06c2698, but readiness evidence is still pending: the Not blocking: these can be taken or left: share one owner for the baseline and observe steps and generic settle, including its cancel, session-ended and Android-overlay rules; accept that plain swipes and gestures now preserve the daemon on timeout, as the PR body states, or apply that policy only with Could scroll, back, swipe and gesture share one settle baseline helper and one observe helper, in None of the earlier threads still applies, so they can be resolved: help now says the wait follows the final repetition; result map typing no longer includes swipe or gesture; open record types are gone from that map; outdated surface handling now matches generic settle; the swipe schema uses an enum; ADR 0013 now defines the behavior; and a failed observation now keeps the completed action result. The cancelled Not verified here: tests and device behavior were not run. The reported live run used 0e198907d0, which is not an ancestor of this head, and its match with this head was judged only from the diff of the gesture handler. The SDK swipe settle flags were not traced end to end, and no SDK or MCP Before merge, |
|
Body rules passed on I’d keep the route adapters separate here. They already share baseline selection, the settle engine, and ref issuance. Back and scroll can bind capture after the action, while swipe and gesture reuse the gesture’s binding. Sharing the result projection also needs an explicit decision about how back and scroll should report cancellation, session end, and Android overlays. Expected observation failures already return an unsettled verdict. If the observation itself unexpectedly rejects, this PR returns the completed action result without inventing capture counts. |
|
Thanks, that settles both points at 06c2698. Body rules now passes, so all 21 checks are green. The design answer gives the reason to keep the route adapters separate: they already share baseline selection, the settle engine and ref issuance, and a shared result projection would first need a decision on how back and scroll report cancellation, session end and Android overlays. Nothing else blocks this review. |
Summary
Closes #4571. Add opt-in
--settletoswipeand supportedgestureactions across CLI, SDK, and MCP. The quiet wait starts after the final successful repetition and compares against the last observed tree. Plain gestures keep their capture budget. Gesture timeouts use the existing settle-capable daemon recovery policy.Before / after
Base refuses the flag. Head keeps the completed action result if the observation fails. When a settle diff issues refs, it includes their generation.
Validation
06c26989b4,pnpm check:affected --run --head HEADpassed at the exact commit (run-AEDA1F). The routed regression reproduces the false action failure before the fix.0e198907d0on iOS 27.0 and Android 17. With matched 500 ms quiet windows, median no-effect iOS fling time fell from 4,975 ms and 16 tree reads onc0b1d7a4a8to 2,235 ms and five reads (eight trials per arm). Changing pan returned usable refs on both targets. Repeated swipes retained stabilization.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.