Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
6461120
docs: add rewrite architecture records
xz-dev Jun 22, 2026
9527287
chore: add rewrite agent guardrails
xz-dev Jun 22, 2026
ae0d72c
feat(app): add Flutter shell scaffold
xz-dev Jun 22, 2026
4756f7c
feat(getter): wire package-centric getter submodule
xz-dev Jun 22, 2026
a5730a9
ci: add rewrite validation workflow
xz-dev Jun 22, 2026
59c1a0d
fix(getter): keep Android proxy off Lua deps
xz-dev Jun 22, 2026
3201d92
fix(app): use Flutter-compatible Gradle wrapper
xz-dev Jun 22, 2026
35e6c3d
ci: restrict Telegram notifications to master pushes
xz-dev Jun 22, 2026
80e1eb6
fix(app): use Flutter-compatible AGP
xz-dev Jun 22, 2026
384aee6
docs: add rewrite next-step audit plan
xz-dev Jun 22, 2026
a1c43f4
fix(app): use Flutter-compatible Kotlin plugin
xz-dev Jun 22, 2026
c6838b5
docs: update rewrite next-step completion status
xz-dev Jun 22, 2026
76f771a
feat(app): add getter bridge contract
xz-dev Jun 22, 2026
47f5811
feat(getter): add offline repo validation
xz-dev Jun 22, 2026
0976844
feat(getter): import legacy Room databases
xz-dev Jun 22, 2026
81a5dec
feat(getter): add installed app autogen
xz-dev Jun 22, 2026
8f3ca13
feat(getter): add offline update check
xz-dev Jun 22, 2026
9bb18f2
feat(getter): add offline task lifecycle
xz-dev Jun 23, 2026
1ba7614
feat(app): render getter task DTOs
xz-dev Jun 23, 2026
aed83cb
ci(app): publish Flutter APK artifacts
xz-dev Jun 23, 2026
2e22767
feat(app): add legacy Room migration adapter
xz-dev Jun 23, 2026
39af4c7
feat(app): add Android platform adapter spine
xz-dev Jun 23, 2026
3a5a602
feat(app): add Android installed inventory provider
xz-dev Jun 23, 2026
dd94154
feat(app): bridge installed autogen to Flutter
xz-dev Jun 23, 2026
8a6ac21
feat(app): bridge legacy room import
xz-dev Jun 24, 2026
044ca72
ci: set Android ar for cargo checks
xz-dev Jun 24, 2026
65df6ab
test(app): cover legacy room preparation
xz-dev Jun 24, 2026
c0f6752
test(app): validate native bridge on device
xz-dev Jun 24, 2026
d392b5c
docs(architecture): accept runtime task ADRs
xz-dev Jun 25, 2026
dba34ec
feat(app): bridge runtime task operations
xz-dev Jun 25, 2026
108625a
feat(app): stream runtime notifications
xz-dev Jun 25, 2026
2b98939
docs(todo): update runtime bridge progress
xz-dev Jun 25, 2026
ced8576
feat(app): issue runtime actions from update checks
xz-dev Jun 25, 2026
5061d20
docs(todo): note offline action issuance
xz-dev Jun 25, 2026
71c71c9
docs(lua): document static update candidates
xz-dev Jun 25, 2026
75b9f65
feat(app): issue actions from registered packages
xz-dev Jun 25, 2026
2aad93f
docs(todo): note registered package action issuance
xz-dev Jun 25, 2026
7ebf9be
feat(app): adopt pin version DTOs
xz-dev Jun 25, 2026
c1f7126
feat(app): add typed runtime task APIs
xz-dev Jun 25, 2026
b2c03b7
chore(app): point CLI debug tasks at runtime script
xz-dev Jun 25, 2026
3897038
refactor(app): drop fake task DTOs from product adapter
xz-dev Jun 25, 2026
dd9115c
docs(lua): describe static mock provider boundary
xz-dev Jun 25, 2026
1530a42
refactor(app): drop CLI fake task adapter APIs
xz-dev Jun 25, 2026
7bcaa0b
ci: install multilib for Android LuaJIT builds
xz-dev Jun 25, 2026
4e6274a
chore(app): update Flutter toolchain baseline
xz-dev Jun 25, 2026
25af79c
feat(app): load snapshots from native getter read model
xz-dev Jun 25, 2026
1a5d822
feat(app): submit update checks to runtime
xz-dev Jun 25, 2026
239f98f
docs(architecture): define provider autogen repository model
xz-dev Jun 26, 2026
4d65323
feat(app): use ADR-0012 autogen repository defaults
xz-dev Jun 26, 2026
03cb206
feat(getter): use package directory discovery
xz-dev Jun 26, 2026
4dea731
feat(app): consume package-directory autogen previews
xz-dev Jun 26, 2026
346636f
feat(getter): evaluate package directories
xz-dev Jun 26, 2026
aa3fdbb
fix(getter): update clippy-clean gitlink
xz-dev Jun 26, 2026
a8739cc
feat(getter): expose package-local file reads
xz-dev Jun 26, 2026
1ce7701
fix(getter): hash package-local file inputs
xz-dev Jun 26, 2026
175ae4c
feat(getter): add provider cache primitives
xz-dev Jun 26, 2026
e0673f2
feat(getter): add F-Droid provider fixtures
xz-dev Jun 26, 2026
1a13cbd
feat(getter): cache F-Droid catalog fixtures
xz-dev Jun 26, 2026
728cff6
feat(getter): add F-Droid autogen CLI slice
xz-dev Jun 27, 2026
dddce32
feat(getter): match F-Droid installed inventory
xz-dev Jun 27, 2026
b35b7c4
feat(getter): add GitHub release fixtures
xz-dev Jun 27, 2026
416075e
refactor(getter): remove flat Lua repository layout
xz-dev Jun 27, 2026
80df257
feat(app): expose F-Droid autogen bridge
xz-dev Jun 27, 2026
eb1719d
feat(getter): add GitHub latest commit fixtures
xz-dev Jun 27, 2026
be6f4b3
test(getter): cover F-Droid luaclass shape
xz-dev Jun 27, 2026
526e5d4
test(getter): cover GitHub luaclass shape
xz-dev Jun 27, 2026
cb74bba
feat(getter): add Lua host binding seam
xz-dev Jun 27, 2026
2f6585e
feat(getter): add dev Lua provider host eval
xz-dev Jun 27, 2026
345ef45
feat(getter): add F-Droid dev Lua provider host eval
xz-dev Jun 27, 2026
4e06159
feat(getter): add builtin luaclass fallback
xz-dev Jun 27, 2026
b8e929a
feat(getter): add Lua HTTP host seam
xz-dev Jun 27, 2026
64e2fb4
feat(getter): add dev provider luaclass modules
xz-dev Jun 27, 2026
dd1c259
feat(getter): add Lua HTTP policy harness
xz-dev Jun 27, 2026
8942c7f
feat(getter): add runtime hook harness
xz-dev Jun 27, 2026
19f2fd9
docs(architecture): design provider host API v1
xz-dev Jun 28, 2026
016f977
feat(getter): add stable provider host harness
xz-dev Jun 28, 2026
561d0e7
feat(getter): store provider response provenance
xz-dev Jun 28, 2026
b20fb0a
feat(getter): promote standard provider luaclasses
xz-dev Jun 28, 2026
c86c894
fix(getter): validate provider endpoint ids
xz-dev Jun 28, 2026
9e2be1e
test(getter): lock fdroid generated script boundary
xz-dev Jun 28, 2026
3b70b92
docs(plan): defer fdroid generated provider adoption
xz-dev Jun 28, 2026
0bb0c77
test(getter): cover configured provider endpoints
xz-dev Jun 28, 2026
236794e
feat(getter): use provider-backed update checks
xz-dev Jun 28, 2026
e1993f2
feat(getter): use F-Droid provider module autogen output
xz-dev Jun 28, 2026
67e99a8
feat(app): add installed F-Droid autogen flow
xz-dev Jun 29, 2026
1f7773b
feat(app): refresh F-Droid catalog cache
xz-dev Jun 29, 2026
4fbb6ca
feat(getter): add GitHub standard module runtime slice
xz-dev Jul 2, 2026
a1cdee6
feat(getter): add GitHub autogen product seam
xz-dev Jul 2, 2026
31ab0f9
feat(getter): add GitHub releases live transport slice
xz-dev Jul 2, 2026
5a380f6
feat(app): add GitHub autogen product bridge
xz-dev Jul 2, 2026
1b49340
feat(app): run getter-owned download bytes
xz-dev Jul 2, 2026
ea26f3e
feat(app): load getter startup snapshot
xz-dev Jul 14, 2026
c1f79c1
docs(cli): document app inspect and check
xz-dev Jul 14, 2026
171fb8e
docs(architecture): define artifact staging and installers
xz-dev Jul 16, 2026
0cd8a4b
feat(app): guide fresh package setup
xz-dev Jul 17, 2026
2369bcc
feat(app): bridge Android APK install preparation
xz-dev Jul 17, 2026
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
Prev Previous commit
Next Next commit
feat(app): adopt pin version DTOs
  • Loading branch information
