281 lines
11 KiB
JSON
281 lines
11 KiB
JSON
{
|
|
"date": "2026-11-27",
|
|
"status": "implemented_in_isolated_qa_not_installed_not_product_completion",
|
|
"scope": [
|
|
"Explicit versioned charge definitions and MZN bases",
|
|
"Exact decimal ad-valorem, specific and maximum-of-both estimation",
|
|
"Unknown rates/bases and unproven non-application remain indeterminate",
|
|
"Immutable source-linked estimates and deliberate adoption into native import cost preparation",
|
|
"Explicit budget subtotal/tax split and single-use charge protection",
|
|
"Future legal periods preserve the earlier applicable publication",
|
|
"Native lot-availability warnings remain distinct from physical receipt acceptance"
|
|
],
|
|
"data": "Calculation tests use synthetic rates, bases and organizations. Real shared official originals were separately consulted and upload-tested; no real rate rules activated.",
|
|
"postgresql_money_integration": {
|
|
"tests": 57,
|
|
"assertions": 919,
|
|
"passed": true,
|
|
"database_removed": true
|
|
},
|
|
"sqlite_readiness_delta": {
|
|
"tests": 5,
|
|
"assertions": 42,
|
|
"passed": true
|
|
},
|
|
"protocol_unit": {
|
|
"tests": 9,
|
|
"assertions": 43,
|
|
"passed": true
|
|
},
|
|
"frontend": {
|
|
"files": 43,
|
|
"tests": 180,
|
|
"passed": 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": 2,
|
|
"amount_versions_per_scenario": 1,
|
|
"audits_per_scenario": 1,
|
|
"new_files": 0,
|
|
"originals_verified": true,
|
|
"database_removed": true
|
|
},
|
|
"recovery": {
|
|
"calculated_amount_minor": 750,
|
|
"native_goods_minor": 10000,
|
|
"native_cost_plan_total_minor": 10750,
|
|
"source_provenance_restored": true,
|
|
"amount_and_native_plan_replay_without_effects": true,
|
|
"private_originals": 11,
|
|
"previous_tables_preserved": 115,
|
|
"optional_tables": 2,
|
|
"all_sql_equal": true,
|
|
"pre_extension_recovery": true,
|
|
"databases_removed": true
|
|
},
|
|
"native_http": {
|
|
"native_fortify_login": true,
|
|
"csrf_required": true,
|
|
"real_shared_pdf_bytes": 15509234,
|
|
"source_sha256": "8bcb278f77d365804d70a51074400af8ad2cdf6c620e5668c8bbd9b31e0d3fd2",
|
|
"exact_download_and_original_unchanged": true,
|
|
"one_source_one_audit_after_replay": true,
|
|
"guest_status": 401,
|
|
"revoked_status": 403,
|
|
"rules_published": 0,
|
|
"financial_stock_unchanged": true,
|
|
"private_upload_limit": "64M",
|
|
"private_post_limit": "70M",
|
|
"global_php_unchanged": true,
|
|
"server_stopped": true,
|
|
"private_root_and_database_removed": true
|
|
},
|
|
"private_build": {
|
|
"directory": "storage/framework/testing/sgc-import-legal-amounts-qa-20261127",
|
|
"manifest_sha256": "76ce989c99f800d50a877f5eff7b7d22f8ed1bfb7de04dc1b73cba614cfa4984",
|
|
"passed": true
|
|
},
|
|
"corrections": [
|
|
"PostgreSQL caught a 21-character internal kind exceeding the existing 20-character schema; changed to import_legal_amount without a migration. Native HTTP, source queries and recovery now cover it.",
|
|
"Non-application needs article-specific documentary grounding rather than becoming zero automatically.",
|
|
"A future publication no longer suppresses an earlier applicable period; no expired replacement fallback.",
|
|
"Native HTTP test now follows the actual Inertia bootstrap asset version instead of treating a reload response as JSON."
|
|
],
|
|
"limitations": [
|
|
"Real exemptions, rates and procedures must remain tied to their actual scope, sources and periods; no blanket claim of complete source parametrization",
|
|
"The operational PHP upload/post limits still require scoped installation preparation; only private QA limits were exercised",
|
|
"Browser host remains unavailable, but native Edge was successfully launched for a separate visual review that has not yet been completed",
|
|
"Other matrix requirements, operational installation and enterprise acceptance remain open"
|
|
],
|
|
"commands": [
|
|
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-amounts-focused",
|
|
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-amount-concurrency",
|
|
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-amount-recovery",
|
|
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-http --legal-corpus-root=<shared-corpus> --legal-http-candidate=<private-candidate> --legal-http-manifest=<validated-hash>"
|
|
],
|
|
"native_visual_delta": {
|
|
"browser": "Native Microsoft Edge",
|
|
"viewports_observed_px": [
|
|
390,
|
|
823
|
|
],
|
|
"legal_page_no_horizontal_overflow_observed": true,
|
|
"explicit_reuse_preserved_base_minor": 10000,
|
|
"native_form_saved_new_amount_version": 2,
|
|
"native_form_calculated_minor": 750,
|
|
"existing_plan_preserved_selected_estimate_id": 5,
|
|
"existing_plan_total_minor": 10750,
|
|
"readiness_expected_unknown_and_bank_deadline_pending_visible": true,
|
|
"scope_limit": "Not a complete visual acceptance: bank editing, print pagination and remaining product flows remain unverified. Empty required reason was blocked by native form validation; server error rendering was not demonstrated.",
|
|
"private_server_stopped": true,
|
|
"private_root_removed": true,
|
|
"isolated_database_removed": true,
|
|
"user_tabs_preserved": true
|
|
},
|
|
"native_bank_visual_delta": {
|
|
"native_form_saved_version": 2,
|
|
"state": "documented",
|
|
"effective_delivery_on": "2026-11-27",
|
|
"dated_original_and_basis_preserved": true,
|
|
"previous_version_preserved": true,
|
|
"pending_delivery_and_due_today_alerts_removed": true,
|
|
"isolated_environment_removed": true,
|
|
"bank_execution": false
|
|
},
|
|
"specific_rate_precision_delta_20261128": {
|
|
"status": "implemented_in_qa_no_real_rates_activated",
|
|
"coefficient": "Exact decimal minor-unit coefficient, up to six decimal places; monetary results remain integer minor units",
|
|
"float_coefficients_rejected": true,
|
|
"sqlite": {
|
|
"tests": 15,
|
|
"assertions": 138,
|
|
"passed": true
|
|
},
|
|
"postgresql": {
|
|
"tests": 61,
|
|
"assertions": 988,
|
|
"passed": true,
|
|
"database_removed": true
|
|
},
|
|
"frontend": {
|
|
"tests": 23,
|
|
"files": 3,
|
|
"passed": true
|
|
},
|
|
"checks": {
|
|
"types": true,
|
|
"phpstan": true,
|
|
"pint": true,
|
|
"scoped_check": true,
|
|
"build": true
|
|
},
|
|
"initial_failure": "Installed BigDecimal API uses strippedOfTrailingZeros; corrected and regression cases passed",
|
|
"native_history_decimal_recovery": true,
|
|
"native_decimal_draft_save_demonstrated": false,
|
|
"financial_writer_changed": false,
|
|
"build_manifest_sha256": "9d415ba790aa602b36372d310a4eaa3426670fc521f15efb4166d782e170ac8e"
|
|
},
|
|
"specific_coefficient_native_save_delta_20261129": {
|
|
"status": "native_save_reload_and_mobile_verified_in_isolated_qa",
|
|
"setup": "Existing guarded specific-rate preview now prepares a synthetic source and draft through the native service with valid illustrative dates, avoiding the previously blocked OS upload/date selection front. No actual legal rate is seeded or published.",
|
|
"record_key": "651c6f2f-bd2b-440e-948a-fbc8ff88ae36",
|
|
"initial_version": 1,
|
|
"saved_version": 2,
|
|
"saved_state": "draft",
|
|
"coefficient_mzn": "0.0099",
|
|
"coefficient_minor": "0.99",
|
|
"quantity_unit": "g",
|
|
"native": {
|
|
"copied_existing_version": true,
|
|
"typed_exact_coefficient": true,
|
|
"entered_reason": true,
|
|
"clicked_save_preparation": true,
|
|
"server_version2_visible": true,
|
|
"hard_reload_preserved_exact_coefficient": true,
|
|
"hard_reload_without_dirty_prompt_after_save": true,
|
|
"mobile_width": 390,
|
|
"mobile_height": 526,
|
|
"version2_draft_dates_and_coefficient_readable": true,
|
|
"tab_closed_without_beforeunload": true
|
|
},
|
|
"dirty_guard": "All legal preparation forms now reuse the already verified common managed preparation hook, including early restored forms.",
|
|
"verification": {
|
|
"frontend": 23,
|
|
"files": 3,
|
|
"types": true,
|
|
"scoped_format_lint": true,
|
|
"build": true
|
|
},
|
|
"manifest_sha256": "2ede33b27c22e64f2f5d963e1436308f4d2fa6ed78b7484da92082624e4e7600",
|
|
"cleanup": {
|
|
"database_removed": true,
|
|
"role_removed": true,
|
|
"own_tab_closed": true,
|
|
"original_user_tab_preserved": true
|
|
},
|
|
"publication_or_calculation_activated": false,
|
|
"operational_changes": false,
|
|
"limits": "The native saved value is confirmed by the version-2 summary after reload. OS file selection and date picker entry were not exercised; the prior limitation is superseded only for saving this existing draft. No real tax validity or full application acceptance is claimed."
|
|
},
|
|
"vat_documentary_delta_20261129": {
|
|
"status": "implemented_in_isolated_qa_not_legal_consolidation_or_product_completion",
|
|
"source": {
|
|
"file": "alteracao CIVA 2023.pdf",
|
|
"sha256": "0c13f4b03dadea7f2dfe30694650078fa7b9de00ef84cb47389422d23a5271cd",
|
|
"law": "Lei 22/2022",
|
|
"citation": "Article 1, CIVA Article 17(1), BR I Serie 250 page 2238; commencement Article 6 page 2239",
|
|
"rate_percent": 16,
|
|
"valid_from": "2023-01-01",
|
|
"valid_until": null
|
|
},
|
|
"behavior": {
|
|
"templates_added": 1,
|
|
"internal_selector_identifier_not_used_as_tariff_code": true,
|
|
"match_and_suggested_codes_blank": true,
|
|
"vat_basis_blank_requires_explicit_completion": true,
|
|
"other_three_impositions_unknown": true,
|
|
"source_bytes_verified_before_template": true,
|
|
"no_automatic_publication_or_calculation": true
|
|
},
|
|
"verification": {
|
|
"sqlite": {
|
|
"tests": 4,
|
|
"assertions": 231
|
|
},
|
|
"postgresql_frozen": {
|
|
"tests": 12,
|
|
"assertions": 289,
|
|
"database_and_role_removed": true
|
|
},
|
|
"frontend_final": {
|
|
"tests": 28,
|
|
"files": 3
|
|
},
|
|
"types": true,
|
|
"phpstan_errors": 0,
|
|
"pint": true,
|
|
"scoped_check": true,
|
|
"private_build": true
|
|
},
|
|
"native": {
|
|
"browser": "Edge desktop",
|
|
"templates_expected": 49,
|
|
"vat_source_id": 18,
|
|
"selected_vat_source": true,
|
|
"rate_and_commencement_confirmed": true,
|
|
"codes_and_basis_blank_confirmed": true,
|
|
"incomplete_save_blocked_by_browser_required_code": true,
|
|
"original_invalid_field_hidden_by_fixed_header": true,
|
|
"corrected_first_invalid_field_scrolled_to_center_and_visibly_confirmed": true,
|
|
"preparation_discarded_without_save": true,
|
|
"no_mobile_delta": true,
|
|
"no_native_successful_save_claim": true,
|
|
"qa_previews_removed": true,
|
|
"original_user_tab_preserved": true
|
|
},
|
|
"private_manifest_sha256": "084b3d39114f9e7a4b5307c2242bbf98a1add5ae17251c1a6f515866cfb1ecfe",
|
|
"limits": [
|
|
"2016 Article 16 import valuation visually researched separately; no automatic base formula implemented",
|
|
"Later 2025 amendments reviewed only for this documentary scope, no complete legal consolidation claimed",
|
|
"Native validation covers browser missing-code rejection; missing-basis rejection and explicit synthetic draft save covered by backend tests",
|
|
"No pilot, SGF, actual source, rights, bank or financial operational change"
|
|
],
|
|
"mistargeted_check": "Earlier quotation-exchange runner call selected unrelated FX suite because the outer landed-cost mode was absent; excluded as VAT evidence; correct frozen legal-reference runner passed afterward."
|
|
}
|
|
}
|