π€ Contributing to WealthFam β
Welcome to the WealthFam Engineering Hub. We follow a "Precision First" engineering philosophyβevery commit should be accurate, every feature should be idempotent, and every bug should be documented.
ποΈ Core Contribution Areas β
1. Ingestion Microservice (Parser) β
The Parser is the gateway for all Precision data. We are always looking for new regex templates for international and regional banks.
- Location:
parser/core/templates/ - Standard: Follow the existing YAML structure. Each template MUST include test cases for:
- Successful parsing of debit/credit.
- Identification of account masks.
- Balance discovery (where available).
2. Mobile Native Widgets (Flutter) β
WealthFam Mobile uses a minimalist, high-performance Material 3 design system.
- Location:
mobile_app/lib/widgets/ - Guidelines: Use the built-in
PrecisionCardandNeonLabelcomponents. Avoid external styling libraries.
3. Backend Analytical Engines (FastAPI) β
The backend handles heavy lifting (XIRR, Portfolio rebalancing, AI Triage).
- Location:
backend/app/services/ - Requirement: Use Type Hints throughout. All SQL queries must be optimized for DuckDBβs columnar architecture.
π οΈ Development Standards β
𧬠Commit Message Standards β
We use a Precision commit standard for easy auditing:
feat(scope): ...β New functional behavior.fix(scope): ...β Bug fix (always include the error hash if possible).infra(scope): ...β Changes to Docker or deployment scripts.docs(scope): ...β Documentation updates.
π§ͺ Quality Assurance β
- Linting: Run
flake8oreslintbefore pushing. - Schema Integrity: If modifying models, provide a migration patch in
backend/app/core/migrations/. - Idempotency Check: Ensure your operations (especially in the Parser) can be run safely multiple times.
π The RFC Process β
Major architectural shifts require a Request for Comments. Reference the RFC Process before starting significant refactors.
*Accuracy Above All Β· Zero Manual Entry Β· Precision Integrity*
