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"
]
}
+1 -1
View File
@@ -15,7 +15,7 @@
"README.md": "24363f762ba5ba361377ff3807704bf6143c4180919bc1c45ac6cdd54eed3639"
},
"host_schema": "database/qa-migrations/2026_11_22_000004_create_budget_distributions.php",
"host_schema_sha256": "3617dd6dfecc0fb44aae5450d7fc5a26af90974eb0561aef4d1e86ef1af68dca",
"host_schema_sha256": "ed16865e01d22eb1014ff50c3ad422860328ebf32911700891ab50ae38d853b9",
"installed_financial_packages_changed": false,
"pilot_or_sgf_activation": false
}
@@ -0,0 +1,10 @@
{
"date": "2026-11-22",
"status": "approved",
"owner_response": "autorizo",
"environment": "http://127.0.0.1:8005",
"proposal": "rq01-distribution-pilot-proposal.json",
"proposal_sha256": "b9c736bd73618e326c09d199b06cc04e581b8cb699140becef964f713bb70cac",
"scope": "Install the empty optional line/cost-centre distribution schema, independently pinned candidate and four delimited settings in the named SGC pilot after fresh backup and same-role restore rehearsal.",
"excluded": ["Business operations", "Permission changes", "SGF changes or activation", "Other disabled capabilities", "Production publication", "Enterprise acceptance"]
}
@@ -0,0 +1,61 @@
{
"environment": "http://127.0.0.1:8005",
"result": "passed",
"results": [
{
"role": "requester",
"path": "/requisicoes/2",
"status": 200,
"request_status": "approved",
"can_prepare": false,
"restricted_preparation_hidden": true
},
{
"role": "requester",
"path": "/requisicoes/2/distribuicoes",
"status": 403
},
{
"role": "admin",
"path": "/requisicoes/2",
"status": 200,
"request_status": "approved",
"can_prepare": false,
"restricted_preparation_hidden": true
},
{
"role": "admin",
"path": "/requisicoes/2/distribuicoes",
"status": 403
},
{
"role": "procurement",
"path": "/requisicoes/2",
"status": 200,
"request_status": "approved",
"can_prepare": false,
"restricted_preparation_hidden": true
},
{
"role": "procurement",
"path": "/requisicoes/2/distribuicoes",
"status": 403
},
{
"role": "finance",
"path": "/requisicoes/2",
"status": 200,
"request_status": "approved",
"can_prepare": false,
"restricted_preparation_hidden": true
},
{
"role": "finance",
"path": "/requisicoes/2/distribuicoes",
"status": 403
}
],
"business_commands": false,
"session_context_only": true,
"visual_review": false
}
@@ -0,0 +1,38 @@
{
"date": "2026-11-22",
"status": "installed_and_capability_enabled_no_business_operations",
"environment": "http://127.0.0.1:8005",
"pilot_read_only": false,
"backup": "C:/laragon/data/sgf-tempo/backups/compras-distribution-preparation-20261122-151517-722fe0/before.dump",
"backup_sha256": "5acc087650292b43841e5ea4993f89d56ed755aec02535001241f1e7be19a39b",
"same_restore_role": true,
"restored_tables_checked": 115,
"previous_business_tables_preserved": 114,
"previous_foreign_keys_preserved": true,
"new_values_empty": true,
"optional_tables": 4,
"deployment_settings_unchanged": false,
"pilot_manifest_sha256": "c0beadc1302b0e211eaeb18603a4cf7dab863b9e81f5771ddba8bec92bc4568c",
"migration": "database/deployment-migrations/2026_11_22_000004_create_budget_distributions.php",
"migration_sha256": "d398ce65ef0c770fdf23d9ae0eab8eafff07448c0606aa47c8b423bcf876ca21",
"schema_definition_sha256": "5d1ffad80ae0e663065396e5f2aa08eee6a790a0a9801ceed5e2c1e3c280ef7a",
"artifact_manifest_sha256": "f21dfbc9cc4344abec88953bc3fc2b7f5751fba401ab52f0da950ae0715816e5",
"pilot_schema_or_activation_changed": true,
"manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"release_path": "storage/app/private/releases/budget-distribution-ef60dd86bf71ec79",
"business_operations": false,
"grants_changed": false,
"pinned_packages_changed": false,
"restored_database_removed": true,
"unrelated_deployment_settings_preserved": true,
"changed_settings": [
"COMMON_BUDGET_PATH",
"SGC_BUDGET_DISTRIBUTIONS_ENABLED",
"SGC_BUDGET_DISTRIBUTIONS_MANIFEST",
"SGC_BUDGET_DISTRIBUTIONS_MANIFEST_SHA256"
],
"http_checks": 8,
"http_proof": "rq01-distribution-pilot-http.json",
"post_install_verifier_correction": "The existing synthetic requisition is approved, not draft. The read-only verifier now checks native current status and ownership without changing the process. All eight checks passed.",
"proof_metadata_correction": "Preparation-only booleans replaced with the actual installed state after comparing the private deployment settings with their saved original."
}
@@ -0,0 +1,22 @@
{
"date": "2026-11-22",
"status": "restored_pilot_rehearsal_passed_not_installed",
"environment": "http://127.0.0.1:8005",
"pilot_read_only": true,
"backup": "C:/laragon/data/sgf-tempo/backups/compras-distribution-preparation-20261122-150244-0fbc0f/before.dump",
"backup_sha256": "9488763c88ff5c7ab0010f94f665ba887de2034aaec325e809d682aa15ab86b6",
"same_restore_role": true,
"restored_tables_checked": 115,
"previous_business_tables_preserved": 114,
"previous_foreign_keys_preserved": true,
"new_values_empty": true,
"optional_tables": 4,
"deployment_settings_unchanged": true,
"pilot_manifest_sha256": "c0beadc1302b0e211eaeb18603a4cf7dab863b9e81f5771ddba8bec92bc4568c",
"migration": "database/deployment-migrations/2026_11_22_000004_create_budget_distributions.php",
"migration_sha256": "d398ce65ef0c770fdf23d9ae0eab8eafff07448c0606aa47c8b423bcf876ca21",
"schema_definition_sha256": "5d1ffad80ae0e663065396e5f2aa08eee6a790a0a9801ceed5e2c1e3c280ef7a",
"artifact_manifest_sha256": "f21dfbc9cc4344abec88953bc3fc2b7f5751fba401ab52f0da950ae0715816e5",
"pilot_schema_or_activation_changed": false,
"restored_database_removed": true
}
@@ -0,0 +1,244 @@
{
"date": "2026-11-22",
"status": "prepared_not_authorised_not_installed",
"environment": "http://127.0.0.1:8005",
"scope": "Install only the optional line/cost-centre distributions and explicit Finance amendments in the named SGC pilot; no SGF activation or business operations.",
"schema": {
"migration": "database/deployment-migrations/2026_11_22_000004_create_budget_distributions.php",
"migration_sha256": "d398ce65ef0c770fdf23d9ae0eab8eafff07448c0606aa47c8b423bcf876ca21",
"nullable_column": "requisitions.budget_distribution_preparation",
"new_empty_tables": [
"budget_distributions",
"budget_distribution_events",
"budget_distribution_entries",
"budget_distribution_consumptions"
]
},
"release_path": "storage/app/private/releases/budget-distribution-ef60dd86bf71ec79",
"artifact_manifest_sha256": "f21dfbc9cc4344abec88953bc3fc2b7f5751fba401ab52f0da950ae0715816e5",
"archive_sha256": "40648297cc2dbf755ca68afb06a9ea68cbea42ff50293d37422fb19119062798",
"candidate_path": "storage/framework/testing/sgc-distribution-integrated-qa-20261122",
"candidate_manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"previous_manifest_sha256": "c0beadc1302b0e211eaeb18603a4cf7dab863b9e81f5771ddba8bec92bc4568c",
"assets": {
"assets/Combination-Cf-uZSDM.js": "cb6de0edf2a5bc431766866135d9c8868a5671cd0bcc7894cfd8d425db1ea41d",
"assets/access-BZvfQY6s.js": "22474f22beda79656b852f4bbd2cd5b0c788e3afd6b38a83ad762e4e191d7598",
"assets/access-CcapOGga.js": "143a71c5b4be66e0a7f798c8f3f5f08ba8a3faa5f95a64b92e654078346c3857",
"assets/administrative-location-BJbMIJqP.js": "da52b578cc746241cda6df38aa088043a0aa5333f4cbd6764b278bbe549d2a2d",
"assets/admission-CRd4Gp_t.js": "e64b22708d8db6b8772e27bc6a020584036c8ad7fe89c0d33a10cb2c46e69efd",
"assets/admission-DCW-DMKi.js": "15bfb460a10658d38878de1be382571c9e95755347438a16026fafee4d50129f",
"assets/admission-policy-Cu2N7UxX.js": "3ca7633bb6cfa80038fdb14c80b8138446b7680a21a01958f4adb27ae5ec52a5",
"assets/agreement-followup-BJwY7Q7H.js": "fffc34510c18562b425f29771d254bb0136da9ac95fd8e28672de75f219054ac",
"assets/agreement-order-bindings-gflwHvTF.js": "a20b69389c9cf61b39b15f56792a3d1dd2defb91958ff1820476e5244e2821a8",
"assets/ai-preparation-preview-BsDt13H6.js": "6a736e4005282bff1b47d4601b01b880fcacc39faf972d9292466d0412a8924a",
"assets/app-BYcuaKuR.js": "177fc3f34068262de25d20f894d3d5bcbd3a204c39ba9a994a0316ffe5d4cf05",
"assets/app-CPyB0lMZ.css": "a621247b9fe4c69109e1307f5c8d16b291473f013370ddd9e9d037dc30b18a2c",
"assets/appearance-8Z9i0cfX.js": "b7ec8f4ccae36e008a184159c8f74984a2e9398c36bda3c51656a1521e79c6d7",
"assets/arrow-right-jQM5Ljhm.js": "460657b89c0a22dd8c648c59408ab9b5d89cda0a2f77fdb5aafb5d4cd81ee047",
"assets/availability-rTkrhEIP.js": "d9b41675e607ed52578af47af23d4172729a34e49b7608111db9eb8f75389c9e",
"assets/award-CLugGRtU.js": "a72d703635e757bdfcf0c4e16e95f09fb5b4614a3c2b976cac7ba37d36bc32a3",
"assets/bank-B7zGvR_J.js": "66eff9606017feefe83bd7bcb14804422d35a399b8a520fa301195c5de8040bb",
"assets/budget-distribution-fields-D2Aw5hyZ.js": "f998d18fb629d75c0306e39fbc43c4f8ae6b21d198cabcf53a9022c178faaa89",
"assets/budgets-BIGhc0Yl.js": "594c5d79345383ffbbe243d14c0b62db101ef2fe7858c17054397005bc4e340f",
"assets/button-CSyysFhi.js": "a0c7c2d62ff1c139a6b5e6ff2e4c7cc778682337a935a3eee0e2df5ac36607b9",
"assets/candidate-availability-BBYAjwDY.js": "848c1b093b9016d4dbbc7795f44c281eb3776bfebf82b2a84ca943c70f5df1aa",
"assets/candidate-documents-DzSJVuya.js": "3f5131f76ab32a1477614e2318e09a5fbe736f5b6fc75fe306fdba5802f28482",
"assets/candidate-portal-Bwky2Aqz.js": "7c5e97bfd6fbe7a7fd98a4508f87acda4c1e750c7d5fa35616bc422b6dc80751",
"assets/catalogue-jYTAdj6-.js": "2098a1a928c079470e827ed7915070befd1aaec66ced6f5f9584e58eae542742",
"assets/check-B0y1oDcN.js": "2b0f7b1e72a08a1106cae81a5910d88a308d1bc92c729def81b0c38b743c7c59",
"assets/clock-3-Cy_zSYUr.js": "b8bf146f2a287cd2bf356687ab0dfdcb0bef6f0213bfda494985dd98d97d20a0",
"assets/company-fLQDrq7Y.js": "070f6a22094552311fadb5f308888ef152be80d70be8048920e44daceb725f01",
"assets/comparison-policy-summary-7M2PXYtp.js": "da46e741c25a8794ba2006a8836758e3217f4aff71a2ac7bff0b09f693399bdc",
"assets/confirm-password-bGnDs4RM.js": "ab3838dd09e9394fa42df04c061a81b3b56f88ffa5da2cddfb8c5d24f0b3c2e2",
"assets/conflict-aivhJ9_v.js": "810076518c31390dd9399c028084f4c09ecab7b4645da1d798a49ef66f7b612f",
"assets/conflicts-BvV9gVce.js": "ccbed06e5540cb76c203408c2d0b71ac368f64514c50ab3f3c00e96a3cbaa5f9",
"assets/coordination-D4TbIBI_.js": "63ee0c502e177266e0e82341a23a5673deb267f396e20bafcb494a379f5f051c",
"assets/correction-source-search-34VbA_Cg.js": "b7d5ed1fa3d9464c1a71199e8640b14be8abb9e0c9945f97658d7928b7540288",
"assets/createLucideIcon-Bl2ij0Zm.js": "88026a98f925baf2a85f5c6091f3dce5d35689ec432417ba87ac3fba450aa326",
"assets/dashboard-BLqnPGWz.js": "a3c2a59716a46db1a1dbb8d59a7993cb80f0e27816f02cf2fc50fe5db350dbd9",
"assets/dispositions-BpzQGc5N.js": "ef44a725a1b09a7d41646f1438fabd31a67847f31a7ec9577c2d3a091cc4bfd3",
"assets/dist-Bm7wFECT.js": "ec7a8f48099bdb15bd706858c566dff3c664ea77420b2973463f9482c5c66aa0",
"assets/dist-Cxy2kTRX.js": "7884e24de234f6d592ec16f228c0eaba69ee5adf28fcbedb0d59383d184958c8",
"assets/dist-DSfJglKD.js": "7e5239388df8e9e9251bc5d432701c3a1798b8940371f88e42683e6426f0c6f2",
"assets/distribution-amendment-DFWmvvZc.js": "1477c6f467d794a7b374d46429e10d344e06b2fd90a95cd3b88800a3bacca12f",
"assets/distributions-CuLxicHi.js": "c90154fcc04a5556acd0069f6bc887c271a0c7ca02011bcaa01e59eab0ef4085",
"assets/download-d-ik75sA.js": "ac23d0b10fe748b8664965a4ebb479336cbc75e4d08e570577e5f70519bfde1c",
"assets/edit-BnPKsMan.js": "0faf4324e698b22e7ce814cdf61f94d0fc9050cc4c275562845e9f4771229edd",
"assets/entry-bcaSTEtB.js": "119e5ae40f2c307aea595d5eafd94e496a1ee14be76c62eacc659a6abbedf181",
"assets/equipment-DbQkc-Wp.js": "7ef5e2b6660b5f7c22c2509a0e9f18e9f6e9494b571b41a4c096386891ccf149",
"assets/evaluation-DEuxqIy9.js": "0df36580076ab8e7996105713beb61b795dbbdcec545853150fa26ac0827a280",
"assets/evaluations-BRT9Wk8D.js": "e2cb45cbe35d1ac98c1ebc9d04571edaa6c1112bd98de18b07370d6709b2b445",
"assets/eye-BcFYyvf-.js": "eccd97f0bfeab1e54e9d1abdcd96184794449a6b6277d096598489f52f61e9cf",
"assets/file-text-BMumQ0Wt.js": "9af4fdf5c0527694f24719af17256ac1ebb7061ddd738e5135fdd411f5b3a3ac",
"assets/fonts-C9MNnjVw.css": "3846a9bb60bfad92960eadcccaf0b4e129d74b11d48791506c8d1a827a385cc8",
"assets/forgot-password-YVHqh7XD.js": "eea1af7ad0e46dc9d023cf875a127f7b124804ed1ebc8dad9c4d157a5a0ce811",
"assets/form-D2Kr5XaT.js": "27d010e46abfc099a0acb0b09d5686fbaff1824244bfbfd96d3c414c94a22e66",
"assets/geography-review-C9b6c-7h.js": "65d8c79500acedbee86e2b48c536ba446530503aaade5d7a29338e617a7a87d5",
"assets/history-C3tOJ7sJ.js": "67f7a2bca7c6d597aac44ca79d19277868f5b5b8d5064c34a383b16822f4c53c",
"assets/home-rrYGeZa3.js": "3d4236e07c1c6d710e7ddf6dca6da11bc6a76b5cefd8bdfb9bd99e345738fac7",
"assets/input-error-B1DjHZT7.js": "00286fd9e30543b59027b37606d63c96944efdf4f58339aba7afd0cd08629ace",
"assets/instrument-sans-400-normal-D1W7dsQl.woff": "797bd3eaa70edbd4757650ab44dad75fbfbfdf18bacedb4b71022c04621d30ad",
"assets/instrument-sans-400-normal-DRC__1Mx.woff2": "9a91efaa3599a6ef01b2f49e9ec670e3a2f39baeef09c73198f1052cf3bb0850",
"assets/instrument-sans-500-normal-Dk9ku72i.woff2": "9d3547da16d950d12a677c772a3ff9b69846e60e7dcd1b5efd540993f7286532",
"assets/instrument-sans-500-normal-Z6ESRlEs.woff": "bd6a8dc8b0dc0cced0c32d3eda93f0e0e82c58ddefea8b53b3307b0c48da3089",
"assets/instrument-sans-600-normal-B7fBEWYG.woff2": "efb770916eda95a0e31d80cccde9651d4e8617010b21220e9f227c4820d675da",
"assets/instrument-sans-600-normal-B9e8oLYv.woff": "9b4ce1f2b26be7cb087fd87d6f99a202136292ec820af75bd38ab9e53895cf28",
"assets/inventory-BF2HrsoH.js": "fa3e4a56bae767f93e7f7d0202c4efecc8d08583c0ca6761db8560acda64ddc9",
"assets/inventory-DpjqZsgf.js": "b453fde1261963b6d699134fffe749b7e5dcb998a69c6066e6f51e5cd390276c",
"assets/inventory-correction-filters-B7Bxrtkf.js": "9f8531c1552402f1bdd7ffef09036591ab5d5d0ae658b7a83a04fb05049af0d8",
"assets/inventory-demo-CuZI2x3c.js": "93b549548273d7cada0fda194e9d3024265ef21bc9fdc9dd4cce4bdcbb27b760",
"assets/inventory-event-actions-CUZg6Ug9.js": "aaa2d5cdbfa6832d44bcacfde60c7ed69a49d56b69d4d53766b34201dfbbf17f",
"assets/investment-BBS9Fqtt.js": "7b3b68279223fc44924504ff96b0bd048f6fe59e65255e6cefe9e21e91790c74",
"assets/invoices-FmDYT7Rd.js": "53451aca7ad8dff772c2cfc830de20daaae91c639a8ee2ba5275f6c4f1ec1660",
"assets/jsx-runtime-Cjjuc_0N.js": "239501f6701a312b0fbef99c9067ea0d62f11aeeb3a8b388ec4c7528b0493500",
"assets/label-Dn4U5SHB.js": "d273f9faf668fc6fc998709fa86dbb3d424a23271725cc48a9b88a8b2d8e399c",
"assets/loader-circle-YS2_4W2r.js": "4648de3680be9df8d38d808bb954b6cee541cf3b376321926a10c3edddb96345",
"assets/login-CEy5D8o9.js": "012f5fc7519b509e218401d007bf7a8971c27c4fab037a0f54a1a688b095098a",
"assets/lots-DVzlumgX.js": "ac8fa03e5d27687bbb348482a51f05162786005460a8402b93210910e3d73e36",
"assets/metadata-CyzFhq80.js": "57d83cea2f7f90c1eb18bb04a5ddaafb83b9a2cb4decf50fdc761649c5398bff",
"assets/notices-Cz8Yr97-.js": "19ce2727acc38524d8c713403b7a4b0279cc01ca8261809aa2bc156e9aeec92a",
"assets/opening-D_s15tdl.js": "de7c31b3fbb52ddc958423af43ceefd97f6b335b53a26b7492a6ad33d4721ecb",
"assets/operations-7G1snIsP.js": "55ddeff0c70bf5597d382ae458f080acd9e3636ab49c77611b73dff09e24f5ab",
"assets/opportunity-Bh4UUPh8.js": "6e2d8a21d33664722f95dfad29dac33c58de2da37077f93c6a1404880b350419",
"assets/order-BBHtd5I4.js": "1512c2f696c735be0eae0ccc4b35ac947d8a1139e2989b19530dd13d34a8cf4a",
"assets/orders-CWAAV0kF.js": "cb5c87d441513cb2ff9ab668efe038665324872168a2724d2b07d5f281df3a14",
"assets/package-check--ZYjz2oi.js": "ce6074fe092e03473ff914cfe088a47acd57852fe4faef54f239fd04ccd6ab83",
"assets/parameters-DmXXmGb8.js": "ce94e8bb88b900ed49cdb2d659466daaed316e6b98c1ce26a0e1fa533ef0e07d",
"assets/password-DSVT9zkL.js": "e9f8a7ef9b436a3e046d49f9ab56bdb4ca736bc98f69fc89efe36ec0a9bd08aa",
"assets/password-input-D4sBYK-V.js": "d69be490d82f406268c95cf1eabd2f6da079068c9a08bd84651dbe6ff0b1e02c",
"assets/payments-u4BsdybH.js": "19e059fc7fcc31bda7b09ac0375554eedaf3c9d38a2c869176c010352cafcd38",
"assets/pencil--NTa5x5n.js": "ffc5e9c22501ed8196d21f31e016d351f91796821392ec9942716d7a70b9c022",
"assets/people-BshN-e0j.js": "5c545496bc8d446c46338ed7fb035a6b13c4b9aa04c6c25812c77e1c3f9d0433",
"assets/people-hiring-0ebERuf_.js": "443ff16989484ecbb7576eb060a5339fccd2fc720015d72a2af828e91d12461c",
"assets/pilot-CVQYRC4h.js": "7bace70d23debcb56b53d0e8e5f3f8bd991fd2a2fd640942d763e40f27b0d182",
"assets/planning-CMKq06j8.js": "d3440a64519d5bfdf1108c3f24656344094246e7a98ab2aa20e3ae4d06fcfbb8",
"assets/preview-DNs6WVCS.js": "ceaf281cd2f88ab47a88c06e60de37a05cd837cf4df38268a7a9bab3199ae365",
"assets/principal-B628nxG4.js": "857aae7fd217c24da74c07421855b75a15755332aee101d2e6d4136387935efc",
"assets/printer-D0Qc0KdJ.js": "6a29144df3944867ae389bb8e8194205099314ffa04c41f0fb054226f27b3566",
"assets/process-BhopPGr0.js": "ab921d08e37294575dc9d75bc5c31c287157aef7bcb008b1dea0aa04d1fe7917",
"assets/procurement-BqzkA4bz.js": "db61c74eda890b5107f39cb1482eadc7f55bbcaac19fc9843fdfb2d5de62c4bf",
"assets/procurement-CUWIEhpG.js": "e4ddacd60afe0b12a947bdf53a7d7cd7a83a8978a84645e41f4f70137f9501d5",
"assets/procurement-DS63g1ZI.js": "05f5ee6e2fa928440fe4fe979ea8c6956e92029fe61eb31b84a47e2fa6a02171",
"assets/profile-DfwZC1AU.js": "5cb898450486d46553742f82ed8a82bdf33e55302609436e7ad25f7a9b44b905",
"assets/profile-XWQpk5s2.js": "18b74edca0e2efb6ce28b0a15aca3b23bf818efce48a059ff76afdba1d16e5ae",
"assets/purchase-controls-BzrY4MFa.js": "9db74864e3d5d91e86567df488151b7654d8d8e4d831cfed171a74e170f02405",
"assets/purchases-DDjTWPmN.js": "3dd52d41e603d7363f3e7eb010ef0c6f047c8a7f4cbe5da14815e9d077152e12",
"assets/qualification-B4IskB9T.js": "bea08b007173c7c53893a941a495f810e0cd026c0134deecdfcc37dd28728df2",
"assets/qualification-DxyaMlU7.js": "77484bb2288f0d169c39ecc4eb322912e7bd091e545b4fda48f656d4464e0634",
"assets/quotation-exchange-panel-DwxGYRWS.js": "a401f3903941d80c25beea60be58010cb5a1a49d3aee71c8500716ef47062521",
"assets/quotations-BHF2mA5i.js": "f79dd6bc2cae5b95fbdee1dac747ec19aaf66e0c6557ae96bfa67cf75fb4c97a",
"assets/receipt-CX6COlya.js": "a20578c41e007f6000ff25baf9e53e7c39312d6541432b98edaa66d2355461d8",
"assets/receipt-conversion-ByLHpo0x.js": "46005baac92a5710f7ebba13b054b73a7f8518e4a055da7605c41037a29772b5",
"assets/receipts-DWJDlufr.js": "d3372c9643323f1e2f96bb9598ab35bf6639d62ba9aa536be3311ea3590d1dea",
"assets/recommendation-BD8Tj-iF.js": "aeaaf4b63992d19f1576520b0497ed8f606d6b73fe6443fa2b0bf24bcb70c927",
"assets/recommendation-YOpn5O2G.js": "41f5894bbf71e864a949f23b7805c85ab6fd7031d33ce49fac2d901fa3e49220",
"assets/recommendation-policy-R5dCw6H9.js": "af9bd64fe6de4f50afa50f041816d5c1c25c54b38e09595d9acb1859bad87e6b",
"assets/register-CeKcXWQX.js": "9431e2f790eae51ad02eee8e266e014eb46141c93729d33df6e8c01310108a94",
"assets/registry-CiwVVw8N.js": "4d305860350f63a0523fb05bbebb2be467b7c70553f0ac28982881070175bc63",
"assets/replenishment-ptVswWoP.js": "2c31f6ea9a3a46b79c6afeb32644a17c8e0ad944207938bb62e03f77413514fa",
"assets/reports-1pADuqo8.js": "319fce822a6fc3672ebca1c39dd89352f24719eec19f261280cafa523c388fb4",
"assets/request-DR83SKNQ.js": "77190b1df1046a417f0b96e60700584030e9d468a59bae349c6001fe64a1899f",
"assets/requests-BUvFusKj.js": "b37f9f214865ec0d455c665723e1fcb55d72db251eefe173d20e991cbe3bf7d9",
"assets/requisition-history-BoVkj-pT.js": "5041ae5447c0d257b478783eabc0f3ed2bc5c9d648e913f449bc24aa5f39db28",
"assets/requisitions-C1Q5d6Y3.js": "5ceff3d848e67fc0dcb463732f13b0c26f15906ba18ac75d5d070e6ff21c0058",
"assets/reset-password-Cx81K609.js": "7a5c9eff408a521692f339b1f97cb4900ae49c3b486325d140eac0e6c9b24a51",
"assets/returns-D795f4MQ.js": "00dda52be0555d9d9dc6cd2402283d9180839e35957afaffa2f45fbff227987e",
"assets/reversals-5X__iN4U.js": "1556ccfdba041baf4e8bc5ad11042b68f7f480f169a81ede2416bb9fad23ce34",
"assets/review-report-B2kJwRhu.js": "5277d041f85354a5b939b2cd3e2e57d7bfddf2c2eac8a2e79162074574a9a565",
"assets/rolldown-runtime-WkwZ5CU-.js": "2629f2ad3cb75a57d98de697127f5af7d777ef572bbcdfa6e3ce8f438cd4527e",
"assets/security-BHIpDy_9.js": "666c3ec45bc1af447f255cf45f7aca2a64174b3515a5425d44b877bf9373f0b1",
"assets/setup-BpYmfxSf.js": "7af93fc9a98b8cfc7ab842d931fec4455b476024524d7f66c9095e6b1ea9d29c",
"assets/show-B8yO7sGd.js": "9bd2cdf3174a59b75f97c44dc34206c0d32aeca6451133c8822010ad1783f575",
"assets/show-BltLLOkC.js": "81e528a4160bac8e9f10110f95bc655b8a534bc7142b6d1596b2dbbb949c076f",
"assets/show-CXPav-RK.js": "ee4721fc7745cc941cc0740d2b3ce9b4bd0bdff346ba1924167693791f799f50",
"assets/show-ChinrVqW.js": "e0af6eac731d0f50d44107de4645f506d145f7adf17d927d933cc23ee928de56",
"assets/show-CiXHf48Q.js": "5fc6019fb4562e8870281836674dbb02b12ef7ece1714a98375b02b8c853d5bb",
"assets/show-D6SELCPO.js": "02258083fdd86d51821bd8aeff30fe2f9148fcd6b43a8f15d91ba81a75ce0adf",
"assets/show-DCXaQ86h.js": "d385bff4ab7c5996e447778a4a27d336d5d9ad90341eb19f45135ba3c7ca8a20",
"assets/show-eXIFhEhG.js": "3e9bfb47440b6130035ffd8096e867a60b8d7860fb7d898f989e73de75da9f07",
"assets/spinner-CpJAdIKb.js": "9c8f8fb08c631cae61ecdf41cd766fbc3e777fd184fa707b6351c3d460eef059",
"assets/stock-DCjtnuTZ.js": "916ec71c7144ff0dc3330651766344aff05edb538a2b5d5ff79c5eacf18fa9d9",
"assets/submission-forms-BS2qZil6.js": "f641fc725aa19fd2a14b7b8a02706ca9c0f25f6c36867dcdf0d1e079b29c4db5",
"assets/submissions-CgF8WuYJ.js": "212040b42a05862f58519dab85ea05ee1d569a123c13d58f49c33ea2bf8497c6",
"assets/suggestions-yo6FGV47.js": "5d06098438de18d2ea7e2b0d62abdc2fea953689af97bb7e2da02a7106981137",
"assets/supplier-DbZ754P4.js": "5617827f9283736a34edb62fe4ea4e6c8df48961c617dd66f416fb054dd92ab4",
"assets/supplier-evaluation-fields-Dq9wuabP.js": "2cb374f1c614d6718e78d5a1ac92c593db69a146896cdb68c80f8f5b63d8f64e",
"assets/supplier-improvements-CYbJgiGO.js": "eb4aba74f37f567edd72e65211e056241f06c3e8b0f6b6583c05e69525e6ec80",
"assets/suppliers-De7QKmFB.js": "5b2e1a78fc5ab235292e4db9809587a92b4542487e6bd02eb5becba69619fe36",
"assets/supply-c0fZaSpY.js": "b50e8941f9ce584c65996a288ede708987b2d090de333e63ee9c2a66918f561b",
"assets/supply-pagination-CnzjlbVc.js": "8537e2e4e48a836f41a2b2176f635ced2b1c62734485d1109bc4469168a1cb28",
"assets/tasks-DE-7_tTT.js": "9d8a4faa40184fb568f0930e6c86602ac21f5f51b8966e6c097111311066cc20",
"assets/territorial-filter-BFhDQ0bx.js": "aec781e84e0ebac885fdbc74fffe75ad673d57964de4ef07c7e54a2e98157ad6",
"assets/text-link-CydDNIng.js": "9ddf76c1a4d33cb5d25315e38395f2893250091a23c156adc582bbb2bcad85b9",
"assets/two-factor-challenge-BasHB-NT.js": "57c1fb0e652f44cc5229aa1f4ba53f5fb63b2136a538b3c62eb4fae13576f2be",
"assets/utils-DJPu_GY6.js": "7b162681baff9e9a115823fd6070404fcaddf53d058b311edbe98be7f2662ef4",
"assets/wayfinder-Dp7PqxvV.js": "3d4c90228fda731e37f541f3087fdf5387d9d59433e35b267b64a97196f70781",
"assets/welcome-CYJd6CDz.js": "78bee5083771905bb597c8b58ce7f2bb056c82f7a407bc7842a5c2a8e88b3519",
"assets/work-context-DEs_zaEM.js": "b70b3e5081ecbcf3b61e5786e199736082521b0a340bd48aa43814b098a9f661"
},
"reviewed_files": {
"scripts/prepare-budget-distribution-pilot.php": "ab44b7f8ad8196c7db5106aeb2ebf0215426379f6261ba14ad782642aa4c0eac",
"scripts/budget-distribution-pilot-http.mjs": "5e9eef07cd6b70c3749bb47f87be1fd55e516e807791269013a55c18071fd4a9",
"app/Services/BudgetDistributionArtifact.php": "9cd7ba48d3f91ed75fc0cee66b4c65387af2261d338ae7879305cfe0b13cdc8a",
"app/Services/BudgetDistributionSchema.php": "5d1ffad80ae0e663065396e5f2aa08eee6a790a0a9801ceed5e2c1e3c280ef7a",
"database/deployment-migrations/2026_11_22_000004_create_budget_distributions.php": "d398ce65ef0c770fdf23d9ae0eab8eafff07448c0606aa47c8b423bcf876ca21",
"app/Providers/AppServiceProvider.php": "2c068df9ee2c25949e7db1795298922d8af3a157f99b53874b00719735c3f307",
"app/Services/RequisitionBudgetDistributions.php": "98420ea9f73af5b8e92f5e56d1b992091e256dd04fe036d3a1ecb2d74af313d6",
"app/Services/InvoiceBudgetDistributions.php": "a07781c06233772213b934c188d617066f8c4af07ea7646493403fa9835449e5",
"app/Services/CommonBudget.php": "bcfd8a7048746456f1a9403347c9093ca4ea52a433e9b43fc0046896d4f4c773",
"app/Services/BudgetWorkflow.php": "f97d649871ae5f70e0bf189608f0c6fb1f56aceda8ce10edd6bfccea9511928c",
"app/Services/PurchaseWorkflow.php": "d1a810533a324aea48c6cc7da919de1a5e39657783e726065bfee8a95f06f075",
"app/Services/InvoiceWorkflow.php": "c91e55a08af7e12afece7ea5f06c7b4bfe3889a6c4fc6dbbd4751652244d196b",
"app/Services/RequisitionWorkflow.php": "272eb6d9aeb1d84c42fe4c30eecdc8fac4e7ac7222c642fe195cfd5bcc64c8b6",
"app/Models/Requisition.php": "c78630472d4c3c5a611b7771c8ad6eaf252a627fbf20e221722c5634dc78df77",
"app/Http/Controllers/RequisitionController.php": "459110c749a7a6580f1b1dc588f48e3c7254de1ea67e6e8bbe28067982ee05a9",
"app/Http/Controllers/PurchaseController.php": "512a3bc6bf911003be5dfebb4f9c1fc0df8fad54eddf78bc075b6cca66ee97fa",
"app/Http/Controllers/InvoiceController.php": "0074d72af39afb736adb79d7a3935366ad39ef0d942a5c3a0872bce96e0a92ba",
"app/Http/Controllers/PurchaseProcessController.php": "7af5007c5945a29b34728f6f799e18ea33e9ce5a2b4e1a59c6da4f3cdc73e1c6",
"config/budget-distributions.php": "f46b83c722d96e98b13dc0fc9823d2b1d89cd4ccb90f3e7570d1889aa6cb1cb5",
"config/common-budget.php": "032d8fcfef069857eae2ffa31eb08ccc171d313c1c7dc4afde9c02286c59ddf0",
"routes/web.php": "4f75732246504d88acb96f004ed7dc5dceb32103fddd464c36edc85c9f8e7098",
"docs/proofs/rq01-distribution-artifact.json": "f21dfbc9cc4344abec88953bc3fc2b7f5751fba401ab52f0da950ae0715816e5",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/bootstrap.php": "09feb353274c100596a122aaa6251ab042a39ecdc517b23755154fb33b7987d7",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/src/BudgetContext.php": "200b23fa560cc967bf6c9ccc1387ee9fefd9933f965811f8a4a0ab5f74f12e04",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/src/BudgetFailure.php": "30ec4c7a5b45e5980ca517d167aa45e89f22a3429c76365fa1c1a94db5f4d8e0",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/src/BudgetControl.php": "3019358664e21f6ae75b589fec577f4fc16da1f3b2257eefc2840b143ce988c8",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/src/BudgetDistributionPlan.php": "ed42ce7c3ffb789c9b0deb39a880ddd8bb3e5c63d8a14d9871dba73fe8c00acd",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/src/BudgetDistributions.php": "7f963593b2d0b45f89261d90fff384805aa24df2132997f97477b6ca7082f21b",
"storage/framework/testing/budget-distribution-qa-ef60dd86bf71ec79/README.md": "24363f762ba5ba361377ff3807704bf6143c4180919bc1c45ac6cdd54eed3639"
},
"private_settings_changes": {
"COMMON_BUDGET_PATH": "Selected independent SGC release directory; original pinned package preserved",
"SGC_BUDGET_DISTRIBUTIONS_ENABLED": "true",
"SGC_BUDGET_DISTRIBUTIONS_MANIFEST": "Frozen manifest inside the selected release",
"SGC_BUDGET_DISTRIBUTIONS_MANIFEST_SHA256": "Exact artifact_manifest_sha256 above"
},
"verification": {
"native_visual": "rq01-distribution-visual.json",
"financial_qa": "rq01-distribution-qa.json",
"same_role_pilot_restore": "rq01-distribution-pilot-preparation.json",
"runtime_integrity_log": "storage/logs/budget-distribution-release-integrity.txt",
"postgres_schema_and_contract_log": "storage/logs/budget-distribution-deployment-schema-pg.txt"
},
"execution": [
"Exact separate approval bound to this proposal SHA-256",
"Fresh consistent backup and same-role restore before applying",
"Recheck pilot data and configuration under locks; refuse intervening changes",
"Apply only the staged migration, preserve all previous columns/data/FKs",
"Verify separately copied release and all asset bytes before switching manifest and four settings",
"Confirm named pilot HTTP and effective capability without business commands"
],
"recovery": [
"Before use: previous settings and manifest preserved privately; new empty schema can remain",
"After distribution use: retain compatible runtime and append-only history; never select old runtime or restore a backup automatically",
"Any restore affecting later operations requires a separate reviewed decision"
],
"excluded": [
"Real business operations, budgets, commitments, invoices, payments or accounting commands",
"Changes to roles or grants",
"SGF deployment or activation",
"Replacing published or pinned financial packages",
"MFA, inventory conversions, per-order limits, People formalisation",
"Production publication and enterprise acceptance"
]
}
+41 -7
View File
@@ -1,6 +1,6 @@
{
"date": "2026-11-22",
"status": "implemented_and_verified_in_isolated_qa_unpublished",
"status": "implemented_qa_verified_and_installed_in_named_pilot",
"authorizations": [
"rq01-distribution-contract-authorization.json",
"rq01-distribution-fx-decision.json"
@@ -108,7 +108,8 @@
"status": "passed",
"path": "storage/framework/testing/sgc-distribution-integrated-qa-20261122",
"manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"published": false
"published": false,
"installed_in_named_pilot": true
},
"broad_postgres_attempt": "Timed out after 180 seconds; not approved. Subsequently split into the two focused groups above without increasing timeout.",
"legacy_runtime_recovery_guard": {
@@ -116,6 +117,40 @@
"assertions": 134,
"log": "storage/logs/budget-distribution-legacy-guard-final.txt",
"partial_schema_and_orphan_effects_refused": true
},
"deployment_preparation": {
"runtime_integrity": {
"passed": 8,
"assertions": 20,
"log": "storage/logs/budget-distribution-release-integrity.txt"
},
"standalone_composition": {
"passed": 18,
"assertions": 152,
"log": "storage/logs/budget-distribution-release-composition.txt"
},
"postgres_schema_and_contract": {
"passed": 24,
"assertions": 180,
"isolated_database_removed": true,
"log": "storage/logs/budget-distribution-deployment-schema-pg.txt"
},
"default_runtime": {
"passed": 15,
"skipped": 1,
"assertions": 49,
"log": "storage/logs/budget-distribution-deployment-default.txt"
},
"pilot_restore_rehearsal": "rq01-distribution-pilot-preparation.json",
"proposal": "rq01-distribution-pilot-proposal.json",
"capability_enabled": true,
"installation_executed": true,
"post_install_http": {
"passed": 8,
"business_commands": false,
"proof": "rq01-distribution-pilot-http.json"
},
"installation_proof": "rq01-distribution-pilot-installation.json"
}
},
"own_corrections": [
@@ -129,13 +164,12 @@
"An incompatible runtime refuses any partial optional schema or remaining optional effects, including loss of the source table; regression tests passed."
],
"pending": [
"Concrete operational installation/activation proposal and specific authorisation",
"Remaining SGC requirements and enterprise acceptance"
"Remaining SGC requirements, transverse review, commercial operation and enterprise acceptance"
],
"limits": [
"No pinned financial package edits",
"No pilot or SGF activation",
"No real data, grants, payments or accounting operations",
"No original pinned financial package edits",
"Only the specifically authorised SGC pilot installation; no SGF activation",
"No business operations, grants, payments or accounting commands",
"No claim of complete SGC delivery"
]
}
@@ -0,0 +1,82 @@
{
"date": "2026-11-22",
"status": "updated_owner_specification_reconciled_not_a_complete_import_delivery",
"source": "c:\\Mac\\Home\\Documents\\TEMPO\\Portal Tempo\\Servicos Tempo\\Compras\\A requisção de insumos de produção.docx",
"source_sha256": "9646630ac9b7e08cf84f3e93efc6cf1a90657cdc3e59d680621b74238d3a7408",
"previous_approved_source_sha256": "ba08b3a713f2e62fb274dacad2a8f76618eb8f11d01db2dbe7cf4b521dff1c5b",
"paragraphs": 567,
"embedded_documents": 0,
"read_method": "Shared read-only stream because the source is open in another application; original unchanged",
"owner_message": "New SGC functionality includes goods imports described in this attachment",
"source_role": "Updated functional specification; legal summaries, proposed roles, alerts, timeframes and external procedures are not executable authorization or verified live integrations",
"existing_implementation": {
"files": [
"app/Services/SupplyPlanning.php",
"app/Services/ReceiptWorkflow.php",
"resources/js/pages/supply/index.tsx"
],
"capabilities": [
"One versioned import preparation per purchase order",
"Purpose, jurisdiction, origin/dispatch countries, optional Incoterm, customs regime and expected usable date",
"Transit, arrival, hold and independent release with dated evidence and existing import permissions",
"Native receipt remains blocked until recorded customs release; arrival alone is not usable stock"
],
"test_reference": "tests/Feature/SupplyPlanningTest.php: import tracking cannot bypass permissions create duplicate orders or make arrived goods usable",
"verification_this_reconciliation": "Source and code inspected; no new import execution or test run claimed"
},
"new_requirements": [
{
"section": "10.1-10.2",
"requirement": "Tariff code per imported item in material master/requisition, proposed classification, buyer confirmation or justified deviation",
"state": "not covered by existing import metadata"
},
{
"section": "10.1,10.4",
"requirement": "Versioned landed-cost estimate with goods, freight, insurance, duties, taxes and customs expenses; native budget/approval basis and explicit actual-cost changes",
"state": "requires economic/budget reconciliation; no new financial authority implemented"
},
{
"section": "10.2-10.3",
"requirement": "Selected broker/forwarder, written instructions and reusable shipment/customs document dossier linked to purchase and receipt",
"state": "existing evidence text does not demonstrate typed document coverage"
},
{
"section": "9,10.4",
"requirement": "Related-party/conflict controls for supplier, broker and forwarder; preserve segregation, justified replacement and history",
"state": "native supplier/process controls exist; broker/forwarder coverage not demonstrated"
},
{
"section": "10.2-10.4",
"requirement": "Record JUE declaration, unique document, customs assessment, documentary payment/release evidence and receipt lineage without duplicate stock movement",
"state": "logistical states exist; external JUE integration and full documentary workflow not implemented by this record"
},
{
"section": "10.4,10.7",
"requirement": "Foreign-bank documentary commitment and support-document tracking; no inferred bank execution or card policy activation",
"state": "new import-specific documentary requirements; rules and financial integration require concrete reconciliation"
},
{
"section": "10.6-10.7",
"requirement": "Versioned official tariff/legal/sector/origin/ICE rules, periods, sources, confirmed buyer suggestions and justified deviations",
"state": "functional scope recorded; no customs rates, exemptions or legal validity certified from the Word summary"
},
{
"section": "10.8",
"requirement": "Contextual missing-code/licence/document, cost/budget, payment-support, arrival/deadline, legal-change and pending-approval alerts",
"state": "reconcile with native task/help channels; organization deadlines and recipients must remain explicitly configured"
},
{
"section": "10.4",
"requirement": "Preserve customs originals, versions and audit evidence",
"state": "existing owner decision of integral preservation without automatic deletion remains in force"
}
],
"preserved": [
"No changes to source Word file",
"Existing logistics and single native inventory writer",
"Frozen exchange-rate decisions and financial/product boundaries",
"Installed pilot release, real data and permissions",
"No JUE submission, bank payment, legal-rate activation or operational installation"
],
"tracking": "Existing reconciled matrix and delivery/continuity documents only; no parallel backlog"
}
@@ -0,0 +1,13 @@
{
"date": "2026-11-22",
"status": "approved_for_development_and_isolated_qa_only",
"owner_response": "autorizo",
"proposal": "rq01-multi-order-contract-proposal.json",
"proposal_sha256": "945feac2a4f5772edb90fb3533f9f782d17aeef3f40c93aef048a6dd1f3a2fe0",
"scope": "Optional multi-order and multi-origin common financial contract and SGC host adaptation as specified in the proposal",
"excluded": [
"Installed/published artifacts",
"Pilot or SGF installation/activation",
"Real business data, permissions, budgets, payments and accounting postings"
]
}
@@ -0,0 +1,72 @@
{
"date": "2026-11-22",
"status": "prepared_awaiting_specific_qa_contract_authorization",
"purpose": "RQ-01 approved requisition line splitting and consolidation into purchase orders, with native budget lineage",
"existing_authorization": "rq01-distribution-contract-authorization.json covers explicit line/centre distributions; the installed V1 pilot release remains preserved",
"evidence": {
"common_source": "C:\\laragon\\www\\sgf-tempo\\packages\\budget-control\\src\\BudgetDistributions.php",
"common_source_sha256": "7f963593b2d0b45f89261d90fff384805aa24df2132997f97477b6ca7082f21b",
"current_constraint": "recordDistribution commits a whole single-origin plan; purchase_orders uniquely references requisition_id and purchase_award_id; invoices and native budget consumption each reference one purchase order/invoice",
"host_schema": [
"database/migrations/2026_10_28_000005_create_purchase_awards_and_orders.php",
"database/migrations/2026_10_28_000010_create_invoices.php"
]
},
"requested_scope": [
"Extend only the canonical common budget source in SGF and the SGC adaptation in isolated development/QA; no second financial engine",
"Introduce an optional separately negotiated capability while preserving V1 methods, data and installed artifact",
"Track original requisition/line, approved supplier award, issued order part and invoice allocation by stable identity and version",
"Commit only issued quantities/amounts; preserve the unissued reservation and cap cumulative quantities and native amounts",
"Consolidate compatible approved origins for the same company, supplier and document currency without bypassing award decisions",
"Keep one native invoice and one payable principal; atomically consume allocated commitments across authorized origins",
"Preserve original explicit frozen exchange rates and native cumulative rounding; use already approved explicit Finance allocation/versioned amendments without automatic compensation",
"Keep current document access and cancellation policy; do not duplicate documents, auto-reopen processes or release unrelated balances",
"Preserve legacy records and fail closed on unsupported capability; no silent downgrade after new effects exist"
],
"illustrative_synthetic_acceptance": [
{
"scenario": "100 MZN requisition split into 40 and 60 MZN orders",
"after_first": {
"reserved": 60,
"committed": 40
},
"after_second": {
"reserved": 0,
"committed": 100
},
"replay": "No duplicate financial effect"
},
{
"scenario": "Approved origins of 100 and 200 MZN consolidated into one 300 MZN order",
"invoice": {
"principal": 150,
"origin_consumptions": [
50,
100
],
"remaining_commitment": 150
},
"failure": "Any invalid source, authorization or balance rejects the entire operation"
},
{
"scenario": "100 USD at frozen rate 64 and 100 USD at frozen rate 65",
"document_usd": 200,
"original_mzn_references": 12900,
"rule": "Preserve both source rates; do not create an averaged exchange rate"
}
],
"required_verification": [
"Native end-to-end split/consolidation/receipt/invoice lineage",
"Quantity and monetary limits, explicit FX allocation, authorization and isolation failures",
"Real isolated PostgreSQL atomicity, concurrency, operation replay and stale versions",
"V1 and legacy regression; same-role backup/restore in disposable QA",
"Mobile, print and contextual help for affected journeys before any operational proposal"
],
"excluded": [
"Published or installed financial artifacts, including the current V1 pilot release",
"Pilot or SGF migration, installation or activation",
"Real business data, permissions, budgets, payments or accounting postings",
"Automatic Finance reallocations, invented exchange rates or relaxed supplier/approval/cancellation controls"
],
"later_deployment": "Requires a separate concrete proposal, compatibility evidence, backup/restore and specific target authorization"
}
+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."
}
@@ -0,0 +1,32 @@
{
"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"]
}