Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 34 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

Changes merged after the published v1.0.0 tag; not yet released.

### Added

- Permanent side-by-side DEV build (`fr.zefut.grammalecte.dev`) with a
distinct label and orange launcher icon; the local install helper defaults
to DEV without replacing the production app (#93).
- Edit existing personal dictionary words in a prefilled dialog, with validation,
duplicate feedback and a single offline dictionary update (#120).
duplicate feedback and a single offline dictionary update (#120, #134).
- Warn when the selected keyboard declares that it disables Android's
system spellchecker on Android 12 and newer. The warning refreshes when
changing keyboards and offers a keyboard picker; older Android versions
Expand All @@ -18,17 +23,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

### Changed

- Modernized the main dashboard with Jetpack Compose and Material 3,
including light/dark themes and responsive layout.
- Preserved the existing correction, setup and settings workflows.
- Moved application instrumentation to the isolated DEV build variant,
allowing tests to run without replacing the signed application.
- Reworked first-run onboarding into three accessible steps with live
activation status, settings-return refresh and optional IME setup (#88, #95).
- Completed the Jetpack Compose Material 3 migration of the six active app
screens and advanced diagnostics: home and diagnostics (#96), correction
status (#104), setup (#107), personal dictionary (#118), correction rules
(#122) and selected-text correction (#124; parent #89). Light/dark themes, enlarged text, navigation
and existing Android correction/settings workflows are preserved; the
diagnostic editor remains native for framework spellchecking tests.
- Moved application instrumentation to the isolated DEV build variant.
- Updated the runtime SBOM validator and third-party notices for
AndroidX and Jetpack Compose dependencies.
- Upgraded the Compose BOM to 2026.09.00 (Compose 1.12.1) and QuickJS-KT
to 1.0.18; raised compileSdk to 37 while preserving targetSdk 36 and
minSdk 26. Confirmed CI, CodeQL and Android 26/35/37 instrumentation.
- Upgraded QuickJS-KT to 1.0.18 (#108), Android Gradle Plugin to 9.5.3
and Compose BOM to 2026.11.01 (Compose 1.13), with compileSdk 37.1
across Android modules; targetSdk 36 and minSdk 26 remain unchanged
(#130). Gradle remains 9.6.1.

### Fixed

- Improved the contrast of native spelling suggestion popups in the
diagnostic editor in dark mode (#90, #92).
- Compacted correction IME actions and spacing while preserving minimum
48dp touch targets and large-text support (#91, #94).

### Known limitations

- The FUTO Keyboard restriction is diagnosed, not bypassed or fixed upstream
(#34, #126; futo-org/android-keyboard#1334).
- Samsung Messages can insert a PROCESS_TEXT correction after the original
selection; the independent provider reproduced this on the tested device.
Use the validated IME replacement or explicit manual copy/paste fallback (#50).
The precise host implementation remains unknown.

## [1.0.0]

Expand Down
17 changes: 13 additions & 4 deletions PROJECT_STATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@

> **Latest verified checkpoint:** 2026-12-01 (Europe/Paris).
> **Repository:** https://github.com/zefutoff/grammalecte-android
> **Reference `main` commit:** `a876f2a34e0f936989e7c2e2460a525e15b08c8f` (PR #134 squash merge, 2026-12-01).
> **Reference `main` commit:** `7809cb80e39a870e5210a006175894b447ea9da2` (PR #135 squash merge, 2026-12-01; base of this maintenance update).
> **Historical context:** Earlier 2026-11-30, 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-12-01 (personal dictionary editing #120)
## Current operational checkpoint — 2026-12-01 (maintenance audit)

- Current base `main`: #135 merged at `7809cb80`, documentation only. No open PR was found before this maintenance branch was created. #89 and #120 remain completed; the latest accepted functional change is #134.
- Independently checked job conclusions: #134 post-merge [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538047) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538123) succeeded; #130 post-merge [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343410) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343487) succeeded. #135 pre-merge checks also passed according to its merge checkpoint. No fresh physical acceptance or new signed release is claimed.
- Open issues: [#136](https://github.com/zefutoff/grammalecte-android/issues/136) searchable personal dictionary and dedicated add action (next functional enhancement, separate PR and physical DEV acceptance); [#50](https://github.com/zefutoff/grammalecte-android/issues/50) known Samsung Messages host limitation (independent physical probe reproduced insertion; IME replacement works; precise host cause unknown, no speculative fix); [#85](https://github.com/zefutoff/grammalecte-android/issues/85) F-Droid, January 2027 revisit planned, last monitor snapshot closed/not merged; closure reason and current catalog status unverified.
- Dependency inventory verified against source: AGP 9.5.3, Kotlin 2.4.21, Gradle 9.6.1, Compose BOM 2026.11.01, activity-compose 1.13.0, QuickJS-KT 1.0.18, coroutines 1.11.0, compileSdk 37.1 (app), targetSdk 36, minSdk 26. Weekly Gradle and Actions Dependabot configuration remains active; no pending update PR was found. Wrapper checksum and dependency metadata verification remain configured; signature verification is disabled, with SHA-256 checks used. Independent upstream checksum provenance, vulnerability advisories and exhaustive latest-version comparison were not verified in this audit. No dependency changes proposed.
- Residual branches: 13 examined (excluding main). Six documentation branches and five feature branches exactly match the recorded heads of merged PRs #125/#121/#123/#132/#135/#133 and #107/#118/#124/#134/#128 respectively; one documentation branch `docs/issue117-material3-merged-state` is an ancestor of main (0 ahead); `fix/issue34-keyboard-suppression-diagnostics` exactly matches closed unmerged #119, explicitly superseded by #128. All are cleanup candidates; no branch deletion performed (connector lacks ref deletion). Preserve PR records and recheck heads immediately before deletion. Squash merges explain divergent commit ancestry.
- Changelog, roadmap and F-Droid status reconciled in this maintenance change. Keep published v1.0.0/versionCode 3 immutable; choose a fresh version and validate signing, reproducibility, SBOM, upgrade and distribution separately before the next release.

## Historical operational checkpoint — 2026-12-01 (personal dictionary editing #120)

- [PR #134](https://github.com/zefutoff/grammalecte-android/pull/134) **squash-merged** at [`a876f2a3`](https://github.com/zefutoff/grammalecte-android/commit/a876f2a34e0f936989e7c2e2460a525e15b08c8f) after explicit maintainer authorization. The personal dictionary now offers per-word editing in a prefilled Material 3 dialog with save/cancel, shared input validation, accessible duplicate feedback and a single offline engine replacement. Rejected replacements retain the original stored dictionary; no new dependencies or permissions. The changelog was updated.
- Tested head `28f6235d5db629e94b2a9245661847fb985aa8b8` passed [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46522844262), [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46522844301), [instrumentation API 26/35/37.0](https://github.com/zefutoff/grammalecte-android/actions/runs/46522844323) and [vendored engine smoke](https://github.com/zefutoff/grammalecte-android/actions/runs/46522844192). Each emulator's connected-test step succeeded.
- [Physical DEV acceptance](https://github.com/zefutoff/grammalecte-android/pull/134#issuecomment-7324498068) was confirmed by the maintainer on 2026-12-01: editing, duplicate conflicts, invalid inputs, cancellation, restart persistence, light/dark themes, enlarged fonts and existing add/remove operations. Device OS build was not recorded and device results were not independently reproduced. [Issue #120](https://github.com/zefutoff/grammalecte-android/issues/120) was closed as completed after merge, with acceptance evidence recorded in the issue.
- Post-merge [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538047) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538123) on `a876f2a3` were in progress when checked. Verify their final conclusions; pre-merge success is not post-merge evidence.
- Post-merge [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538047) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46736538123) on `a876f2a3` subsequently completed successfully (verified 2026-12-01).
- The previous dependency checkpoint was followed by documentation-only PR #133, merged at `d3665cf2`; its [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46519184304) and [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46519184335) passed. This is the base used for #134.
- Remaining tracked issues: [#50](https://github.com/zefutoff/grammalecte-android/issues/50) (Samsung Messages host limitation) and [#85](https://github.com/zefutoff/grammalecte-android/issues/85) (F-Droid submission; January revisit planned). The prior #120 deferred status is superseded. No open code PR was observed after #134 merge. No signed release or publication is implied; retain independent release versioning, reproducibility, signing and distribution gates.

Expand All @@ -20,7 +29,7 @@
- [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.
- Post-merge checks on `b7fcf649`: [CI](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343410) **passed**; [CodeQL](https://github.com/zefutoff/grammalecte-android/actions/runs/46517343487) **passed** (final conclusions verified 2026-12-01).
- 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.

Expand Down
35 changes: 26 additions & 9 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Exit criterion: correction remains usable in common editable applications even w
- [x] Grammalecte rule-category settings
- [x] Dictionary choice: all variants / classic / 1990 reform
- [x] Personal dictionary
- [x] Edit existing personal dictionary entries ([#120](https://github.com/zefutoff/grammalecte-android/issues/120))
- [x] Reset-to-default controls
- [x] Import/export of non-sensitive preferences
- [x] Clear status screen for native spell-checker and IME activation
Expand All @@ -96,14 +97,14 @@ Exit criterion: correction remains usable in common editable applications even w
- [x] Add compatibility documentation
- [x] Add performance regression tests
- [x] Add memory/runtime stress tests
- [x] Guided three-step onboarding and compact IME actions (#88, #91)
- [x] Complete Material 3 modernization of active application screens (#89)
- [x] Detect selected keyboards declaring system spellchecker suppression on Android 12+ (#126)

## Pre-release hardening backlog (October 2026 audit)
## Historical hardening backlog (October 2026 audit)

The following tasks remain open despite the completion of the
initial feature and product-polish milestones.

Work through them in the order below, with local regression tests
before any production-code changes.
The initial hardening tasks below are complete. Compatibility tracking
remains separate from production-code changes.

### A — IME correction safety

Expand All @@ -125,8 +126,9 @@ before any production-code changes.

### Parallel compatibility investigations

- [ ] Investigate native spell-checking on GrapheneOS Android 17 (issue #34).
- [ ] Track Samsung Messages PROCESS_TEXT replacement incompatibility (issue #50).
- [x] Investigate native spell-checking on GrapheneOS Android 17 (#34): the reporter confirmed FUTO Keyboard suppression and restoration with AOSP; #34 is closed. Upstream [FUTO #1334](https://github.com/futo-org/android-keyboard/issues/1334) remains a compatibility follow-up, not a Grammalecte fix.
- [x] Complete Samsung Messages differential investigation (#50): the independent debug provider reproduced the host-specific insertion; IME replacement works in the tested configuration.
- [ ] Track Samsung Messages compatibility for new evidence or an upstream host fix ([#50](https://github.com/zefutoff/grammalecte-android/issues/50)); no speculative production workaround.

These investigations must distinguish observed device behavior
from assumptions about Android or vendor implementations.
Expand All @@ -139,4 +141,19 @@ from assumptions about Android or vendor implementations.
- [x] F-Droid metadata and reproducibility checks
- [x] Review Android package namespace before stable release
- [x] Final third-party license review
- [x] First stable release
- [x] First stable release (GitHub v1.0.0)
- [ ] Obtain F-Droid catalog inclusion; the last recorded upstream MR !54224 is closed, not merged ([#85](https://github.com/zefutoff/grammalecte-android/issues/85)). Revisit in January 2027; verify closure feedback and choose the submission path before changing the recipe. See [F-Droid status](docs/fdroid.md).

## Phase 6 — Post-v1.0.0 maintenance and next release

Current priorities (2026-12-01; see [PROJECT_STATE.md](PROJECT_STATE.md)):

- [ ] Searchable personal dictionary with dedicated add action ([#136](https://github.com/zefutoff/grammalecte-android/issues/136)): implement in its own PR, automated checks and physical DEV acceptance with a populated dictionary.
- [ ] Broaden physical-device coverage across supported Android versions and host apps as devices become available.
- [ ] Review dependency updates independently through Dependabot; preserve strict checksum verification, offline operation and APK permission checks.
- [ ] Review the F-Droid submission in January 2027 as tracked by #85.
- [ ] Prepare the next release only after scope and acceptance are agreed: choose a new versionName/versionCode, update release notes and Fastlane metadata, validate signed upgrade and reproducibility/SBOM, and publish from an immutable tag. Never replace the published v1.0.0 APK with modified code.

Samsung Messages #50 remains an understood limitation, not a release fix.
A code merge, physical DEV acceptance, signed publication and F-Droid
inclusion are independent milestones.
Loading