diff --git a/PROJECT_STATE.md b/PROJECT_STATE.md index 60baa3f..450d1b5 100644 --- a/PROJECT_STATE.md +++ b/PROJECT_STATE.md @@ -2,17 +2,26 @@ > **Latest verified checkpoint:** 2026-11-30 (Europe/Paris). > **Repository:** https://github.com/zefutoff/grammalecte-android -> **Reference `main` commit:** `0b5f3895fba9fa0247feb8392a616246ec6d37cd` (PR #128 squash merge, 2026-11-30). +> **Reference `main` commit:** `b7fcf649ce4958a66be3d7c0b721627c6bb30709` (PR #130 squash merge, 2026-11-30). > **Historical context:** Earlier 2026-11-27 (keyboard compatibility), 2026-11-24 (rule settings and dictionary), 2026-11-22, 2026-11-21, 2026-11-15 and 2026-11-07 checkpoints below are retained for traceability; their former status statements are not current. > **Change policy:** Verify live GitHub state before operations; this documentation records evidence, not approval to merge, close issues, release builds or change CI. -## Current operational checkpoint — 2026-11-30 (keyboard diagnostic merge) +## Current operational checkpoint — 2026-11-30 (dependency update #130) + +- [PR #130](https://github.com/zefutoff/grammalecte-android/pull/130) **squash-merged** at [`b7fcf649`](https://github.com/zefutoff/grammalecte-android/commit/b7fcf649ce4958a66be3d7c0b721627c6bb30709) with explicit maintainer authorization. AGP `9.5.2` → `9.5.3`, Compose BOM `2026.09.00` → `2026.11.01` (Compose 1.13), and `compileSdk` 37.0 → 37.1 in all three Android modules. `minSdk` 26, `targetSdk` 36, Gradle 9.6.1 and package identities remain unchanged. The release toolchain documentation was updated. +- Initial builds were blocked by missing verification metadata and the new Compose minimum compile SDK; a Kotlin DSL formatting failure was corrected. Added 277 SHA-256 entries from Gradle runner output, with no removal or weakening of existing verification metadata. Generated file blob IDs were matched; independent upstream checksum verification was not performed. The temporary diagnostic workflow was removed and the original CI workflow restored. +- Final PR head `6c974eacdca99b88311fabafab8a6d7d9db0eda1` passed [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46515361617), [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46515361660), [instrumentation API 26/35/37.0](https://github.com/zefutoff/grammalecte-android/actions/runs/46515361569), and [vendored engine smoke](https://github.com/zefutoff/grammalecte-android/actions/runs/46515361824). CI passed lint, unit tests, performance and stress checks, SBOM, Debug and unsigned Release builds, including both APK no-`INTERNET` checks. The tested merge candidate incorporated #128; the intervening `main` change `3f298cba` was documentation-only. +- Post-merge checks on `b7fcf649`: [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343410) **in progress**; [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343487) **in progress** at this checkpoint. Verify final conclusions before declaring post-merge validation complete. +- This is a dependency/toolchain merge, **not** a new physical-device acceptance or signed release. Keep a targeted DEV smoke check of the updated UI and Android integrations, release reproducibility, signing, licensing and distribution acceptance as separate gates. +- Live GitHub register at the checkpoint: no open code PRs; open issues [#50](https://github.com/zefutoff/grammalecte-android/issues/50) (Samsung Messages host limitation), [#85](https://github.com/zefutoff/grammalecte-android/issues/85) (F-Droid submission; January revisit previously planned) and [#120](https://github.com/zefutoff/grammalecte-android/issues/120) (deferred dictionary editing). #89 and #126 are completed. No automatic release or issue closure follows #130. + +## Keyboard diagnostic checkpoint — 2026-11-30 (PR #128 merge) - [PR #128](https://github.com/zefutoff/grammalecte-android/pull/128) squash-merged at `0b5f389`; [issue #126](https://github.com/zefutoff/grammalecte-android/issues/126) closed as completed after verification. The selected IME's public `InputMethodInfo.suppressesSpellChecker()` declaration is read on API 31+, independently of editor focus. Older versions report unknown. The warning appears on home, correction status and advanced diagnostics and refreshes on keyboard switching. - Tested head `a8bc53e` passed [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46066217490), [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46066217539) and [instrumentation API 26/35/37](https://github.com/zefutoff/grammalecte-android/actions/runs/46066217456). Physical DEV acceptance on a Samsung phone with FUTO Keyboard **v0.1.30**, Samsung Keyboard and the synthetic test IME was confirmed on 2026-11-30: warning visibility and persistence, switching, light/dark themes, native suggestions with Samsung Keyboard, selected-text correction and correction IME. Exact OS build was not recorded. See the acceptance checkpoint in #128. - Post-merge [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46513399677) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46513399620) passed on `0b5f389`; Debug and unsigned Release APK logs confirm no `android.permission.INTERNET`. No new physical run on the merge commit is claimed. - [PR #119](https://github.com/zefutoff/grammalecte-android/pull/119) closed without merging as superseded by #128. The validated separate warning and actual direct-test results are retained; the draft's short-circuit and callback-specific messages, duplicate test fixture and obsolete hypothesis are not adopted. [Decision](https://github.com/zefutoff/grammalecte-android/pull/119#issuecomment-7292246589). -- Upstream [FUTO #1334](https://github.com/futo-org/android-keyboard/issues/1334) remains open. Detection is not a suppression bypass or a FUTO fix. No signed release or publication is implied. Next: review dependency PR #130 separately; dictionary editing #120 remains deferred. +- Upstream [FUTO #1334](https://github.com/futo-org/android-keyboard/issues/1334) remains open. Detection is not a suppression bypass or a FUTO fix. No signed release or publication is implied. Dependency PR #130 is now merged as recorded above; dictionary editing #120 remains deferred. ## Selected-text correction checkpoint — 2026-11-30 @@ -21,7 +30,7 @@ | **Selected-text correction / PR #124 / issue #117** | [PR #124](https://github.com/zefutoff/grammalecte-android/pull/124) was **squash-merged** into `main` at [`3ae8e83f`](https://github.com/zefutoff/grammalecte-android/commit/3ae8e83fcd1796d27e09be5a10704e1867de2ec2) on 2026-11-30, after explicit maintainer authorization. Active `ProcessTextActivity` now uses Compose Material 3. Editable host results, read-only copy, separate clipboard fallback, original selection and revision-safe suggestions, asynchronous engine lifecycle and metadata-only diagnostics are preserved by design and tested. | [Issue #117](https://github.com/zefutoff/grammalecte-android/issues/117) is **closed as completed** after verification of the successor `main` checks. The known Samsung Messages limitation [#50](https://github.com/zefutoff/grammalecte-android/issues/50) remains separate. | | **Automated and physical acceptance** | Final PR head `f1ac2bf1b23b7f994d745743b607c094b79eb2f2` passed [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/45513200367), [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/45513200483) and [instrumentation API 26/35/37](https://github.com/zefutoff/grammalecte-android/actions/runs/45513200362); both Debug and unsigned Release APKs passed the no-`INTERNET` check. The maintainer [reported full physical DEV acceptance](https://github.com/zefutoff/grammalecte-android/pull/124#issuecomment-7290649743) on 2026-11-30 covering supported hosts, replace/copy/fallback, suggestion reanalysis, navigation, themes, scaling, keyboard, scrolling and accessibility. A dark-theme screenshot accompanies the reported acceptance; it does not independently prove every host outcome. | Post-merge [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46504573824) passed on `3ae8e83f`. Its [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46504572999) was canceled by the subsequent workflow-only #129 merge, not a confirmed code failure. On successor `main` `efa0e958`, [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46505211062) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46505211449) both **passed**; CI logs confirm both Debug and unsigned Release APKs omit `android.permission.INTERNET`. | | **Material 3 modernization / parent #89** | All six active app screens are migrated via [#96](https://github.com/zefutoff/grammalecte-android/pull/96) (home and diagnostics), [#104](https://github.com/zefutoff/grammalecte-android/pull/104) (correction status), [#107](https://github.com/zefutoff/grammalecte-android/pull/107) (setup), [#118](https://github.com/zefutoff/grammalecte-android/pull/118) (dictionary), [#122](https://github.com/zefutoff/grammalecte-android/pull/122) (rules), and [#124](https://github.com/zefutoff/grammalecte-android/pull/124) (selected-text correction). Individual physical acceptance is recorded; representative before/after light/dark screenshots are attached to #96. The parent acceptance checklist and evidence were verified, and [issue #89](https://github.com/zefutoff/grammalecte-android/issues/89) is **closed as completed**, along with children #103, #106, #115, #116 and #117. | No remaining screen migration under #89. Diagnostics deliberately retain native `EditText`/`TextView` through Compose interoperability to test the Android spellchecker; the system picker activity has no custom screen. Native IME and system integration are not required to be rewritten in Compose. Independent host/keyboard issues and optional enhancements remain separate. | -| **Other active work** | [PR #127](https://github.com/zefutoff/grammalecte-android/pull/127) was verified merged; #34 remains historical; #126 and #128 are completed as recorded above. [PR #129](https://github.com/zefutoff/grammalecte-android/pull/129) is merged at `efa0e958` (CodeQL action update only); post-merge CI and CodeQL passed. [PR #130](https://github.com/zefutoff/grammalecte-android/pull/130) remains an open dependency update. [PR #119](https://github.com/zefutoff/grammalecte-android/pull/119) is closed without merge as superseded by #128. [#120](https://github.com/zefutoff/grammalecte-android/issues/120) is the deferred dictionary editing enhancement. | The Material 3 migration is complete. Review dependency PRs separately. No automatic merge of unrelated work. | +| **Other active work** | [PR #127](https://github.com/zefutoff/grammalecte-android/pull/127) was verified merged; #34 remains historical; #126 and #128 are completed as recorded above. [PR #129](https://github.com/zefutoff/grammalecte-android/pull/129) is merged at `efa0e958` (CodeQL action update only); post-merge CI and CodeQL passed. [PR #130](https://github.com/zefutoff/grammalecte-android/pull/130) has since merged as recorded above. [PR #119](https://github.com/zefutoff/grammalecte-android/pull/119) is closed without merge as superseded by #128. [#120](https://github.com/zefutoff/grammalecte-android/issues/120) is the deferred dictionary editing enhancement. | The Material 3 migration is complete. Review dependency PRs separately. No automatic merge of unrelated work. | | **Release status** | #124 is an accepted DEV feature and a code merge, **not** a new signed or published release. Offline operation and the production/DEV identity boundary remain invariants. | Keep versioning, signing, release acceptance and distribution independent. | The earlier checkpoints below remain historical; their pending selected-text UI migration statements are superseded by this checkpoint.