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
+113
View File
@@ -0,0 +1,113 @@
{
"date": "2026-11-22",
"status": "financial_contract_and_native_preparation_verified_in_qa_full_journey_in_progress",
"authorization": "rq01-multi-order-contract-authorization.json",
"authorization_required_for_remaining_qa_work": false,
"implementation": {
"capability": "COMMON-BUDGET-ORDER-PARTS-QA-v1",
"v1_version_and_distribution_capability_preserved": true,
"common_source": "C:\\laragon\\www\\sgf-tempo\\packages\\budget-control",
"source_files": {
"bootstrap.php": "88e4681e21ef315e156a63fd435419b4a6838ecbed552c39e1c65aa856a98dd5",
"src/BudgetControl.php": "6c4d043fb505622649e03cca510f7027cdb511e713c43c9a6ac4447661c3f9ee",
"src/BudgetDistributions.php": "187235f0804fe8e9602a9cdb3e4d0c945eba873903e5eacee26c1847728c03f4",
"src/BudgetOrderParts.php": "13ffdce6dc35790f19132f1f8e3763470b9d7d4b44af64be47693058dad00998",
"README.md": "9b5bc14f029d0b41ff787c2446428999e5c72bfe92e0d5acc1578c26bfd759bb"
},
"common_commands": [
"adoptOrderSource",
"commitOrderParts",
"checkOrderPartsConsumption",
"consumeOrderParts",
"cancelOrderParts"
],
"host": [
"app/Services/CommonBudget.php",
"app/Services/OrderPartsPreparation.php",
"app/Services/PurchaseWorkflow.php",
"app/Services/PurchaseLineAmounts.php",
"app/Services/InvoiceWorkflow.php"
],
"qa_schema": "database/qa-migrations/2026_11_22_000007_create_budget_order_parts.php",
"schema_installation": "Only guarded in-memory SQLite or disposable local PostgreSQL QA; outside normal/deployment migrations",
"native_preparation": "Reuses native award approvals, comparison, conflicts, supplier and visibility checks; preserves source terms, currency and frozen rate separately; validates quantities and original cumulative price/VAT offsets; emits no order, reserve or audit",
"technical_envelope_limits": {
"origin": "implementation_choice_for_bounded_command_payloads_not_company_policy",
"sources": 100,
"allocations_per_source": 500
}
},
"verification": {
"sqlite_integrated": {
"passed": 48,
"skipped": 1,
"assertions": 296,
"skip": "PostgreSQL immutable-history trigger case is executed in PostgreSQL",
"log": "storage/logs/order-parts-native-sqlite.txt"
},
"postgres_integrated": {
"passed": 49,
"assertions": 312,
"log": "storage/logs/order-parts-native-pg.txt",
"isolated_database_removed": true
},
"v1_legacy_regression_before_final_new_only_additions": {
"passed": 70,
"assertions": 380,
"engines": [
"SQLite",
"PostgreSQL"
],
"logs": [
"storage/logs/budget-order-parts-regression.txt",
"storage/logs/budget-order-parts-pg.txt"
],
"note": "The later PostgreSQL regression log contains 74/418 after adoption/schema cases; counts overlap and must not be added"
},
"concurrency": {
"same_operation_statuses": [
200,
200
],
"conflicting_version_statuses": [
200,
409
],
"one_command_and_audit": true,
"two_blocked_writers_observed": true,
"old_runtime_rejected_before_balance": 503,
"log": "storage/logs/budget-order-parts-concurrency.txt",
"isolated_database_removed": true
},
"recovery": {
"previous_tables_preserved": 115,
"optional_tables": 8,
"post_extension_all_tables_equal": true,
"recovered_command_replay_no_effects": true,
"pre_extension_schema_data_balance_restored": true,
"before_dump_sha256": "69f1ba31e8699cf6fd291b401edd3fcc15503374dd65938f2dbae3b1e798dd97",
"after_dump_sha256": "ba9d4019f6b68e477c77cd39caef29824273a807b6b8cd7e0456e86e7f9cd129",
"log": "storage/logs/budget-order-parts-recovery.txt",
"source_and_restore_databases_removed": true
},
"phpstan": "passed_zero_errors",
"php_syntax": "Four modified common PHP files passed through the documented SGF wrapper",
"format_and_diff": "Scoped Pint and whitespace checks passed",
"native_visual": "Not claimed for the new order-parts journey"
},
"own_fixture_correction": "Financial-source fixtures now create a separate unissued requisition with an actual matching line and consistent totals instead of reusing a reception fixture already linked to an order; adoption regression asserts that no native order exists. Contract-only invoice placeholders remain explicitly identified and are not native multi-origin issuance/payable proof.",
"preserved": {
"pilot_manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"installed_v1_artifact_untouched": true,
"original_proposal_sha256": "945feac2a4f5772edb90fb3533f9f782d17aeef3f40c93aef048a6dd1f3a2fe0",
"no_pilot_or_sgf_installation_activation_real_business_data_or_permissions": true
},
"remaining_authorized_work": [
"Native partial/consolidated order document issuance and complete per-origin visibility/quantity lineage",
"Native receipt/invoice/payable integration with exactly one invoice principal",
"Explicit Finance amendments across order/source allocations, preserving consumed floors and native totals",
"Complete mixed frozen-rate journey without an averaged rate or implicit cent compensation",
"Affected forms/help/mobile/print and full journey review before any deployment proposal"
],
"new_import_dependency": "rq01-import-reconciliation.json records the updated owner attachment. This extension does not create landed-cost financial authority, customs rates, JUE submission or bank execution."
}