From a28d5ac2df95d5502173109a04152889c7b60ad7 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sat, 28 Nov 2026 08:15:18 +0100 Subject: [PATCH] Drop lint, coverage and line-cap gates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug-class-check: none — gate policy change (kuhy 2026-11-27) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WzxdWZDq7ef5JyQd7Rx3Ju --- .github/workflows/file-length.yml | 33 ------------------------------- .pre-commit-config.yaml | 11 ----------- AGENTS.md | 6 +++--- pubspec.yaml | 2 +- 4 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/file-length.yml diff --git a/.github/workflows/file-length.yml b/.github/workflows/file-length.yml deleted file mode 100644 index 5bba76a..0000000 --- a/.github/workflows/file-length.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: file-length - -# The 250-line cap, enforced on push as well as at commit time. The local -# pre-commit hook can be skipped (a fresh clone that never ran -# scripts/install_hooks.sh has no hooks at all), so the cap needs a second -# gate that no one can forget to install. -# -# Deliberately a SEPARATE workflow from release-apk.yml: a file that grew too -# long should fail lint, not block publishing an APK. -on: - push: - branches: [main] - pull_request: - workflow_dispatch: - -jobs: - file-length: - name: file length <= 250 lines - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - # The gate and its exemption list live in the shared utils repo so every - # repo enforces the same cap. Checking it out beats vendoring a copy - # here, which is exactly how a gate and a survey start disagreeing. - - name: Check out the shared gate - uses: actions/checkout@v4 - with: - repository: kuhyx/utils - path: .utils - - - name: Enforce the cap - run: bash .utils/scripts/check_file_length.sh --all diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab4867a..4303736 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,17 +40,6 @@ repos: pass_filenames: false always_run: true - # The shared 250-line cap. Checks only the files in the commit, so an - # unrelated commit never breaks; exits 1 rather than warning. No - # baseline and no allowlist -- those are suppressions. The exemption - # list (generated/vendored/data files) lives with the checker in - # ~/src/utils/file_length/config.py so the gate and the survey cannot - # disagree. - - id: file-length - name: file length <= 250 lines - entry: scripts/check_file_length.sh - language: system - # Four markdown namespaces (README / CLAUDE* / DOCS* / TODO*), plus the # rule that a TODO carries "REMOVE ME AFTER FINISH" and nothing else may. # Shared gate in ~/src/utils owns the namespaces and the exemption list, so diff --git a/AGENTS.md b/AGENTS.md index 539b00d..a9d8f9c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,9 +47,9 @@ and sync peer-to-peer through a GitHub repo used as dumb storage. - run: `./run.sh` (desktop; mobile: `flutter run`) - test: `flutter test --reporter=compact` - test-changed: `scripts/test_changed.sh` -- lint: `flutter analyze` -- coverage: `flutter test --coverage --reporter=compact` -- coverage-gaps: `coverage-gaps coverage/lcov.info` +- lint: n/a: dropped (kuhy, 2026-11-27) +- coverage: n/a: dropped (kuhy, 2026-11-27) +- coverage-gaps: n/a: dropped (kuhy, 2026-11-27) - deploy: `scripts/deploy.sh` (MCP service, desktop pacman package, phone release; exits non-zero unless every health check passes) ## Architecture diff --git a/pubspec.yaml b/pubspec.yaml index 1ae2282..8cddb92 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.108+1 +version: 1.0.109+1 environment: sdk: ^3.12.2