@davoodmehraban89 / Aram / commits / 4f8648a
Fork 0

feat(mapping): add Gate 2B Mapping Workflow Foundation

Implements mapping domain model foundation as required by Gate 2B: - Adds MappingStatus enum (DRAFT, PROPOSED, ACTIVE, RETIRED). - Adds status field to MappingRule with Alembic migration. - Enforces strict lifecycle transitions in SQLAlchemy invariants. - Implements `create_mapping_rule` service validating fiscal year, account existance, target note existance, and rejecting duplicate mapping identifiers. - Adds comprehensive tests for valid and invalid states. - Resolves Github Actions CI collection failure by replacing un-stringified forward references (`FiscalYear`, `NoteRow`, `StatementLine`) in `models.py` relationship type hints with stringified forward references (`"FiscalYear"`, `"NoteRow"`, `"StatementLine"`). - Updates project memory and control documents. Co-authored-by: davoodmehraban89 <57283229+davoodmehraban89@users.noreply.github.com>

google-labs-jules[bot] committed Aug 24, 2026 at 17:20 UTC 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18

No changes.