# RAMA AG — Workforce Core final deployment report

Prepared: 2026-11-28, Europe/Warsaw. **Selected and active version: v1.1.3. Operational state retained; final production readiness is NOT certified.** The mandatory full isolated database/trigger recovery rehearsal and remaining physical-device/download/printing acceptance have not all passed. No new application replacement, maintenance entry, process stop or restart was performed during this verification pass.

## 1. Release version and provenance

The request initially named v1.1.0. After the version discrepancy was raised, the owner explicitly selected: “Ruaj v1.1.3 dhe verifikoje përfundimisht.” This preserves the approved watermark, calculation-notice and GPS-only device-check fixes. Both v1.1.0 and v1.1.3 archives and annotated Git tag objects were checked; no tag was moved and no downgrade occurred.

| Version | Commit | ZIP SHA-256 |
|---|---|---|
| 1.1.0 | `d2e3a550340b3b0fbf8a6a24fe7e958c5817dc38` | `ae2297233fe989306e697278d97c0df6442fb4567d695ebbf2e6a5dd61dc9b2e` |
| 1.1.3 | `6f96857f452f9059a3381321fd3c6743a92e2161` | `17226c5f289609dcdaab748b90e11f26055d60bb3a4496c1ec112dbf642a9195` |

Selected tag: `rama-workforce-core-v1.1.3`. All **585 release files** in the active installation and candidate match the reviewed source manifest. The compiled assets were rebuilt deterministically and still match the same immutable release bytes. Release SHA256SUMS checks passed. Test-generated storage changes are excluded from source cleanliness checks; operational source is unchanged.

## 2. Deployment status

Active project: `C:\Users\PANDAZZ\Desktop\RAMA-AG\rama-workforce-laravel`. Candidate: `D:\- CLAUD PROJECTS\RAMA AG\dev-v1`. Release directory: `D:\- CLAUD PROJECTS\RAMA AG\compact-v2`.

v1.1.3 was already deployed during the preceding owner-approved maintenance window and reopened with the explicitly documented coarse-GPS limitation. That operational state remains in place. The two obsolete orchestration services named by the manifest are absent; no further files were removed. No migration, destructive database command, reset, reimport, password reset or externally published change occurred in this verification pass.

Because the latest request requires full isolated recovery **before final activation**, a new activation/production-ready declaration is withheld. Keeping the existing owner-accepted installation running is distinct from certifying the new stricter acceptance requirements. No unnecessary development phase or module redesign was introduced.

## 3. Actual application URL and health

