Files
compras/docs/proofs/saved-procurement-searches.json
T
nala db1615fac1
tests / ci (push) Waiting to run
commit melhorias compras5
2026-11-22 19:39:09 +02:00

33 lines
3.3 KiB
JSON

{
"date": "2026-11-22",
"status": "implemented_and_verified_in_isolated_qa_not_installed_in_pilot",
"scope": "Private saved criteria for the existing native procurement search: create, edit, reopen, archive and restore. No cached results, shared searches, subscriptions or permission grants.",
"migration": "database/migrations/2026_11_22_000006_create_procurement_saved_searches.php",
"implementation": [
"Every read/write is scoped to the current user and company; current native access is checked again",
"Explicit versions prevent lost edits; duplicate create has one preference",
"Archived criteria are retained and paginated; restoration refuses active-name collisions",
"Opening always reruns the native live query with current scope and permissions",
"Encrypted preparation keys separate company, actor, query, source and version",
"Quick reopen selector and collapsible management preserve the prominence of current results"
],
"implementation_choice": "Capacity of 50 active private searches bounds the interface, with archived criteria retained. This is a technical preference limit, not an organisational approval rule or a financial threshold.",
"verification": {
"sqlite": {"passed": 14, "assertions": 354, "log": "storage/logs/saved-searches-tests.txt"},
"postgres": {"passed": 14, "assertions": 354, "isolated_database_removed": true, "log": "storage/logs/saved-searches-pg.txt"},
"frontend": {"passed": 3, "log": "storage/logs/saved-searches-ui-tests.txt"},
"types": "passed",
"phpstan": "passed_zero_errors",
"scoped_lint_format": "passed_no_warnings",
"private_build": {"path": "storage/framework/testing/sgc-saved-searches-qa-20261122", "manifest_sha256": "876cd584729a3a6d731bfafe52396c5ce176ad015fe9bea66057791933d23706", "installed_in_pilot": false},
"native_edge": {"synthetic_only": true, "mobile_width": 390, "desktop_width": 1000, "height": 525, "zoom": "100%", "create_edit_archive_restore": true, "reopen_from_another_query": true, "old_query_results": 0, "reopened_query_results": 3, "one_preference": true, "version": 4, "criteria_preserved": true, "no_draft_update_reservation_or_invoice": true, "database_verification_log": "storage/logs/saved-searches-visual-data.txt", "final_copy_and_counter_checked_on_desktop": true, "private_server_stopped": true, "isolated_database_removed": true, "private_settings_absent": true, "original_pilot_finance_context_restored": true}
},
"own_corrections": [
"The test for withdrawn authority now uses the native Configured role without assigned authority. User security fields remain protected from mass assignment and the NOT NULL constraint remains enforced.",
"Inertia form transforms are applied before submission rather than chained through their void return; types and native create/edit/archive/restore passed.",
"Correct singular/plural counter and wrapping of long names; the final private candidate was checked without publishing pilot assets."
],
"limits": ["No pilot migration or asset installation", "No user or company sharing", "No saved financial results or document content", "No complete SGC or enterprise acceptance claim"],
"remaining": ["Operational rollout in a separately approved release", "Remaining global-search sources and analytics reconciliation"]
}