Add opt-in Frida session status summaries linked to complete retained Evidence. Share canonical session facts across contracts and preserve observed state, source identity and capture truncation. Validated with native SDK/client workflows, default delivery compatibility, lifecycle and provenance tests. The completed large-history task uses 50.9% fewer estimated request tokens; no general CPU or latency improvement is claimed. Fixes #5640
469 lines
15 KiB
JSON
469 lines
15 KiB
JSON
{
|
|
"scope": "Real local Frida binding with controlled sleep target and caller-authored libc export inventory. Actual Codex0.163 app-server uses a deterministic local SSE fixture: no AI inference, model usage, quality or billing claim. Whole compact JSON token estimates include all 211 schemas and every request replay. Incomplete default baseline is excluded from completed-task gains. SDK exchange estimates are not model-input measurements. Fresh processes have unflushed OS caches; both status reads query live session observations. Timings include the eight-second target lifetime and cleanup; single pairs establish no general speedup. Payload-exit cgroup counters are verified; final whole-scope counters may be unavailable.",
|
|
"tokenizer": {
|
|
"package": "0.12.0",
|
|
"encoding": "cl100k_base"
|
|
},
|
|
"runtime_pins": {
|
|
"baseline": {
|
|
"source_base": "17f581ff75d2b6cf643a997275e3e296f6c95760",
|
|
"patch_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"archive_sha256": "cd16ca3e36633459bffc10bb90d1fe4ff5887fdd403729765b9a812969013807"
|
|
},
|
|
"candidate": {
|
|
"source_base": "32a4690059907f09fb29e284ad492d94c1722278",
|
|
"patch_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"archive_sha256": "4ac402f1de93f76f71b7ccdb8b8e36d8c8d0a87b1184812f06393bfc6fadccba"
|
|
}
|
|
},
|
|
"native": {
|
|
"host": "Linux-6.1.0-53-cloud-amd64-x86_64-with-glibc2.36",
|
|
"toolchain": {
|
|
"node": "24.18.0",
|
|
"npm": "11.16.0"
|
|
},
|
|
"frida_binding_package_version": "17.23.2",
|
|
"files": [
|
|
{
|
|
"path": "/usr/bin/sleep",
|
|
"bytes": 43888,
|
|
"sha256": "4add4bb89d8ca0e3b1bd861130ddd7ae0fd9617a8055de0a38c8d2ca1ac95723"
|
|
},
|
|
{
|
|
"path": "/usr/lib/x86_64-linux-gnu/libc.so.6",
|
|
"bytes": 1926232,
|
|
"sha256": "6b4a45352fd0c540a9c7c718f35ce8c8e46a4e482f9d3885a910c32d1a0e1421"
|
|
},
|
|
{
|
|
"path": "/home/yann/yann/rea-perf-next-audit-20261020/node_modules/frida/package.json",
|
|
"bytes": 2252,
|
|
"sha256": "7efb59d2050b7b6304e1617f463c4eb7b2f7cb7e3e80e677976825a76ee31e8d"
|
|
},
|
|
{
|
|
"path": "/home/yann/yann/rea-perf-next-audit-20261020/node_modules/frida/build/frida_binding.node",
|
|
"bytes": 112775824,
|
|
"sha256": "5b2db5ae57c058ad0765e627d9d9c9c98e4e90c09746c6f727b7a80769eed7a5"
|
|
}
|
|
],
|
|
"qualifications": {
|
|
"Inspector": "real REA MCP target, concurrent native metadata only oracle, 776 rows matched hash/length; not global completeness or execution proof",
|
|
"Frida": "local native binding and controlled sleep spawn; caller script digest and procfs PID/birthtime/cgroup/libc path verified; native export address/global completeness oracle unavailable",
|
|
"ADB": "default executable unavailable in prior public call; no real device qualified"
|
|
}
|
|
},
|
|
"script_pins": {
|
|
"frida_status_delivery.py": "ed19bcd003165c7b522c8cdd4799bcf987178e4b79fc8d5c2442012f3bf60b8d",
|
|
"frida-status-costs.py": "2f3196bcc3198a265f7f4842effc8dce31669723b42f07367f065afee0073906",
|
|
"frida-status-queries.mjs": "c5919ae8bba046909858e92a945b4472645bbacbfcf88dd75c89ba959a986980",
|
|
"frida-status-wire.py": "b4d20e64bf77b7815bd43b52569b3e4756983b254ab44c50ddae874d1964ef69"
|
|
},
|
|
"wire": [
|
|
{
|
|
"case": "wire-v2-baseline-0",
|
|
"task_completed": false,
|
|
"mode": "complete",
|
|
"budget": "client default",
|
|
"requests": 8,
|
|
"compactions": 0,
|
|
"whole_json_tokens_proxy": 540065,
|
|
"request_details": [
|
|
{
|
|
"whole_json_tokens_proxy": 62729,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 62917,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63599,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63739,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 68261,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 72785,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 72926,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 73109,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
}
|
|
],
|
|
"wall_seconds": 15.993,
|
|
"cpu_seconds": 8.211179,
|
|
"family_peak_mib": 830.6484375,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "wire-v2-baseline-300000",
|
|
"task_completed": true,
|
|
"mode": "complete",
|
|
"budget": 300000,
|
|
"requests": 8,
|
|
"compactions": 0,
|
|
"whole_json_tokens_proxy": 1049997,
|
|
"request_details": [
|
|
{
|
|
"whole_json_tokens_proxy": 62715,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 62903,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63577,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63714,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 141108,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 218504,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 218646,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 218830,
|
|
"rea_namespace_tokens_proxy": 53518,
|
|
"rea_functions": 211
|
|
}
|
|
],
|
|
"wall_seconds": 15.418,
|
|
"cpu_seconds": 8.026944,
|
|
"family_peak_mib": 824.28125,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "wire-v2-candidate-0",
|
|
"task_completed": true,
|
|
"mode": "summary",
|
|
"budget": "client default",
|
|
"requests": 8,
|
|
"compactions": 0,
|
|
"whole_json_tokens_proxy": 515539,
|
|
"request_details": [
|
|
{
|
|
"whole_json_tokens_proxy": 62791,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 62978,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63661,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63803,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 64749,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 65697,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 65837,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 66023,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
}
|
|
],
|
|
"wall_seconds": 15.889,
|
|
"cpu_seconds": 7.939387,
|
|
"family_peak_mib": 823.69921875,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "wire-v2-candidate-300000",
|
|
"task_completed": true,
|
|
"mode": "summary",
|
|
"budget": 300000,
|
|
"requests": 8,
|
|
"compactions": 0,
|
|
"whole_json_tokens_proxy": 515713,
|
|
"request_details": [
|
|
{
|
|
"whole_json_tokens_proxy": 62804,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 62990,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63677,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 63815,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 64772,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 65731,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 65870,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
},
|
|
{
|
|
"whole_json_tokens_proxy": 66054,
|
|
"rea_namespace_tokens_proxy": 53581,
|
|
"rea_functions": 211
|
|
}
|
|
],
|
|
"wall_seconds": 15.439,
|
|
"cpu_seconds": 8.371664,
|
|
"family_peak_mib": 813.6328125,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
}
|
|
],
|
|
"sdk": [
|
|
{
|
|
"case": "sdk-baseline-libc",
|
|
"detail": "complete",
|
|
"capture": "libc",
|
|
"tool_calls": 8,
|
|
"exported_bundle_bytes": 214214,
|
|
"answer": {
|
|
"pid": 517427,
|
|
"state": "running",
|
|
"scripts": 1,
|
|
"messages": 50,
|
|
"messages_truncated": false,
|
|
"exports": 2963,
|
|
"module_path": "/usr/lib/x86_64-linux-gnu/libc.so.6"
|
|
},
|
|
"status_calls": [
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "ef8982d3-dbf2-43cb-8256-3a4f4bc83cc3"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 197.58100300000024,
|
|
"reply_bytes": 462831,
|
|
"is_error": false
|
|
},
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "ef8982d3-dbf2-43cb-8256-3a4f4bc83cc3"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 108.50572199999988,
|
|
"reply_bytes": 462831,
|
|
"is_error": false
|
|
}
|
|
],
|
|
"one_catalog_plus_all_sdk_calls_tokens_proxy": 1186065,
|
|
"wall_seconds": 13.759,
|
|
"cpu_seconds": 6.097489,
|
|
"family_peak_mib": 578.5625,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "sdk-baseline-small",
|
|
"detail": "complete",
|
|
"capture": "small",
|
|
"tool_calls": 8,
|
|
"exported_bundle_bytes": 2335,
|
|
"answer": {
|
|
"pid": 516970,
|
|
"state": "running",
|
|
"scripts": 1,
|
|
"messages": 2,
|
|
"messages_truncated": false,
|
|
"exports": 0,
|
|
"module_path": null
|
|
},
|
|
"status_calls": [
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "3f1f778f-ca18-48ba-a7db-b58afbf4710d"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 79.25232200000028,
|
|
"reply_bytes": 2643,
|
|
"is_error": false
|
|
},
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "3f1f778f-ca18-48ba-a7db-b58afbf4710d"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 6.851230000000214,
|
|
"reply_bytes": 2643,
|
|
"is_error": false
|
|
}
|
|
],
|
|
"one_catalog_plus_all_sdk_calls_tokens_proxy": 882323,
|
|
"wall_seconds": 13.039,
|
|
"cpu_seconds": 4.953337,
|
|
"family_peak_mib": 577.140625,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "sdk-candidate-libc",
|
|
"detail": "summary",
|
|
"capture": "libc",
|
|
"tool_calls": 8,
|
|
"exported_bundle_bytes": 216931,
|
|
"answer": {
|
|
"pid": 517901,
|
|
"state": "running",
|
|
"scripts": 1,
|
|
"messages": 50,
|
|
"messages_truncated": false,
|
|
"exports": 2963,
|
|
"module_path": "/usr/lib/x86_64-linux-gnu/libc.so.6"
|
|
},
|
|
"status_calls": [
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "9af7f188-05f8-4559-b570-98556196090e",
|
|
"detail": "summary"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 159.16798299999937,
|
|
"reply_bytes": 5597,
|
|
"is_error": false
|
|
},
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "9af7f188-05f8-4559-b570-98556196090e",
|
|
"detail": "summary"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 61.96135099999992,
|
|
"reply_bytes": 5597,
|
|
"is_error": false
|
|
}
|
|
],
|
|
"one_catalog_plus_all_sdk_calls_tokens_proxy": 885626,
|
|
"wall_seconds": 12.843,
|
|
"cpu_seconds": 5.012703,
|
|
"family_peak_mib": 579.0,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
},
|
|
{
|
|
"case": "sdk-candidate-small",
|
|
"detail": "summary",
|
|
"capture": "small",
|
|
"tool_calls": 8,
|
|
"exported_bundle_bytes": 5051,
|
|
"answer": {
|
|
"pid": 517162,
|
|
"state": "running",
|
|
"scripts": 1,
|
|
"messages": 2,
|
|
"messages_truncated": false,
|
|
"exports": 0,
|
|
"module_path": null
|
|
},
|
|
"status_calls": [
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "1bcda0f5-e3cd-45ee-b82c-5886d8312bc6",
|
|
"detail": "summary"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 107.78244100000029,
|
|
"reply_bytes": 5595,
|
|
"is_error": false
|
|
},
|
|
{
|
|
"name": "frida_session_status",
|
|
"input": {
|
|
"session_id": "1bcda0f5-e3cd-45ee-b82c-5886d8312bc6",
|
|
"detail": "summary"
|
|
},
|
|
"phase": "frida_session_status",
|
|
"elapsed_ms": 5.996030000000246,
|
|
"reply_bytes": 5595,
|
|
"is_error": false
|
|
}
|
|
],
|
|
"one_catalog_plus_all_sdk_calls_tokens_proxy": 885676,
|
|
"wall_seconds": 13.533,
|
|
"cpu_seconds": 5.495048,
|
|
"family_peak_mib": 576.48046875,
|
|
"payload_cleanup_verified": true,
|
|
"final_whole_scope_counters_verified": false
|
|
}
|
|
]
|
|
}
|