Repository navigation
Conversation
Documents the git-trees workflow for squashing mistkit and subrepo onto a release branch with CI-only integration changes. Co-authored-by: Cursor <cursoragent@cursor.com> Add agent skills and skills-lock manifest Vendor mattpocock/skills into .agents/skills with .claude/skills symlinks for code-review, handoff, research, grilling, and related workflows. Co-authored-by: Cursor <cursoragent@cursor.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>
… a warning (#174) (#176) Every BUSHEL_* variable is SWOOP_* now; per-source and global fetch intervals get SWOOP_FETCH_INTERVAL_* keys. LegacyEnvironment copies an old BUSHEL_X to SWOOP_X when SWOOP_X isn't set and the loader prints a deprecation warning. The env file is SwoopMistKit.env in the docs and Makefile. CLOUDKIT_* is unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedToo many files! This PR contains 214 files, which is 114 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This organization's CodeRabbit subscription is cancelled. Resubscribe in Billing to continue reviews beyond the free-tier limit.
|
Review of #44 (BushelCloud → SwoopMistKit rename + simulator sync)This is a very large PR (181 files, about +27.9k/−1k). I sampled it rather than reading every line. I looked at Blocking before tagging
Code observations
Security
Performance and robustness
Tests
Housekeeping
Overall the structure and safety defaults look thoughtful. My main concerns are the dependency and CI situation, the stale docs, and test coverage for the new sync logic. 🤖 Generated with Claude Code |
…08) (#181) SwoopMistKit was the last package depending on BushelKit, a leftover from when it was BushelCloud. It now has its own DataSource, DataSourceFetcher, FetchConfiguration, Formatters, Loggable/SwoopLogging (on FelinePine) and an internal VirtualBuddySig, so Packages/BushelKit is gone. FetchConfiguration.loadFromEnvironment reads SWOOP_FETCH_INTERVAL_* now, with BUSHEL_* still accepted through LegacyEnvironment like every other variable since #174. Tagging order drops to SwoopKit -> SimulatorServices -> SwoopCloudKit -> SwoopMistKit. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ReviewThis is a large PR (+28.5k/−1.1k). I read the manifest, the delete path, the legacy env migration and the CI changes. I did not build it or read every new data-source file. Blockers / things to confirm
Code notes
TestsThere is a new SecurityI found no secrets handling issues. The key IDs and PEM validators are only renamed. The Use a merge commit, as you noted. |
SwoopKit moves from `path: "../SwoopKit"` (which only resolved inside Stewed's Packages folder) to brightdigit/SwoopKit branch `simulator`, as Stewed did in eaaa3f6. MistKit moves from 1.0.0-beta.4 to its `mistico` branch. MistKit's FieldValue now carries an Arity (`.string(.value(x))` or `.string(.list(xs))`), so the CloudKit field mappings, the export filters and the tests construct and match `.value(...)`, and the list check uses `isList`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
Only ExistentialAny and InternalImportsByDefault stay; the experimental features and the commented unsafeFlags block go. MemberImportVisibility and FullTypedThrows aren't needed to build. Adds swiftLanguageModes [.v6] and moves to 2-space indentation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
SwoopMistKit.yml follows SwoopKit.yml: pull_request and workflow_dispatch triggers, the swift:6.4 release images, Xcode 27.2 with its 27.2 simulators (iPhone 18 Pro, Apple Watch Ultra 4 (49mm), Apple TV 4K (4th generation), Apple Vision Pro), lint on ubuntu-24.04, and a Documentation job. The MISTKIT_BRANCH / setup-mistkit steps and skip-package-resolved go now that MistKit and SwoopKit resolve by URL, and so does the commented Windows block. Scripts/docc.sh (from SwoopKit) builds the catalog with --warnings-as-errors, so the catalog's links to symbols that aren't public in SwoopMistKit (SwoopKit's records, MistKit's CloudKitRecord, the CLI commands, internal fetchers) become code spans, and the landing page lists what SwoopMistKit actually exports. swoopmist-build.yml, dependency-policy.yml and the cloudkit-sync action use swift:6.4-noble and actions/checkout@v6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
- mise.toml: swift-format 604.0.0 and SwiftLint 0.65.1 (periphery stays 3.7.4). - Scripts/lint.sh and header.sh from SwoopKit: mise on PATH outside CI, no build or periphery in CI, periphery against the existing index store, headers keep their year. Unlike SwoopKit, warnings only fail with LINT_MODE=STRICT: Sources and Tests still carry a backlog of missing doc comments and explicit ACLs. header.sh keeps the straight quotes most files already use. - Makefile: no `mint run`; format is FORMAT_ONLY=1 ./Scripts/lint.sh; adds headers, docs and docs-preview; Docker targets use swift:6.4-noble. - check-unsafe-flags.yml, cleanup-caches.yml and .spi.yml (docs for SwoopMistKit, Swift 6.4); claude.yml and claude-code-review.yml are SwoopKit's. - .devcontainer: swift:6.4-noble. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
swift-format 604 sorts imports and drops stray blank lines, and the license headers all use straight quotes now. The SwiftLint errors: - CommandConfigurations.swift becomes one file per configuration (file_name). - The long test suites, TestFixtures (whose disable had gone missing), SwoopMistKitService and SyncEngine get scoped file_length / type_body_length / function_body_length disables. - MockURLProtocol keeps @unchecked Sendable (URLProtocol isn't Sendable) with a disable:next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
As in SwoopKit, AGENTS.md and .agents/ are the real files and CLAUDE.md and .claude point at them. AGENTS.md is CLAUDE.md rewritten for what SwoopMistKit is now: no BushelKit subrepo, BushelLogger, `bushelcloud` branch or Mint; the SWOOP_* variables and their deliberate BUSHEL_* fallback; MistKit's FieldValue arity; the Swift 6.4 / Xcode 27.2 CI. The notes in .claude move to .agents (the skills were already there; .claude/skills only held symlinks to them). Adds agent-notes.md and a memory index. Removes the obsolete migration-to-bushelkit.md and LINTING_PROGRESS.md. The rebase-integration-branches skill points at trees-bare.git instead of BushelCloud.git and notes that its subrepo steps predate BushelKit's removal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
ValidatedBushelConfiguration becomes ValidatedSwoopMistKitConfiguration too. The old names stay as deprecated typealiases (renamed:) so existing callers keep compiling, with a fix-it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h
- README: rewritten for SwoopMistKit (it was still "Bushel Demo" and described BushelKit as a subrepo dependency, which it no longer is): what the library and `swoopmist` do, data sources, record types, scheduled sync, development. - DocC: CloudKitIntegration shows SwoopMistKitService, MistKit's FieldValue arity and accessors, and ConsoleOutput's verbose mode instead of BushelLogger; CloudKitSetup uses the Swoop container, swoop-private-key.pem and CLOUDKIT_PRIVATE_KEY_PATH (CLOUDKIT_KEY_FILE was never read), lists SDKVersion and SimulatorRuntime, and describes the two grant patterns schema.ckdb actually uses. "Demonstration tool" wording goes. - .env.example: the real SWOOP_FETCH_INTERVAL_* names; drops CLOUDKIT_DATABASE and LOG_LEVEL, which nothing reads. - setup-cloudkit-schema.sh, CLOUDKIT_SYNC_SETUP.md and the .agents notes: Swoop names and paths. - Source comments and log strings: "Starting SwoopMistKit CloudKit Sync", no "Bushel demo" / BushelCloudData / BushelKit phase notes. The BUSHEL_* environment fallback stays on purpose (Stewed#174). 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>
Config keys like sync.dry_run were encoded by swift-configuration as --sync-dry_run, so --dry-run, --verbose, --no-betas, --output and every other documented flag were ignored, and sync --dry-run wrote to CloudKit. Bare boolean flags were also read as strings and came back nil. Every key now names its flag explicitly, the command line and the environment get separate readers, and a bare flag means true. Each documented flag is tested present, absent and from its environment variable, with a regression test for sync --dry-run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mistico lacks the Mac Catalyst fix and is being retired; beta.6 carries everything it had. Switch to from: "1.0.0-beta.6" once tagged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MistKit v1.0.0-beta.6 -> e07a861, SwoopKit simulator -> 0d261e7, ConfigKeyKit 1.0.0-beta.3, swift-log 1.17.2, swift-openapi-runtime 1.13.4 and the rest of the transitive graph. 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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo2SnDAX5Npp9JQwUqk
The sync and export summaries only counted restore images, Xcode and Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never showed up. Add both, plus the SDKVersion records the sync deletes. Also drop the stale "limited to 200 records per type" notes: MistKit 1.0.0-beta.6's queryAllRecords follows continuation markers (#17). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK
The sync and export summaries only counted restore images, Xcode and Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never showed up. Add both, plus the SDKVersion records the sync deletes. Also drop the stale "limited to 200 records per type" notes: MistKit 1.0.0-beta.6's queryAllRecords follows continuation markers (#17). Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Add swoopmist export --snapshot for the release-data snapshot (#46) * Add `swoopmist export --snapshot` for the release-data snapshot Writes SDKVersion, XcodeVersion and SimulatorRuntime as SwoopKit's ReleaseDataSnapshot, byte for byte what Stewed's StewedTools `release-data-snapshot` wrote, so Stewed can drop StewedTools (brightdigit/Stewed#194). - Queries only those three types with queryAllRecords (paged), maps every record with from(recordInfo:), and fails on an empty type or an unmapped record. - Sorted by record name, whole-second fetchedAt, SwoopKit's JSONEncoder.iso8601PrettySorted plus a trailing newline. - Read-only. Development unless --allow-production is passed, which is a flag only, with no environment variable. - A fixture JSON written by StewedTools' own code over fixed records proves byte identity. Needs SwoopKit 1.0.0-beta.2 (brightdigit/SwoopKit#3) for ReleaseDataSnapshot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK * Resolve SwoopKit 1.0.0-beta.2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Count SDK versions and runtimes in the sync action's summaries (#47) The sync and export summaries only counted restore images, Xcode and Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never showed up. Add both, plus the SDKVersion records the sync deletes. Also drop the stale "limited to 200 records per type" notes: MistKit 1.0.0-beta.6's queryAllRecords follows continuation markers (#17). Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Brings the
simulatorbranch, which was developed inside Stewed as a git subrepo, intomain. It contains the BushelCloud → SwoopMistKit rename, the sync work Stewed needs, and a CI and tooling setup based on SwoopKit's. Related: #41, #42, #43.What's in it
SwoopMistKit, CLI targetSwoopMistKitCLI, executableswoopmist(wasbushel-cloud).BushelConfiguration/ValidatedBushelConfigurationare nowSwoopMistKitConfiguration/ValidatedSwoopMistKitConfiguration. The old names remain as deprecated typealiases.iCloud.com.brightdigit.Swoop(brightdigit/Stewed#163).SWOOP_*(brightdigit/Stewed#174). The oldBUSHEL_*names still work with a deprecation warning.CLOUDKIT_*is unchanged.SDKVersionrecords withsupersededBylinks,SimulatorRuntimerecords from Apple's simulator index, Apple's index wins over xcodereleases.com, and release days are in UTC. Newdelete-runtimescommand (Development only).simulatorand MistKit on branchmistico. The BushelKit subrepo and the../SwoopKitpath are gone. MistKit'sFieldValuenow carries an arity (.string(.value(x))), and the record mappings follow it.ExistentialAnyandInternalImportsByDefault, matching SwoopKit. The experimental-feature list is gone.xcode-27(iPhone 18 Pro, Apple Watch Ultra 4 (49mm), Apple TV 4K (4th generation), Apple Vision Pro). Lint runs on ubuntu-24.04. Also adds a DocC job (Scripts/docc.sh, warnings as errors),check-unsafe-flags,cleanup-caches, and.spi.yml. Thesetup-mistkit/MISTKIT_BRANCHsteps are removed.Scripts/lint.shcomes from SwoopKit, but strict mode is opt-in (LINT_MODE=STRICT) until the warning backlog is cleared. The Makefile gainsheaders,docsanddocs-preview.AGENTS.mdand.agents/are the real files;CLAUDE.mdand.claudeare symlinks to them.Expected failure
mainwhile SwoopKit (simulator) and MistKit (mistico) are branch dependencies. Don't weaken it; tag those dependencies first.Before tagging
Package.swifttofrom:requirements (this makes dependency-policy pass)CLOUDKIT_KEY_ID,CLOUDKIT_PRIVATE_KEYand the_PRODpair) need keys foriCloud.com.brightdigit.Swoop, because a key belongs to one container. Production stays untouched until brightdigit/Stewed#109.1.0.0-alpha.3)Merging
.gitrepopoints at commits onsimulator, and a merge commit keeps them reachable..package(url: "https://github.com/brightdigit/SwoopMistKit.git", branch: "simulator")now and to the tag after release (brightdigit/Stewed#108).🤖 Generated with Claude Code
https://claude.ai/code/session_01V3TXo4yyk98qrDid1ry85h