chore: snapshot uncommitted local work before rebasing onto cloud-agent

Safety commit so the 94 uncommitted files in the working tree (in-flight
Account/Mac/Tip work plus the feature-preview recording tooling) survive the
move onto cursor/cloud-agent-1787824905651-vxuwc.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 11:28:07 -07:00
co-authored by Claude Opus 5
parent 39002336c0
commit 5d51c5bf77
101 changed files with 3629 additions and 1354 deletions
@@ -159,6 +159,12 @@ public enum EnglishQWERTYProximity: Sendable {
) -> Int {
let aCount = source.count
let bCount = target.count
// `1...count` traps on an empty operand. Current callers filter empties
// out via the `delta <= 2` gate, but this is a public entry point — an
// empty word has no proximity cost, so fall back to pure insert/delete.
guard aCount > 0, bCount > 0 else {
return max(aCount, bCount) * insDelCost
}
var previous = Array(0...bCount).map { $0 * insDelCost }
var older = previous
for i in 1...aCount {