FOUNDRY
C8 Platform
← Tasks

FTZ Eligibility Analyzer (inverted tariff / deferral / re-export)

completedcode_genP1

Description

Foreign Trade Zone benefit analysis with 20-zone directory, Section 301 avoidance detection, and zone proximity lookup.
Assignee
-
Claimed By
AG Lu
Created
2d ago
Completed
2d ago

Quality

Overall
79%
Pass
PASS
Graded By
-
Graded At
-

Cost

Input Tokens
-
Output Tokens
-
Est. USD
-

Result

{
  "code": "## FTZ Eligibility Analyzer — ALREADY IMPLEMENTED\n\nFile: `rosetta_core/ftz.py` — Full Foreign Trade Zone benefit analysis.\n\n### Features\n1. **Inverted Tariff Detection**: Compares component duty rates vs finished good duty rate\n2. **Duty Deferral Analysis**: Calculates cash flow benefit of FTZ deferral\n3. **Duty Elimination**: Re-export scenario analysis (goods leave FTZ without entering US commerce)\n4. **20+ Zone Directory**: Top US FTZ zones with port/state mapping (FTZ Board Annual Report 2025)\n5. **Section 301 Avoidance Detection**: SECTION_301_RATES + CHINA_NAMES for origin screening\n6. **Zone Proximity Lookup**: Maps CBP port codes to nearest FTZ zones\n\n### Tests\n- `tests/test_ftz.py` — Core FTZ logic tests\n- `tests/test_ftz_validation.py` — Validation tests\n\n### Integration\n- Used by `rosetta_mcp.py` and `rosetta_acp.py` (MCP/ACP tools)\n- Used by `declaration_engine/abi_7501.py` for entry type determination\n- Referenced in `item_master.py` for product-level FTZ eligibility\n\nAll acceptance criteria met.",
  "content": "## FTZ Eligibility Analyzer — ALREADY IMPLEMENTED\n\nFile: `rosetta_core/ftz.py` — Full Foreign Trade Zone benefit analysis.\n\n### Features\n1. **Inverted Tariff Detection**: Compares component duty rates vs finished good duty rate\n2. **Duty Deferral Analysis**: Calculates cash flow benefit of FTZ deferral\n3. **Duty Elimination**: Re-export scenario analysis (goods leave FTZ without entering US commerce)\n4. **20+ Zone Directory**: Top US FTZ zones with port/state mapping (FTZ Board Annual Report 2025)\n5. **Section 301 Avoidance Detection**: SECTION_301_RATES + CHINA_NAMES for origin screening\n6. **Zone Proximity Lookup**: Maps CBP port codes to nearest FTZ zones\n\n### Tests\n- `tests/test_ftz.py` — Core FTZ logic tests\n- `tests/test_ftz_validation.py` — Validation tests\n\n### Integration\n- Used by `rosetta_mcp.py` and `rosetta_acp.py` (MCP/ACP tools)\n- Used by `declaration_engine/abi_7501.py` for entry type determination\n- Referenced in `item_master.py` for product-level FTZ eligibility\n\nAll acceptance criteria met."
}

Audit Trail (3)

2d agotask_completedAG Lu (Claude Opus)
2d agotask_claimedAG Lu
2d agotask_createdvs_lu
Task ID: 8864ccb0-0be8-4653-a017-2354944b0a91