From a078788ec92e21915bbd00382b4655e18882bb5d Mon Sep 17 00:00:00 2001 From: Mihaela M Date: Mon, 2 Nov 2026 22:11:14 +0100 Subject: [PATCH] chore(rules): refresh the vendored rules-swift to v2.14.0 --- .rules-version | 2 +- docs/rules-swift-audit.md | 25 +- docs/rules-swift-corpus.sha256 | 108 ++++---- third_party/rules-swift/.githooks/commit-msg | 71 ++++- third_party/rules-swift/.githooks/pre-commit | 12 + .../.github/ISSUE_TEMPLATE/config.yml | 2 +- third_party/rules-swift/.github/labels.json | 27 ++ .../.github/pull_request_template.md | 2 +- .../workflows/issue-body-staleness.yml | 15 ++ .../rules-swift/.github/workflows/labeler.yml | 21 +- .../.github/workflows/leak-gate.yml | 12 +- third_party/rules-swift/CHANGELOG.md | 245 +++++++++++++++++- third_party/rules-swift/CONVENTIONS.md | 20 +- third_party/rules-swift/README.md | 93 +++++-- third_party/rules-swift/VERSION | 1 + third_party/rules-swift/accessibility.md | 73 ++++++ third_party/rules-swift/app-intents.md | 64 +++++ third_party/rules-swift/app-logging.md | 59 +++++ third_party/rules-swift/code-style.md | 14 +- third_party/rules-swift/concurrency.md | 4 +- third_party/rules-swift/core/LICENSE | 35 +++ third_party/rules-swift/core/README.md | 2 +- third_party/rules-swift/core/brainstorming.md | 9 + third_party/rules-swift/core/file-naming.md | 20 +- .../rules-swift/core/folder-grouping.md | 4 +- third_party/rules-swift/core/writing-plans.md | 9 + .../rules-swift/crash-and-state-reporting.md | 53 ++++ third_party/rules-swift/cross-platform.md | 16 +- .../rules-swift/dependency-injection.md | 47 +++- third_party/rules-swift/documentation.md | 19 +- third_party/rules-swift/exp/README.md | 4 +- third_party/rules-swift/exp/app-target.md | 51 ++-- .../rules-swift/exp/build-performance.md | 19 +- .../rules-swift/exp/common-mistakes.md | 50 +++- third_party/rules-swift/exp/critical-rules.md | 49 ++-- .../rules-swift/exp/dependency-management.md | 25 +- .../exp/implementation-patterns.md | 77 +++--- third_party/rules-swift/exp/migration.md | 19 +- third_party/rules-swift/exp/package-swift.md | 5 +- third_party/rules-swift/exp/testing.md | 24 +- third_party/rules-swift/exp/verification.md | 11 +- third_party/rules-swift/exp/when-to-create.md | 49 ++-- third_party/rules-swift/framework-policy.md | 57 ++-- third_party/rules-swift/help.md | 75 ++++++ third_party/rules-swift/iphone-duo.md | 101 ++++++++ third_party/rules-swift/linux-server.md | 9 +- third_party/rules-swift/namespacing.md | 15 +- .../rules-swift/package-architecture.md | 24 +- .../rules-swift/package-import-contract.md | 40 +-- third_party/rules-swift/package-structure.md | 6 +- third_party/rules-swift/parsing-rules.md | 16 +- third_party/rules-swift/rules-freshness.yml | 24 ++ .../scripts/check-changelog-touched.sh | 39 +++ .../rules-swift/scripts/check-core-sync.sh | 63 +++++ .../rules-swift/scripts/check-file-names.sh | 68 +++++ .../scripts/check-issue-body-staleness.sh | 134 ++++++++++ .../rules-swift/scripts/check-links.sh | 50 ++++ .../rules-swift/scripts/check-namespacing.sh | 2 +- third_party/rules-swift/scripts/check-repo.sh | 18 ++ .../scripts/check-rule-structure.sh | 35 +++ .../scripts/check-version-bumped.sh | 51 ++++ third_party/rules-swift/scripts/leak-gate.sh | 33 ++- .../scripts/sync-priority-label.sh | 66 +++++ third_party/rules-swift/scripts/sync-rules.sh | 45 ++++ third_party/rules-swift/scripts/test-gates.sh | 212 +++++++++++++++ third_party/rules-swift/shared-protocols.md | 57 ++-- third_party/rules-swift/testing.md | 45 ++++ third_party/rules-swift/ui/appkit-views.md | 2 + third_party/rules-swift/ui/appuikit.md | 37 +++ third_party/rules-swift/ui/components.md | 18 +- third_party/rules-swift/ui/flowspec.md | 7 +- third_party/rules-swift/ui/pane-layout.md | 53 ++++ third_party/rules-swift/ui/pom.md | 2 +- third_party/rules-swift/ui/swiftui-views.md | 2 + third_party/rules-swift/ui/uikit-views.md | 4 + third_party/rules-swift/ui/view-models.md | 2 +- third_party/rules-swift/versioning.md | 65 +++++ 77 files changed, 2555 insertions(+), 389 deletions(-) create mode 100644 third_party/rules-swift/.github/labels.json create mode 100644 third_party/rules-swift/.github/workflows/issue-body-staleness.yml create mode 100644 third_party/rules-swift/VERSION create mode 100644 third_party/rules-swift/accessibility.md create mode 100644 third_party/rules-swift/app-intents.md create mode 100644 third_party/rules-swift/app-logging.md create mode 100644 third_party/rules-swift/core/LICENSE create mode 100644 third_party/rules-swift/crash-and-state-reporting.md create mode 100644 third_party/rules-swift/help.md create mode 100644 third_party/rules-swift/iphone-duo.md create mode 100644 third_party/rules-swift/rules-freshness.yml create mode 100644 third_party/rules-swift/scripts/check-changelog-touched.sh create mode 100644 third_party/rules-swift/scripts/check-core-sync.sh create mode 100644 third_party/rules-swift/scripts/check-file-names.sh create mode 100644 third_party/rules-swift/scripts/check-issue-body-staleness.sh create mode 100644 third_party/rules-swift/scripts/check-links.sh create mode 100644 third_party/rules-swift/scripts/check-repo.sh create mode 100644 third_party/rules-swift/scripts/check-rule-structure.sh create mode 100644 third_party/rules-swift/scripts/check-version-bumped.sh create mode 100644 third_party/rules-swift/scripts/sync-priority-label.sh create mode 100644 third_party/rules-swift/scripts/sync-rules.sh create mode 100644 third_party/rules-swift/scripts/test-gates.sh create mode 100644 third_party/rules-swift/ui/appuikit.md create mode 100644 third_party/rules-swift/ui/pane-layout.md create mode 100644 third_party/rules-swift/versioning.md diff --git a/.rules-version b/.rules-version index 45a1b3f..edcfe40 100644 --- a/.rules-version +++ b/.rules-version @@ -1 +1 @@ -1.1.2 +2.14.0 diff --git a/docs/rules-swift-audit.md b/docs/rules-swift-audit.md index 8bed57f..c1a092f 100644 --- a/docs/rules-swift-audit.md +++ b/docs/rules-swift-audit.md @@ -27,7 +27,9 @@ intended behavior until the repo actually conforms. Rules corpus last read: 2026-06-30 (pinned snapshot `97dc70f`). -Rules corpus file count: 68. +Rules corpus file count: 88. + +Rules corpus refreshed to rules-swift v2.14.0 (e624c8c) on 2026-11-02. New since v1.1.2: 21 rule files, listed in the tables below as NOT yet audited against this repository (a refresh of the pinned copy, not a conformance claim). The acceptance commands of both rules were run on `Sources` (372 Swift files searched) on 2026-11-02 and printed nothing. The rules' app-level tests (every pose, the fold on the simulator, the pane UI test) belong to an app and are not run and not claimed here. Changed since v1.1.2: `.github/pull_request_template.md`, `CHANGELOG.md`, `README.md`, `code-style.md`, `concurrency.md`, `core/README.md`, `core/brainstorming.md`, `core/file-naming.md`, `core/folder-grouping.md`, `core/writing-plans.md`, `cross-platform.md`, `dependency-injection.md`, `documentation.md`, `exp/README.md`, `exp/app-target.md`, `exp/build-performance.md`, `exp/common-mistakes.md`, `exp/critical-rules.md`, `exp/dependency-management.md`, `exp/implementation-patterns.md`, `exp/migration.md`, `exp/package-swift.md`, `exp/testing.md`, `exp/verification.md`, `exp/when-to-create.md`, `framework-policy.md`, `linux-server.md`, `namespacing.md`, `package-architecture.md`, `package-import-contract.md`, `package-structure.md`, `parsing-rules.md`, `scripts/check-namespacing.sh`, `scripts/leak-gate.sh`, `shared-protocols.md`, `testing.md`, `ui/appkit-views.md`, `ui/components.md`, `ui/flowspec.md`, `ui/pom.md`, `ui/swiftui-views.md`, `ui/uikit-views.md`, `ui/view-models.md` (see the canon's CHANGELOG); none adds or alters an acceptance command this repository runs. The files new since the last full read are listed and not yet audited against this repository.