Files
MikrotikManager/docs/mcp-netflow-envelope-staged-acceptance-20261101.json
T

364 lines
13 KiB
JSON

{
"date": "2026-11-01",
"scope": "staged NetFlow terminal envelope/read allowance only",
"patchApplied": false,
"productFilesInPatch": 5,
"patchSha256": "8d4b62db24c26c0219fc4d2cb335098e31fdbbfd7e1828b206b24b7b8502f74e",
"strictHelperCompileExitCode": 0,
"unitCases": 24,
"unitExitCode": 0,
"lintExitCode": 0,
"sdk": {
"server": "2.3.1",
"client": "2.3.1",
"node": "2.1.1"
},
"actualLocalSdkSyntheticCases": 28,
"constrained": {
"capturedAt": "2026-10-31T18:47:47.993Z",
"profile": "constrained",
"status": "accepted",
"cases": 14,
"names": [
"legacy: SDK rejects null tools/call ID before callback, envelope helper and read",
"legacy: SDK rejects fractional tools/call ID before callback, envelope helper and read",
"legacy: near1MiB read beyond old916480 headroom fits unchanged cap with quality/metadata intact",
"legacy: actual near1MiB ID accounts before read and yields bounded narrowing when required",
"legacy: long ID with small result preserves quality/metadata",
"legacy: actual invocation error is retained without fabricating quality",
"legacy: actual HTTP abort retains original source lease until pending child computation drains",
"modern: SDK rejects null tools/call ID before callback, envelope helper and read",
"modern: SDK rejects fractional tools/call ID before callback, envelope helper and read",
"modern: near1MiB read beyond old916480 headroom fits unchanged cap with quality/metadata intact",
"modern: actual near1MiB ID accounts before read and yields bounded narrowing when required",
"modern: long ID with small result preserves quality/metadata",
"modern: actual invocation error is retained without fabricating quality",
"modern: actual HTTP abort retains original source lease until pending child computation drains"
],
"observations": [
{
"era": "legacy",
"mode": "near",
"idJsonBytes": 1,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 1048270,
"contentType": "sse",
"outputCapBytes": 2097152
},
{
"era": "legacy",
"mode": "near",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047894,
"chargedResultBytes": 445,
"terminalEntityBytes": 1048679,
"contentType": "sse",
"outputCapBytes": 2097152
},
{
"era": "legacy",
"mode": "small",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047894,
"chargedResultBytes": 427,
"terminalEntityBytes": 1048661,
"contentType": "sse",
"outputCapBytes": 2097152
},
{
"era": "legacy",
"mode": "error",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047894,
"chargedResultBytes": 157,
"terminalEntityBytes": 1048391,
"contentType": "sse",
"outputCapBytes": 2097152
},
{
"era": "modern",
"mode": "near",
"idJsonBytes": 1,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 1048363,
"contentType": "json",
"outputCapBytes": 2097152
},
{
"era": "modern",
"mode": "near",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047801,
"chargedResultBytes": 445,
"terminalEntityBytes": 1048762,
"contentType": "json",
"outputCapBytes": 2097152
},
{
"era": "modern",
"mode": "small",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047801,
"chargedResultBytes": 427,
"terminalEntityBytes": 1048754,
"contentType": "json",
"outputCapBytes": 2097152
},
{
"era": "modern",
"mode": "error",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1047801,
"chargedResultBytes": 157,
"terminalEntityBytes": 1048484,
"contentType": "json",
"outputCapBytes": 2097152
}
],
"nearB1ResultBytes": 1048213,
"readCalls": 10,
"handlerEntered": 10,
"lastFactoryEra": "modern",
"lastToolError": true,
"reservationBytesUnchanged": 33554432,
"outputCapBytesUnchanged": 2097152,
"finalBudget": {
"owners": 0,
"reservedBytes": 0
},
"httpClosed": true,
"actualInstalledSdkHttp": true,
"syntheticRegisteredNetflowRead": true,
"actualCompiledSourceOwner": true,
"actualPg": false,
"remoteTouched": false,
"productionSourceChanged": false,
"wholeEndpointCapAccepted": false,
"heapUpstreamAccepted": false,
"genericAccountingAccepted": false,
"fullPlanComplete": false
},
"standard": {
"capturedAt": "2026-10-31T18:47:55.368Z",
"profile": "standard",
"status": "accepted",
"cases": 14,
"names": [
"legacy: SDK rejects null tools/call ID before callback, envelope helper and read",
"legacy: SDK rejects fractional tools/call ID before callback, envelope helper and read",
"legacy: near1MiB read beyond old916480 headroom fits unchanged cap with quality/metadata intact",
"legacy: actual near1MiB ID accounts before read and yields bounded narrowing when required",
"legacy: long ID with small result preserves quality/metadata",
"legacy: actual invocation error is retained without fabricating quality",
"legacy: actual HTTP abort retains original source lease until pending child computation drains",
"modern: SDK rejects null tools/call ID before callback, envelope helper and read",
"modern: SDK rejects fractional tools/call ID before callback, envelope helper and read",
"modern: near1MiB read beyond old916480 headroom fits unchanged cap with quality/metadata intact",
"modern: actual near1MiB ID accounts before read and yields bounded narrowing when required",
"modern: long ID with small result preserves quality/metadata",
"modern: actual invocation error is retained without fabricating quality",
"modern: actual HTTP abort retains original source lease until pending child computation drains"
],
"observations": [
{
"era": "legacy",
"mode": "near",
"idJsonBytes": 1,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 1048270,
"contentType": "sse",
"outputCapBytes": 8388608
},
{
"era": "legacy",
"mode": "near",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 2096447,
"contentType": "sse",
"outputCapBytes": 8388608
},
{
"era": "legacy",
"mode": "small",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 427,
"terminalEntityBytes": 1048661,
"contentType": "sse",
"outputCapBytes": 8388608
},
{
"era": "legacy",
"mode": "error",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 157,
"terminalEntityBytes": 1048391,
"contentType": "sse",
"outputCapBytes": 8388608
},
{
"era": "modern",
"mode": "near",
"idJsonBytes": 1,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 1048363,
"contentType": "json",
"outputCapBytes": 8388608
},
{
"era": "modern",
"mode": "near",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 1048213,
"terminalEntityBytes": 2096540,
"contentType": "json",
"outputCapBytes": 8388608
},
{
"era": "modern",
"mode": "small",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 427,
"terminalEntityBytes": 1048754,
"contentType": "json",
"outputCapBytes": 8388608
},
{
"era": "modern",
"mode": "error",
"idJsonBytes": 1048178,
"readAllowanceBytes": 1048576,
"chargedResultBytes": 157,
"terminalEntityBytes": 1048484,
"contentType": "json",
"outputCapBytes": 8388608
}
],
"nearB1ResultBytes": 1048213,
"readCalls": 10,
"handlerEntered": 10,
"lastFactoryEra": "modern",
"lastToolError": true,
"reservationBytesUnchanged": 134217728,
"outputCapBytesUnchanged": 8388608,
"finalBudget": {
"owners": 0,
"reservedBytes": 0
},
"httpClosed": true,
"actualInstalledSdkHttp": true,
"syntheticRegisteredNetflowRead": true,
"actualCompiledSourceOwner": true,
"actualPg": false,
"remoteTouched": false,
"productionSourceChanged": false,
"wholeEndpointCapAccepted": false,
"heapUpstreamAccepted": false,
"genericAccountingAccepted": false,
"fullPlanComplete": false
},
"frozenSourceChanged": false,
"packageChanged": false,
"profilesOrCapsIncreased": false,
"existing1024ReserveRetained": true,
"sourceBudgetOwnerModified": false,
"actualPg": false,
"remoteTouched": false,
"fullBackendCompositionBuildPerformed": false,
"keepaliveOrHeadersBoundAccepted": false,
"wholeEndpointBoundAccepted": false,
"genericAccountingAccepted": false,
"heapUpstreamAccepted": false,
"fullPlanComplete": false,
"remainingDirectionCount": 7,
"pins": [
{
"path": "tmp/mcp-netflow-envelope-allowance-20261101/sdk-flow-allowance.mjs",
"sha256": "fd252bb763d3e5028531e2c3528fa2df7168aaa291cf17987314e509636fa017"
},
{
"path": "tmp/mcp-netflow-envelope-allowance-20261101/result-budget.ts",
"sha256": "8cb9752f34f39a12bba435da3e8141acd1ad2b0d1e832c298d5be7722f8968ca"
},
{
"path": "tmp/mcp-netflow-envelope-allowance-20261101/result-delivery.ts",
"sha256": "3e7c11a5325d900548d649079a5ff691ac5196b039f2390578ce28a64717b0da"
},
{
"path": "tmp/mcp-netflow-envelope-allowance-20261101/flow-envelope-allowance.ts",
"sha256": "0bfa9b3c26cfad438a74cf2a3db4cae82404940a71bcd283c9994ed0d68af72d"
},
{
"path": "tmp/mcp-netflow-envelope-allowance-20261101/mcp-transport.ts",
"sha256": "bbb6e1dc1e889123df9c25eeedd4615ed0aceffef742726e8215e0ee336008f0"
},
{
"path": "backend/src/services/traffic-flow-read-budget.ts",
"sha256": "b5f718a95d18d8987e72eb8ddb2316e0b5b1102b91036799ac3c5520e6b76e41"
},
{
"path": "backend/dist/services/traffic-flow-read-budget.js",
"sha256": "ffb2401ec6074251a5eab3276d02990501479593a0218fca6728f090b616f88d"
},
{
"path": "backend/src/services/traffic-flow-read-resource-profile.ts",
"sha256": "4fa409b54b778a53801bcae629ffd6fca379e5a6709ac0e3ddab1c2ad4c00947"
},
{
"path": "backend/dist/services/traffic-flow-read-resource-profile.js",
"sha256": "c1ab0969dc2699b1b2c30b8411d115bf20e79f8f4cb85339305c00917ed528d9"
}
],
"fullSemanticOverlay": {
"scope": "full backend tsconfig product import graph + candidate new unit, noEmit overlay including mcp-transport and SDK context/factory typing",
"strict": true,
"rootFileCount": 909,
"totalSourceFileCount": 2237,
"overlayFiles": [
{
"candidate": "result-budget.ts",
"virtualTarget": "backend/src/modules/mcp/result-budget.ts",
"sha256": "8cb9752f34f39a12bba435da3e8141acd1ad2b0d1e832c298d5be7722f8968ca"
},
{
"candidate": "result-delivery.ts",
"virtualTarget": "backend/src/modules/mcp/result-delivery.ts",
"sha256": "3e7c11a5325d900548d649079a5ff691ac5196b039f2390578ce28a64717b0da"
},
{
"candidate": "mcp-transport.ts",
"virtualTarget": "backend/src/routes/mcp-transport.ts",
"sha256": "bbb6e1dc1e889123df9c25eeedd4615ed0aceffef742726e8215e0ee336008f0"
},
{
"candidate": "flow-envelope-allowance.ts",
"virtualTarget": "backend/src/modules/mcp/flow-envelope-allowance.ts",
"sha256": "0bfa9b3c26cfad438a74cf2a3db4cae82404940a71bcd283c9994ed0d68af72d"
},
{
"candidate": "flow-envelope-allowance.test.ts",
"virtualTarget": "backend/src/modules/mcp/flow-envelope-allowance.test.ts",
"sha256": "b44c437b90b54f27d520bcd912845e79a4c062867179da0ea974cc48e05674bc"
}
],
"errors": [],
"errorCount": 0,
"compilerOutputWritten": false,
"productFilesWritten": false
},
"recordedAt": "2026-10-31T18:58:34.293Z",
"status": "accepted-staged-synthetic-sdk-not-installed",
"actualProductRouteAndDatabaseAccepted": false,
"productionIntegrated": false,
"wholeInstallation2GbAccepted": false
}