Phase 6 complete: - add AI title generator service using gpt-5-nano - add task popup button for biuro@project-pro.pl - add AJAX endpoint returning title suggestions without auto-save
2.4 KiB
Project State
Project Reference
See: .paul/PROJECT.md (updated 2026-05-04)
Core value: Uzytkownicy moga efektywnie zarzadzac projektami, zadaniami i klientami w jednym systemie CRM Current focus: Next: Phase 2 - Naprawa bledow krytycznych
Current Position
Milestone: v0.1 Stabilizacja i jakosc kodu + import finansow Phase: 2 of 6 (Naprawa bledow krytycznych) - Ready to plan Plan: Not started Status: Phase 6 complete, ready for next PLAN Last activity: 2026-05-04 23:45 - Phase 6 complete; 06-01 UNIFY closed
Progress:
- Milestone: [#####-----] 50% (3 of 6 phases complete: Phase 1, Phase 5 and Phase 6)
- Phase 2: [----------] 0%
Loop Position
Current loop state:
PLAN --> APPLY --> UNIFY
x x x [Loop complete - ready for next PLAN]
Accumulated Context
Recent Decisions
- Phase 6: AI title generation is visible only for logged-in
biuro@project-pro.pl. - Phase 6: Generated title is inserted into the inline title input only; existing save action persists it.
- Phase 6: Use
gpt-5-nanoas the cheap/fast OpenAI model for task title suggestions. - Phase 6: GPT-5 title generation uses
reasoning_effort = minimaland highermax_completion_tokensto avoid empty content. - Phase 6: Prompt requires short bezosobowy noun-style titles, e.g.
Usuniecie bloku o firmie. - Phase 5: Fakturownia client mappings use tax-based keys with legacy id fallback.
- Phase 5: Proforma documents are skipped by kind and FP prefix.
- Phase 5: Selected invoice positions can be skipped without creating finance operations.
- Phase 5: Fakturownia mapping edits are available only for imported operations.
- Phase 5: Mapping changes can optionally bulk-update matching imported operations.
Concerns
- Existing Fakturownia operations identify item mapping from operation description plus mapping fallback. Future importer work should store explicit operation_id -> item_key metadata.
- OpenAI API key remains configured directly in
config.php; this was pre-existing and should be considered for future secret management cleanup.
Git State
Last commit: pending phase transition commit Branch: main Feature branches merged: none
Session Continuity
Last session: 2026-05-04 Stopped at: Phase 6 complete, ready to plan Phase 2 Next action: $paul-plan for Phase 2 Resume file: .paul/ROADMAP.md
STATE.md - Updated after every significant action