ios: give synthesized text entry back-pressure from the field instead of a fixed characters-per-second bound
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, typescript
調査の方向性
Start with the synthesized-first-responder-replacement route and the --agent-device-text-entry-async-value-write fixture, then inspect TextEntryTiming.synthesizedCommitCeiling and the existing lane test. Done means back-pressure prevents truncation, the test ends with the exact value or a typed collision reason, and representative 11-, 60-, and 240-character timings are recorded in the PR.
索引モデルが issue の本文から書いたものです。
説明
Purpose
#2904 bounds the synthesized replacement burst at 12 characters/second so a field whose app owns its value can acknowledge it. A fixed pace is a trade, not a fix: the burst's wall clock is now linear in the text at ~83 ms per character, so fill loses throughput on long fields, and an app slower than one character interval still wins the race.
Required behavior
Text entry gets back-pressure from the field instead of a guessed constant: the runner keeps characters queued while the field keeps making progress and slows or stops when it does not, so
- a long
fillcosts roughly what the app can absorb rather than a fixed 83 ms per character, - an app whose write-back takes longer than one character interval at the current pace cannot silently truncate the value — the command either completes the text or fails with a typed reason naming the collision,
- no
fillreaches the runner's 45 s command budget for text a healthy host could have typed sooner.
Observable completion conditions
- Measured end-to-end
filldurations for representative text lengths (11 / 60 / 240 characters) on the same Simulator, before and after, recorded in the PR. - A lane test on the
--agent-device-text-entry-async-value-writefixture with a write-back slower than the shipped character interval (~150 ms), which #2904 documents as still corrupting a burst, ends with either the exact value or the typed collision reason. TextEntryTiming.synthesizedCommitCeiling's note about the pace's cost upstream of the ceiling is replaced by whatever the new mechanism owns.
Evidence
iPhone 16 Simulator, iOS 26.2, clean app (no write-back fixture), fill through the synthesized-first-responder-replacement route at 12 characters/second: 11 characters 2.2 s, 60 characters 6.7 s, 150 characters 13.6 s, 240 characters 21.1 s. Delivery completes inside the synthesize call, so the 10 s commit ceiling is not the binding limit; the 45 s command budget is, at roughly 500 characters.
Dependencies
Related: #2903 (the verified element route, same app behaviour, no pace bound at all). Supersedes the fixed constant in #2904 when it lands.
- 主要言語
- TypeScript
- スター
- 4.7k
- フォーク
- 304
- 平均マージ
- 11時間 29分
- マージ済み PR(30日)
- 514
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
-
needs-triage
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
callstack/agent-device#2948 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
callstack/agent-device#2946 ·
-
needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
callstack/agent-device#2940 ·
-
bug ready-for-agent
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
callstack/agent-device#2935 ·
callstack/agent-device の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100