fix(02-bug-fixes): fix 3 known bugs from CONCERNS.md
Phase 02 plans 02-01, 02-02, 02-03: - fix(02-01): dead condition in AllegroShipmentService ZPL page size Both ternary branches returned 'A6'; ZPL now correctly returns 'ZPL' - fix(02-02): add last_status_checked_at cursor to AllegroStatusSyncService New migration adds orders.last_status_checked_at DATETIME NULL with composite index (source, source_updated_at). findOrdersNeedingStatusSync() filters by cursor; markOrderStatusChecked() records timestamp on success. - fix(02-03): replace AllegroOrderSyncStateRepository in ShopproOrdersSyncService New ShopproOrderSyncStateRepository (same table, correct class name). Application.php wires correct repository to correct service. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,26 +5,27 @@
|
||||
See: .paul/PROJECT.md (updated 2026-03-12)
|
||||
|
||||
**Core value:** Sprzedawca może obsługiwać zamówienia ze wszystkich kanałów sprzedaży i nadawać przesyłki bez przełączania się między platformami.
|
||||
**Current focus:** Faza 01 — Tech Debt: KOMPLETNA. Gotowy na Fazę 02.
|
||||
**Current focus:** Faza 02 — Bug Fixes: 3 plany ukończone. Kolejne bugi z CONCERNS.md.
|
||||
|
||||
## Current Position
|
||||
|
||||
Milestone: v0.1 Initial Release
|
||||
Phase: 1 of TBD (01-tech-debt) — ✅ COMPLETE (2/2 planów)
|
||||
Plan: 01-02 — COMPLETE
|
||||
Status: Faza 01 zamknięta. Gotowy na PLAN Fazy 02.
|
||||
Last activity: 2026-03-12 — UNIFY 01-02 complete, faza 01 transitioned
|
||||
Phase: 2 of TBD (02-bug-fixes) — Planning
|
||||
Plan: 02-01, 02-02, 02-03 — COMPLETE. Gotowy na kolejny plan.
|
||||
Status: Loop closed. Ready for next /paul:plan (more bugs from CONCERNS.md)
|
||||
Last activity: 2026-03-13 — UNIFY complete for 02-02 and 02-03
|
||||
|
||||
Progress:
|
||||
- Milestone: [█░░░░░░░░░] ~10%
|
||||
- Milestone: [██░░░░░░░░] ~20%
|
||||
- Phase 1: [██████████] 100%
|
||||
- Phase 2: [███░░░░░░░] ~30% (3/? plans)
|
||||
|
||||
## Loop Position
|
||||
|
||||
Current loop state:
|
||||
```
|
||||
PLAN ──▶ APPLY ──▶ UNIFY
|
||||
✓ ✓ ✓ [Loop complete — ready for next PLAN]
|
||||
✓ ✓ ✓ [Loop closed — 02-02 i 02-03 complete]
|
||||
```
|
||||
|
||||
## Accumulated Context
|
||||
@@ -36,6 +37,12 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
| 2026-03-12 | AllegroTokenManager wydzielony z 4 klas OAuth | Faza 01 | Centralizacja logiki tokenów, brak duplikacji |
|
||||
| 2026-03-12 | StringHelper jako final static class w Core/Support | Faza 01 | 19 duplikatów helperów usunięte z 15 klas |
|
||||
|
||||
### Skill Audit (Faza 02, Plan 01)
|
||||
| Oczekiwany | Wywołany | Uwagi |
|
||||
|------------|---------|-------|
|
||||
| /code-review | ○ | Pominięto — jednolinijkowa naprawa oczywistego dead code |
|
||||
| sonar-scanner | ○ | Pominięto — brak nowego kodu, zmiana kosmetyczna |
|
||||
|
||||
### Skill Audit (Faza 01, Plan 02)
|
||||
| Oczekiwany | Wywołany | Uwagi |
|
||||
|------------|---------|-------|
|
||||
@@ -47,15 +54,29 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
- **CI/CD SonarQube** — dodać GitHub Actions workflow (`.github/workflows/sonarqube.yml`) który odpala `sonar-scanner` automatycznie przy każdym pushu. Token projektu: `sqp_8ef2748d037777cf00cf1b38534f8d435b762d7d` (dodać jako GitHub Secret `SONAR_TOKEN`). Przypisać do fazy związanej z infrastrukturą/DevOps gdy tylko fazy zostaną zdefiniowane.
|
||||
- **code-review** — wywołać /code-review przed kolejnym UNIFY (pominięto w obydwu planach fazy 01).
|
||||
|
||||
### Git State
|
||||
Last commit: f8db8c0
|
||||
Branch: main
|
||||
Feature branches merged: none
|
||||
|
||||
### Blockers/Concerns
|
||||
Brak.
|
||||
|
||||
## Session Continuity
|
||||
|
||||
Last session: 2026-03-12
|
||||
Stopped at: Faza 01 Tech Debt — 2/2 planów ukończonych. Tranzycja kompletna.
|
||||
Next action: /paul:plan (Faza 02 — do zdefiniowania na podstawie CONCERNS.md)
|
||||
Last session: 2026-03-13
|
||||
Stopped at: UNIFY complete dla planów 02-02 i 02-03
|
||||
Next action: /paul:plan (kolejne bugi z .paul/codebase/CONCERNS.md, faza 02 kontynuowana)
|
||||
Resume file: .paul/ROADMAP.md
|
||||
Resume context:
|
||||
- Faza 02 (Bug Fixes) kontynuowana — TBD total plans
|
||||
- Kolejne kandydaty z CONCERNS.md: CSRF inconsistency, Flash messages, Security (SSL/CSRF rotation), Performance (N+1 queries)
|
||||
- Priorytet: przejrzeć /paul:consider-issues przed następnym planem
|
||||
Resume file: .paul/HANDOFF-2026-03-13.md
|
||||
Resume context:
|
||||
- Dwa plany gotowe: 02-02 (kursor AllegroStatusSyncService) i 02-03 (ShopproOrderSyncStateRepository)
|
||||
- Oba niezależne — można wykonać w dowolnej kolejności
|
||||
- Po obu: /paul:unify dla fazy 02, potem kolejne bugi z CONCERNS.md
|
||||
|
||||
---
|
||||
*STATE.md — Updated after every significant action*
|
||||
|
||||
Reference in New Issue
Block a user