Files
compras/docs/proofs/rq01-distribution-qa.json
T
nala db1615fac1
tests / ci (push) Waiting to run
commit melhorias compras5
2026-11-22 19:39:09 +02:00

176 lines
7.3 KiB
JSON

{
"date": "2026-11-22",
"status": "implemented_qa_verified_and_installed_in_named_pilot",
"authorizations": [
"rq01-distribution-contract-authorization.json",
"rq01-distribution-fx-decision.json"
],
"implementation": [
"Canonical common source only: optional exact line allocations, reservation, award, commitment, partial consumption and explicit versioned amendment",
"Original native totals, currency and rate preserved; no automatic residual compensation",
"Single common writer and balances; legacy and distributed effects cannot coexist for an origin",
"Explicit Finance-only amendment action, previous version, reason, available funds and consumed floors",
"SGC draft preparation, native adjudication and issuance, immutable invoice preparation and independent validation",
"Encrypted preparation and amendment pages, company/actor/source/version history keys, journey help, explicit MZN inputs"
],
"verification": {
"sqlite_distribution_and_invoice_regression": {
"passed": 38,
"assertions": 223,
"log": "storage/logs/budget-distribution-invoice-tests.txt"
},
"sqlite_native_adjudication_approval_issue": {
"passed": 1,
"assertions": 24,
"log": "storage/logs/budget-distribution-native-award-tests.txt"
},
"postgres_core_budget_invoice": {
"passed": 77,
"assertions": 355,
"isolated_database_removed": true,
"log": "storage/logs/budget-distribution-core-invoice-final-pg.txt"
},
"postgres_focused_adjudication": {
"passed": 6,
"assertions": 131,
"isolated_database_removed": true,
"log": "storage/logs/budget-distribution-award-pg.txt"
},
"frontend_fields_history_help": {
"passed": 16,
"files": 5,
"log": "storage/logs/budget-distribution-ui-tests.txt"
},
"standalone_artifact": {
"passed": 17,
"assertions": 147,
"log": "storage/logs/budget-distribution-artifact-tests.txt",
"proof": "rq01-distribution-artifact.json"
},
"schema_and_runtime_default_artifact": {
"passed": 4,
"assertions": 22,
"log": "storage/logs/budget-distribution-schema-default.txt"
},
"versioned_schema_postgres": {
"passed": 19,
"assertions": 157,
"isolated_database_removed": true,
"log": "storage/logs/budget-distribution-schema-pg.txt"
},
"readiness_delta": {
"passed": 2,
"assertions": 5,
"log": "storage/logs/budget-distribution-readiness-tests.txt"
},
"privacy_and_preparation_delta": {
"passed": 2,
"assertions": 31,
"log": "storage/logs/budget-distribution-privacy-preview-tests.txt"
},
"native_visual": "rq01-distribution-visual.json",
"types": "passed",
"host_phpstan": "passed_zero_errors",
"pinned_runtime": "18_files_sha256_passed_unchanged",
"source_php84_syntax": "Three changed common PHP files passed through the documented SGF wrapper; BudgetDistributions.php rechecked after the consumption preview change.",
"concurrency": {
"real_postgres_lock_contention": true,
"same_operation_statuses": [
200,
200
],
"conflicting_version_statuses": [
200,
409
],
"one_amendment_version_and_audit": true,
"isolated_database_removed": true,
"log": "storage/logs/budget-distribution-concurrency-pg.txt"
},
"process_visibility_delta": {
"sqlite_passed": 1,
"assertions": 19,
"log": "storage/logs/budget-distribution-process-delta.txt"
},
"recovery": {
"previous_tables_preserved": 114,
"optional_tables": 4,
"existing_balances_preserved": true,
"post_extension_restore_all_tables_equal": true,
"recovered_operation_replay_no_effects": true,
"pre_extension_schema_data_balance_restored": true,
"both_isolated_databases_removed": true,
"before_dump_sha256": "df442285a054692a07baf68460d7e915544f98b4bd81dbdcc3ce8aed5bce6e5f",
"after_dump_sha256": "3b5fd1966645d0f0524a5691c2c862618e8942cff914cdfb572e68175df5d341",
"log": "storage/logs/budget-distribution-schema-recovery-pg.txt"
},
"private_build": {
"status": "passed",
"path": "storage/framework/testing/sgc-distribution-integrated-qa-20261122",
"manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e",
"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": {
"passed": 41,
"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": [
"Synthetic balance scenario now persists a real synthetic requisition rather than an invalid foreign key",
"Invoice distribution is prepared before insertion; existing invoice immutability remains enforced",
"Frozen document equality compares two database reads, preserving values without relying on in-memory attribute insertion order",
"Reference-line cent reallocation is explicit and versioned, preserves native header totals and never erases consumed amounts",
"The common consumption validator now runs before immutable invoice insertion as well as at independent validation",
"Generic requisition JSON hides quote allocation preparation; authorised stage projections expose it explicitly",
"All four optional tables are required before enabling the host workflow",
"An incompatible runtime refuses any partial optional schema or remaining optional effects, including loss of the source table; regression tests passed."
],
"pending": [
"Remaining SGC requirements, transverse review, commercial operation and enterprise acceptance"
],
"limits": [
"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"
]
}