Re-import zamowienia wykrywa tranzycje payment_status 0/1->2 i emituje payment.status_changed, dzieki czemu chain reguly automatyzacji #7 zmienia status na w_realizacji. - OrderImportRepository: rozdzielenie paymentTransition (event 0/1->2) i statusOverwriteAllowed (preservacja status_code z Phase 62) - AllegroOrderImportService + ShopproOrdersSyncService: emit payment.status_changed na re-imporcie (gate !wasCreated && wasPaymentTransition) - bin/backfill_payment_transition_111.php: jednorazowy CLI dla zamowien payment_status=2 && status_code='nieoplacone' (Allegro + shopPRO) - Naprawa luki znalezionej w analizie zamowienia #864 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
75 lines
2.6 KiB
Markdown
75 lines
2.6 KiB
Markdown
# Project State
|
|
|
|
## Project Reference
|
|
|
|
See: .paul/PROJECT.md (updated 2026-04-28)
|
|
|
|
**Core value:** Sprzedawca moze obslugiwac zamowienia ze wszystkich kanalow sprzedazy i nadawac przesylki bez przelaczania sie miedzy platformami.
|
|
**Current focus:** Brak aktywnego milestone - v3.4 zamkniety
|
|
|
|
## Current Position
|
|
|
|
Milestone: v3.5 Payment Transition Event (hotfix) — COMPLETE
|
|
Phase: 111 of 111 (Payment Transition Event) — COMPLETE
|
|
Plan: 111-01 — COMPLETE
|
|
Status: v3.5 shipped, awaiting transition (commit) i nastepny milestone
|
|
Last activity: 2026-05-05 — UNIFY Phase 111 / Plan 111-01 complete
|
|
|
|
Progress:
|
|
- Milestone v3.5: [##########] 100% (1/1 phases, 1/1 plans)
|
|
- Phase 111: [##########] 100%
|
|
|
|
## Loop Position
|
|
|
|
Current loop state:
|
|
```
|
|
v3.5 milestone:
|
|
Phase 111 (Payment Transition Event):
|
|
Plan 111-01: PLAN done APPLY done UNIFY done
|
|
-> Phase 111 closed
|
|
-> v3.5 milestone closed (pending transition commit)
|
|
```
|
|
|
|
## Session Continuity
|
|
|
|
Last session: 2026-05-05
|
|
Stopped at: v3.5 milestone closed
|
|
Next action: transition-phase (PROJECT/ROADMAP update + git commit), nastepnie /paul:milestone
|
|
Resume file: .paul/phases/111-payment-transition-event/111-01-SUMMARY.md
|
|
|
|
## Git State
|
|
|
|
Last commit: feat(110): statistics summary
|
|
Branch: main
|
|
Feature branches merged: none
|
|
|
|
## Pending Actions
|
|
|
|
- Uruchom migracje gdy XAMPP online: `php bin/migrate.php` (delivery_statuses)
|
|
- Recznie odtworzyc istniejace reguly automatyzacji z grupowymi kluczami (BREAKING z 108-02)
|
|
|
|
## 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 (TBD z poprzedniego roadmapu)
|
|
- sonar-scanner - skan dla phase 105, 106, 107, 108 nie zostal uruchomiony (skill gap odnotowany)
|
|
- 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 Audit (Phase 108)
|
|
|
|
| Expected | Invoked | Notes |
|
|
|----------|---------|-------|
|
|
| sonar-scanner (required) | o | Wymagany po APPLY 108-01 i 108-02 - odlozony |
|
|
|
|
## Skill Audit (Phase 110)
|
|
|
|
| Expected | Invoked | Notes |
|
|
|----------|---------|-------|
|
|
| sonar-scanner (required) | yes | Skan uruchomiony po APPLY; raport wyslany do SonarQube. |
|
|
|
|
## Phase 110 Notes
|
|
|
|
- Local HTTP verification blocked by MySQL/XAMPP connection refused.
|
|
- PHPUnit not run: `composer` unavailable in PATH and `vendor/` absent.
|
|
- Sonar issue import to `DOCS/todo.md` not performed because SonarQube MCP/resources are unavailable in this session. |