commit compras3 2811
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-28 18:16:04 +02:00
parent 060c119ba1
commit 1ddabbbdcc
41 changed files with 1341 additions and 138 deletions
+188 -5
View File
@@ -111,13 +111,49 @@
"Expected receipt warning follows native effective acceptance rather than customs release alone"
],
"visual": {
"browser_host": "unavailable",
"native_browser_inventory": "empty",
"browser_host": "native Edge available",
"native_browser_inventory": "native window selected",
"review_completed": false,
"pdf_source_review": "pypdf extraction and pypdfium2 rendered 2025 amendment pages2-4; page3/4 images inspected; no source modifications"
"pdf_source_review": "pypdf extraction and pypdfium2 rendered 2025 amendment pages2-4; page3/4 images inspected; no source modifications",
"previous_browser_unavailable_observation_superseded": true,
"latest_bounded_review": {
"date": "2026-11-28",
"environment": "isolated synthetic QA; native Edge second tab only",
"url": "http://localhost:49217",
"mobile_viewport": {
"width": 390,
"height": 526
},
"native_login": true,
"saved_rule_version": 1,
"saved_rule_state": "draft / Em preparação",
"code": "3506.91.20",
"source_id": 17,
"rules_published": 0,
"observed": [
"Native selection prefilled editable source, citation, start date and general duty20%; other taxes remained unknown.",
"Saved preparation displayed version1 and draft state; explicit reset after successful save.",
"Mobile selection usable; occupied preparation prevented replacement.",
"Native leave warning observed; back then forward recovered the exact preparation title and code.",
"Saved rule, source text, cards and controls readable at390px without observed lateral clipping.",
"Corrected empty rules message so it no longer claims that no sources exist."
],
"targeted_regression": {
"passed": 14,
"files": 2
},
"full_application_acceptance": false,
"physical_print_review": false,
"cleanup": {
"database_removed": true,
"role_removed": true,
"qa_tab_closed": true,
"original_user_tab_preserved": true
}
}
},
"limitations": [
"Tax estimate calculations and complete source-specific rule parametrization remain open",
"The earlier calculation-implementation gap is superseded by import-legal-amounts-qa.json; complete source-specific legal parametrization, other taxes and later amendments remain separate coverage.",
"Automatic recipients and organizational deadlines are not inferred",
"Visual/mobile/print review and other reconciled matrix gaps remain open",
"No operational installation/activation, migration or real permissions changed"
@@ -127,5 +163,152 @@
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-concurrency",
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-recovery",
"php scripts/quotation-exchange-pg-check.php --import-landed-costs-only --legal-corpus --legal-corpus-root=<shared-corpus>"
]
],
"reference_drafts_delta_20261128": {
"status": "implemented_and_verified_in_isolated_qa_no_rule_publication",
"source": {
"relative_path": "novas/BR_248_I_SERIE_SUPLEMENTO_2025.pdf",
"sha256": "a0110696253715567af39c159a21bacfebc32f944fa43a4efd18070d36959e50",
"bytes": 1002011,
"law": "8/2025",
"pages_visually_reviewed": [
3,
4,
5,
6,
7,
8
],
"covered_page": "2180-(4) to 2180-(7), full Law 8/2025 Annex",
"effective_from_declared_by_article_4": "2026-01-01"
},
"behaviour": [
"Forty-eight documentary tariff drafts cover every code in the Law 8/2025 Annex; exact source bytes required; not a consolidated tariff or later-amendment claim.",
"Existing customs preparation authority, tenant visibility and original evidence verification preserved. No new source grant.",
"Explicit selection fills editable native draft; occupied or remembered preparations prevent replacement, deliberate local reset offered.",
"General duty only is known from this excerpt; ICE, VAT and other charges remain explicitly unknown, so a partial known subtotal is not a complete total.",
"Corrupted matching source yields a bounded warning and no reference drafts; the rest of the legal workspace remains available. No native storage paths returned.",
"Class K and article2 paragraph2 investment restriction for87.04 retained as documentary conditions, never automatic benefit eligibility."
],
"sqlite": {
"tests": 10,
"assertions": 94,
"passed": 10
},
"native_http": {
"database": "compras_receipts_test_3eec359001d8",
"removed": true,
"native_fortify_login": true,
"csrf_refused": true,
"source_bytes": 1002011,
"verified_download": true,
"replay_one_source_one_event": true,
"guest_status": 401,
"revoked_status": 403,
"reference_drafts": 48,
"rules_published": 0,
"financial_stock_unchanged": true,
"server_and_root_removed": true
},
"frontend": {
"all_files": 84,
"passed": 382,
"targeted_legal_and_help_tests": 16,
"targeted_files": 3,
"all_tests_before_annex_expansion": 382,
"targeted_legal_and_help_tests_after_annex_expansion": 16,
"targeted_files_after_annex_expansion": 3
},
"receipt_protocol": {
"tests": 15,
"assertions": 68,
"passed": 15,
"correction": "The first native HTTP run passed its behaviour checks but was rejected by the protocol because the new mode was not registered. Added strict edition/hash/size/count checks and incomplete-receipt regressions; rerun passed. The old large-source receipt still requires over 2 MiB.",
"note": "Final expected draft count48; the earlier count11 and its HTTP proof describe the preceding page4-only increment."
},
"build": {
"directory": "storage/framework/testing/sgc-legal-annex-qa-20261128",
"manifest_sha256": "08f42ca3be0d40d8cb78d5bc9bb8b3a4800df846eeacc98a6e57f2fa022e7e14",
"entries": 183
},
"checks": [
"types passed",
"targeted frontend formatting and lint passed",
"PHPStan zero errors",
"Pint passed"
],
"limits": [
"This is an edition-specific documentary excerpt, not a consolidated or complete Mozambican tariff database.",
"Preferential origin, exemptions, other taxes and later amendments are not inferred. Native publication and any actual operational activation remain deliberate separate steps.",
"No pilot installation, real rights, financial effects or SGF changes. Native desktop/mobile/save/history review completed only for the recorded legal preparation flow; full application and print acceptance remain open."
],
"source_code_reconciliation": {
"original_annex_codes": 48,
"implemented_codes": 48,
"missing": [],
"extra": []
},
"postgresql": {
"tests": 10,
"assertions": 94,
"passed": 10,
"database": "compras_receipts_test_d179cf5d7490",
"removed": true
},
"native_http_page4_only_previous_run": {
"database": "compras_receipts_test_e2addc3374fd",
"removed": true,
"native_fortify_login": true,
"csrf_refused": true,
"source_bytes": 1002011,
"verified_download": true,
"replay_one_source_one_event": true,
"guest_status": 401,
"revoked_status": 403,
"reference_drafts": 11,
"rules_published": 0,
"financial_stock_unchanged": true,
"server_and_root_removed": true
},
"native_visual": {
"date": "2026-11-28",
"environment": "isolated synthetic QA; native Edge second tab only",
"url": "http://localhost:49217",
"mobile_viewport": {
"width": 390,
"height": 526
},
"native_login": true,
"saved_rule_version": 1,
"saved_rule_state": "draft / Em preparação",
"code": "3506.91.20",
"source_id": 17,
"rules_published": 0,
"observed": [
"Native selection prefilled editable source, citation, start date and general duty20%; other taxes remained unknown.",
"Saved preparation displayed version1 and draft state; explicit reset after successful save.",
"Mobile selection usable; occupied preparation prevented replacement.",
"Native leave warning observed; back then forward recovered the exact preparation title and code.",
"Saved rule, source text, cards and controls readable at390px without observed lateral clipping.",
"Corrected empty rules message so it no longer claims that no sources exist."
],
"targeted_regression": {
"passed": 14,
"files": 2
},
"full_application_acceptance": false,
"physical_print_review": false,
"cleanup": {
"database_removed": true,
"role_removed": true,
"qa_tab_closed": true,
"original_user_tab_preserved": true
}
},
"build_for_visual_review": {
"directory": "storage/framework/testing/sgc-legal-annex-review-qa-20261128",
"manifest_sha256": "8a30171b051303e1df299157cea7684c5276846560c9b42c8c782b2ed89dc272",
"entries": 183
}
}
}