feat(130): erli shipments and labels

This commit is contained in:
2026-05-16 00:58:14 +02:00
parent 4258751e80
commit 13f570e5af
21 changed files with 1451 additions and 58 deletions

View File

@@ -5,33 +5,33 @@
See: .paul/PROJECT.md (updated 2026-05-16)
**Core value:** Sprzedawca moze obslugiwac zamowienia ze wszystkich kanalow sprzedazy i nadawac przesylki bez przelaczania sie miedzy platformami.
**Current focus:** v3.8 Erli Marketplace Integration - Phase 130 ready to plan.
**Current focus:** v3.8 Erli Marketplace Integration - Phase 131 ready to plan.
## Current Position
Milestone: v3.8 Erli Marketplace Integration
Phase: 130 of 132 (Erli Shipments + Labels) - Not started
Phase: 131 of 132 (Erli Tracking + Automation Hooks) - Not started
Plan: Not started
Status: Ready to plan
Last activity: 2026-05-16 00:23 - Phase 129 complete, transitioned to Phase 130
Last activity: 2026-05-16 00:51 - Phase 130 complete, transitioned to Phase 131
Progress:
- Milestone v3.8: [#####-----] 50% (Phases 127-129 complete; Phase 130 next)
- Phase 130: [----------] 0% (not planned)
- Milestone v3.8: [#######---] 67% (Phases 127-130 complete; Phase 131 next)
- Phase 131: [----------] 0% (not planned)
## Loop Position
Current loop state:
```
PLAN -> APPLY -> UNIFY
done done done [Loop complete - ready for next PLAN]
done done done [Loop complete, ready for next PLAN]
```
## Session Continuity
Last session: 2026-05-16 00:23
Stopped at: Phase 129 complete, ready to plan Phase 130
Next action: $paul-plan for Phase 130 (Erli Shipments + Labels)
Last session: 2026-05-16 00:51
Stopped at: Phase 130 complete, ready to plan Phase 131
Next action: $paul-plan for Phase 131 (Erli Tracking + Automation Hooks)
Resume file: .paul/ROADMAP.md
## Pending parallel work
@@ -39,8 +39,8 @@ Resume file: .paul/ROADMAP.md
## Git State
Last phase commit: 7972bb9 feat(129): erli status mapping sync
Previous: 2565d9b feat(128): erli orders import
Last phase commit: a73bd7f feat(130): erli shipments and labels
Previous: 7972bb9 feat(129): erli status mapping sync
Branch: main
### Skill Audit (Phase 129)
@@ -49,6 +49,12 @@ Branch: main
|----------|---------|-------|
| `sonar-scanner` | gap documented | Attempted before UNIFY; CLI is not available in PATH. |
### Skill Audit (Phase 130)
| Expected | Invoked | Notes |
|----------|---------|-------|
| `sonar-scanner` | gap documented | Attempted after APPLY; CLI is not available in PATH. |
## Pending Actions
- Manualne testy AC-1..AC-7 dla Phase 112 na zywej bazie (XAMPP online).
@@ -76,6 +82,9 @@ Branch: main
- Phase 128 verification gap: `vendor/bin/phpunit` nie istnieje w checkoutcie, wiec test `tests/Unit/ErliOrderMapperTest.php` nie zostal uruchomiony przez PHPUnit; wykonano `php -l` i runtime smoke mappera.
- Phase 129 follow-up: uruchom `php bin/migrate.php`, sprawdz `/settings/integrations/erli` mapowania pull/push i zakladki, zapisz mapowania, ustaw `orderPRO -> Erli`, zmien recznie status zamowienia Erli i uruchom cron `erli_status_sync`.
- Phase 129 verification gap: `vendor/bin/phpunit` nie istnieje w checkoutcie, a globalny XAMPP PHPUnit jest niekompatybilny z PHP (`each()` removed), wiec testy `ErliOrderMapperTest` i `ErliStatusSyncServiceTest` nie zostaly uruchomione przez PHPUnit; wykonano `php -l`, runtime smoke mappera i `git diff --check`.
- Phase 130 follow-up: uruchom `php bin/migrate.php` (dodaje `carrier_delivery_method_mappings.source_service_id/source_vendor_code`), otworz `/settings/integrations/erli?tab=delivery`, zapisz mapowanie metody Erli na InPost/Apaczka oraz vendor Erli, a potem utworz etykiete dla zamowienia Erli i potwierdz `POST /shipping/external`.
- Phase 130 verification gap: `vendor/bin/phpunit` nie istnieje w checkoutcie, wiec test `tests/Unit/ErliExternalShipmentServiceTest.php` nie zostal uruchomiony przez PHPUnit; wykonano `php -l` i `git diff --check`.
- Phase 130 skill gap: `sonar-scanner` nie jest dostepny w PATH, wiec skan SonarQube nie zostal uruchomiony.
## Deferred to Next Milestones