commit melhorias compras5
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-22 19:39:09 +02:00
parent 36dcfdf00c
commit db1615fac1
79 changed files with 4082 additions and 120 deletions
+105
View File
@@ -0,0 +1,105 @@
{
"date": "2026-11-22",
"status": "implemented_and_verified_in_isolated_qa_not_installed_in_pilot",
"source": "rq01-source-authorization.json",
"scope": [
"Explicit additional classification for production inputs, spare parts, machinery and office equipment; other existing categories remain supported",
"Original article category, native financial purchase type and published catalogue descriptors remain distinct",
"Production inputs require the native published stock catalogue; spare parts retain native equipment/part checks",
"Machinery retains equipment technical/Finance/investment controls and records an explicit investment justification",
"Office or other classified free-text items require an explicit reason",
"Missing classification requirements remain incomplete drafts without reservation or submission",
"Native save/version/audit, encrypted history, conditional guidance and saved detail projection",
"Optional classification-group approval criteria combined with native amount/article-category/cost-centre criteria; frozen native approval snapshot"
],
"migration": "database/migrations/2026_11_22_000005_add_requisition_category_context.php",
"schema_change": "One nullable JSON column requisition_items.category_context; old records are not classified automatically",
"preservation": [
"Empty optional context does not invalidate the accepted equipment technical basis",
"Older clients preserve existing classification by native source-line identity; explicit clear remains possible",
"An older encrypted preparation without the new blank fields does not become falsely dirty"
],
"verification": {
"sqlite": {
"passed": 53,
"skipped": 1,
"assertions": 494,
"log": "storage/logs/requisition-categories-tests.txt"
},
"postgres": {
"passed": 54,
"assertions": 496,
"isolated_database_removed": true,
"log": "storage/logs/requisition-categories-pg.txt"
},
"frontend": {
"passed": 11,
"files": 4,
"log": "storage/logs/requisition-categories-ui.txt"
},
"types": "passed",
"phpstan": "passed_zero_errors",
"scoped_frontend_lint_format": "passed_seven_files_no_warnings",
"private_build": {
"path": "storage/framework/testing/sgc-categories-qa-20261122",
"manifest_sha256": "779f11de96fb237fdcfe97268317864688d97fad841ac1d72eabee8edb0b88a4",
"installed_in_pilot": false
},
"native_edge": {
"synthetic_only": true,
"mobile_width": 390,
"desktop_width_observed": 1000,
"height": 525,
"zoom": "100%",
"category_choice_and_inline_guidance": true,
"explicit_reason_saved_by_native_form": true,
"saved_detail_legible": true,
"draft_version": 3,
"one_update_audit": true,
"original_descriptors_and_totals_preserved": true,
"no_reservation_or_invoice": true,
"database_verification_log": "storage/logs/requisition-categories-visual-data.txt",
"isolated_database_removed": true,
"private_server_stopped": true,
"private_settings_removed": true,
"pilot_finance_context_restored_by_normal_evaluation_flow": true
},
"classification_approval": {
"sqlite": {
"passed": 21,
"assertions": 173,
"log": "storage/logs/rq01-category-approval-regression.txt"
},
"postgres": {
"passed": 21,
"assertions": 173,
"isolated_database_removed": true,
"log": "storage/logs/rq01-category-approval-pg.txt"
},
"frontend": {
"passed": 13,
"files": 4,
"log": "storage/logs/rq01-category-approval-ui.txt"
},
"types": "passed",
"phpstan": "passed_zero_errors",
"missing_schema": "Fails closed without reserving or silently dropping configured levels",
"native_admin_visual": "not_yet_reviewed"
}
},
"own_test_corrections": [
"Two existing equipment integration fixtures incorrectly modelled a linked existing-asset purchase as a new capital machine. They now use the native associated spare-part purchase, retaining scope and pagination assertions.",
"The incomplete-draft PostgreSQL report test now commits only its guarded disposable fixture before the controller's own repeatable read-only transaction; production snapshot protections were not weakened.",
"The focused PostgreSQL harness now exits after the category group instead of falling through to unrelated currency concurrency scenarios."
],
"limits": [
"No pilot migration or category asset installation",
"No inferred classification of historical lines",
"No new approval exemptions, expiry deadlines, urgency limits or company policies",
"No claim of MRP, external project/asset linkage or complete RQ-01 delivery"
],
"remaining": [
"Remaining RQ-01 requirements and whole-product acceptance",
"Operational rollout in a separately approved release"
]
}