{ "checked_at": "2026-11-03T11:04:17.3250947Z", "block": "D1 tenant audit metadata console", "regression": { "tool": "pest", "result": "passed", "tests": 41, "passed": 41, "assertions": 410, "duration_ms": 31617 }, "postgres": { "checked_at": "2026-11-03T13:00:38+02:00", "database": "disposable PostgreSQL", "result": "{\"tool\":\"pest\",\"result\":\"passed\",\"tests\":7,\"passed\":7,\"assertions\":85,\"duration_ms\":13938}", "races": [], "persistent_data_changed": false, "database_removed_in_finally": true }, "phpstan": { "tool": "phpstan", "result": "passed", "errors": 0 }, "http": { "checked_at": "2026-11-03T11:03:35.747Z", "environment": "http://127.0.0.1:8005", "result": "passed", "records": [ { "role": "admin", "path": "/auditoria/eventos", "status": 403 }, { "role": "admin", "path": "/auditoria/eventos.csv", "status": 403 }, { "role": "warehouse", "path": "/auditoria/eventos", "status": 403 }, { "role": "warehouse", "path": "/auditoria/eventos.csv", "status": 403 } ], "pilot_grants_changed": false, "business_commands": false, "visual_review": false, "coverage": "Denial before explicit permission; positive access exercised in disposable databases." }, "typescript": "passed; audit-metadata-types.txt", "production_build": "passed; audit-metadata-build.txt", "formatting": "passed", "runtime_packages": 18, "pilot_grants_changed": false, "pilot_mfa_enabled": false, "private_payloads_exported": false, "full_audit_export": false, "visual_review": false, "request_investigation_delta_20261127": { "scope": "The existing audit_metadata_read console can investigate the exact reference of a requisition together with action/actor/inclusive period and export the complete same filtered metadata set. A tenant-matched source predicate prevents a malformed own-tenant event from locating another company's requisition. Literal zero remains an actual action/reference filter instead of becoming an unfiltered query.", "native_process_navigation": "A minimal number/href locator is provided only when the current actor independently passes native Requisition::visibleTo. Metadata-only readers get no locator and the native detail remains refused. A currently visible requisition offers audit navigation only with the explicit existing metadata capability; expiry of that grant removes it and refuses the console. No process content is added to metadata rows.", "csv": "Data rows retain exactly id, recorded date, action and user ID. The existing first header now carries the applied reference/action/actor/date criteria, sanitised against spreadsheet formula execution. A 131-event filtered export crosses the 100-record batch and ignores the screen page; result counting parses CSV data rows rather than counting words that can also occur in the criteria header.", "verification": {"sqlite_integrated_console_and_native_requisition_export": {"tests": 11, "assertions": 363, "passed": true}, "postgresql_integrated_console_and_native_requisition_export": {"tests": 11, "assertions": 363, "passed": true, "database_removed": true}, "frontend_console_native_navigation_and_help": {"files": 3, "tests": 12, "passed": true}, "types": "passed", "phpstan": "passed_zero_errors", "pint": "passed", "scoped_lint_format": "passed", "node_syntax": "passed"}, "top_level_native_readonly": {"command": "node scripts/requisition-ledger-qa-check.mjs --native-review-fixture-only", "passed": true, "transactions_confirmed_by_SHOW_transaction_read_only_on": 3, "scope": "Direct native controller integration on committed disposable PostgreSQL fixtures, two index responses and a streamed CSV; not a browser or full login journey", "privileged_and_metadata_only_process_scopes_independent": true, "only_four_event_fields": true, "all_tracked_source_users_profiles_memberships_stock_budget_and_audit_rows_unchanged": true, "database_role_cluster_and_root_removed": true, "server_started": false}, "private_build": {"path": "storage/framework/testing/sgc-audit-investigation-qa-20261127", "manifest_sha256": "fbe143838fe733a94f0ba7b04695cd51609c43898c8671c5526fdcd832fd6ec6", "passed": true}, "own_fixture_corrections": "Two added synthetic events initially omitted the required user_id; corrected to their actual synthetic actor without weakening the NOT NULL constraint. The previous substring-count CSV assertion now parses actual data rows because selected criteria legitimately repeat an action in the header. No source data was compensated or changed by reads.", "boundaries": "Existing authority only, no new permission or operational grant. The two audit capabilities/profiles in the preview exist only in its guarded synthetic database. No before/after payload, document, financial source writer, production migration, pilot asset installation or operational SGF change. Preserved timestamps retain their existing recorded representation; no new time-zone reinterpretation is introduced. Full private-payload audit export and physical/operational acceptance remain outside this demonstrated scope." } }