Files
MikrotikManager/docs/mcp-traffic-history-acceptance.json
T

56 lines
2.9 KiB
JSON

{
"complete": true,
"recordedAt": "2026-10-19T17:16:26Z",
"branch": "codex/mcp-foundation",
"scope": "Stored server traffic history and 24-hour interface history",
"fullPlanComplete": false,
"tools": [
"mm_traffic_servers_history_get",
"mm_traffic_server_history_get",
"mm_traffic_server_interfaces_get"
],
"coverage": { "tools": 295, "routes": 262, "mediated": 140, "excluded": 62, "pending": 60 },
"sqlAcceptance": {
"command": "npm --prefix backend run test:mcp:pg -- --restore",
"log": "tmp-mcp-traffic-history-final-acceptance.log",
"exitCode": 0,
"realPgDumpRestorePassed": true,
"checks": [
"Shared REST/MCP reader parity",
"Server scope and temporary grant applied before SQL reads",
"20001 hidden rows do not affect the allowed report",
"Confirmed zero versus nullable current speed, peak and individual history buckets",
"WG peer and loopback exclusion from interface aggregates",
"Future samples excluded before calculation and paging",
"Error, pending, stale and disabled provenance",
"Interface native state unknown without statusKnown",
"Server and interface pages, empty pages and row-cap refusal",
"Pre-abort, source host change, owner permission removal and connection pause during SELECT",
"No source labels, credentials, freeform errors or hidden/peer/future names in persisted results",
"No new configuration plans and no RouterOS requests"
]
},
"sharedServiceRegression": {
"command": "npm --prefix backend run test:mcp:pg:all -- --profile=test:traffic-rate --restore",
"log": "tmp-mcp-traffic-history-final-sql.log",
"exitCode": 0,
"profiles": ["test:traffic-rate", "test:logs:pg"],
"failedProfiles": [],
"scopeNote": "Shared readers and weekly OSPF fixture were accepted here; subsequent source/owner/pause guards were accepted by the final SQL command above"
},
"build": { "log": "tmp-mcp-traffic-history-accepted-build.log", "exitCode": 0 },
"modelsAndCoverage": { "log": "tmp-mcp-traffic-history-accepted-model.log", "exitCode": 0 },
"eslint": { "log": "tmp-mcp-traffic-history-accepted-lint.log", "exitCode": 0 },
"deviceMutations": 0,
"deploymentPerformed": false,
"limits": [
"20000 samples per server history; 100000 per 24-hour interface catalog; overflow rejects the whole calculation",
"Accounted counter deltas do not prove network total or complete retained history",
"Interface native state describes the last stored sample, not a live poll",
"Server list excludes disabled devices; explicit detail allows their stored history with disabled provenance",
"User and bound-interface traffic adapters remain pending",
"Earlier full-backend and browser checkpoint predates this block; current validation is the targeted shared-service regression and final MCP SQL/build/model/lint acceptance",
"No live forwarding, failover or CHR traffic claim"
]
}