fix: validate dossier scope and accurate directory MFA status
This commit is contained in:
@@ -1115,5 +1115,72 @@
|
||||
"portal_release_switch": false,
|
||||
"visual_acceptance": "pending_team_execution_and_record"
|
||||
}
|
||||
},
|
||||
"targeted_error_consistency_review": {
|
||||
"recorded_at": "2026-10-29T20:42:11.713173+00:00",
|
||||
"base_commit": "4f72751b8bd423c0240d776331d7561d2dcd154a",
|
||||
"corrections": [
|
||||
"Reject an explicit opportunity outside an empty dossier with HTTP 422 instead of silently falling back to general context.",
|
||||
"Staff directory MFA flag requires both an existing secret and confirmation; SQL returns only a boolean, never the secret."
|
||||
],
|
||||
"new_unit_tests": {
|
||||
"passed": 3,
|
||||
"assertions": 5
|
||||
},
|
||||
"directed_existing_feature_tests": {
|
||||
"passed": 20,
|
||||
"assertions": 461
|
||||
},
|
||||
"regressions_reproduced_before_fixes": true,
|
||||
"phpstan": "passed; full after context fix and both modified app files after MFA fix",
|
||||
"pint": "passed; four changed PHP files",
|
||||
"historical_baseline": "798 PHP and 1190 frontend accepted; not rerun in full; totals above retain their historical scope",
|
||||
"previous_evidence_integrity": {
|
||||
"files_checked": 32,
|
||||
"mismatches": 0
|
||||
},
|
||||
"migration_contract_mismatches": 0,
|
||||
"source_sha256": {
|
||||
"app/Services/InvestmentConsumerScope.php": "b63dee74f0720c197e4a2cc8d1ab64b4ef99d6cea7b1af9b5a6b94aa3fc88719",
|
||||
"app/Http/Controllers/PortalProfileController.php": "7a74c1f5ccda85dc704ea067fa4dbd810eb339d1b4a6bb9fd9ca6f73a79d55ab",
|
||||
"tests/Unit/InvestmentConsumerScopeTest.php": "554f86f0b7995374d84b10221245aace8b6b8601a5973a998242c4a33ce488d7",
|
||||
"tests/Feature/OpportunityPromotionTest.php": "1e6b60659b3fa098fcdf8fd8aa04f1b09b4388803e5ddccc0ac950caa0da4011"
|
||||
},
|
||||
"evidence": {
|
||||
"outputs/validation-20261029/context-scope-red.log": "546b28c44ad8fa9119fafb23947ebf760d704846633cc8cde73759dedee97a1b",
|
||||
"outputs/validation-20261029/context-scope-green.log": "cb0dd1ffbe67bee19810d4625a8540636ccdbb137ce3ebbc9ddfea514d34cc9c",
|
||||
"outputs/validation-20261029/context-scope-feature.log": "b17ceb050ea46618024c55982ec8dd02ea5f64412242a242f03fa6675c322dc3",
|
||||
"outputs/validation-20261029/context-scope-phpstan.log": "1997495ca8f04c2ec09798d55607d1a2f85e3338b772f258666465bf658032d2",
|
||||
"outputs/validation-20261029/directory-mfa-red.log": "1032e758116c7e465ce122e0ad59772bd30671f9b559d750f382fef41222a8a8",
|
||||
"outputs/validation-20261029/directory-mfa-green.log": "855c01c17bb4b28d54445f469aa5504e757fc9d24c8754771aa7bf554c55ee3f",
|
||||
"outputs/validation-20261029/targeted-audit-phpstan.log": "1997495ca8f04c2ec09798d55607d1a2f85e3338b772f258666465bf658032d2",
|
||||
"outputs/validation-20261029/targeted-audit-pint.log": "cd1a94fc2cf6a965b86e1a4809d6c7fb9148b1ee374e1010ed2ac96ff4876ec2",
|
||||
"outputs/validation-20261029/error-consistency-readonly-result.json": "e68d977ba6520e98f4e56ee75c2682c44691ca7e6cef60db48e52e4d95e0815c"
|
||||
},
|
||||
"server_readonly_diagnostic": {
|
||||
"checked_at": "2026-10-29T20:40:29.998407+00:00",
|
||||
"installed_commit": "fde7343894964043fa633e3d4d07385a6cb7e039",
|
||||
"log_scope": "At most the last 2 MiB of each of the four most recently modified Laravel logs; only error-level entries dated 2026-10-29. This is not a complete historical audit.",
|
||||
"logs": [
|
||||
{
|
||||
"file": "laravel.log",
|
||||
"total_bytes": 166123,
|
||||
"bytes_examined_at_most": 2097152,
|
||||
"matching_day_error_entries": 0,
|
||||
"last_matching_timestamp": null
|
||||
}
|
||||
],
|
||||
"error_categories": [],
|
||||
"database_consistency": {
|
||||
"database": "teste_investidor",
|
||||
"port": 5432,
|
||||
"accounts_with_confirmed_date_but_missing_MFA_secret": 0,
|
||||
"invalid_non_system_indexes": 0
|
||||
},
|
||||
"personal_data_or_secret_values_returned": false,
|
||||
"active_database_writes": 0,
|
||||
"deployment_triggered": false
|
||||
},
|
||||
"installation": "not triggered; directed candidate visual acceptance remains pending"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user