Files
MikrotikManager/docs/mcp-flow-analytics-acceptance.json
T

85 lines
3.7 KiB
JSON

{
"complete": true,
"fullPlanComplete": false,
"operation": "traffic.flow.analytics.read",
"tool": "mm_netflow_analytics_report_get",
"revision": 1,
"tools": 315,
"restCoverage": {
"mediated": 155,
"excluded": 62,
"pending": 45,
"total": 262
},
"backend": {
"sourceLog": "tmp-mcp-flow-analytics-full.log",
"processExitCode": 0,
"profiles": 27,
"sqlHttp": true,
"analyticsScenario": "SQL and MCP runtime; direct REST engine parity, no dedicated REST HTTP invocation",
"sqlLogs": true,
"actualRestore": true,
"tamperedArchive": true,
"buildLog": "tmp-mcp-flow-analytics-final-build.log",
"buildExitCode": 0,
"lintLog": "tmp-mcp-flow-analytics-final-lint.log",
"lintExitCode": 0
},
"verifiedCases": [
"shared REST analytics engine; scoped mode bypasses unrestricted caches",
"scope before flow SQL and pending; no collector credential hydration for bounded source limits",
"allowed topology excludes hidden servers and mixed hidden bindings; peer bindings not attributed as whole interfaces",
"applications/protocols/sources/destinations/interfaces/ASNs/countries/categories/services/conversations/inferred paths; common row pagination",
"user/interface filters, dedup options and future-row upper bound",
"safe row counters, explicit source/engine topN truncation and row/response limits",
"server endpoint ABA and topology drift reject publication",
"cancel and pause stop read; no plans or writes",
"legacy rate estimates labeled as context; retained analytics not presented as measured live forwarding"
],
"sourceSemantics": {
"rowSumIsNetworkTotal": false,
"coverageVerified": false,
"live": false,
"inferredPathsVerified": false,
"historicalOwnershipVerified": false,
"backgroundEnrichmentStarted": false,
"collectorStarted": false
},
"nativeRouterOsAcceptance": false,
"externalAiClientAcceptance": false,
"forwardingAcceptance": false,
"historicalTestFailures": [
{
"log": "tmp-mcp-flow-analytics-core.log",
"reason": "duplicate tool name; renamed new report tool"
},
{
"log": "tmp-mcp-flow-analytics-core2.log",
"reason": "fixture owner lacked traffic permission"
},
{
"log": "tmp-mcp-flow-analytics-core3.log",
"reason": "fixture server must exist before issuing grant"
},
{
"log": "tmp-mcp-flow-analytics-core4.log",
"reason": "fixture partition missing"
},
{
"log": "tmp-mcp-flow-analytics-core5.log",
"reason": "new analytics scenario passed; later GRE delete returned unknown after simulated transport loss; subsequent full run passed unchanged production GRE code"
}
],
"sources": {
"backend/src/modules/mcp/actions.ts": "2a6c5f4079831004ca109c6e0008c9ece17a0efda38fe1e2e6d93edbad2cd641",
"backend/src/modules/mcp/flow-analytics-actions.ts": "3c39eb8ebde9d3014eee2596669787b26847e7580e83075632d1b74407130d6b",
"backend/src/modules/mcp/integration.test.ts": "2f73be2d876263d7fc089bf16c40b6c9fe4b146695d9b83082a9849e7897e23d",
"backend/src/services/traffic-flow-analytics.ts": "5c7387f0fcd09915452b2eaa86bc19651ef29a050744982a3ab1722f8041cd96",
"backend/src/services/traffic-flow-topology.ts": "fc85bc2c4568361c240e7c9f33bf7d0d1dac728a05ca1a4f8abe8b3bfeedca87",
"backend/src/services/traffic-flow-ingest.ts": "9b27fc1727269498b37dc3fceb0abf4f6aefd9528f2fe20a97d2a26177b65082",
"backend/src/services/traffic-flow-source-limits.ts": "8c8a0f9853087b4417c5ec81af7c7c9e2a85accb69209e930498f24581e95852",
"backend/src/test/mcp-flow-analytics.ts": "8289a3c44ce88608f7b467cea34d3c03696524762573a459de8f061814bfff87",
"backend/mcp-coverage.json": "71a56602b1bb0c0d6bc12ad09e9f82bd4be61162e77ee66f4941f0763aa57e04"
}
}