ワンクリックで
sync-parity-worker
Extends ADE desktop sync contracts, shared payloads, and iOS models/services when tab parity requires backend work
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Extends ADE desktop sync contracts, shared payloads, and iOS models/services when tab parity requires backend work
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Autonomous PR-to-merge loop. Polls CI and review bots, fixes failures, rebases only on real conflicts, and lands the PR on main. Soft cap of 5 normal iterations plus one force-finalize iteration that bypasses review and fixes only CI. Pure loop — it does NOT run /quality or /test; run those first. Full phase logic lives in docs/playbooks/ship-lane.md.
ADE release conductor: detect whether desktop and/or iOS actually changed, bump desktop patch versions, keep iOS marketing versions fixed while bumping build numbers, ship desktop through the GitHub Actions release workflow, and distribute TestFlight builds to all beta users.
Use this skill when an agent needs to inspect or operate ADE itself through the `ade` CLI, including lanes, chats, actions, proof, runtime/socket state, or help/flag discovery.
Use this skill when creating, inspecting, syncing, committing, pushing, archiving, or rebasing ADE lanes and lane worktrees through `ade lanes` and `ade git`.
Use this skill when using ADE's built-in browser pane, shared browser tabs, screenshots, page inspection, or browser context selection through `ade browser`.
Prove the new code works: enforce the logging/PostHog ground truth, prune dead tests, consolidate fragments, add only tests that prove new contracts, turn each /quality Blocker/High finding into a named regression test, then run CI-mirrored shards. Also keeps docs/mobile/CLI/TUI parity in lockstep.
| name | sync-parity-worker |
| description | Extends ADE desktop sync contracts, shared payloads, and iOS models/services when tab parity requires backend work |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use this skill when a feature requires changes outside pure SwiftUI/UI work, including:
apps/desktop/src/main/apps/desktop/src/shared/SyncService.swift, RemoteModels.swift, or Database.swiftDo not use this skill for pure SwiftUI refactors or visual polish that can stay entirely inside the iOS app.
Read the feature description, then:
mission.md and AGENTS.md.factory/library/architecture.md, .factory/library/tab-parity.md, and .factory/library/user-testing.mdList every file you expect to change, grouped by layer:
RemoteModels / SyncService / DatabasePrefer additive, backwards-compatible payload changes unless the feature specifically requires replacement.
Add or update the smallest targeted tests first:
ADETests.swift coverage for decoding, filtering, caching, or navigation-request logicThe new or changed tests should fail before implementation.
Implement across all required layers:
RemoteModels.swift and SyncService.swift to match exactlyDatabase.swift projections/caching only when the feature needs offline or cached behaviorParity work must not break cached reading or offline gating.
Run the relevant desktop and iOS checks:
npm --prefix apps/desktop run typecheck
npm --prefix apps/desktop run test -- --maxWorkers=7
npm --prefix apps/desktop run build
xcodebuild build -project apps/ios/ADE.xcodeproj -scheme ADE -destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=26.3.1' -quiet
xcodebuild test -project apps/ios/ADE.xcodeproj -scheme ADE -destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=26.3.1' -quiet
If the feature only touches a narrow desktop surface, run the tightest relevant test subset first, then finish with the broader required checks.
Before handing off:
Commit with a message describing the parity contract or sync-host extension that was added.
{
"salientSummary": "Extended the desktop PR snapshot payload with ordered stack members and explicit live-action capability flags, then wired the new fields through RemoteModels/SyncService and iOS tests. Desktop and iOS validations passed, and the PRs tab now has the data needed for mobile stack visibility and clean offline gating.",
"whatWasImplemented": "Added stack-member and capability metadata to the desktop PR hydration path, updated shared typings and the iOS RemoteModels decoder, taught SyncService to persist the new snapshot fields, and added targeted desktop/iOS tests covering snapshot generation and decoding. The UI was only touched enough to compile against the new payload shape; the remaining PR presentation work stays with the iOS worker.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "npm --prefix apps/desktop run typecheck",
"exitCode": 0,
"observation": "Desktop TypeScript contracts compile cleanly"
},
{
"command": "npm --prefix apps/desktop run test -- --maxWorkers=7",
"exitCode": 0,
"observation": "Desktop Vitest suite passed with the new PR payload coverage"
},
{
"command": "xcodebuild test -project apps/ios/ADE.xcodeproj -scheme ADE -destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=26.3.1' -quiet",
"exitCode": 0,
"observation": "iOS tests passed with new decoding/caching assertions"
}
],
"interactiveChecks": [
{
"action": "Compared the desktop snapshot payload shape against RemoteModels and SyncService usage",
"observed": "All new fields decode and persist cleanly; no silent capability fallthrough remains"
}
]
},
"tests": {
"added": [
{
"file": "apps/desktop/src/main/services/prs/prService.test.ts",
"cases": [
{
"name": "includes ordered stack members in mobile PR snapshot",
"verifies": "The desktop host emits stack-member metadata expected by the mobile PR surface"
}
]
},
{
"file": "apps/ios/ADETests/ADETests.swift",
"cases": [
{
"name": "testPullRequestSnapshotDecodesStackMembersAndCapabilities",
"verifies": "The iOS model and SyncService can decode the new PR snapshot fields"
}
]
}
]
},
"discoveredIssues": []
}