Skip to content

Chore/audit hardening#4

Merged
gjong merged 17 commits into
mainfrom
chore/audit-hardening-phase1
May 24, 2026
Merged

Chore/audit hardening#4
gjong merged 17 commits into
mainfrom
chore/audit-hardening-phase1

Conversation

@gjong

@gjong gjong commented May 24, 2026

Copy link
Copy Markdown
Contributor

Refactor after audting

gjong and others added 17 commits May 24, 2026 19:17
Route invoice scanning through domain contracts/use cases, improve worker retry/offline fallback behavior, add androidTest smoke coverage in CI, and update ADR/docs to reflect the new security and quality baseline.

Co-authored-by: Cursor <cursoragent@cursor.com>
Require signing secrets for release workflow builds, derive app versionCode from APP_VERSION_CODE in CI, remove debug-signing fallback for release, and update audit/readme documentation accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce domain/common Resource as a compatibility alias, keep existing util Resource behavior stable, and update architecture/audit documentation to track the incremental import migration plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
Return an explicit error for offline ID-based transaction filters (category/expense/contract), keep cache fallback for date/type/text-only queries, and update the audit progress notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce unit coverage for fresh cached overview reads and refresh-triggered invalidation/network fetch paths, and mark the related audit test-expansion item as completed.

Co-authored-by: Cursor <cursoragent@cursor.com>
Switch domain repository contracts and non-pattern-matching use cases to import Resource from domain/common, keeping compatibility semantics intact and documenting the remaining migration scope.

Co-authored-by: Cursor <cursoragent@cursor.com>
Extract failure classification into a testable helper, add unit coverage for retry/failure branches (IO, auth HTTP, server HTTP, unknown), and update audit progress for the worker test expansion.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move source/target preservation rules out of TransactionFormViewModel into a focused helper to reduce ViewModel responsibilities while preserving existing type-switch behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move transaction payload building and optional metadata id resolution into dedicated helper functions to reduce TransactionFormViewModel responsibilities while keeping submit behavior unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move auto-classify status and state-merge logic into a focused helper file so TransactionFormViewModel keeps orchestration concerns while preserving behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move source/target counterparty search state transitions into focused helper functions to simplify TransactionFormViewModel orchestration while preserving existing search behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move transaction-to-form edit state mapping into a dedicated helper to reduce TransactionFormViewModel size while preserving edit initialization behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move optional-section expansion decision logic into a focused helper so TransactionFormViewModel keeps reactive flow orchestration while preserving mode behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gjong gjong changed the title Chore/audit hardening phase1 Chore/audit hardening May 24, 2026
@gjong gjong merged commit 0eccd16 into main May 24, 2026
1 of 2 checks passed
@gjong gjong deleted the chore/audit-hardening-phase1 branch May 24, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant