ONE-SYSTEM M3.2.7 — CORE SECURITY REGRESSION GATE v0.1 ======================================================= READ-ONLY / NO APPLICATION DATA MODIFICATION [0] RUNTIME PHP 8.2+ PASS — 8.2.33 PDO extension PASS PDO MySQL extension PASS Development root exists PASS — /home/amiga723/public_html/os/development App root exists PASS — /home/amiga723/public_html/os/development/app [1] BOOTSTRAP / CLASS LOADING Bootstrap candidate loaded: /home/amiga723/public_html/os/development/app/Core/Bootstrap.php Bootstrap candidate loaded: /home/amiga723/public_html/os/development/config/config.php Database class PASS Id class PASS AuthService class PASS SessionManager class PASS AuthorizationService class PASS ModuleRegistry class PASS [2] DATABASE CONNECTION / LIVE SCHEMA Database connection PASS DB server version: 11.4.12-MariaDB-cll-lve Database: amiga723_one_system_vnext_v02 Table core_tenants PASS Table core_users PASS Table core_roles PASS Table core_user_roles PASS Table core_role_permissions PASS Table core_permissions PASS Table core_modules PASS Table core_module_versions PASS Table core_auth_policies PASS Table core_auth_login_attempts PASS Table core_auth_sessions PASS Table core_auth_refresh_tokens PASS Table core_auth_password_reset_tokens PASS [3] CANONICAL COLUMN CONTRACT core_users.id PASS core_users.tenant_id PASS core_users.person_id PASS core_users.username PASS core_users.email PASS core_users.password_hash PASS core_users.status PASS core_users.last_login_at PASS core_users.created_at PASS core_users.updated_at PASS core_roles.id PASS core_roles.tenant_id PASS core_roles.code PASS core_roles.name PASS core_roles.status PASS core_user_roles.user_id PASS core_user_roles.role_id PASS core_role_permissions.role_id PASS core_role_permissions.permission_id PASS core_permissions.id PASS core_permissions.code PASS core_permissions.name PASS core_permissions.module_code PASS core_modules.id PASS core_modules.code PASS core_modules.name PASS core_modules.module_type PASS core_modules.current_version PASS core_modules.active PASS core_auth_policies.id PASS core_auth_policies.tenant_id PASS core_auth_policies.policy_key PASS core_auth_policies.policy_value PASS core_auth_policies.status PASS core_auth_login_attempts.id PASS core_auth_login_attempts.tenant_id PASS core_auth_login_attempts.username PASS core_auth_login_attempts.ip_address PASS core_auth_login_attempts.success PASS core_auth_login_attempts.attempted_at PASS core_auth_sessions.id PASS core_auth_sessions.tenant_id PASS core_auth_sessions.user_id PASS core_auth_sessions.session_token_hash PASS core_auth_sessions.ip_address PASS core_auth_sessions.user_agent PASS core_auth_sessions.expires_at PASS core_auth_sessions.revoked_at PASS core_auth_sessions.created_at PASS core_auth_refresh_tokens.id PASS core_auth_refresh_tokens.tenant_id PASS core_auth_refresh_tokens.user_id PASS core_auth_refresh_tokens.token_hash PASS core_auth_refresh_tokens.expires_at PASS core_auth_refresh_tokens.revoked_at PASS core_auth_refresh_tokens.created_at PASS [4] LEGACY SCHEMA ABSENCE core_auth_login_attempts.user_id absent PASS core_auth_login_attempts.reason absent PASS core_user_role_assignments.user_id absent PASS core_permissions.module_id absent PASS core_modules.module_key absent PASS core_user_role_assignments table absent PASS [5] AUTH / SESSION / RBAC METHOD CONTRACT AuthService::policy PASS AuthService::attempt PASS AuthService::currentUser PASS AuthService::roles PASS SessionManager::create PASS SessionManager::current PASS SessionManager::valid PASS SessionManager::revokeCurrent PASS SessionManager::cookieName PASS AuthorizationService::can PASS [6] AUTHORIZATION CONTRACT SHAPE AuthorizationService references module_code PASS AuthorizationService avoids module_id PASS AuthService avoids login_attempts.user_id PASS AuthService avoids login_attempts.created_at PASS AuthService avoids core_user_role_assignments PASS AuthService uses core_user_roles PASS AuthService uses policy_key PASS [7] PROJECT-WIDE LEGACY REFERENCE SCAN No executable legacy references in app/ FAIL — 1 hit(s) LEGACY [module_id] /home/amiga723/public_html/os/development/app/Modules/ModuleRegistry.php [8] READ-ONLY SAFETY GUARD Diagnostic contains no write SQL PASS [9] FINAL Status: FAIL Direct contract failures: 1 Additional review items: 1 FAILURES: - No executable legacy references in app/: 1 hit(s) No application data was intentionally modified. DELETE THIS FILE AFTER TESTING.