From 4772d95e8f373cb4564d20086c18f5a6a6346f51 Mon Sep 17 00:00:00 2001 From: Finjineersdev Date: Sun, 22 Nov 2026 16:14:43 +0500 Subject: [PATCH] chore: relicense OpenSweep under MIT All OpenSweep code since the project began is the owner's, so it moves from Apache-2.0 to MIT: LICENSE, NOTICE, SPDX headers, the crates' license field, the app's copyright string, README and contributor docs. Inherited MIT and BSD-3-Clause code keeps its notices. v0.2.0 and earlier stay Apache-2.0. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 2 +- CLAUDE.md | 2 +- CONTRIBUTING.md | 2 +- CleanCore/Sources/AgentEngine/Engine.swift | 2 +- CleanCore/Sources/AgentEngine/Models.swift | 2 +- CleanCore/Sources/AgentEngine/Selection.swift | 2 +- CleanCore/Sources/AgentEngine/Treemap.swift | 2 +- .../AgentEngineTests/AgentEngineTests.swift | 2 +- .../DevStackRemovalTests.swift | 2 +- .../Tests/AgentEngineTests/ShellTests.swift | 2 +- LICENSE | 197 ++---------------- NOTICE | 2 +- OpenSweep.xcodeproj/project.pbxproj | 4 +- OpenSweep/App/DemoWalkthrough.swift | 2 +- OpenSweep/App/Scheduler.swift | 2 +- OpenSweep/Design/Ecosystem.swift | 2 +- OpenSweep/Design/Motion.swift | 2 +- OpenSweep/Views/Onboarding.swift | 2 +- OpenSweep/Views/SpaceFlow.swift | 2 +- OpenSweepUITests/OpenSweepUITests.swift | 2 +- README.md | 4 +- docs/HANDOFF.md | 2 +- docs/REQUIREMENTS.md | 2 +- engine/Cargo.toml | 2 +- engine/fuzz/Cargo.toml | 2 +- scripts/demo/engine.py | 2 +- scripts/demo/record.sh | 2 +- scripts/protect-releases.sh | 2 +- scripts/setup-sparkle-key.sh | 2 +- 29 files changed, 51 insertions(+), 206 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 78e2aab..845eb83 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -76,7 +76,7 @@ xcodebuild -project OpenSweep.xcodeproj -scheme OpenSweep \ ## Conventions - Conventional Commits (`feat(engine): …`, `fix(guard): …`, `docs: …`). -- New code is Apache-2.0. Inherited files keep their MIT or BSD-3-Clause +- New code is MIT. Inherited files keep their MIT or BSD-3-Clause headers; never strip a notice. - Plain English in UI and CLI text; every cleanable item carries a reason and a restore hint. diff --git a/CLAUDE.md b/CLAUDE.md index 3a10e74..7d983dc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -91,7 +91,7 @@ QA the app against throwaway projects with the Debug walkthrough in ## Conventions - Conventional Commits (`feat(engine): …`, `fix(guard): …`, `docs: …`). -- New code is Apache-2.0. Inherited files keep their MIT or BSD-3-Clause +- New code is MIT. Inherited files keep their MIT or BSD-3-Clause headers; never strip a notice. - Plain English in UI and CLI text; every cleanable item carries a reason and a restore hint. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 293a7bb..621302d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,4 +95,4 @@ cargo +nightly fuzz run rules_parse corpus/rules_parse seeds/rules_parse -- -max ``` Rule files are covered by `docs/RULE-SCHEMA.md`. New work is contributed under -the Apache License 2.0. +the MIT License. diff --git a/CleanCore/Sources/AgentEngine/Engine.swift b/CleanCore/Sources/AgentEngine/Engine.swift index 29d18b1..b32144e 100644 --- a/CleanCore/Sources/AgentEngine/Engine.swift +++ b/CleanCore/Sources/AgentEngine/Engine.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // The app's only way to change files: it runs the bundled `opensweep` // binary (ADR 0005). Arguments go straight to the process, never through a diff --git a/CleanCore/Sources/AgentEngine/Models.swift b/CleanCore/Sources/AgentEngine/Models.swift index 95af740..773ca97 100644 --- a/CleanCore/Sources/AgentEngine/Models.swift +++ b/CleanCore/Sources/AgentEngine/Models.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // Swift mirrors of the engine's JSON output, schema version 1. // The contract is docs/CLI-JSON.md; the tests decode the engine's own diff --git a/CleanCore/Sources/AgentEngine/Selection.swift b/CleanCore/Sources/AgentEngine/Selection.swift index bebcc5f..1480037 100644 --- a/CleanCore/Sources/AgentEngine/Selection.swift +++ b/CleanCore/Sources/AgentEngine/Selection.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // What the app pre-selects and what a selection asks the engine for. The // engine re-checks everything; this only decides what the user starts with. diff --git a/CleanCore/Sources/AgentEngine/Treemap.swift b/CleanCore/Sources/AgentEngine/Treemap.swift index f46c007..be6ca36 100644 --- a/CleanCore/Sources/AgentEngine/Treemap.swift +++ b/CleanCore/Sources/AgentEngine/Treemap.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import CoreGraphics diff --git a/CleanCore/Tests/AgentEngineTests/AgentEngineTests.swift b/CleanCore/Tests/AgentEngineTests/AgentEngineTests.swift index 6cb4abf..e2f5ab9 100644 --- a/CleanCore/Tests/AgentEngineTests/AgentEngineTests.swift +++ b/CleanCore/Tests/AgentEngineTests/AgentEngineTests.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import XCTest @testable import AgentEngine diff --git a/CleanCore/Tests/AgentEngineTests/DevStackRemovalTests.swift b/CleanCore/Tests/AgentEngineTests/DevStackRemovalTests.swift index 452e603..627f040 100644 --- a/CleanCore/Tests/AgentEngineTests/DevStackRemovalTests.swift +++ b/CleanCore/Tests/AgentEngineTests/DevStackRemovalTests.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import XCTest @testable import CleanCore diff --git a/CleanCore/Tests/AgentEngineTests/ShellTests.swift b/CleanCore/Tests/AgentEngineTests/ShellTests.swift index c803662..aa6d61c 100644 --- a/CleanCore/Tests/AgentEngineTests/ShellTests.swift +++ b/CleanCore/Tests/AgentEngineTests/ShellTests.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import XCTest import CleanCore diff --git a/LICENSE b/LICENSE index 1b5ec8b..1c51bdc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,176 +1,21 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS +MIT License + +Copyright (c) 2026 The OpenSweep contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/NOTICE b/NOTICE index 29017d5..b52dbfa 100644 --- a/NOTICE +++ b/NOTICE @@ -1,7 +1,7 @@ OpenSweep Copyright 2026 The OpenSweep contributors -OpenSweep is licensed under the Apache License, Version 2.0 (see LICENSE). +OpenSweep is licensed under the MIT License (see LICENSE). OpenSweep includes code from CleanMyDev by Oubaied Allah Zouabi (https://github.com/Zouuabi/CleanMyDev), distributed under the MIT License. diff --git a/OpenSweep.xcodeproj/project.pbxproj b/OpenSweep.xcodeproj/project.pbxproj index 1cdfd96..83342ed 100644 --- a/OpenSweep.xcodeproj/project.pbxproj +++ b/OpenSweep.xcodeproj/project.pbxproj @@ -373,7 +373,7 @@ GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "Config/OpenSweep-Info.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; - INFOPLIST_KEY_NSHumanReadableCopyright = "Apache-2.0. Includes MIT and BSD-3-Clause code; see NOTICE."; + INFOPLIST_KEY_NSHumanReadableCopyright = "MIT. Includes BSD-3-Clause code; see NOTICE."; SPARKLE_FEED_URL = "https://github.com/Finjineersdev/OpenSweep/releases/latest/download/appcast.xml"; SPARKLE_PUBLIC_KEY = ""; LD_RUNPATH_SEARCH_PATHS = ( @@ -410,7 +410,7 @@ GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "Config/OpenSweep-Info.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; - INFOPLIST_KEY_NSHumanReadableCopyright = "Apache-2.0. Includes MIT and BSD-3-Clause code; see NOTICE."; + INFOPLIST_KEY_NSHumanReadableCopyright = "MIT. Includes BSD-3-Clause code; see NOTICE."; SPARKLE_FEED_URL = "https://github.com/Finjineersdev/OpenSweep/releases/latest/download/appcast.xml"; SPARKLE_PUBLIC_KEY = ""; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/OpenSweep/App/DemoWalkthrough.swift b/OpenSweep/App/DemoWalkthrough.swift index 76eab61..6aea3dc 100644 --- a/OpenSweep/App/DemoWalkthrough.swift +++ b/OpenSweep/App/DemoWalkthrough.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import SwiftUI extension View { diff --git a/OpenSweep/App/Scheduler.swift b/OpenSweep/App/Scheduler.swift index bd0f4c7..e816eb1 100644 --- a/OpenSweep/App/Scheduler.swift +++ b/OpenSweep/App/Scheduler.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // Scheduled clean (P5). Off by default. While OpenSweep runs (open at login // keeps it running in the menu bar) it rescans, then cleans Safe folders in diff --git a/OpenSweep/Design/Ecosystem.swift b/OpenSweep/Design/Ecosystem.swift index af49dd4..87fe2e3 100644 --- a/OpenSweep/Design/Ecosystem.swift +++ b/OpenSweep/Design/Ecosystem.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // Languages and tools, shown with their own logos. The logos are Simple Icons // (CC0, simpleicons.org), pinned in docs/THIRD-PARTY.md; the names are the diff --git a/OpenSweep/Design/Motion.swift b/OpenSweep/Design/Motion.swift index 68d3bb5..830ae97 100644 --- a/OpenSweep/Design/Motion.swift +++ b/OpenSweep/Design/Motion.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // Motion and characters. Every moving piece stops or shortens when // the person turns on Reduce Motion. The characters are Open Peeps by Pablo diff --git a/OpenSweep/Views/Onboarding.swift b/OpenSweep/Views/Onboarding.swift index 26061d6..028de8f 100644 --- a/OpenSweep/Views/Onboarding.swift +++ b/OpenSweep/Views/Onboarding.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import SwiftUI diff --git a/OpenSweep/Views/SpaceFlow.swift b/OpenSweep/Views/SpaceFlow.swift index 64ab89e..ce9a130 100644 --- a/OpenSweep/Views/SpaceFlow.swift +++ b/OpenSweep/Views/SpaceFlow.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT import SwiftUI diff --git a/OpenSweepUITests/OpenSweepUITests.swift b/OpenSweepUITests/OpenSweepUITests.swift index 7bdc657..12a2d7d 100644 --- a/OpenSweepUITests/OpenSweepUITests.swift +++ b/OpenSweepUITests/OpenSweepUITests.swift @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT // // Drives the real app against throwaway projects. HOME points at a temporary // folder, so the bundled engine uses a throwaway config and quarantine. diff --git a/README.md b/README.md index a894724..8e47f77 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Latest release](https://img.shields.io/github/v/release/Finjineersdev/OpenSweep?style=flat-square&label=release)](https://github.com/Finjineersdev/OpenSweep/releases/latest) [![CI](https://img.shields.io/github/actions/workflow/status/Finjineersdev/OpenSweep/ci.yml?branch=main&style=flat-square&label=CI)](https://github.com/Finjineersdev/OpenSweep/actions/workflows/ci.yml) [![Engine](https://img.shields.io/github/actions/workflow/status/Finjineersdev/OpenSweep/engine.yml?branch=main&style=flat-square&label=engine)](https://github.com/Finjineersdev/OpenSweep/actions/workflows/engine.yml) -[![Apache-2.0 licence](https://img.shields.io/badge/license-Apache--2.0-5fe3c8?style=flat-square)](LICENSE) +[![MIT licence](https://img.shields.io/badge/license-MIT-5fe3c8?style=flat-square)](LICENSE) [![macOS 14+ app, macOS and Linux CLI](https://img.shields.io/badge/macOS%2014%2B%20app%20%C2%B7%20Linux%20CLI-14171c?style=flat-square&logo=apple&logoColor=white)](#install) [![Homebrew cask](https://img.shields.io/badge/brew-finjineersdev%2Ftap-f5b83d?style=flat-square&logo=homebrew&logoColor=white)](https://github.com/Finjineersdev/homebrew-tap) @@ -311,6 +311,6 @@ Contributors and coding agents: start with [CLAUDE.md](CLAUDE.md) and ## Licence -OpenSweep is open source under the Apache License 2.0 ([LICENSE](LICENSE)). It +OpenSweep is open source under the MIT License ([LICENSE](LICENSE)). It includes third-party code under the MIT and BSD-3-Clause licences; their notices are in [NOTICE](NOTICE) and [THIRD-PARTY-LICENSES.md](THIRD-PARTY-LICENSES.md). diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 3602af1..4296175 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -31,7 +31,7 @@ in this repository. Keep it that way. | Engine | Rust workspace in `engine/`; it is the only code allowed to delete (ADR 0001, 0002) | | App | The inherited SwiftUI app, reduced and connected to the Rust engine in M3 | | Scope | Developer only: projects, developer caches, Docker, simulators, disk map. Remove malware, uninstaller, fan and sensor control, speed test and system junk (ADR 0003) | -| Licence | Apache-2.0 for new work; inherited MIT and BSD-3-Clause notices kept (`NOTICE`, `LICENSES/`, `THIRD-PARTY-LICENSES.md`) | +| Licence | MIT (Apache-2.0 up to v0.2.0); inherited MIT and BSD-3-Clause notices kept (`NOTICE`, `LICENSES/`, `THIRD-PARTY-LICENSES.md`) | | Game layer | Local stats and an original character in v1; no public leaderboard | | Distribution | Developer ID, notarization, Homebrew cask | | Platform | macOS 14 or later for the app (currently 26, lowered in M3); CLI on macOS and Linux | diff --git a/docs/REQUIREMENTS.md b/docs/REQUIREMENTS.md index 7e14ef1..08e7b06 100644 --- a/docs/REQUIREMENTS.md +++ b/docs/REQUIREMENTS.md @@ -5,7 +5,7 @@ command-line engine that also runs on Linux. This document says what v1 must do, what it will not do, and how each requirement is accepted. Decisions recorded 19 Nov 2026: name OpenSweep; start from Zouuabi/CleanMyDev (MIT); -Rust engine with a SwiftUI app; Apache-2.0 for new work; developer-only scope; +Rust engine with a SwiftUI app; MIT for new work (Apache-2.0 up to v0.2.0); developer-only scope; local stats and an original character, no public leaderboard; Developer ID with notarization and a Homebrew cask. diff --git a/engine/Cargo.toml b/engine/Cargo.toml index a635afe..aea0eb8 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -6,7 +6,7 @@ members = ["crates/opensweep-core", "crates/opensweep-cli"] version = "0.0.1" edition = "2021" rust-version = "1.80" -license = "Apache-2.0" +license = "MIT" repository = "https://github.com/Finjineersdev/OpenSweep" [workspace.lints.rust] diff --git a/engine/fuzz/Cargo.toml b/engine/fuzz/Cargo.toml index 7ce1cbd..aafac29 100644 --- a/engine/fuzz/Cargo.toml +++ b/engine/fuzz/Cargo.toml @@ -3,7 +3,7 @@ name = "opensweep-fuzz" version = "0.0.0" publish = false edition = "2021" -license = "Apache-2.0" +license = "MIT" [package.metadata] cargo-fuzz = true diff --git a/scripts/demo/engine.py b/scripts/demo/engine.py index 77938ec..5f1be0f 100755 --- a/scripts/demo/engine.py +++ b/scripts/demo/engine.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: MIT """A stand-in `opensweep` engine with made-up data, for README media only. It answers the app's JSON commands (docs/CLI-JSON.md) about a fictional diff --git a/scripts/demo/record.sh b/scripts/demo/record.sh index bb414bb..ea0abd0 100755 --- a/scripts/demo/record.sh +++ b/scripts/demo/record.sh @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: MIT # README media: plays the Debug app's demo against the made-up 2 TB Mac in # scripts/demo/engine.py, snapshots every screen and records the window. # Usage: scripts/demo/record.sh [dark|light] [--no-video] diff --git a/scripts/protect-releases.sh b/scripts/protect-releases.sh index 282024e..c6281cb 100755 --- a/scripts/protect-releases.sh +++ b/scripts/protect-releases.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: MIT # # One time, by the owner (docs/RELEASING.md): the release job waits for your # approval and runs only for v* tags, only an admin can create, move or diff --git a/scripts/setup-sparkle-key.sh b/scripts/setup-sparkle-key.sh index 38e8644..ebbaa90 100755 --- a/scripts/setup-sparkle-key.sh +++ b/scripts/setup-sparkle-key.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: MIT # # One time, by the owner: creates OpenSweep's Sparkle update key and stores it # on GitHub (docs/RELEASING.md). The private key stays in your login keychain