7.4 KiB
Project State
Project Reference
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 131 ready to plan.
Current Position
Milestone: v3.8 Erli Marketplace Integration Phase: 131 of 132 (Erli Tracking + Automation Hooks) - Not started Plan: Not started Status: Ready to plan Last activity: 2026-05-16 00:51 - Phase 130 complete, transitioned to Phase 131
Progress:
- 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]
Session Continuity
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
Git State
Last phase commit: a73bd7f feat(130): erli shipments and labels
Previous: 7972bb9 feat(129): erli status mapping sync
Branch: main
Skill Audit (Phase 129)
| Expected | Invoked | Notes |
|---|---|---|
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).
- Backfill zamowienia #882 - operator robi recznie po wdrozeniu (poza zakresem planu).
- Uruchom migracje gdy XAMPP online:
php bin/migrate.php(delivery_statuses). - Recznie odtworzyc istniejace reguly automatyzacji z grupowymi kluczami (BREAKING z 108-02).
- HostedSMS inbound replies: requires DCS/HostedSMS activation before implementation.
- Phase 117 follow-up: run migration when XAMPP MySQL is online and manually test real SMSPLANET sends for Bearer token and key + password.
- Phase 119 follow-up:
composer install+vendor/bin/phpunit tests/Unit/OrderImportRepositoryTest.phpto run the 3 new tests; manual smoke test re-syncing order #976 from shoppro to confirmtotal_paid=91.00persists across re-import. - Phase 121 follow-up: manually verify SMSPLANET settings/test send, inbound webhook insertion, order SMS tab, and notification polling/browser notification.
- Phase 121 transition note: git commit was not created during UNIFY because the worktree contains unrelated Phase 118/local dirty files; prepare a scoped commit manually.
- Phase 122 follow-up: manually verify settings save/reload and real SMSPLANET test/order sends with non-empty and empty footer; manually trigger over-limit final body rejection in UI.
- Phase 123 follow-up: wystaw nowy paragon i potwierdz
items_jsonzawieravatper pozycja; eksport XLSX z paragonem multi-rate (np. mix 23% + 8%) — sprawdz osobne wiersze; eksport "wybrane paragony" zachowuje breakdown. - Phase 123 deferred: RECEIPT-NET-FIX (
ReceiptService::issue()zapisujetotal_net=total_gross) — udokumentowane w.paul/codebase/todo.md. - Phase 124 follow-up:
php bin/migrate.php(XAMPP MySQL online) — utworzysms_templates. Operator nastepnie tworzy szablony manualnie z/settings/sms-templates. - Phase 124 follow-up: real smoke wysylki SMS z szablonu (zamowienie z paczka + skonfigurowana stopka SMSPLANET) — sprawdzic ze
sms_messages.bodyma stopke raz, finalna tresc <= 918 znakow. - Phase 124 follow-up: regresja Email — wyslij e-mail z istniejacym szablonem aby potwierdzic ze refaktor
Email\VariableResolverna fasade nie zlamalEmailSendingService. - Phase 125 follow-up: uruchom
php bin/migrate.php(XAMPP MySQL online) — backfill 7 zamowien + DROP COLUMNorders.is_invoice. Weryfikacja:SELECT id, invoice_requested FROM orders WHERE id=1089;->1;SHOW COLUMNS FROM orders LIKE 'is_invoice';-> empty. - Phase 125 follow-up: ponowne uruchomienie migracji powinno byc no-op (
ALTER TABLE orders COMMENT = 'phase-125 backfill no-op'). - Phase 125 follow-up: zaimportuj nowe zamowienie shopPRO z
firm_nip(bez kluczy w 5-elementowej liscie wczesniejszej heurystyki) -> potwierdz ze UI w zakladce Platnosci pokazuje zaznaczony checkbox „Klient prosi o fakture" i widoczny przycisk „Wystaw fakture". - Phase 121 transition note (rozwiązane): commit
360eef1obejmuje Phase 121 i Phase 122 razem; per-faza hunk-split nie wykonany ze względu na nakładkowe modyfikacje plików. - Phase 126 follow-up: manual smoke
/orders/1090/invoice/create(JDG, NIP 5170167517) -> "Imie i nazwisko"="JACEK PYZIAK", "Nazwa firmy"="Project-Pro Pyziak Jacek" niezmieniona; drugi smoke na zamowieniu spolki z aktywnym KRS;curl /api/nip/lookup?nip=5170167517->data.is_jdg=true. - Phase 127 follow-up: uruchom
php bin/migrate.phpgdy lokalny MySQL/XAMPP jest online, zapisz prawdziwy klucz Erli w/settings/integrations/erli, wykonaj realny test polaczenia i potwierdz wpis w hubie integracji. - Phase 128 follow-up: uruchom
php bin/migrate.php, wlacz import Erli w/settings/integrations/erli, kliknijImportuj zamowienia teraz, potwierdzorders.source='erli'i sprawdz, ze przy bezblednym batchu inbox ACKPOST /inbox/mark-readnie zostawia nieprzeczytanych zdarzen. - Phase 128 verification gap:
vendor/bin/phpunitnie istnieje w checkoutcie, wiec testtests/Unit/ErliOrderMapperTest.phpnie zostal uruchomiony przez PHPUnit; wykonanophp -li runtime smoke mappera. - Phase 129 follow-up: uruchom
php bin/migrate.php, sprawdz/settings/integrations/erlimapowania pull/push i zakladki, zapisz mapowania, ustaworderPRO -> Erli, zmien recznie status zamowienia Erli i uruchom cronerli_status_sync. - Phase 129 verification gap:
vendor/bin/phpunitnie istnieje w checkoutcie, a globalny XAMPP PHPUnit jest niekompatybilny z PHP (each()removed), wiec testyErliOrderMapperTestiErliStatusSyncServiceTestnie zostaly uruchomione przez PHPUnit; wykonanophp -l, runtime smoke mappera igit diff --check. - Phase 130 follow-up: uruchom
php bin/migrate.php(dodajecarrier_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 potwierdzPOST /shipping/external. - Phase 130 verification gap:
vendor/bin/phpunitnie istnieje w checkoutcie, wiec testtests/Unit/ErliExternalShipmentServiceTest.phpnie zostal uruchomiony przez PHPUnit; wykonanophp -ligit diff --check. - Phase 130 skill gap:
sonar-scannernie jest dostepny w PATH, wiec skan SonarQube nie zostal uruchomiony.
Deferred to Next Milestones
- Phase 68 - Code Deduplication Refactor (0/2 Planning, nigdy nie rozpoczety).
- STAT-NET - netto shopPRO z API lub z
order_items.tax_rate(.paul/TODO.md). - Mobile Orders List / Mobile Order Details / Mobile Settings.
- INDEX-106-01 - indeksy DB dla query
customer_returned_count:order_addresses(order_id, address_type),shipment_packages(order_id, delivery_status)(gdy dataset >50k wierszy).
Skill Requirements
sonar-scannerrequired after APPLY; Phase 116, Phase 117, Phase 121, Phase 122, Phase 128 and Phase 129 gaps documented because CLI was not available in PATH.