E1-07: Add Android Vehicle UI - #37
Merged
Merged
Conversation
Owner
Author
|
Owner-review correction completed in the required TDD sequence:
Owner-ratified D-84 through D-88 and ADR-0085 through ADR-0089 were not reopened or amended. The linked Shared framework header remains byte-exact with the unchanged golden. Local final evidence:
The pull request remains human-gated and must not be merged by the agent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Story
E1-07 - Android UI: Vehicles - MReady Check
AcceptedScope Completed
savedVehicleId.SwiftAppGraph.Confirmation,AuthProviderandSyncTriggerto exact Kotlin-matching Swift andShared...Objective-C names.TDD Evidence
bbbec4af5eafcf4e236543d10013ca54bcbbcf03459829fe8100d1075e2cf350c708c567b252f0f0e1704d101d08628e9f71ec3dd9aba1dbe205991ca7324bAcceptance Evidence
UiStatestill contains codes and data only.includeDeleted = false; tests prove tombstones do not enter the emitted list.CreateVehicleCommand(name = "Restored draft", initialOdometerKm = 321), and edits made before first facts appear in the capturedUpdateVehicleCommand.Swift ABI and Golden Header
main.releaseVehicleFormStateHolder,releaseFuelEntryListStateHolder,releaseFuelEntryFormStateHolderandVehicleFormUiState.savedVehicleId.Confirmation,AuthProviderandSyncTriggerwith matchingSharedConfirmation,SharedAuthProviderandSharedSyncTriggerObjective-C names. C-2 creates no additional golden diff from the preceding D-90 state because those Kotlin-matching names were already generated; the annotations make them contractual rather than export-configuration artifacts.Shared.frameworkheader exactly matches the committed golden and exposes no forbidden provider, repository, command or use-case declarations.INITIAL_ODOMETER_RANGE_KMis hidden from Objective-C.Decisions Made
Verification Run
./gradlew :feature:vehicle:testAndroidHostTest :shared:testAndroidHostTest :core:common:testAndroidHostTest— 81 actionable tasks, successful../gradlew :androidApp:compileDebugKotlin :androidApp:compileDebugAndroidTestKotlin— 113 actionable tasks, successful../gradlew :androidApp:connectedDebugAndroidTest— five tests passed onE1_07_API_36../gradlew :composition:ios:linkDebugFrameworkIosSimulatorArm64— 69 actionable tasks, successful.diff -u— no output.git diff --check— no output.Contract Impact
docs/CONTRACTS.mdforsavedVehicleIdand keyed Swift holder release.Decision Board Impact
Shared-Write Modules Touched
:core:database— D-89 graph-owned lifetime correction; no schema or migration change.:core:common,:feature:vehicle,:shared,:composition:ios— reviewed presentation and ABI corrections.Project Log Entry
docs/PROJECT_LOG.md.Human Review Gate
This pull request was not merged and MUST NOT be merged by the agent.
Risks or Follow-ups
DefaultAppGraph.syncController()remains staged and throws if called; E3-03 must supply the final controller.VehicleFormStateHolder.loadedInitialOdometerKmis not refreshed after a successful edit, so a later save can still report the initial odometer as changed.VehicleCreationTestuses the device database and accumulates Vehicles across runs instead of using hermetic storage.VehicleSliceRuntime.refresh()reports success even when an individualapplyRemoteVehiclecall fails; the final synchronization path must propagate per-item failure correctly.FeaturePackageRulesinspects imports only, so fully qualified forbidden usages can bypass it.requestDelete/confirmDeleteand the restoration error branch.R.string.error_out_of_rangein a future correction.