xz-dev committed Jun 25, 2026
commit 7ebf9bee2d6e75c78b41f070f52e2388dc00c869
6 changes: 3 additions & 3 deletions app_flutter/dev_test/cli_getter_adapter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
(package) => package.id == 'android/org.fdroid.fdroid',
);
expect(tracked.favorite, isTrue);
expect(tracked.ignoredVersion, '1.20.0');
expect(tracked.pinVersion, '1.20.0');
expect(tracked.packageResolution, 'missing_package_definition');

final reports = await adapter.readMigrationReports();
Expand Down Expand Up @@ -89,7 +89,7 @@ void main() {
(package) => package.id == 'android/org.fdroid.fdroid',
);
expect(tracked.favorite, isTrue);
expect(tracked.ignoredVersion, '1.20.0');
expect(tracked.pinVersion, '1.20.0');
expect(tracked.packageResolution, 'official_repository_package');

final evaluated = adapter.evaluatePackage(
Expand Down Expand Up @@ -181,7 +181,7 @@ File _createLegacyBundle(Directory temp) {
"kind": "android",
"installed_id": "org.fdroid.fdroid",
"official_package_available": true,
"ignored_version": "1.20.0",
"pin_version": "1.20.0",
"favorite": true
}
]
Expand Down
2 changes: 1 addition & 1 deletion app_flutter/integration_test/native_bridge_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void main() {
expect(result.trackedPackages, hasLength(1));
expect(result.trackedPackages.single.id, 'android/org.fdroid.fdroid');
expect(result.trackedPackages.single.favorite, isTrue);
expect(result.trackedPackages.single.ignoredVersion, '1.20.0');
expect(result.trackedPackages.single.pinVersion, '1.20.0');
expect(result.sourceCounts?.appRows, 1);
expect(result.sourceCounts?.extraAppRows, 1);

Expand Down
2 changes: 1 addition & 1 deletion app_flutter/lib/cli_getter_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ TrackedPackageSummary _trackedPackageFromJson(Object? value) {
id: _asString(json['id'], 'tracked.id'),
enabled: _asBool(json['enabled'], 'tracked.enabled'),
favorite: _asBool(json['favorite'], 'tracked.favorite'),
ignoredVersion: json['ignored_version'] as String?,
pinVersion: json['pin_version'] as String?,
repositoryId: json['repository_id'] as String?,
packageResolution: _asString(
json['package_resolution'],
Expand Down
12 changes: 6 additions & 6 deletions app_flutter/lib/getter_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class FakeGetterAdapter implements GetterAdapter {
id: 'android/org.fdroid.fdroid',
enabled: true,
favorite: false,
ignoredVersion: null,
pinVersion: null,
repositoryId: 'official',
packageResolution: 'official_repository_package',
),
Expand Down Expand Up @@ -303,7 +303,7 @@ class TrackedPackageSummary {
required this.id,
required this.enabled,
required this.favorite,
required this.ignoredVersion,
required this.pinVersion,
required this.repositoryId,
required this.packageResolution,
});
Expand All @@ -313,9 +313,9 @@ class TrackedPackageSummary {
id: _jsonString(json['id'], 'tracked.id'),
enabled: _jsonBool(json['enabled'], 'tracked.enabled'),
favorite: _jsonBool(json['favorite'], 'tracked.favorite'),
ignoredVersion: _jsonOptionalString(
json['ignored_version'],
'tracked.ignored_version',
pinVersion: _jsonOptionalString(
json['pin_version'],
'tracked.pin_version',
),
repositoryId:
_jsonOptionalString(json['repository_id'], 'tracked.repository_id'),
Expand All @@ -329,7 +329,7 @@ class TrackedPackageSummary {
final String id;
final bool enabled;
final bool favorite;
final String? ignoredVersion;
final String? pinVersion;
final String? repositoryId;
final String packageResolution;
}
Expand Down
2 changes: 1 addition & 1 deletion app_flutter/test/native_getter_adapter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void main() {
'id': 'android/org.fdroid.fdroid',
'enabled': true,
'favorite': true,
'ignored_version': '1.20.0',
'pin_version': '1.20.0',
'repository_id': null,
'package_resolution': 'missing_package_definition',
},
Expand Down
2 changes: 1 addition & 1 deletion app_flutter/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class _MigrationGetterAdapter extends FakeGetterAdapter {
id: 'android/org.fdroid.fdroid',
enabled: true,
favorite: true,
ignoredVersion: '1.20.0',
pinVersion: '1.20.0',
repositoryId: null,
packageResolution: 'missing_package_definition',
),
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/adr/0003-legacy-room-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The host-side CLI also keeps the deterministic JSON bridge bundle for tests and
"installed_id": "org.fdroid.fdroid",
"official_package_available": true,
"common_conversion_available": false,
"ignored_version": "1.20.0",
"pin_version": "1.20.0",
"favorite": true
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The first supported `legacy import-room-bundle` slice accepts a JSON bridge bund
"installed_id": "org.fdroid.fdroid",
"official_package_available": true,
"common_conversion_available": false,
"ignored_version": "1.20.0",
"pin_version": "1.20.0",
"favorite": true
}
]
Expand All @@ -99,9 +99,9 @@ It maps `apps[]` into getter tracked package state in `main.db`, writes a saniti

`legacy report-list` returns sanitized migration report summaries through the same JSON envelope so app/test adapters do not need to inspect getter's data-directory layout directly.

The first installed-app autogen slice accepts an Android/platform-provided inventory DTO, computes generated fallback packages in Rust, previews before writing, and applies only after explicit `--accept-all` or `--accept <package-id>` confirmation. Getter owns the canonical repository path `<data-dir>/repositories/local_autogen`, fixed repo id `local_autogen`, default priority `-1`, deterministic package file path `packages/<kind>/<name>.lua`, and `autogen-manifest.json`. Candidates are skipped when any registered repository with priority higher than `local_autogen` already provides that package id. Applying installed autogen writes/registers `local_autogen` package files and tracks accepted packages in `main.db` when they are not already resolved; existing user state (`enabled`, `favorite`, `ignored_version`) and existing non-missing resolution metadata are preserved. Cleanup preview/apply only targets manifest-managed `local_autogen` packages missing from the current installed inventory. Cleanup refuses stale/tampered previews that do not match the current manifest and deletes tracked state only for rows still owned by `local_autogen` generated packages. If an existing autogen file was modified, getter preserves that content into the user-authored `local` repo before regenerating or deleting the managed autogen file.
The first installed-app autogen slice accepts an Android/platform-provided inventory DTO, computes generated fallback packages in Rust, previews before writing, and applies only after explicit `--accept-all` or `--accept <package-id>` confirmation. Getter owns the canonical repository path `<data-dir>/repositories/local_autogen`, fixed repo id `local_autogen`, default priority `-1`, deterministic package file path `packages/<kind>/<name>.lua`, and `autogen-manifest.json`. Candidates are skipped when any registered repository with priority higher than `local_autogen` already provides that package id. Applying installed autogen writes/registers `local_autogen` package files and tracks accepted packages in `main.db` when they are not already resolved; existing user state (`enabled`, `favorite`, `pin_version`) and existing non-missing resolution metadata are preserved. Cleanup preview/apply only targets manifest-managed `local_autogen` packages missing from the current installed inventory. Cleanup refuses stale/tampered previews that do not match the current manifest and deletes tracked state only for rows still owned by `local_autogen` generated packages. If an existing autogen file was modified, getter preserves that content into the user-authored `local` repo before regenerating or deleting the managed autogen file.

`update check --fixture <fixture.json>` is the first Phase D offline update-check slice. The fixture contract is explicitly offline and uses `format = "getter-offline-update-check"`, `version = 1`, `package_id`, optional `installed_version`, optional `ignored_version`, and normalized candidate/artifact DTOs. The command returns `network_required = false`, a getter-owned status (`update_available`, `up_to_date`, `no_candidates`, or `ignored`), the selected update when one exists, and generated download/install action DTOs. An update-selected result must have an actionable artifact; a selected candidate without artifacts is a structured update-check error rather than `update_available` with no actions. It reuses Rust getter update selection and version comparison; it does not run providers, perform downloads, persist download tasks, stream events, or call Android installers.
`update check --fixture <fixture.json>` is the first Phase D offline update-check slice. The fixture contract is explicitly offline and uses `format = "getter-offline-update-check"`, `version = 1`, `package_id`, optional `installed_version`, optional `pin_version` (with transitional `ignored_version` accepted as an input alias), and normalized candidate/artifact DTOs. The command returns `network_required = false`, observed `installed_version`, `effective_local_version`, a getter-owned status (`update_available`, `up_to_date`, or `no_candidates`), the selected update when one exists, and generated download/install action DTOs. An update-selected result must have an actionable artifact; a selected candidate without artifacts is a structured update-check error rather than `update_available` with no actions. It reuses Rust getter update selection and version comparison; it does not run providers, perform downloads, persist download tasks, stream events, or call Android installers.

The first getter-owned task lifecycle slice is also explicitly offline/fake and command-driven. `task submit --request <request.json>` accepts `format = "getter-download-request"`, `version = 1`, `package_id`, `executor = "fake"`, and update actions containing at least one `download` action; an optional `install` action creates an abstract install handoff after a successful fake run. `task run <task-id>` deterministically advances the fake task to `succeeded`; it performs no network I/O and writes no downloaded bytes. `task list` returns persisted task summaries from `main.db`. `task cancel <task-id>` persists cancellation for `queued`/`running` tasks, is idempotent for already-canceled tasks, and rejects terminal success/failure with a structured download error. `task events --after <cursor> --limit <n>` is a pollable CLI/dev event contract with a positive `limit`; it is not a native streaming API, and native streaming/backpressure remains deferred. `task install-result <handoff-id> --status <accepted|succeeded|failed|canceled>` records the platform-side result of an abstract handoff; the getter-created `requested` handoff state is not accepted as a platform result. Getter records handoff requests/results but does not call Android installers, request permissions, create notifications, or decide Android URI/SAF semantics.

Expand Down
6 changes: 3 additions & 3 deletions docs/architecture/upgradeall-getter-rewrite-wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,8 @@ v1 暂不做 repo/script/artifact 强校验。
- repo priority。
- enabled apps/packages。
- user source priority override。
- ignore versions。
- pins。
- legacy ignore/mark version state mapped into `pin_version`.
- pins / version baselines。
- favorites/star。
- migration records。
- settings。
Expand Down Expand Up @@ -983,7 +983,7 @@ end

- saved apps 的基本 identity。
- Android package / Magisk module installed id。
- ignore version / mark version 能力,如果可映射。
- legacy ignore version / mark version 能力映射为 `pin_version`,如果可映射。
- user-visible tracked app 列表。
- 常见 source/cloud config 能力,如果可内置转换。

Expand Down
2 changes: 1 addition & 1 deletion docs/lua-api/package-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Normalize, filter and enrich release candidates.

Choose the candidate/artifact to update to, using installed version and user state.

The first getter-core selection helper uses deterministic tokenized version comparison: digit runs compare numerically, text suffixes compare case-insensitively, separators are ignored, and a prerelease-like text suffix (for example `beta`/`rc`) sorts before the final release with the same numeric prefix. The selector skips the user's ignored version and returns the highest candidate newer than the installed version.
The first getter-core selection helper uses deterministic tokenized version comparison: digit runs compare numerically, text suffixes compare case-insensitively, separators are ignored, and a prerelease-like text suffix (for example `beta`/`rc`) sorts before the final release with the same numeric prefix. The selector returns the highest candidate newer than the effective local baseline. The effective baseline is normally the observed installed version; when the user has set `pin_version`, getter compares candidates against that pin override instead while still keeping the observed installed version available for display/diagnostics.

## resolve

Expand Down
2 changes: 1 addition & 1 deletion docs/lua-api/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Cleanup flow:
5. User confirms yes/no.
6. getter deletes only accepted manifest-managed `local_autogen` files/state.

Cleanup apply refuses stale/tampered previews that do not match the current manifest, and guarded tracked-state deletion only removes rows still owned by `local_autogen` generated packages. Installed apply preserves existing user state (`enabled`, `favorite`, `ignored_version`) and existing non-missing resolution metadata when a package is already tracked. If a managed autogen file has been edited, getter preserves that content into the user-authored `local` repo before regenerating or deleting the generated file. Ordinary autogen cleanup never deletes `local`.
Cleanup apply refuses stale/tampered previews that do not match the current manifest, and guarded tracked-state deletion only removes rows still owned by `local_autogen` generated packages. Installed apply preserves existing user state (`enabled`, `favorite`, `pin_version`) and existing non-missing resolution metadata when a package is already tracked. If a managed autogen file has been edited, getter preserves that content into the user-authored `local` repo before regenerating or deleting the generated file. Ordinary autogen cleanup never deletes `local`.

## Repositories

Expand Down
4 changes: 2 additions & 2 deletions docs/migration/legacy-room-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Complex auth may be dropped.

## ExtraApp mapping

Map mark/ignore version state when possible. In the direct Room DB importer, `extra_app.mark_version_number` wins over `app.ignore_version_number` when both exist for the same package id because it is the more specific extra-app state.
Map legacy mark/ignore version state into rewrite `pin_version` when possible. In the direct Room DB importer, `extra_app.mark_version_number` wins over `app.ignore_version_number` when both exist for the same package id because it is the more specific extra-app state.

## ExtraHub mapping

Expand Down Expand Up @@ -113,7 +113,7 @@ The host-side CLI implementation also accepts a deterministic JSON bridge bundle
"installed_id": "org.fdroid.fdroid",
"official_package_available": true,
"common_conversion_available": false,
"ignored_version": "1.20.0",
"pin_version": "1.20.0",
"favorite": true
}
]
Expand Down
4 changes: 2 additions & 2 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Do not jump to AGP 9 as part of the immediate fix unless the minimal Kotlin fix
| SQLite storage | Use main DB + cache DB, not JSONL product store | `MainDb` and `CacheDb` implemented; `init` creates `main.db` and `cache.db` | Aligned |
| Lua package repositories | Lua files return JSON-like tables; Rust validates | `getter-core/src/lua.rs` and repository loader implemented; hardened lib search path | Aligned |
| Legacy migration | Automatic migration eventually; initial slice may be JSON bridge | JSON bridge bundle import exists; direct Room reader deferred | Partial but acceptable |
| ExtraApp preservation | Do not repeat old bug of skipping `extra_app` state | Current mapping preserves `ignored_version` and `favorite` from extra app slice | Aligned for current slice |
| ExtraApp preservation | Do not repeat old bug of skipping `extra_app` state | Current mapping preserves legacy version override as `pin_version` plus `favorite` from extra app slice | Aligned for current slice |
| Flutter UI | Flutter owns UI/platform only | `FakeGetterAdapter`, route keys, placeholder pages; no real product logic | Acceptable shell; freeze scope until bridge |
| Mixed TDD/BDD | TDD for Rust/domain, BDD for user-facing/integration | Rust unit tests + CLI BDD + Flutter widget tests | Aligned |
| Verification | `just verify` should be the main gate | `just verify` exists, passes locally, and passes in the rewrite validation workflow | Aligned |
Expand Down Expand Up @@ -489,7 +489,7 @@ Completed tasks:
2. Reuse existing getter-core update selection for update availability.
3. Generate minimal download/install action DTOs for the selected artifact.
4. Add CLI command `update check --fixture <fixture.json>`.
5. Add BDD coverage for update available, up to date, ignored latest fallback, ignored-only, unknown installed version, and malformed fixture.
5. Add BDD coverage for update available, up to date, `pin_version` baseline override, unknown installed version, and malformed fixture.
6. Add getter-core task/event/install-handoff DTOs for the first offline lifecycle proof.
7. Add main DB task/event/install-handoff tables and storage APIs with TDD coverage.
8. Implement deterministic fake/offline downloader behavior beyond the previous placeholder crate: submit, run, cancel, list, poll events, and record install result.
Expand Down