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
@@ -128,17 +128,29 @@ final class OfficialSkillCatalogTests: XCTestCase {
let migrated = store.agentSkillLayout
// What this test is named for: the v2 → current ladder installs the
// cached official transform skill, exactly once.
XCTAssertEqual(
migrated.enabledIDs,
[
AIClipboardSkillCatalog.replyID,
AIClipboardSkillCatalog.openLinkID,
AIClipboardSkillCatalog.summarizeWebPageID,
AIClipboardSkillCatalog.callPhoneID,
AIClipboardSkillCatalog.createContactID,
"official.rewrite"
]
migrated.enabledIDs.filter { $0 == "official.rewrite" }.count,
1,
"cached official transform skill must be installed exactly once"
)
// A layout the user already had must survive the migration intact.
XCTAssertEqual(migrated.enabledIDs.first, AIClipboardSkillCatalog.replyID)
XCTAssertEqual(
Set(migrated.enabledIDs).count,
migrated.enabledIDs.count,
"migration must not duplicate any skill"
)
// The "once" half: re-reading adds nothing further now that the stored
// migration version has caught up.
//
// Deliberately NOT asserting the full built-in list here. Which
// built-ins each ladder step adds is the ladder's own business (covered
// by the version-specific tests above); freezing the whole list in this
// test is exactly what rotted it when a later step was appended.
XCTAssertEqual(store.agentSkillLayout.enabledIDs, migrated.enabledIDs)
}
func testValidationRejectsWholeInvalidSnapshot() {