Files
compras/docs/proofs/capital-register-qa.json
T
nala 448948a487
tests / ci (push) Waiting to run
commit compras1 2911
2026-11-29 05:28:30 +02:00

331 lines
12 KiB
JSON

{
"date": "2026-11-27",
"status": "development_in_isolated_qa_not_installed_not_product_completion",
"owner_decision": "Cadastro próprio em Compras, independente do SGF",
"implementation": [
"Versioned project and asset documentary references owned by Compras",
"Existing equipment identities reused without creating duplicate physical records",
"Existing equipment register capabilities and department scope reused; no grants",
"Immutable codes, archive/history, operation replay and stale-version conflicts",
"Explicit draft requisition line assignment by its requester",
"Frozen origin in ordinary and partial/consolidated native order snapshots and print",
"Later register rename/archive does not rewrite accepted choices or issued orders"
],
"sqlite_register_and_assignments": {
"tests": 9,
"assertions": 101,
"passed": true
},
"postgresql_directed_native_integration": {
"tests": 13,
"assertions": 282,
"passed": true,
"database_removed": true
},
"postgresql_submission_category_approval_regression": {
"tests": 56,
"assertions": 941,
"passed": true,
"database_removed": true
},
"sqlite_native_search_regression": {
"tests": 6,
"assertions": 210,
"passed": true
},
"native_search_delta": "Department-scoped receipt search now checks all consolidated order origins; native company-wide warehouse visibility is preserved and regression-tested",
"frontend_directed": {
"files": 2,
"tests": 11,
"passed": true,
"includes_journey_help": true
},
"checks": {
"types": "passed",
"phpstan": "passed",
"scoped_format_lint": "passed",
"scoped_pint": "passed",
"diff_whitespace": "passed"
},
"concurrency": {
"same_operation": [
200,
200
],
"same_version": [
200,
409
],
"blocked_writers_observed": 2,
"new_versions_per_scenario": 1,
"audits_per_scenario": 1,
"new_files": 0,
"database_removed": true,
"receipt_protocol_regression": {
"tests": 10,
"assertions": 49,
"passed": true
}
},
"native_edge_review": {
"synthetic_project_created_through_native_form": true,
"synthetic_line_assignment_saved_through_native_form": true,
"assignment_version": 1,
"source_version": 1,
"history_visible": true,
"viewports_observed_px": [
390,
823
],
"private_server_stopped": true,
"private_root_removed": true,
"database_removed": true,
"user_tabs_preserved": true,
"layout_follow_up": "Align page padding with native equipment/requisition pages; mobile overflow was not observed."
},
"lineage_delta": {
"issued_snapshot_used_as_authority": true,
"native_receipt_confirmed_and_visible": true,
"accepted_quantity": "1.000",
"read_did_not_change_stock": true,
"pagination_independent_for_orders_and_receipts": true,
"later_reversal_and_return_projection": "uses_native_inventory_services; native correction execution not repeated in this increment"
},
"recovery": {
"register_versions_restored": 2,
"frozen_assignment_source_version_restored": 1,
"archived_head_preserved": true,
"replay_without_effects": true,
"previous_tables_preserved": 115,
"private_originals_preserved": 11,
"pre_and_post_extension_restore_equal": true,
"source_and_restore_databases_removed": true
},
"private_build": {
"path": "storage/framework/testing/sgc-capital-register-qa-20261127",
"manifest_sha256": "baaf8095659bb678e449133dfdd07d1862bb89870f8fbcf44fd2d079474faed1",
"passed": true
},
"private_trace_build": {
"path": "storage/framework/testing/sgc-capital-register-trace-qa-20261127",
"manifest_sha256": "a17c52e7d05335c54f7fd0f34510cb38af9979388fabb30cf7cc110600870e23",
"passed": true
},
"preserved": {
"pilot_manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"pilot_activated": false,
"migration_created": false,
"new_financial_or_stock_writer": false,
"sgf_dependency": false
},
"equipment_backlink_delta_20261127": {
"status": "implemented_in_isolated_qa_physical_visual_acceptance_pending",
"behavior": "Equipment detail links to its explicitly registered current asset reference and existing purchase/receipt trace, including archived reference identities. Matching uses the real equipment ID and permanent reference key, never names. Existing direct purchase/spare-part links remain separate.",
"native_trace": "An ordinary native order freezes asset reference version 1 before equipment registration, then native receipt confirms one unit. Later reference version 2 links the newly registered synthetic equipment identity. Equipment detail reaches the original order and receipt without changing the issued snapshot or any financial, stock, audit or register rows by reading.",
"boundaries": "This covers a legacy/native order with explicit documentary asset attribution. It does not certify a full classified-machinery lifecycle, accounting asset posting, depreciation or operational activation. Those are not inferred from equipment registration.",
"access": "Fresh actor, current register scope and maintenance restrictions are rechecked; unauthorized reference fields are omitted. Disabling the QA register leaves existing equipment detail available without the additional panel.",
"verification": {
"sqlite_native_trace": {
"tests": 1,
"assertions": 65,
"passed": true
},
"sqlite_current_reference_access": {
"tests": 1,
"assertions": 4,
"passed": true
},
"postgresql_trace_and_reference_access": {
"tests": 3,
"assertions": 83,
"passed": true,
"database_removed": true
},
"sqlite_existing_equipment_regression": {
"tests": 7,
"assertions": 193,
"passed": true
},
"frontend": {
"tests": 2,
"passed": true
},
"types": "passed",
"phpstan": "passed",
"scoped_format_lint": "passed",
"pint": "passed",
"diff_review": "passed"
},
"private_build": {
"path": "storage/framework/testing/sgc-equipment-capital-trace-qa-20261127",
"manifest_sha256": "6a838cb8e9a8fbf5503e79f31a95c1d5ae2817613701bdbf1ebf71bda9a9f990",
"passed": true
},
"pilot_modified": false
},
"remaining": [
"Visual review of the added origin/receipt panels and final page padding",
"Full assignment/account applicability across RQ-01 categories",
"Final visual/mobile/print review after remaining implementation",
"Other existing matrix gaps and separately scoped operational preparation"
],
"cross_module_search_delta_20261128": {
"status": "implemented_and_verified_in_isolated_qa_not_integral_completion",
"scope": [
"Native register read projection, current versions including archived identity",
"Literal code name and documentary reference search",
"Company and native department scope and current capabilities",
"Metadata only, own pagination, native history and trace destination",
"Conditional register menu entry with correct active highlight",
"Matching groups precede collapsed empty areas"
],
"sqlite": {
"tests": 20,
"assertions": 495,
"passed": true
},
"postgresql": {
"tests": 20,
"assertions": 495,
"passed": true,
"database_removed": true
},
"frontend_navigation_search": {
"tests": 39,
"files": 4,
"passed": true
},
"checks": {
"types": true,
"phpstan_errors": 0,
"pint": true,
"scoped_check": true,
"menu_route_contract": true,
"diff_check": true
},
"native": {
"capital_build": "810d3ec5da279a063e4b6487ed53331908c5a737f5f2b84595d75fcf0a328020",
"code": "QA-SEARCH-PROJECT-20261128",
"version": 1,
"synthetic_register_creation": true,
"menu_search_and_highlight": true,
"form_search_submission": true,
"history_opened": true,
"back_preserved_query": true,
"mobile": "390x526 at 100 percent",
"matching_result_before_ten_collapsed_empty_areas": true
},
"fixture_corrections": [
"Initial revocation test incorrectly added a second profile; replaced with explicit change of the synthetic profile",
"When configured access was enabled by the head fixture, the original legacy actor needed an explicit synthetic procurement profile to test feature-off access"
],
"no_new_schema": true,
"no_real_permissions_granted": true,
"real_operational_changes": false,
"sgf_changed": false,
"final_candidate": {
"directory": "storage/framework/testing/sgc-managed-query-final-qa-20261128",
"manifest_sha256": "2c08ae1dea9d6049befd1c220a11ba8a175ebd96f3ea0f08d5a7baaefce0203b",
"entries": 183,
"missing": 0
},
"cleanup": {
"preview_databases_removed": true,
"preview_roles_removed": true,
"owned_tabs_closed": true,
"original_tab_preserved": true
},
"remaining": "Other cross-module search sources, transversal review and integral acceptance remain separately scoped"
},
"native_project_financial_trace_delta_20261129": {
"status": "native_http_and_visual_verified_in_isolated_qa",
"scope": "Own project created by native HTTP, explicitly chosen by request owner, frozen as version 1 in an issued order and traced to its actual physical receipt. Finance follows the exact order filter to its invoice and payment records. No accounting capitalisation or project valuation is inferred.",
"project": {
"record_key": "eaf3cd6a-8721-46d3-abd1-d3e424c89338",
"code": "HTTP-PROJECT-QA",
"version": 1
},
"native_http": {
"checks": 461,
"native_post_requests": 53,
"fortify_sessions": 7,
"request_id": 7,
"order_id": 2,
"invoice_id": 1,
"payment_ids": [
1,
2
],
"request_total_minor": 10000,
"order_total_minor": 10000,
"invoice_total_minor": 10000,
"confirmed_payments_minor": [
4000,
6000
],
"outstanding_minor": 0,
"budget_consumed_minor": 10000,
"budget_available_minor": 90000,
"order_budget_checked": true,
"stock_quantity_milli": 1000,
"stock_movements": 1,
"journals": 0,
"explicit_finance_category_total_minor": 10000
},
"visual": {
"desktop_project_order_receipt_origin": true,
"desktop_project_to_order_to_invoice_to_payments": true,
"new_order_budget_confirmation_visible": true,
"invoice_destination_skips_registration_form": true,
"mobile_width": 390,
"mobile_height": 526,
"mobile_invoice_card_and_payment_link_visible": true,
"mobile_payment_navigation_preserved_invoice_id": 1,
"confirmed_100_pending_0_visible": true,
"business_posts_in_browser": false
},
"manifest_sha256": "3405190f73702906bdde29cb0d35ce1d4252c3886eaf715a3c9edb28ab5a624c",
"manifest_entries": 184,
"cleanup": {
"database_removed": true,
"role_removed": true,
"own_browser_tab_closed": true,
"original_user_tab_preserved": true
},
"post_visual_sql_snapshot": false,
"limits": "Synthetic QA only; no real bank, SGF, grants, activation, installation or integral application acceptance. The invariant snapshot belongs to HTTP verification before visual reading."
},
"preparation_guard_delta_20261129": {
"scope": "Common managed preparation hook; no new writer or permission",
"frontend_tests": 19,
"frontend_files": 3,
"types": true,
"scoped_format_lint": true,
"build": true,
"manifest_sha256": "e9472d5fdb99844147e427c0fd094f4b7910c11aad2966d0011442b979218846",
"native_desktop": {
"unsaved_name_warned": true,
"continue_editing_preserved_name": true,
"clear_then_navigation_without_warning": true
},
"mobile_this_delta": false,
"cleanup_database_role_and_own_tab": true
},
"section_navigation_delta_20261129": {
"scope": "Preparation and history anchor targets, existing permissions and form operations preserved",
"frontend_tests": 20,
"frontend_files": 3,
"types": true,
"scoped_check": true,
"build": true,
"manifest_sha256": "ffa716658f1fddae37b85ab86135f849d031e805fd873524942f99716ce33b8c",
"manifest_entries": 184,
"native_desktop_preparation_anchor_below_sticky_header": true,
"native_revision_copy_this_delta": false,
"native_history_jump_this_delta": false,
"mobile_this_delta": false,
"cleanup_database_role_own_tab": true,
"original_tab_preserved": true
}
}