Skip to content

SwoopCloudKit 1.0.0-alpha.1: native CloudKit reader for Swoop release data - #1

Merged
leogdion merged 16 commits into
mainfrom
simulator
Nov 26, 2026
Merged

leogdion merged 16 commits into
mainfrom
simulator

Conversation

@leogdion

@leogdion leogdion commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

First release of SwoopCloudKit (was BushelCatalog): the read-only native-CloudKit reader for the Swoop release data. Developed inside Stewed as a git subrepo.

What's in it

  • Seeded from Bushel's BushelCloudKitDebug: the public-database query, the account-status check, and CKRecord → SwoopKit mappings for SDKVersionRecord, XcodeVersionRecord, SimulatorRuntimeRecord and RestoreImageRecord.
  • Release-data snapshot: ReleaseDataSnapshot, the versioned cache file (ReleaseDataCacheFile, ReleaseDataCacheError) and CloudKitReleaseCatalog.fetchSnapshot(now:). These work on Linux, outside #if canImport(CloudKit).
  • Container: iCloud.com.brightdigit.Swoop by default (was iCloud.com.brightdigit.Bushel, brightdigit/Stewed#163).
  • Scaffolding: CI (macOS and Linux lanes), swift-format and SwiftLint, a DocC catalog, and .spi.yml.

From brightdigit/Stewed#124, brightdigit/Stewed#153, brightdigit/Stewed#160 and brightdigit/Stewed#175.

Modernized (Nov 2026, in step with SwoopKit simulator)

  • Package.swift depends on SwoopKit's simulator branch by URL (from Stewed eaaa3f6), with Package.resolved; .github/actions/setup-swoopkit, SWOOPKIT_BRANCH and skip-package-resolved are gone.
  • CI: Swift 6.4 release images (swift:6.4-noble, -jammy for the full matrix), Xcode 27.2 on xcode-27, lint pinned to ubuntu-24.04 (ubuntu-latest lacks libxml2.so.2). CodeQL removed: it can't analyze Swift 6.4.
  • check-unsafe-flags and the devcontainer use swift:6.4-noble; Claude workflows, cleanup-caches.yml and Scripts/lint.sh match SwoopKit's; project.yml / make xcode removed.
  • AGENTS.md with CLAUDE.md and .claude symlinks, plus .agents/ notes and memory.
  • No public API changes.

Before tagging

  • Replace .package(url: "https://github.com/brightdigit/SwoopKit.git", branch: "simulator") with from: "<SwoopKit tag>" and refresh Package.resolved. A tag can't depend on a branch.
  • Open the mirror issue linking brightdigit/Stewed#28.
  • Tag (suggested 1.0.0-alpha.1)

Merging

  • Use "Create a merge commit", not squash. Stewed vendors this package with git subrepo, and its .gitrepo points at commits on simulator; a merge commit keeps them reachable from main and the tag.
  • Tag after merging; Stewed then switches from the vendored copy to this tag (brightdigit/Stewed#108, SPEC §3.4 exit rule).

🤖 Generated with Claude Code

leogdion and others added 5 commits October 22, 2026 09:08
Copies the RestoreImage query, account-status check, RestoreImageRecord
mapping and CKRecord value helpers from Bushel v3.0.0-alpha.3 (46b6240).
Leaves out the SwiftUI debug views and the ImageMetadata derivation, which
need Bushel's app modules. Depends on BushelKit by path on this branch.

Refs #8

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… (#153)

* Rename BushelCloud to SwoopMistKit and BushelCatalog to SwoopCloudKit

The release-data packages are named Swoop + the framework each is
built on (SwoopKit already holds the records):

- Packages/BushelCloud -> Packages/SwoopMistKit (MistKit, i.e.
  CloudKit Web Services). Library and module SwoopMistKit (was
  BushelCloudKit), CLI target SwoopMistKitCLI, executable `swoopmist`
  (was `bushel-cloud`), tests SwoopMistKitTests. BushelCloudKitService
  and BushelCloudKitError are SwoopMistKitService and
  SwoopMistKitError. The DocC catalog, README, CLAUDE.md, scripts and
  the subrepo's own workflows follow.
- Packages/BushelCatalog -> Packages/SwoopCloudKit (native CloudKit).
  Package, module and tests renamed; Stewed's packages, Project.swift
  and StewedTools import SwoopCloudKit.

Unchanged on purpose: the upstream repos and each .gitrepo remote
(brightdigit/BushelCloud, brightdigit/BushelCatalog) until the
maintainer renames them; CloudKit identifiers (container, record
types, schema.ckdb); the BUSHEL_SYNC_* environment variables and the
BushelCloud.env file name; the subrepo's .claude/, .agents/ and
LINTING_PROGRESS.md notes; release notes and other history.

The Makefile, CI, .swiftlint.yml excludes, SPEC (with a naming note
in §3.4; history keeps the old names), CLAUDE.md, agent-notes and the
memories use the new names. bushelcloud-local-sync.md is now
swoopmistkit-local-sync.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* planned-refactors: items 1 and 2 done; merge notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…search notes (#160)

* Research notes: automated screenshots and beta distribution

docs/research/automated-screenshots.md compares XCUITest, fastlane snapshot,
ImageRenderer/snapshot testing and screencapture for website screenshots.
docs/research/beta-distribution.md is the beta.1 gap analysis (also #158).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* SwoopKit: standard BrightDigit package scaffolding and DocC

CI (pull_request only), CodeQL, lint/format configs, mise, Scripts, Makefile,
README, CLAUDE.md and a DocC catalog built by Scripts/docc.sh without
swift-docc-plugin. No Codecov. Doc comments and test lint fixes only; no API
or behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* SwoopCloudKit: standard package scaffolding, DocC and Linux CI

Same scaffolding as SwoopKit, macOS-only Apple lanes plus an Ubuntu lane for
the non-CloudKit code (CloudKit stays behind #if canImport(CloudKit)).
setup-swoopkit swaps ../SwoopKit for the simulator branch in CI. DocC catalog
with reading and caching articles. Tools 6.4, MIT headers, lint fixes and a
partition helper split out; no API or behaviour change. No Codecov.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* DocC catalogs for StewedKit, StewedApp and StewedTools modules

Landing pages for StewedKit, StewedMocks, StewedUI, StewedServices,
StewedFeatures, StewedApp and ReleaseDataSnapshotExport, with articles on
matching and status, deleting runtimes, the command model and the delete
flow. Six cross-module symbol links become code voice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Agent notes and memory: no Codecov, required renames, screenshots

Directives: no Codecov; upstream repo renames before a release merges into
main; SwoopCloudKit stays Linux-buildable. Memory: package scaffolding and
screenshot decisions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Agent notes: keep code in the Swift packages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* SwoopMistKit, SimulatorServices: drop Codecov

Remove the Codecov upload steps, codecov.yml and the badges. SwoopMistKit
keeps its swift-coverage-action steps that enforce minimum-coverage: 70;
SimulatorServices' coverage steps only fed Codecov, so they go too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…7, #161) (#169)

* Subrepos: parents in the rewritten history, renamed remotes (#108, #157, #161)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Subrepos: add SwoopKit (brightdigit/SwoopKit, simulator) (#108)

git subrepo init --remote=https://github.com/brightdigit/SwoopKit.git --branch=simulator Packages/SwoopKit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* References: renamed upstream repos and SwoopKit subrepo (#157, #161, #108)

Live links in READMEs, SPEC §3.4, SwoopMistKit's CLAUDE.md, sync setup
doc and rebase skill now use brightdigit/SwoopMistKit and
brightdigit/SwoopCloudKit. Memory notes record the new push order and the
parent fix. History (PR/issue refs, release notes, research) is unchanged;
the BushelCloud.env file name stays a separate decision (#157).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* CLAUDE.md: SwoopKit is a subrepo now (#108)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Release data moves to iCloud.com.brightdigit.Swoop (#163)

The container ID changes in the entitlements, the fastlane signing check,
SwoopCloudKit's defaults, SwoopMistKit's config, schema script and sync
workflows, StewedTools' export and the docs. The bundled snapshot is still
from the old container until the new one is synced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bundled snapshot from iCloud.com.brightdigit.Swoop (#163)

Re-exported after the new container's Development sync: 701 SDKVersion,
395 XcodeVersion, 354 SimulatorRuntime, as before. 143 XcodeVersion records
now carry minimumMacOS from the full sync.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

leogdion and others added 11 commits November 25, 2026 10:08
Carries over Stewed eaaa3f6: Package.swift uses the SwoopKit repo's
simulator branch instead of the sibling path, adds Package.resolved,
and updates README/CLAUDE.md wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
Linux lanes use the swift:6.4-<os> release images instead of the
swiftlang nightly, the Apple lanes and docs pin Xcode 27.2, and lint runs
on ubuntu-24.04 (ubuntu-latest lacks libxml2.so.2 for SwiftLint).
Package.swift now depends on SwoopKit by URL, so the setup-swoopkit
action, SWOOPKIT_BRANCH and skip-package-resolved go away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
- check-unsafe-flags and the devcontainer use swift:6.4-noble.
- claude-code-review.yml and claude.yml match SwoopKit's (code-review
  plugin); cleanup-caches.yml already did.
- Scripts/lint.sh matches SwoopKit's: drops the Xcode-only LINT_MODE and
  SRCROOT handling and finds swift-format in remote sessions.
- Remove project.yml and `make xcode` (the XcodeGen Lint target), as
  SwoopKit did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
- CLAUDE.md becomes AGENTS.md, with CLAUDE.md -> AGENTS.md and
  .claude -> .agents symlinks, as in SwoopKit. Drop the setup-swoopkit
  paragraph and the nightly-image and CodeQL wording; describe the
  release images, Xcode 27.2 and the ubuntu-24.04 lint pin.
- Add .agents/agent-notes.md and .agents/memory/ (with the CI runner
  image notes), documented in AGENTS.md.
- README: drop "(snapshots)" from the SPM badge and the setup-swoopkit
  note, and point at AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
…test suites on Platform

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A top-level Resources folder in the test bundle made codesign reject it
on iOS ("bundle format unrecognized"), failing the iOS CI lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SwoopKit simulator 3269bbe -> 0d261e7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXnzajthpcaUuQti1ESF
Pin SwoopKit `from: "1.0.0-beta.1"` (same tree as the simulator branch)
and refresh Package.resolved for SwoopKit only. Update docs that named
SwoopKit's branch or the never-tagged 1.0.0-alpha.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leogdion
leogdion changed the base branch from main to v1.0.0-alpha.1 November 26, 2026 16:19
@leogdion
leogdion changed the base branch from v1.0.0-alpha.1 to main November 26, 2026 16:19
@leogdion
leogdion marked this pull request as ready for review November 26, 2026 16:30
@leogdion
leogdion merged commit ca848b0 into main Nov 26, 2026
14 of 15 checks passed
@leogdion
leogdion deleted the simulator branch November 26, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant