This commit is contained in:
2026-07-13 21:46:29 +02:00
parent 41cb412cb0
commit 9d96ecadfb
17 changed files with 638 additions and 124 deletions
+13 -15
View File
@@ -1,15 +1,13 @@
Tryb: plan
Data: 2026-07-12T16:47:19+02:00
Projekt: C-visual-studio-code-finansePRO
Status indeksu: indexed, moderate, 789 nodes, 1015 edges
Zapytania: logowanie, sesja, filtr auth, logout, remember.
Najważniejsze pliki:
- `app/Controllers/Auth.php`
- `app/Filters/AuthFilter.php`
- `app/Views/auth/login.php`
- `app/Config/Session.php`
- `app/Config/Cookie.php`
Wniosek: osobne trwałe tokeny per urządzenie odtwarzające istniejącą sesję; bez wydłużania globalnej sesji.
Plan scan: 2026-07-13T21:11:21+02:00
Scope: skanowanie paragonu bezpośrednio z kamery telefonu
Project: C-visual-studio-code-finansePRO
Index status: ready; 789 nodes; 1015 edges
Relevant symbols:
- app/Controllers/Receipts.php: Receipts::new
- app/Controllers/Receipts.php: Receipts::create (lines 41-147; accepts JPG/JPEG/PNG and routes them through existing parser)
- app/Views/receipts/new.php: existing multipart input name="receipt", accepts image/* plus PDF/JSON
- app/Config/Routes.php: GET receipts/new, POST receipts
Impact conclusion: native HTML capture hint in the existing view; no backend, route, parser, model, or database change.
Trace note: trace_path did not resolve the qualified method despite search_graph result; code snippet and connected graph search were sufficient for this one-view change.
jscpd: disabled by policy
ast-grep: disabled by policy
@@ -1,12 +1,16 @@
Tryb: post-apply
Data: 2026-07-12T17:31:28+02:00
Projekt: C-visual-studio-code-finansePRO
- Indeks moderate odświeżony: 789 nodes, 1015 edges.
- `search_graph` nie zwrócił nowych symboli `RememberTokenModel`.
- `search_code` zakończył się błędem tworzenia pliku tymczasowego.
- Fallback: bezpośredni lint 6 zmienionych plików — wszystkie poprawne.
- Zdalna tabela `remember_tokens`: 6 kolumn, 3 indeksy.
- PHPUnit: niedostępny, brak `vendor/bin/phpunit`.
Status: degraded — kod i schemat sprawdzone, brak automatycznego testu runtime.
Post-apply scan: 2026-07-13T21:29:46+02:00
Plan: 20260713-2111-skanowanie-paragonu-kamera
Project: C-visual-studio-code-finansePRO
Index refreshed in fast mode: ready; 835 nodes; 1048 edges
Modified source files:
- app/Views/receipts/new.php
- app/Views/receipts/review.php
Impact conclusion:
- Existing Receipts::create flow, routes, parser, models, and database remain unchanged.
- Native camera capture reuses the receipt upload field.
- Mobile review layout changes presentation only; form names and grouping script remain intact.
Verification:
- php -l both views: pass
- mobile UAT camera and review: approved by user
jscpd: disabled by policy
ast-grep: disabled by policy