Files
SGF/docs/proofs/sgf-payable-report-capture-20261103.json
2026-11-04 09:37:20 +02:00

728 lines
46 KiB
JSON

{
"increment": "SGF-PAYABLE-REPORT-CAPTURE-REUSE-v1",
"consolidated_at_utc": "2026-11-03T06:06:45.933Z",
"functional_optimization": true,
"synthetic_only": true,
"tests": {
"clone": {
"passed": true,
"tag": "b7f7d0c1c2c2",
"source_tag": "03e16d9fb37d",
"original_database_not_modified": true,
"baseline_sha256": "989d25be748f79a45f09ea174069790cf9a3318b5f1ce62b1209b2ceb77074a9",
"new_owned_database": true,
"synthetic_only": true
},
"initial_profile": {
"passed": true,
"mode": "before",
"time_ms": 21548.229208,
"queries": 2313,
"sql_ms": 9941.689999999999,
"heap_peak_bytes": 35651584,
"stages_ms": {
"selection": 5920.124581999995,
"decode": 354.39566599999995,
"history": 3050.8870420000007,
"positions": 11710.590668000004,
"hash_totals": 424.8180839999998
},
"query_groups": [
{
"queries": 100,
"sql_ms": 5767.15,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") and \"r\".\"id\" < ? order by \"r\".\"id\" desc limit 100"
},
{
"queries": 100,
"sql_ms": 1524.2599999999998,
"sql": "select * from \"pa_imported_payments\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"legacy_payment_id\" asc"
},
{
"queries": 100,
"sql_ms": 454.8600000000002,
"sql": "select * from \"pa_obligations\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"source_id\" in (select \"id\" from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) order by \"id\" asc"
},
{
"queries": 100,
"sql_ms": 354.1899999999999,
"sql": "select * from \"pa_history_imports\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 100,
"sql_ms": 347.3100000000003,
"sql": "select distinct on (\"local_source_id\") * from \"pa_source_histories\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"local_source_id\" asc, \"version\" desc"
},
{
"queries": 302,
"sql_ms": 209.15000000000006,
"sql": "select exists(select * from \"permission_grants\" where \"user_id\" = ? and \"tenant_id\" = ? and \"company_id\" = ? and \"permission\" = ? and \"unit_id\" = ?) as \"exists\""
},
{
"queries": 403,
"sql_ms": 201.47000000000008,
"sql": "select current_database() as d"
},
{
"queries": 201,
"sql_ms": 167.79000000000005,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_history_imports' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 201,
"sql_ms": 156.56000000000012,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_imported_payments' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 100,
"sql_ms": 127.99999999999997,
"sql": "select * from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 101,
"sql_ms": 127.88,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_source_histories' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 201,
"sql_ms": 122.38999999999997,
"sql": "select exists(select * from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?)) as \"exists\""
},
{
"queries": 100,
"sql_ms": 115.45000000000002,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_payment_decisions' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 1,
"sql_ms": 104.32,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") order by \"r\".\"id\" desc limit 100"
},
{
"queries": 100,
"sql_ms": 98.35000000000004,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'ps_allocations' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 101,
"sql_ms": 59.70999999999997,
"sql": "select \"person\" from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?) limit 1"
},
{
"queries": 1,
"sql_ms": 2.27,
"sql": "SELECT transaction_timestamp() AT TIME ZONE 'UTC' AS captured"
},
{
"queries": 1,
"sql_ms": 0.58,
"sql": "SET TRANSACTION ISOLATION LEVEL REPEATABLE READ READ ONLY"
}
],
"report": {
"version": "SGF-PAYABLE-POSITION-REPORT-SIM-v1",
"synthetic_only": true,
"basis": "current_recognised_positions",
"captured_at_utc": "2026-11-03 05:57:48.402683",
"scope": {
"tenant_id": 1,
"company_id": 1,
"unit_id": 1
},
"criteria": {
"q": ""
},
"currency": "MZN",
"totals": {
"count": 10000,
"principal_minor": 60000000,
"unknown_balance_count": 0,
"unknown_due_count": 10000,
"balance_minor": 30000000
},
"known_positions": {
"count": 10000,
"principal_minor": 60000000,
"historical_confirmed_minor": 30000000,
"net_allocated_minor": 0,
"balance_minor": 30000000
},
"positions_sha256": "c18a0fad20deefe80e5b0dc60051cdb7ad61af7cf1290642589629bfa170466d",
"window_size": 100,
"windows": 100
},
"writer_locks": 0,
"private_synthetic_clone_only": true,
"not_deployment_capacity": true
},
"statistics_only": {
"passed": true,
"only_new_synthetic_clone": true,
"new_indexes": false,
"source_data_modified": false
},
"baseline_analyzed": {
"passed": true,
"mode": "analyzed",
"time_ms": 22021.189792,
"queries": 2313,
"sql_ms": 7196.69,
"heap_peak_bytes": 35651584,
"stages_ms": {
"selection": 2260.3873750000002,
"decode": 403.7355820000003,
"history": 4136.341622,
"positions": 14460.815956999999,
"hash_totals": 692.0970009999999
},
"query_groups": [
{
"queries": 100,
"sql_ms": 2052.26,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") and \"r\".\"id\" < ? order by \"r\".\"id\" desc limit 100"
},
{
"queries": 100,
"sql_ms": 2042.45,
"sql": "select * from \"pa_imported_payments\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"legacy_payment_id\" asc"
},
{
"queries": 100,
"sql_ms": 559.5,
"sql": "select * from \"pa_obligations\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"source_id\" in (select \"id\" from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) order by \"id\" asc"
},
{
"queries": 100,
"sql_ms": 426.68999999999994,
"sql": "select distinct on (\"local_source_id\") * from \"pa_source_histories\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"local_source_id\" asc, \"version\" desc"
},
{
"queries": 100,
"sql_ms": 408.56000000000023,
"sql": "select * from \"pa_history_imports\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 302,
"sql_ms": 239.76999999999995,
"sql": "select exists(select * from \"permission_grants\" where \"user_id\" = ? and \"tenant_id\" = ? and \"company_id\" = ? and \"permission\" = ? and \"unit_id\" = ?) as \"exists\""
},
{
"queries": 403,
"sql_ms": 219.5200000000001,
"sql": "select current_database() as d"
},
{
"queries": 201,
"sql_ms": 218.26999999999987,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_history_imports' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 100,
"sql_ms": 191.74999999999994,
"sql": "select * from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 201,
"sql_ms": 179.40000000000012,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_imported_payments' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 201,
"sql_ms": 146.04999999999993,
"sql": "select exists(select * from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?)) as \"exists\""
},
{
"queries": 100,
"sql_ms": 132.48999999999992,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'ps_allocations' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 100,
"sql_ms": 131.83000000000004,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_payment_decisions' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 101,
"sql_ms": 128.98999999999995,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_source_histories' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 101,
"sql_ms": 74.44000000000001,
"sql": "select \"person\" from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?) limit 1"
},
{
"queries": 1,
"sql_ms": 33.32,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") order by \"r\".\"id\" desc limit 100"
},
{
"queries": 1,
"sql_ms": 10.85,
"sql": "SELECT transaction_timestamp() AT TIME ZONE 'UTC' AS captured"
},
{
"queries": 1,
"sql_ms": 0.55,
"sql": "SET TRANSACTION ISOLATION LEVEL REPEATABLE READ READ ONLY"
}
],
"report": {
"version": "SGF-PAYABLE-POSITION-REPORT-SIM-v1",
"synthetic_only": true,
"basis": "current_recognised_positions",
"captured_at_utc": "2026-11-03 05:59:23.860676",
"scope": {
"tenant_id": 1,
"company_id": 1,
"unit_id": 1
},
"criteria": {
"q": ""
},
"currency": "MZN",
"totals": {
"count": 10000,
"principal_minor": 60000000,
"unknown_balance_count": 0,
"unknown_due_count": 10000,
"balance_minor": 30000000
},
"known_positions": {
"count": 10000,
"principal_minor": 60000000,
"historical_confirmed_minor": 30000000,
"net_allocated_minor": 0,
"balance_minor": 30000000
},
"positions_sha256": "c18a0fad20deefe80e5b0dc60051cdb7ad61af7cf1290642589629bfa170466d",
"window_size": 100,
"windows": 100
},
"writer_locks": 0,
"private_synthetic_clone_only": true,
"not_deployment_capacity": true
},
"optimized_final": {
"passed": true,
"mode": "final",
"time_ms": 12939.6285,
"queries": 2313,
"sql_ms": 5511.789999999999,
"heap_peak_bytes": 35651584,
"stages_ms": {
"selection": 1603.5753820000007,
"decode": 318.49212100000005,
"history": 2902.4255440000006,
"positions": 7764.686793000003,
"hash_totals": 317.40795900000006
},
"query_groups": [
{
"queries": 100,
"sql_ms": 1589.1900000000003,
"sql": "select * from \"pa_imported_payments\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"legacy_payment_id\" asc"
},
{
"queries": 100,
"sql_ms": 1502.2600000000007,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") and \"r\".\"id\" < ? order by \"r\".\"id\" desc limit 100"
},
{
"queries": 100,
"sql_ms": 420.69,
"sql": "select * from \"pa_obligations\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"source_id\" in (select \"id\" from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) order by \"id\" asc"
},
{
"queries": 100,
"sql_ms": 330.52000000000015,
"sql": "select distinct on (\"local_source_id\") * from \"pa_source_histories\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"local_source_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by \"local_source_id\" asc, \"version\" desc"
},
{
"queries": 100,
"sql_ms": 325.7,
"sql": "select * from \"pa_history_imports\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"obligation_id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 403,
"sql_ms": 208.6600000000002,
"sql": "select current_database() as d"
},
{
"queries": 302,
"sql_ms": 193.5700000000001,
"sql": "select exists(select * from \"permission_grants\" where \"user_id\" = ? and \"tenant_id\" = ? and \"company_id\" = ? and \"permission\" = ? and \"unit_id\" = ?) as \"exists\""
},
{
"queries": 201,
"sql_ms": 155.75999999999993,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_imported_payments' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 201,
"sql_ms": 151.2299999999999,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_history_imports' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 201,
"sql_ms": 120.5699999999999,
"sql": "select exists(select * from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?)) as \"exists\""
},
{
"queries": 100,
"sql_ms": 120.56,
"sql": "select * from \"pa_sources\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and \"id\" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
},
{
"queries": 101,
"sql_ms": 108.25000000000001,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_source_histories' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 100,
"sql_ms": 103.62999999999998,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'pa_payment_decisions' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 100,
"sql_ms": 84.19000000000001,
"sql": "select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'ps_allocations' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)"
},
{
"queries": 101,
"sql_ms": 59.07,
"sql": "select \"person\" from \"pa_access\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and (\"user_id\" = ? and \"action\" = ?) limit 1"
},
{
"queries": 1,
"sql_ms": 36.67,
"sql": "select \"r\".* from \"pa_imported_sources\" as \"r\" where (\"tenant_id\" = ? and \"company_id\" = ? and \"unit_id\" = ?) and exists (select 1 from \"pa_sources\" as \"s\" inner join \"pa_obligations\" as \"o\" on \"o\".\"source_id\" = \"s\".\"id\" where \"s\".\"local_source_id\" = \"r\".\"id\" and \"s\".\"tenant_id\" = \"r\".\"tenant_id\" and \"s\".\"company_id\" = \"r\".\"company_id\" and \"s\".\"unit_id\" = \"r\".\"unit_id\" and \"o\".\"tenant_id\" = \"r\".\"tenant_id\" and \"o\".\"company_id\" = \"r\".\"company_id\" and \"o\".\"unit_id\" = \"r\".\"unit_id\") order by \"r\".\"id\" desc limit 100"
},
{
"queries": 1,
"sql_ms": 0.83,
"sql": "SELECT transaction_timestamp() AT TIME ZONE 'UTC' AS captured"
},
{
"queries": 1,
"sql_ms": 0.44,
"sql": "SET TRANSACTION ISOLATION LEVEL REPEATABLE READ READ ONLY"
}
],
"report": {
"version": "SGF-PAYABLE-POSITION-REPORT-SIM-v1",
"synthetic_only": true,
"basis": "current_recognised_positions",
"captured_at_utc": "2026-11-03 06:02:09.708492",
"scope": {
"tenant_id": 1,
"company_id": 1,
"unit_id": 1
},
"criteria": {
"q": ""
},
"currency": "MZN",
"totals": {
"count": 10000,
"principal_minor": 60000000,
"unknown_balance_count": 0,
"unknown_due_count": 10000,
"balance_minor": 30000000
},
"known_positions": {
"count": 10000,
"principal_minor": 60000000,
"historical_confirmed_minor": 30000000,
"net_allocated_minor": 0,
"balance_minor": 30000000
},
"positions_sha256": "c18a0fad20deefe80e5b0dc60051cdb7ad61af7cf1290642589629bfa170466d",
"window_size": 100,
"windows": 100
},
"writer_locks": 0,
"private_synthetic_clone_only": true,
"not_deployment_capacity": true
},
"query_plan": {
"passed": true,
"plan": [
{
"QUERY PLAN": "[\n {\n \"Plan\": {\n \"Node Type\": \"Limit\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Startup Cost\": 373.66,\n \"Total Cost\": 373.67,\n \"Plan Rows\": 1,\n \"Plan Width\": 884,\n \"Actual Startup Time\": 129.119,\n \"Actual Total Time\": 129.167,\n \"Actual Rows\": 100,\n \"Actual Loops\": 1,\n \"Shared Hit Blocks\": 60185,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0,\n \"Plans\": [\n {\n \"Node Type\": \"Sort\",\n \"Parent Relationship\": \"Outer\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Startup Cost\": 373.66,\n \"Total Cost\": 373.67,\n \"Plan Rows\": 1,\n \"Plan Width\": 884,\n \"Actual Startup Time\": 129.113,\n \"Actual Total Time\": 129.134,\n \"Actual Rows\": 100,\n \"Actual Loops\": 1,\n \"Sort Key\": [\"r.id DESC\"],\n \"Sort Method\": \"top-N heapsort\",\n \"Sort Space Used\": 193,\n \"Sort Space Type\": \"Memory\",\n \"Shared Hit Blocks\": 60185,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0,\n \"Plans\": [\n {\n \"Node Type\": \"Nested Loop\",\n \"Parent Relationship\": \"Outer\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Join Type\": \"Inner\",\n \"Startup Cost\": 365.61,\n \"Total Cost\": 373.65,\n \"Plan Rows\": 1,\n \"Plan Width\": 884,\n \"Actual Startup Time\": 43.197,\n \"Actual Total Time\": 123.898,\n \"Actual Rows\": 10000,\n \"Actual Loops\": 1,\n \"Inner Unique\": true,\n \"Shared Hit Blocks\": 60182,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0,\n \"Plans\": [\n {\n \"Node Type\": \"Aggregate\",\n \"Strategy\": \"Hashed\",\n \"Partial Mode\": \"Simple\",\n \"Parent Relationship\": \"Outer\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Startup Cost\": 365.33,\n \"Total Cost\": 365.34,\n \"Plan Rows\": 1,\n \"Plan Width\": 56,\n \"Actual Startup Time\": 43.102,\n \"Actual Total Time\": 48.670,\n \"Actual Rows\": 10000,\n \"Actual Loops\": 1,\n \"Group Key\": [\"s.local_source_id\", \"s.tenant_id\", \"s.company_id\", \"s.unit_id\", \"o.tenant_id\", \"o.company_id\", \"o.unit_id\"],\n \"Planned Partitions\": 0,\n \"HashAgg Batches\": 1,\n \"Peak Memory Usage\": 1961,\n \"Disk Usage\": 0,\n \"Shared Hit Blocks\": 30182,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0,\n \"Plans\": [\n {\n \"Node Type\": \"Nested Loop\",\n \"Parent Relationship\": \"Outer\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Join Type\": \"Inner\",\n \"Startup Cost\": 0.29,\n \"Total Cost\": 365.31,\n \"Plan Rows\": 1,\n \"Plan Width\": 56,\n \"Actual Startup Time\": 0.135,\n \"Actual Total Time\": 33.130,\n \"Actual Rows\": 10000,\n \"Actual Loops\": 1,\n \"Inner Unique\": true,\n \"Shared Hit Blocks\": 30182,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0,\n \"Plans\": [\n {\n \"Node Type\": \"Seq Scan\",\n \"Parent Relationship\": \"Outer\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Relation Name\": \"pa_sources\",\n \"Alias\": \"s\",\n \"Startup Cost\": 0.00,\n \"Total Cost\": 357.00,\n \"Plan Rows\": 1,\n \"Plan Width\": 40,\n \"Actual Startup Time\": 0.058,\n \"Actual Total Time\": 6.064,\n \"Actual Rows\": 10000,\n \"Actual Loops\": 1,\n \"Filter\": \"((tenant_id = '1'::bigint) AND (company_id = '1'::bigint) AND (unit_id = '1'::bigint))\",\n \"Rows Removed by Filter\": 0,\n \"Shared Hit Blocks\": 182,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0\n },\n {\n \"Node Type\": \"Index Scan\",\n \"Parent Relationship\": \"Inner\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Scan Direction\": \"Forward\",\n \"Index Name\": \"pa_obligations_source_id_unique\",\n \"Relation Name\": \"pa_obligations\",\n \"Alias\": \"o\",\n \"Startup Cost\": 0.29,\n \"Total Cost\": 8.31,\n \"Plan Rows\": 1,\n \"Plan Width\": 32,\n \"Actual Startup Time\": 0.002,\n \"Actual Total Time\": 0.002,\n \"Actual Rows\": 1,\n \"Actual Loops\": 10000,\n \"Index Cond\": \"(source_id = s.id)\",\n \"Rows Removed by Index Recheck\": 0,\n \"Filter\": \"((tenant_id = '1'::bigint) AND (company_id = '1'::bigint) AND (unit_id = '1'::bigint))\",\n \"Rows Removed by Filter\": 0,\n \"Shared Hit Blocks\": 30000,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0\n }\n ]\n }\n ]\n },\n {\n \"Node Type\": \"Index Scan\",\n \"Parent Relationship\": \"Inner\",\n \"Parallel Aware\": false,\n \"Async Capable\": false,\n \"Scan Direction\": \"Forward\",\n \"Index Name\": \"pa_imported_sources_pkey\",\n \"Relation Name\": \"pa_imported_sources\",\n \"Alias\": \"r\",\n \"Startup Cost\": 0.29,\n \"Total Cost\": 8.31,\n \"Plan Rows\": 1,\n \"Plan Width\": 884,\n \"Actual Startup Time\": 0.007,\n \"Actual Total Time\": 0.007,\n \"Actual Rows\": 1,\n \"Actual Loops\": 10000,\n \"Index Cond\": \"(id = s.local_source_id)\",\n \"Rows Removed by Index Recheck\": 0,\n \"Filter\": \"((tenant_id = '1'::bigint) AND (company_id = '1'::bigint) AND (unit_id = '1'::bigint))\",\n \"Rows Removed by Filter\": 0,\n \"Shared Hit Blocks\": 30000,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0\n }\n ]\n }\n ]\n }\n ]\n },\n \"Planning\": {\n \"Shared Hit Blocks\": 167,\n \"Shared Read Blocks\": 0,\n \"Shared Dirtied Blocks\": 0,\n \"Shared Written Blocks\": 0,\n \"Local Hit Blocks\": 0,\n \"Local Read Blocks\": 0,\n \"Local Dirtied Blocks\": 0,\n \"Local Written Blocks\": 0,\n \"Temp Read Blocks\": 0,\n \"Temp Written Blocks\": 0\n },\n \"Planning Time\": 11.284,\n \"Triggers\": [\n ],\n \"Execution Time\": 130.136\n }\n]"
}
],
"read_only": true
},
"regression": {
"passed": true,
"checks": 22,
"cases": [
{
"name": "capture-bound-to-entire-source-and-context",
"checks": 11,
"passed": true
},
{
"name": "genuine-source-metadata-never-ignored",
"checks": 2,
"passed": true
},
{
"name": "read-only-capability-never-feeds-commands",
"checks": 2,
"passed": true
},
{
"name": "raw-and-captured-report-results-identical",
"checks": 5,
"passed": true
},
{
"name": "bad-receipt-never-becomes-known-zero",
"checks": 1,
"passed": true
},
{
"name": "revoked-permission-and-foreign-source-denied",
"checks": 1,
"passed": true
}
],
"rollback_only": true,
"commands_use_live_history": true,
"raw_array_contract_preserved": true,
"source_binding_includes_genuine_metadata": true
},
"http": {
"passed": true,
"checks": 17,
"real_http_kernel": true,
"transaction": {
"transaction": {
"isolation": "repeatable read",
"read_only": "on"
},
"writer_locks": 0
},
"visual_review": false,
"no_browser": true
},
"live_command": {
"passed": true,
"live_history_command": true,
"existing_recognition_preserved": true,
"same_key_replayed": true,
"rollback_only": true,
"obligations": 10000
},
"preservation": {
"passed": true,
"clone_matches_valid_original_business_fingerprint": true,
"fingerprint": "c9e93019653c35b8c1685a58ab2b68e8b279572044355895abc9360790707c68",
"data_writes": 0,
"new_indexes": 0
}
},
"targeted_checks": 39,
"additional_live_command_probe": true,
"private_evidence": [
{
"file": "private/report-profile-b7f7d0c1c2c2/clone.json",
"sha256": "8ec1b1957cc35733ba6410abc314047c5932c9c05646d58af17693311b4285f1"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-before.json",
"sha256": "05e8365023dc7688f3d8901f532593e989e79d1291c11c8bf61706564affb0da"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-analyze.json",
"sha256": "c69f8404b48f61d7ebc7c300b7b73fb8a136fefadc9fdae12f00877c7a1dbb7e"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-analyzed.json",
"sha256": "ba5d833e0604370ebfbadd4c6fc7a9eb90005340a6fa4d8e207c065631edf783"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-final.json",
"sha256": "2e93af7934fa0f7295f1316798eafa4f64770864cfd83604d7ca818c860b0aa2"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-plan.json",
"sha256": "1843e7a0944a82c2d31112216136c59b456159711d3437c4162825fe43279d0c"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-cases.json",
"sha256": "29b5b73612cd3aae184555fa356620e1e27bf50c26a3607690d434ff21889545"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-http.json",
"sha256": "032a2d9a96acbf263b5b2db205c3b146eac48a6d229341a3d592b808c151dbc2"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-command-probe.json",
"sha256": "e94fa13f2bca835d78cc641e07317fb7b6d6722a87e6e1c595e38311bd4698b2"
},
{
"file": "private/report-profile-b7f7d0c1c2c2/profile-preservation.json",
"sha256": "d2aa456d6d290b34ac1007b56bad0bfd83d223227a0335d44cb1ced70f08ca4e"
}
],
"archived_baseline": {
"file": "private/report-profile-b7f7d0c1c2c2/baseline.php",
"sha256": "989d25be748f79a45f09ea174069790cf9a3318b5f1ce62b1209b2ceb77074a9"
},
"previous_manifests": [
{
"file": "docs/proofs/common-ledger-industrial-20261103.json",
"sha256": "1f26b2c11d565a65456f3fb5f3b11c9e0ac0726649ccef1485464e46ba753e18",
"private_artifacts_preserved": true
},
{
"file": "docs/proofs/common-ledger-composition-20261103.json",
"sha256": "d64957d14dd6140b66fbb8569997ed941dab954046b56c38939202a2e63653a0",
"private_artifacts_preserved": true
},
{
"file": "docs/proofs/common-ledger-direct-cost-correction-20261103.json",
"sha256": "2111a30006d24f4325c6f4292e9ffb567adf28950ffbfa76fbb9e8143a2fedb7",
"private_artifacts_preserved": true
},
{
"file": "docs/proofs/sgf-payable-report-20261102.json",
"sha256": "d16770a76e673972ad28dadbf5c911cd94fb867b120d51edc8a3995cdc3301dd",
"private_artifacts_preserved": true
},
{
"file": "docs/proofs/sgf-payable-paged-read-20261102.json",
"sha256": "98ddb85c4819ad6e071ab69df3a19244c04e71c0d2e17539eac3c41a2d155b0b",
"private_artifacts_preserved": true
}
],
"previous_private_artifacts_verified": 45,
"frozen_bundles": [
{
"files": 25,
"manifest_sha256": "6a507ea7d708a12a8e526e4c610696d8db84079d18aede470237b65505630e7e",
"preserved": true
},
{
"files": 30,
"manifest_sha256": "cbc4ddbea15f5e396c92bc2e664b973138551928980f334bcf3eb0cf097cacb1",
"preserved": true
}
],
"observed_comparison": {
"records": 10000,
"windows": 100,
"window_size": 100,
"before_ms": 22021.189792,
"after_ms": 12939.6285,
"queries_before": 2313,
"queries_after": 2313,
"heap_peak_before": 35651584,
"heap_peak_after": 35651584,
"totals_and_content_hash_identical": true,
"statistics_effect_separate": true,
"new_indexes": 0
},
"quality": {
"syntax": {
"php": 8,
"js": 3
},
"diff_check_both_repositories": true,
"unrelated_suites_not_repeated": true
},
"source_files": [
{
"file": "packages/payables/src/HistoricalCapture.php",
"sha256": "4513c497716f8642f80e1c9272332a08c7dfe8523067e47be5a6e5a198d2e140"
},
{
"file": "packages/payables/src/Payables.php",
"sha256": "e9ffd3e870f68187b53dacd44e47be24165e4da63cea114f8b5ca312e900c353"
},
{
"file": "packages/payables/bootstrap.php",
"sha256": "e7ad64bbb4e28cc6d3ab5f835fb3c40539cd5a3f929b44fdf5a28a3433679448"
},
{
"file": "app/Modules/Purchasing/SupplierHistoryReceipts.php",
"sha256": "f22cd883961fc8cef01611e2140a0f8233a2998f203d03374cc8f5fe98a685d5"
},
{
"file": "app/Modules/Purchasing/SupplierPayables.php",
"sha256": "c17d44391cbd96941aa2dd2eac2cb167508faf6453c6a1e86333846df1ba18b9"
},
{
"file": "scripts/payable-history-sgf-proof.php",
"sha256": "0aa4db45e15994b43f9ef4ac5fc2359aca4c0c3f9cb56cc0e278328d8802e8cc"
},
{
"file": "scripts/payable-report-profile-clone.mjs",
"sha256": "7c9f1b6930fe3a4f249aa50cbb4e336679d220bc6b559df0a70005453f898ce7"
},
{
"file": "scripts/payable-report-profile.php",
"sha256": "c157a066659e83813e0a50f52e5e601d25224209cf36415871fbcd3d3aeb5df3"
},
{
"file": "scripts/payable-report-capture-cases.php",
"sha256": "adfc239356d93521e6b7a5b72257b798317de2288ff2a561e4c4da798a482917"
},
{
"file": "scripts/payable-report-capture-http.mjs",
"sha256": "d9d32b5aebd0e5d798a4ade927db03578bd8567c2b9fc71596b39b4c877ed660"
},
{
"file": "scripts/summarize-payable-report-capture.mjs",
"sha256": "6e1377b9df69306d529dd21e55bfe9375468cc39f754d64db48264df44d2f43a"
},
{
"file": "docs/SGF_PAYABLE_REPORT_CAPTURE_DELIVERY.md",
"sha256": "1efc9ac9d5f3de1edcdbadffe421fb75abc292bd27f91eb64542b296c6df115a"
},
{
"file": "docs/GENERAL_LEDGER_INDUSTRIAL_CORRECTION_SCOPE.md",
"sha256": "7d41a413c1d1e5b8436b72edb0600852841dfd29ae2ba995b2a691bd7562cd1a"
},
{
"file": "README.md",
"sha256": "4e7f42436b810680dc3dace72fef22c60ce475beb56e70954f2b2548ac638027"
},
{
"file": "docs/SGF_MODULE_FLOW_PREPARATION.md",
"sha256": "594506975447f1e8df3ffaa081298eaf69c651b79c3d4f387298ad70bba2319c"
}
],
"preservation": {
"six_pending_records_untouched": true,
"blocked_cache_untouched": true,
"prior_demos_not_reset": true,
"previous_evidence_preserved": true,
"destination_data_and_statistics_unchanged": true,
"real_or_public_grants": 0,
"unrelated_work_preserved": true,
"credentials_private": true
},
"limits": {
"remaining_report_bottleneck": true,
"one_valid_sample_per_condition": true,
"local_activity_not_controlled": true,
"visual_review_pending": true,
"sustained_load_validated": false,
"deployment_capacity_validated": false,
"source_history_live_sgf_link": false,
"purchasing_activation": false,
"publication": false,
"checkpoint": false,
"acceptance_presumed": false
},
"next_scope": {
"file": "docs/GENERAL_LEDGER_INDUSTRIAL_CORRECTION_SCOPE.md",
"sha256": "7d41a413c1d1e5b8436b72edb0600852841dfd29ae2ba995b2a691bd7562cd1a",
"status": "proposal_only_authorization_required"
}
}