From 5fc6d645a7a249fa28ff6c1a275bb0a472505b40 Mon Sep 17 00:00:00 2001 From: Bruno Azoulay Date: Fri, 13 Nov 2026 03:46:05 +0100 Subject: [PATCH 1/3] feat(swift-apple-expert): add LoadState state-machine reference to solid-swift Port the state-modeling reference and the LoadState templates from https://github.com/coreyfloyd/agents (credit: coreyfloyd), with fixes: an Equatable/Sendable LoadFailure conforming to LocalizedError instead of a raw Error, descriptive Tier 2 state names, and a refresh that keeps the loaded content visible. Align the concurrency-patterns, dependency-inversion and single-responsibility examples with it. --- .../skills/solid-swift/SKILL.md | 3 +- .../references/concurrency-patterns.md | 10 +- .../references/dependency-inversion.md | 10 +- .../references/single-responsibility.md | 5 +- .../solid-swift/references/state-machines.md | 186 ++++++++++++++++++ .../solid-swift/references/templates/view.md | 9 +- .../references/templates/viewmodel.md | 35 ++-- CHANGELOG.md | 14 ++ docs/decisions.md | 2 + 9 files changed, 237 insertions(+), 37 deletions(-) create mode 100644 .cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/state-machines.md diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/SKILL.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/SKILL.md index bcd3616..17c34c3 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/SKILL.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/SKILL.md @@ -5,7 +5,7 @@ versions: swift: "6.4.2" ios: "27.2" user-invocable: true -references: references/solid-principles.md, references/single-responsibility.md, references/open-closed.md, references/liskov-substitution.md, references/interface-segregation.md, references/dependency-inversion.md, references/concurrency-patterns.md, references/anti-patterns.md, references/templates/view.md, references/templates/viewmodel.md, references/templates/service.md, references/templates/protocol.md, references/templates/model.md +references: references/solid-principles.md, references/single-responsibility.md, references/open-closed.md, references/liskov-substitution.md, references/interface-segregation.md, references/dependency-inversion.md, references/concurrency-patterns.md, references/state-machines.md, references/anti-patterns.md, references/templates/view.md, references/templates/viewmodel.md, references/templates/service.md, references/templates/protocol.md, references/templates/model.md related-skills: swift-core, swiftui-core, ios, macos, ipados, watchos, visionos, tvos --- @@ -81,6 +81,7 @@ File size: the only line limit is the hook ceiling (`FUSE_SOLID_MAX_LINES`). Spl | **ISP** | [interface-segregation.md](references/interface-segregation.md) | Fat protocols, splitting | | **DIP** | [dependency-inversion.md](references/dependency-inversion.md) | Injection, testing, mocking | | **Concurrency** | [concurrency-patterns.md](references/concurrency-patterns.md) | Actors, @MainActor, Sendable | +| **State modeling** | [state-machines.md](references/state-machines.md) | Boolean soup, `LoadState`, transitions | | **Anti-Patterns** | [anti-patterns.md](references/anti-patterns.md) | Code smells detection | ### Templates diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/concurrency-patterns.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/concurrency-patterns.md index 72037ca..1a7c856 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/concurrency-patterns.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/concurrency-patterns.md @@ -46,8 +46,8 @@ actor UserCache { @MainActor @Observable final class UserViewModel { - var user: User? - var isLoading = false + // One state value instead of separate data/loading flags: see state-machines.md + private(set) var state: LoadState = .idle private let service: UserServiceProtocol @@ -56,9 +56,9 @@ final class UserViewModel { } func load() async { - isLoading = true - defer { isLoading = false } - user = try? await service.fetchCurrentUser() + state = .loading + do { state = .loaded(try await service.fetchCurrentUser()) } + catch { state = .failed(LoadFailure(error)) } } } ``` diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/dependency-inversion.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/dependency-inversion.md index a09e9e6..f2744e3 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/dependency-inversion.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/dependency-inversion.md @@ -90,8 +90,8 @@ final class UserService: UserServiceProtocol { // Features/User/ViewModels/UserViewModel.swift @MainActor @Observable final class UserViewModel { - var user: User? - var isLoading = false + // `LoadState` is defined in state-machines.md + private(set) var state: LoadState = .idle private let service: UserServiceProtocol init(service: UserServiceProtocol) { @@ -99,9 +99,9 @@ final class UserViewModel { } func load() async { - isLoading = true - defer { isLoading = false } - user = try? await service.fetchCurrentUser() + state = .loading + do { state = .loaded(try await service.fetchCurrentUser()) } + catch { state = .failed(LoadFailure(error)) } } } ``` diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/single-responsibility.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/single-responsibility.md index eb70fe4..055ad26 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/single-responsibility.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/single-responsibility.md @@ -47,8 +47,7 @@ Shared code: `Core/Services/`, `Core/Protocols/`, `Core/Extensions/` ```swift // Features/User/Views/UserView.swift - 200+ lines! struct UserView: View { - @State private var user: User? - @State private var isLoading = false + @State private var state: LoadState = .idle // see state-machines.md var body: some View { VStack { /* 150 lines of UI */ } @@ -56,7 +55,7 @@ struct UserView: View { Task { let url = URL(string: "https://api.example.com/user")! let (data, _) = try await URLSession.shared.data(from: url) - user = try JSONDecoder().decode(User.self, from: data) + state = .loaded(try JSONDecoder().decode(User.self, from: data)) } } } diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/state-machines.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/state-machines.md new file mode 100644 index 0000000..0d21f1d --- /dev/null +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/state-machines.md @@ -0,0 +1,186 @@ +--- +name: state-machines +applies-to: "**/*.swift" +description: Model state so illegal states are unrepresentable - sum types by default, transition functions when order matters +when-to-use: ViewModel state, loading/error states, multi-step flows, playback, sync, any boolean-flag soup +keywords: state machine, enum, sum type, illegal states, boolean soup, LoadState, Sendable, Equatable, Swift 6 +priority: high +related: templates/viewmodel.md, templates/view.md, anti-patterns.md, concurrency-patterns.md +--- + +# State Modeling for Swift + +**Make illegal states unrepresentable. Model mutually-exclusive states as one type, not independent flags.** + +State modeling is tiered. Start at Tier 1; escalate to Tier 2 only when transition order matters. + +Credit: adapted from the `coreyfloyd/agents` fork (https://github.com/coreyfloyd/agents). + +--- + +## The anti-pattern: boolean soup + +Independent flags for mutually-exclusive states let contradictory combinations exist. + +```swift +// BAD: three flags = 2^3 = 8 combos, most illegal +@Observable final class FeatureViewModel { + var data: FeatureData? + var isLoading = false + var error: Error? +} +// loading + error + data all set at once? The type permits it. Bugs live here. +``` + +If two or more properties are **mutually exclusive** (only one should be true at a time), they are not separate properties: they are one state. + +--- + +## Tier 1 - Sum-type modeling (default) + +Model the set of valid states as one `enum`. Illegal states become unrepresentable. This is the baseline for almost every ViewModel. + +`LoadState` is defined **once**, here. Shared by 2+ features, so it lives in `Core/Models/LoadState.swift`; the ViewModel and View templates reference it, never redefine it. + +```swift +// Core/Models/LoadState.swift +import Foundation + +/// A `Sendable` and `Equatable` snapshot of a failure. +/// +/// A bare `any Error` is neither `Equatable` nor guaranteed `Sendable`, so the +/// failure case carries this value instead of the raw error. +struct LoadFailure: LocalizedError, Sendable, Equatable { + /// Human-readable description, already localized at capture time. + let message: String + + init(message: String) { self.message = message } + + /// Captures an error as a value. + init(_ error: any Error) { self.message = error.localizedDescription } + + /// Keeps `localizedDescription` equal to `message` when the failure is shown as an `Error`. + var errorDescription: String? { message } +} + +/// The lifecycle of an asynchronous load: exactly one case at a time. +enum LoadState: Sendable { + case idle + case loading + case loaded(Value) + case failed(LoadFailure) +} + +/// `Equatable` whenever the payload is, so state changes can be asserted in tests. +extension LoadState: Equatable where Value: Equatable {} +``` + +Use it in a ViewModel: + +```swift +@MainActor +@Observable +final class FeatureViewModel { + private(set) var state: LoadState = .idle + private let service: FeatureServiceProtocol + + init(service: FeatureServiceProtocol) { self.service = service } + + func load() async { + state = .loading + do { state = .loaded(try await service.fetchData()) } + catch { state = .failed(LoadFailure(error)) } + } +} +``` + +Drive the view with an **exhaustive `switch`**: the compiler forces you to handle every state. + +```swift +var body: some View { + switch viewModel.state { + case .idle, .loading: ProgressView() + case .loaded(let data): FeatureContent(data: data) + case .failed(let error): ErrorView(error: error) { + Task { await viewModel.load() } + } + } +} +``` + +**Tier 1 is enough when** any state can follow any other and you only need to represent the current one (most load/error screens, simple toggles). + +--- + +## Tier 2 - State machine (when transition order matters) + +Escalate when only certain transitions are legal and an illegal jump is a bug: playback, multi-step wizards, onboarding, sync, connection lifecycle. Add **events** and a **transition function** that rejects illegal moves. Name the types after the flow (`ItemsFlowState`, not a generic `State`). + +```swift +enum ItemsFlowState: Equatable, Sendable { + case idle, loading, loaded([Item]), failed(LoadFailure) +} +enum ItemsFlowEvent: Equatable, Sendable { + case load, succeeded([Item]), failed(LoadFailure), reset +} + +extension ItemsFlowState { + /// Returns the next state, or nil if the transition is illegal. + func applying(_ event: ItemsFlowEvent) -> ItemsFlowState? { + switch (self, event) { + case (.idle, .load), (.failed, .load): return .loading + case (.loading, .succeeded(let items)): return .loaded(items) + case (.loading, .failed(let failure)): return .failed(failure) + case (_, .reset): return .idle + default: return nil // illegal: rejected + } + } +} + +@MainActor +@Observable +final class ItemsFlowViewModel { + private(set) var state: ItemsFlowState = .idle + + /// Single funnel for all state changes; illegal transitions are dropped (or asserted). + func send(_ event: ItemsFlowEvent) { + guard let next = state.applying(event) else { + assertionFailure("Illegal transition: \(event) from \(state)") + return + } + state = next + } +} +``` + +`Item` is your own `Sendable & Equatable` model (see `templates/model.md`). + +Key properties of Tier 2: +- **One funnel** (`send`): state is never mutated directly from scattered call sites. +- **Illegal transitions are rejected at runtime**, not just illegal states unrepresentable. +- The transition table is the spec: reviewers read legality in one place. + +--- + +## When to use which + +| Situation | Tier | +|-----------|------| +| Load/error/empty screen, any order valid | **1** - sum type | +| A flag pair that's mutually exclusive | **1** - collapse into an enum | +| Audio/video playback, sync, connection lifecycle | **2** - transitions matter | +| Multi-step wizard / onboarding where back/skip rules exist | **2** | +| Order/job lifecycle with forbidden jumps | **2** | + +Default to Tier 1. Reach for Tier 2 when you can name a transition that must not happen. + +--- + +## Checklist + +- [ ] No set of mutually-exclusive `Bool`/optional properties on one type (boolean soup) +- [ ] Mutually-exclusive states modeled as one `enum` (Tier 1) +- [ ] Failure payloads are `Sendable` + `Equatable` (`LoadFailure`), never a bare `any Error` +- [ ] Views driven by an exhaustive `switch` over the state, no `if isLoading ... else if error ...` +- [ ] If transition order matters: a single `send`/transition funnel rejecting illegal moves (Tier 2) +- [ ] State is `private(set)`: mutated only through the ViewModel's own methods diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/view.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/view.md index 091e744..0605530 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/view.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/view.md @@ -34,11 +34,14 @@ struct FeatureView: View { var body: some View { Group { - if viewModel.isLoading { + // Exhaustive switch over one state value: the compiler enforces every case. + // `LoadState` is defined in references/state-machines.md. + switch viewModel.state { + case .idle, .loading: ProgressView() - } else if let data = viewModel.data { + case .loaded(let data): FeatureContent(data: data) - } else if let error = viewModel.error { + case .failed(let error): ErrorView(error: error) { Task { await viewModel.load() } } diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/viewmodel.md b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/viewmodel.md index 27e30e0..df2bd08 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/viewmodel.md +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/references/templates/viewmodel.md @@ -29,10 +29,11 @@ import Foundation @Observable final class FeatureViewModel { // MARK: - State + // Mutually-exclusive states as ONE value: illegal states are unrepresentable. + // `LoadState` / `LoadFailure` are defined once in + // references/state-machines.md (Core/Models/LoadState.swift). - var data: FeatureData? - var isLoading = false - var error: Error? + private(set) var state: LoadState = .idle // MARK: - Dependencies @@ -48,24 +49,18 @@ final class FeatureViewModel { /// Loads feature data from API. func load() async { - isLoading = true - defer { isLoading = false } - - do { - data = try await service.fetchData() - error = nil - } catch { - self.error = error - } + state = .loading + do { state = .loaded(try await service.fetchData()) } + catch { state = .failed(LoadFailure(error)) } } - /// Refreshes data (pull-to-refresh). + /// Refreshes data (pull-to-refresh) without flashing the loading state. + /// A failed refresh keeps the content already on screen. func refresh() async { - do { - data = try await service.fetchData() - error = nil - } catch { - self.error = error + do { state = .loaded(try await service.fetchData()) } + catch { + if case .loaded = state { return } + state = .failed(LoadFailure(error)) } } } @@ -75,13 +70,13 @@ final class FeatureViewModel { extension FeatureViewModel { static var preview: FeatureViewModel { let vm = FeatureViewModel(service: MockFeatureService()) - vm.data = .preview + vm.state = .loaded(.preview) // private(set) is settable in-file return vm } static var previewLoading: FeatureViewModel { let vm = FeatureViewModel(service: MockFeatureService()) - vm.isLoading = true + vm.state = .loading return vm } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b1aed3..086a278 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [Unreleased] + +- feat(solid-swift): add `references/state-machines.md` (sum-type state + modeling, `LoadState` with a `Sendable` + `Equatable` `LoadFailure`, + Tier 2 transition functions) and move the `viewmodel.md` / `view.md` + templates from `isLoading` booleans to `state: LoadState<…>`; align the + `concurrency-patterns`, `dependency-inversion` and `single-responsibility` + examples; adapted from the `coreyfloyd/agents` fork, credit to coreyfloyd + (https://github.com/coreyfloyd/agents) (fuse-swift-apple-expert) +- docs(decisions): decisions journal records the 2026-11-13 "Swift state + modeling port" owner decision +- Not verified: real Cursor run — `cursor-agent` usage limit reached + (2026-11-13 attempt BLOCKED, no Swift produced) + ## [0.1.18] - 16-11-2026 - fix(lead): the per-project roadmap and project skill are written only in diff --git a/docs/decisions.md b/docs/decisions.md index 2085606..2505581 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -2,6 +2,8 @@ Owner decisions for this repository, dated. Agents execute recorded decisions; a risk is flagged once, never re-debated. +- **2026-11-13 — Swift state modeling port.** Owner: « Oui, porte le Swift » then « tu le porte sur les autre aussi ». The `solid-swift` skill gains `references/state-machines.md` and the `LoadState` templates, adapted from the `coreyfloyd/agents` fork (credit in CHANGELOG). Not ported: the fork's "de-fuse" commit and its Python additions. + - **2026-11-11 — Plugin license holder.** Owner, told that `fuse-commit-pro/LICENSE` read `Copyright (c) 2025 Bruno Azoulay`: « non fusengine Sàrl ». Every `Copyright (c)` line in the repository names `Fusengine Sàrl` (year unchanged). - **2026-11-11 — Copyright holder.** Owner, asked who the legal holder is: « Fusengine Sàrl ». Every `Copyright (c) … Fusengine` line reads `Copyright (c) 2026 Fusengine Sàrl` (UTF-8); `author` fields and prose are unchanged. - **2026-11-11 — License.** Owner: « met les licences sous harnes kimi codex claude cursor ». The repository ships the MIT License text of `@fusengine/harness` in a root `LICENSE` (holder per the entry above), so any copy must keep the Fusengine Sàrl copyright notice. Plugin manifests and `marketplace.json` already declare `"license": "MIT"`; no new manifest field is added. From ee5d70ce5c2cc8f0e12c5ce7c31beea96695ef1a Mon Sep 17 00:00:00 2001 From: Bruno Azoulay Date: Tue, 17 Nov 2026 02:53:25 +0100 Subject: [PATCH 2/3] docs(swift-apple-expert): record blocked Cursor real test for solid-swift LoadState --- ...-test-solid-swift-load-state-2026-11-13.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 docs/real-test-solid-swift-load-state-2026-11-13.md diff --git a/docs/real-test-solid-swift-load-state-2026-11-13.md b/docs/real-test-solid-swift-load-state-2026-11-13.md new file mode 100644 index 0000000..48f63b8 --- /dev/null +++ b/docs/real-test-solid-swift-load-state-2026-11-13.md @@ -0,0 +1,54 @@ +# Real test: solid-swift LoadState change, Cursor (cursor-agent) + +Date: 2026-11-13. Worktree: `cursor-plugins-wt-swift`, skill `.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift`. + +## Verdict: BLOCKED (not PASS) - Cursor account usage limit hit mid-run + +| PASS criterion | Result | +|----------------|--------| +| Log shows worktree `state-machines.md` / `viewmodel.md` read | MET | +| Produced Swift uses `LoadState`, no `isLoading` | NOT MET: no Swift file was produced | +| `swiftc -typecheck -swift-version 6` exit 0 | NOT RUN: nothing to typecheck | + +## Command + +Script `/realtest/run-cursor.sh` (scratchpad = `/private/tmp/claude-501/-Users-brunoazoulay-Labo-docker-lab-dev-local-Dev-ai-claude-code-claude-plugins/2723977a-20cc-47b1-bf76-10a7db930be8/scratchpad`), cwd = `/realtest/cursor` (empty): + +``` +cursor-agent -p --trust --force --sandbox enabled --workspace /realtest/cursor \ + --add-dir --output-format stream-json \ + "Read /skills/solid-swift/SKILL.md and the references it lists, then use the solid-swift skill to write a SwiftUI FeatureViewModel and FeatureView that load a list of articles from an ArticleService. Write them to ArticlesViewModel.swift and ArticlesView.swift in the current directory. Do not write anywhere else." +``` +Login verified first: `cursor-agent status` -> `Logged in`. No `--plugin-dir` was used (the prompt points at the worktree skill path, as briefed). Nothing written under `~/.cursor` by me. + +## Evidence + +Transcript: `/realtest/cursor/transcript.jsonl` (32 tool calls started). `readToolCall` paths, all under `.../cursor-plugins-wt-swift/.cursor-plugin/plugins/fuse-swift-apple-expert/skills/solid-swift/`: + +``` +SKILL.md +references/solid-principles.md, single-responsibility.md, open-closed.md, liskov-substitution.md, + interface-segregation.md, dependency-inversion.md, concurrency-patterns.md, + state-machines.md, anti-patterns.md +references/templates/view.md, viewmodel.md, service.md, protocol.md, model.md +``` +The agent read every reference the SKILL.md lists, including the new `state-machines.md` and `templates/viewmodel.md`. It then planned (sequential-thinking: "LoadState"), ran explore + research sub-tasks, and issued the last call: a `Task` "Write Articles Swift files" delegating the two-file write to a `swift-expert` subagent, with `LoadState` named in the mandate. + +Then the run stopped. `stderr.txt`: +``` +ActionRequiredError: You've hit your usage limit Get Cursor Pro for more Agent usage, unlimited Tab, and more. +``` +Confirmed not transient: a minimal probe (`cursor-agent -p --mode ask "reply ok"`) returned the same error. `find . -name '*.swift'` in the temp dir: none. + +## Not verified + +- Whether the Cursor-produced Swift follows `LoadState` (no file exists). +- Typecheck (not run; stubs would be the same as in the Claude report: `LoadState`/`LoadFailure` verbatim from `state-machines.md`, plus `Article`, `ArticleServiceProtocol`, `MockArticleService`). + +## Owner action to unblock + +Cursor usage limit must be lifted (plan upgrade or quota reset). Then re-dispatch: re-run `bash /realtest/run-cursor.sh`, then typecheck. I did not retry in a loop (same fix twice, account-level limit). + +## Files touched + +`/realtest/cursor/` (transcript.jsonl, stderr.txt, `.harness`), `/realtest/run-cursor.sh`, and this report. No commit. From 4e399da1043728bcd538cd97ab52f698d6a32f0b Mon Sep 17 00:00:00 2001 From: Bruno Azoulay Date: Tue, 17 Nov 2026 02:57:55 +0100 Subject: [PATCH 3/3] chore: bump marketplace and CHANGELOG to 0.1.19 --- .cursor-plugin/marketplace.json | 4 ++-- .../.cursor-plugin/plugin.json | 2 +- CHANGELOG.md | 13 ++++++++++--- README.md | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 713c634..e0b9341 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -6,7 +6,7 @@ }, "metadata": { "description": "Professional Cursor plugins with APEX workflow, SOLID principles, and expert development agents for Next.js, Laravel, Swift, Tailwind CSS, and more", - "version": "0.1.18" + "version": "0.1.19" }, "plugins": [ { @@ -535,7 +535,7 @@ "name": "fuse-swift-apple-expert", "source": ".cursor-plugin/plugins/fuse-swift-apple-expert", "description": "Expert Swift 6.4.2 + SwiftUI (Xcode 27.2) for iOS 27.2, macOS 27.2, iPadOS 27.2, watchOS 27.2, visionOS 27.2, tvOS 27.2 with Liquid Glass, @Observable, actors, SwiftData inheritance", - "version": "1.1.26", + "version": "1.1.27", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json index a245ed1..5932261 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-swift-apple-expert", - "version": "1.1.26", + "version": "1.1.27", "description": "Expert Swift 6.4.2 + SwiftUI (Xcode 27.2) for iOS 27.2, macOS 27.2, iPadOS 27.2, watchOS 27.2, visionOS 27.2, tvOS 27.2 with Liquid Glass, @Observable, actors, SwiftData inheritance", "author": { "name": "Fusengine", diff --git a/CHANGELOG.md b/CHANGELOG.md index 086a278..d897b71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased] +## [0.1.19] - 17-11-2026 - feat(solid-swift): add `references/state-machines.md` (sum-type state modeling, `LoadState` with a `Sendable` + `Equatable` `LoadFailure`, @@ -11,8 +11,15 @@ (https://github.com/coreyfloyd/agents) (fuse-swift-apple-expert) - docs(decisions): decisions journal records the 2026-11-13 "Swift state modeling port" owner decision -- Not verified: real Cursor run — `cursor-agent` usage limit reached - (2026-11-13 attempt BLOCKED, no Swift produced) +- docs(swift-apple-expert): real-test record + `docs/real-test-solid-swift-load-state-2026-11-13.md` (verdict BLOCKED) +- chore(plugins): PATCH bump, mirrored in `.cursor-plugin/marketplace.json` — + fuse-swift-apple-expert 1.1.27 +- chore(marketplace): suite `metadata.version` 0.1.18 → 0.1.19, README version + badge updated +- Not verified: real Cursor run BLOCKED by usage limit; merged on owner's + explicit go (2026-11-13 attempt BLOCKED, no Swift produced; still blocked + 2026-11-17) ## [0.1.18] - 16-11-2026 diff --git a/README.md b/README.md index 61deff2..26d8842 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fusengine Cursor Plugins -![version](https://img.shields.io/badge/version-0.1.18-blue?style=flat-square) +![version](https://img.shields.io/badge/version-0.1.19-blue?style=flat-square) ![plugins](https://img.shields.io/badge/plugins-26-brightgreen?style=flat-square) ![runtime](https://img.shields.io/badge/runtime-Cursor%20CLI-black?style=flat-square) ![License: MIT](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)