URL: [RAMA AG](http://127.0.0.1:3400). Latest HTTP check: 2026-11-28T09:02:09.9465229Z.

- Public health: HTTP 200, `status: ok`.
- Login page: HTTP 200.
- Anonymous administrator export access: HTTP 302, redirects to login.
- Maintenance flag present: False.

## 4. Fresh backup and recovery verification

Protected recovery point: `D:\- CLAUD PROJECTS\RAMA AG\final-deployment-verification-v1.1.3-20261128-010147`. Backup creation: 2026-11-28T00:01:47+00:00.

- Application/config/private-storage/assets backup: **551 files**, ZIP verified and every source hash checked. Environment configuration is included in the owner-only protected backup; secrets are not printed or committed.
- Complementary release-source ZIP: all 585 release files, including test sources, verified against the manifest. Existing dependencies/runtime were not replaced.
- Consistent read-only database snapshot: **50 tables, 32 triggers, 6888 rows**. Original CREATE TABLE definitions include indexes, checks and foreign keys; trigger definitions and bodies are retained.
- Temporary-table recovery: all **6888 rows** round-tripped with zero content-hash mismatches; **72 logical foreign-key relationships** checked. Existing live/test tables were not reset. Trigger execution was **not** replayed, and temporary-table row recovery is **not** a full database recovery rehearsal.
- A complete 50-table dependency order was prepared; no cyclic table dependency was found. No database has been created or loaded for the full rehearsal.

**Full recovery blocker:** `rama_local@127.0.0.1` is restricted to `rama_workforce_laravel`; `rama_test@127.0.0.1` is restricted to the existing migrated `rama_workforce_laravel_test`. A new empty dedicated recovery schema/account has not been supplied. Neither account's grants were expanded, no administrative credential was borrowed, and the existing test schema was not emptied to create space. The owner was asked for a protected local connection-file path or permission to document the blocker; no recovery connection has been received.

See `RAMA_AG_RECOVERY_DATABASE_REQUIREMENTS.md` in this verification folder. It specifies an isolated schema such as `rama_workforce_laravel_recovery_v113`, with a dedicated schema-only account. The full rehearsal must create the original tables/constraints, import all snapshot rows, recreate all 32 trigger bodies (with only the isolated definer mapped), verify all row/schema/trigger hashes and foreign keys, and test enforcement in that isolated copy. No global SET USER/GRANT OPTION or active/test schema access is required. A partial recovery must be preserved for inspection rather than erased with destructive commands.

## 5. Database identity, compatibility and integrity

Verified active identity: `rama_workforce_laravel`, `rama_local@127.0.0.1`, MariaDB `127.0.0.1:3307`, version `10.11.19-MariaDB`. Isolated regression identity: `rama_workforce_laravel_test`, `rama_test@127.0.0.1`. No unrelated database or application was accessed.

All 50 active table structures and 32 trigger bodies match the fresh snapshot. Compatibility/schema tests passed, including the unchanged 20 migration files and already applied migration inventory. No database migration is expected or was run. All business tables remain content-identical to the fresh snapshot. Ordinary active-use deltas are separated below rather than described as a frozen database:

- audit_logs: 103 → 105 rows.
- sessions: 7 → 2 rows.

All 551 baseline active files, including private artifacts and .env, remained unchanged at the preservation check. Runtime caches/sessions may evolve during normal HTTP use; no older snapshot may overwrite newer legitimate records.

## 6. Employee, attendance and historical preservation

Latest detailed preservation check: 2026-11-28T08:57:33+00:00. All original user IDs, roles, statuses and credential fields are preserved; changed user fields versus the fresh snapshot: `[]`.

- users: 11
- attendance_events: 6
- attendance_sessions: 1
- smgv_historical_values: 6427
- smgv_month_closings: 10
- smgv_contracts: 10
- material_orders: 0
- daily_work_reports: 0
- leave_requests: 0
- worksite_user: 4
- smgv_month_states: 12
- audit_logs: 105

The preceding explicitly approved Objekti 1 assignment remains in place; no assignment was changed in this verification. All 6 existing attendance events, the existing session, 6,427 historical source values and 10 immutable closings remain intact. The legitimate additional live minute remains separate from the historical PDF fixture: active productive 1,250.02 h, credited 1,402.52 h, balance 18.52 h. No synthetic active attendance or timestamp was introduced.

## 7. Module and regression verification

The complete existing regression suites were rerun on isolated targets; no tests reset the active database. “Automated pass” below does not mean every module received a new physical-device/manual business workflow.

| Module | Verification coverage | Result |
|---|---|---|
| Administrator dashboard | AdminDashboardTest; DashboardPresentationTest; DashboardOrderPopupTest | Automated pass |
| Employee dashboard | EmployeeDashboardTest (memory); AttendanceUiTest; EmployeeLoginSecurityTest | Automated pass |
| Employee management | WorkersDirectoryTest; EmployeeManagementUiTest (memory); SimpleCredentialsTest | Automated pass |
| Contracts and schedules | SchedulesTest; TimeServiceTest; SmgvHistoricalImportTest; CompactV2Test | Automated pass |
| Worksites | WorksiteManagementTest (memory); WorksiteSelectionTest | Automated pass |
| GPS attendance | AttendanceFlowTest; WorkerScanningFlowTest (memory); WorksiteSelectionTest | Automated pass |
| Travel time | ReturnTravelTest; SixStepTravelTest (memory); TimeServiceTest | Automated pass |
| Break management | RepeatedBreaksTest; AttendanceFlowTest; AttendanceHistoryTest | Automated pass |
| Daily working hours | TimeServiceTest; AttendanceHistoryTest; work-timer JavaScript checks | Automated pass |
| Vacation and absences | LeaveTest; TimeServiceTest; source-reference reconciliation | Automated pass |
| Material orders | OrdersTest; OrdersUiTest; OrderDecisionsDefaultTest | Automated pass |
| Daily and weekly reports | DailyReportsTest; DailyReportsUiTest; WeeklyReportsTest; WeeklyReportsUiTest; ReportPdfTest | Automated pass |
| Monthly closing | TimeServiceTest; SmgvCenterTest; DatabaseIntegrityTest | Automated pass |
| Historical SMGV records | SmgvHistoricalImportTest; WorkforceCoreTest; 561 reference comparisons | Automated pass |
| Annual reports and exports | CompactV2Test; WorkforceCoreTest; active read-only export variants | Automated pass |
| Notifications | NotificationsTest; NavigationCountsTest | Automated pass |
| Albanian and German | LocalizationTest; RoleAccessTest; WorkforceCoreTest locale authorization checks | Automated pass |

| Suite | Cases | Passed | Skipped | Assertions |
|---|---:|---:|---:|---:|
| main | 592 | 494 | 98 | 10491 |
| memory | 97 | 96 | 1 | 741 |
| schema | 2 | 2 | 0 | 76 |

All suites have zero failures/errors. The memory suite overlaps cases skipped by main: 97 memory-only main skips are exercised separately. Two distinct deliberate skips remain: the unmigrated worksite fixture and an optional manual HTML capture. Total across invocations: 592 passed, 11,308 assertions; 594 distinct PHP cases including the two distinct skips. Existing JavaScript runner: six passing entries including 30 timer checks, plus eight focused GPS-only checks. Vite build, installed frontend dependency checks, JavaScript syntax, PHP platform requirements, Pint and whitespace checks passed. All Composer non-development platform requirements report success; no dependency upgrade/install was performed.

## 8. Final SMGV, PDF, Excel and ZIP verification

Compact V2 remains the default. Full compact output is **14 A4 landscape pages**: employee/annual overview on page 1, January–December on pages 2–13, supplementary annual accounting on page 14. Original remains a separate 14-page layout. Both use canonical TimeService data; no historical value or GAV calculation was changed.

Fresh active-data exports were generated in a **read-only transaction using the actual active code/database**, without creating production export records:

| Layout | Full PDF | Annual-only PDF | Monthly PDF | ZIP |
|---|---:|---:|---:|---|
| Compact V2 | 14 A4 landscape | 2 A4 landscape | 1 A4 landscape | One valid PDF entry for the selected employee |
| Original | 14, original portrait basis + landscape sheets | 1 annual sheet | 1 monthly sheet | One valid PDF entry for the selected employee |

All **33 active PDF pages** were rendered, employee/page/month sequence and page boundaries checked; zero out-of-page characters. The exact active full-PDF hashes also match the earlier reviewed active outputs. Historical/source-only and synthetic sample PDFs are byte-identical to their earlier complete 42-page visual review. The regenerated source fixture still passes **561/561 comparisons and 18/18 headline/month checks**, with zero attendance events and full transaction rollback. The reference is restricted to Avni's original pages 1–14.

The active Excel workbook round-trips through PhpSpreadsheet, contains overview, month, day and original-source sheets, and retains all **770 historical source rows for the selected employee**. Both ZIP variants open with a valid PDF entry. Tests also cover multiple employees, duplicate-name collision avoidance, rejected invalid layouts/selections, private audited downloads, MIME types and administrator-only authorization.

The integrated PDF.js canvas preview was previously observed in the actual authenticated application for Compact export #14 and Original #15, including navigation and the Original annual sheet without the blanket watermark. Current preview/source code matches the reviewed release. Source-backed historical hours are distinguished from unapproved automatic rules; ENTWURF remains for non-historical draft reports and underlying rule approval is not forged. No automatic GAV formula was marked verified.

Artifacts and SHA-256 receipts are in this folder's protected `output/pdf` and `evidence/active-export-variants.json`. Backend export generation and download tests are not misrepresented as independently observed native-file arrival or physical printer output.

## 9. Real acceptance results

| Check | Observed result | Acceptance |
|---|---|---|
| Real administrator login | Owner signed in as Administrator in the actual application during the preceding acceptance | Passed; same reviewed code retained |
| Real employee login | Owner signed in as Avni Hoti in in-app browser and native Chrome | Passed |
| Worker authorization | Actual worker export route returned 403; isolated forged-action/locale checks pass | Passed |
| Mobile interface | Earlier German/Albanian 390×844 responsive viewport review passed; physical phone not verified | Responsive review passed; physical-device check pending |
| Physical GPS | In-app request timed out; native Chrome permission granted and real fix received at 5,000 m accuracy | Does not pass the 50 m device check; precise-device/site proximity not certified |
| Actual PDF download | Actual links exercised and authenticated private stored exports audited/hash-verified; native file arrival not independently observed | Owner confirmation still required |
| Integrated PDF preview | Actual Compact/Original canvas, navigation and annual page observed | Passed |
| Print preview/physical printing | New Chrome print verification stopped by the browser safety mechanism because its current URL could not be identified confidently | Not verified; no bypass attempted, no print job submitted |

The owner previously approved reopening with the coarse-GPS limitation and deferred the precise phone check. That earlier operational waiver is preserved as history; it is **not** used to claim that every stricter acceptance check in this final activation request passed. No password reset or unauthorized attendance record was used to complete acceptance.

## 10. PHP memory and runtime configuration

The existing RAMA process (PID 88620 at verification) uses its own `.tools/php/php.exe`, the Laravel public router, `127.0.0.1:3400`, and **process-wide `memory_limit=768M`**. No machine-wide PHP setting was changed. Composer PHP/extensions requirements passed. Source checks confirm the reviewed start script remains intact. No restart was needed or attempted while the mandatory recovery preflight remains blocked. Earlier successful local report/polling observations are not a production load/capacity guarantee.

## 11. Security verification

- Only the exact RAMA roots, accounts and port were used. No unrelated application/server restart, shared-grant change, network exposure, tunnel or firewall change occurred.
- Existing .env, APP_KEY, credentials, private storage and immutable source ZIPs are preserved. Protected backups/reference/export artifacts use owner/SYSTEM ACLs.
- Public health returns only `ok`; anonymous exports redirect to login. Actual worker access is denied, and current regression checks enforce fresh server-side roles and reject forged Livewire actions.
- Download integrity/private no-store/MIME/nosniff behavior passed current automated tests. Local PDF.js worker/font assets are shipped; the renderer fetches same-origin administrator-protected PDFs with PDF-provided evaluation disabled. No employee PDF was sent to an external viewer.
- Actual headers include `X-Frame-Options: DENY`, `object-src 'none'`, `frame-ancestors 'none'`, and `Permissions-Policy: geolocation=(self), camera=(), microphone=()`. Existing CSP script `unsafe-eval` and style `unsafe-inline` allowances remain unchanged; this report does not claim their removal or a security certification.
- GPS-only coordinates remain in the browser; no accuracy threshold or geofence was relaxed. “GPS allowed” is permission status, not verified site proximity.

## 12. Remaining limitations and activation blockers

1. **Mandatory full isolated recovery is blocked** until a new empty recovery database and schema-restricted connection are provided. The existing test database will not be cleared and the existing accounts will not receive broader grants.
2. Precise physical-device GPS/site acceptance remains incomplete (observed 5,000 m). A phone test requires a legitimately reachable, approved endpoint; `127.0.0.1` on a phone would refer to the phone itself. No new public/network endpoint was created.
3. Independent native PDF download arrival, print preview/physical printing, and physical mobile verification remain to be confirmed. Browser safety stopped the current print attempt; that boundary was not bypassed.
4. Unapproved automatic GAV/travel/vacation/Karenz/rounding assumptions remain distinguished from verified historical source hours. No legal certification is claimed.
5. This is the requested local RAMA runtime, not a claim of load testing, public TLS deployment or full cold-disaster recovery readiness.

The requested report is complete as a factual verification/blocker record. **The overall final-production activation objective is not complete and production readiness must not be declared.** A separate recovery connection and the outstanding owner acceptance are the next required inputs; elapsed time or a generic “continue” does not supply missing database privileges or real-device success.

## 13. Rollback and controlled continuation

Before any future activation attempt, renew the protected source/data recovery point at that maintenance boundary; never overwrite this or earlier backups. Recheck exact identities, current legitimate new records, source drift, selected tag/checksums, and the successful full isolated recovery result.

If application activation fails, enter RAMA-only maintenance and identify the port-3400 listener by its full RAMA runtime/router path before stopping it. Restore reviewed application source/assets from the corresponding protected source ZIP and release-source complement. Handle only manifest-confirmed introduced/obsolete files with validated absolute paths; do not use broad recursive deletion. Preserve the current .env/APP_KEY, all current private artifacts and every database record. Never restore an older database snapshot over newer real data merely to roll back code.

Regenerate RAMA's optimized Composer autoload without dependency updates; rebuild package discovery/config/routes/views from that restored source. Start only RAMA with the reviewed own-runtime script and process-local 768M limit on 3400. Verify public health/login, real roles, reporting/download and the agreed owner acceptance before reopening. If recovery cannot be verified, keep maintenance and report the exact failure. The source-overlay rollback rehearsal passed; no real rollback was performed in this verification.

Supporting evidence: `release-preflight.json`, `phpunit-*.xml`, `test-summary.json`, `restore-verification.json`, `full-recovery-plan.json`, `active-preservation.json`, `data-preservation-detail.json`, `active-export-variants.json`, `export-layout-review.json`, `composer-platform.json`, `frontend-dependencies.json`, `frontend-build.log`, and `active-http-security.json` in this verification folder. Previous actual-login/GPS acceptance evidence is retained under `deployment-v1.1.2-20261128-002619/evidence`.
