Files
MikrotikManager/docs/mcp-native-template-lifetime-acceptance-20261031.json
T

125 lines
6.4 KiB
JSON

{
"recordedAt": "2026-10-31T16:05:24.603Z",
"scope": "applied-NATIVE-N5a-UDP-template-lifetime-only",
"status": "local-component-and-selected-flow-profile-accepted",
"applied": true,
"fullPlanComplete": false,
"nativeDirectionComplete": false,
"wholeInstallation2GbAccepted": false,
"realRouterInteroperabilityAccepted": false,
"primaryOrRestoreRun": false,
"chrAccessed": false,
"remoteChanges": false,
"deployed": false,
"policy": {
"defaultLifetimeMs": 5400000,
"environment": "FLOW_TEMPLATE_LIFETIME_MS",
"scope": "collector startup policy; not a RouterOS default",
"operatorRequirement": "at least three times the largest configured exporter elapsed template refresh interval",
"monotonicClock": "performance.now()",
"templateRefreshOnly": true,
"dataOrIpfixWithdrawalExtendsLifetime": false,
"lazyExpiry": true,
"additionalBackgroundTimers": 0,
"additionalSockets": 0,
"additionalUnknownDataQueues": 0,
"existingCacheCapsPreserved": true
},
"references": [
"https://www.rfc-editor.org/rfc/rfc7011.html#section-8.4",
"https://www.rfc-editor.org/rfc/rfc3954.html#section-9",
"https://manual.mikrotik.com/docs/cli-reference/ip/traffic-flow/target/",
"https://mum.mikrotik.com/presentations/LB19/presentation_6352_1548734037.pdf"
],
"publicBehavior": {
"missingOrExpiredTemplate": "FlowTemplateRefused reason missing-template",
"existingEngineHandler": "returns false and exposes error; no flow counters queued",
"unknownTemplateSilentEmptyReplaced": true,
"templateOnlyRefreshDoesNotClaimDataRecovery": true,
"scopedPartitionsAndWithdrawalSemanticsPreserved": true,
"soleProductionParserCaller": "backend/src/services/traffic-flow-engine.ts:479-480",
"durableExactLossOrExporterCoverageClaimed": false
},
"verification": {
"focused": {
"command": "node --import tsx --test backend/src/services/traffic-flow-template-lifetime.test.ts backend/src/services/traffic-flow-template-cache.test.ts backend/src/services/traffic-flow-protocol-scope.test.ts",
"tests": 29,
"passed": 29,
"failed": 0,
"newLifetimeTests": 9,
"existingCacheTests": 11,
"existingScopeTests": 9,
"actualLoopbackUdpScopeIncluded": true,
"exitCode": 0,
"log": "tmp/mcp-native-template-lifetime-20261031/applied-focused-final.log"
},
"strictTypes": {
"mode": "strict ES2022 NodeNext including changed tests and imported dependencies",
"exitCode": 0,
"log": "tmp/mcp-native-template-lifetime-20261031/applied-types-final.log"
},
"scopedEslint": {
"exitCode": 0,
"warnings": 0,
"log": "tmp/mcp-native-template-lifetime-20261031/applied-lint-final.log"
},
"selectedOwnedRegression": {
"command": "npm --prefix backend run test:mcp:pg:all -- --regression-only --profile=test:traffic-flow",
"exitCode": 0,
"failedProfiles": [],
"profile": "test:traffic-flow",
"sqlLogsEvents": 5000,
"source": "fresh isolated loopback runner",
"primaryIntegration": false,
"restore": false,
"newLifetimeRegisteredAtProfileStart": false,
"newLifetimeCoveredBySeparateFocusedRun": true,
"log": "tmp/mcp-native-template-lifetime-20261031/applied-flow-profile-final.log"
},
"actualParserConfiguration": {
"command": "node tmp/mcp-native-template-lifetime-20261031/check-env-applied.mjs",
"cases": 9,
"exitCode": 0,
"log": "tmp/mcp-native-template-lifetime-20261031/applied-config-final.log"
}
},
"correctionsAndPreservedFailures": [
"Default permission tsx failed before test code: uv_os_get_passwd ENOMEM; approved require_escalated execution passed.",
"First applied focused run28/29: repeated receiver test expected no new refusals; now asserts exactly one missing-template refusal per receiver and preservation across refresh, then29/29passed.",
"Strict checking exposed optional contexts.at(-1); final fixture asserts its presence before access.",
"Default permission owned PG runner failed in EmbeddedPostgres constructor with uv_os_get_passwd ENOMEM before DB; approved require_escalated execution passed.",
"Monthly SQL and additional IPv6 owned SQL subharness self-skipped; not separately accepted by this selected profile."
],
"registration": {
"editedByThisAgent": false,
"owner": "root",
"permanentRegistrationObserved": true,
"selectedProfileStartedBeforeRegistration": true,
"newTestIndependentlyAccepted": true
},
"limits": [
"No same-port exporter restart inference",
"No precise wildcard local destination identity",
"No new Worker failure interleaving acceptance",
"No actual RouterOS exporter or VPN/VRF traffic acceptance",
"No Linux Node22 or whole-installation memory acceptance",
"No full primary/restore or entire backend profile matrix"
],
"sourceHashes": {
"backend/src/services/traffic-flow-parse.ts": "d013ee0fad95e88c05856927af9dcbf7c4990a532ba40f23df8f03f0d14d1637",
"backend/src/services/traffic-flow-template-cache.test.ts": "ae01646172406088e934778a4618e13cc60c4d819c5cf19d213871e60d7e30c2",
"backend/src/services/traffic-flow-protocol-scope.test.ts": "f57600307eb86bdc81ff2830219af4ca7af10eb97c4af7d73adfee1b0c6adfb8",
"backend/src/services/traffic-flow-template-lifetime.test.ts": "262d4fa4990d6698062ad1808fdd7087d05ab607a4d6a943f001a95f385cf413",
"backend/.env.example": "770602d86ae90a35db4e4aa20d7cff9a13c200ad2e6eed16d935243abea47427"
},
"logHashes": {
"tmp/mcp-native-template-lifetime-20261031/applied-focused.log": "049eb75e2d456ae79b84c3ee892630affce311c09599bd7d84a67a463752e06d",
"tmp/mcp-native-template-lifetime-20261031/applied-focused-final.log": "53f106646222b2f25156871d8379b742b283a69d2e5a8a15ab0b875b918f51a5",
"tmp/mcp-native-template-lifetime-20261031/applied-types-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-native-template-lifetime-20261031/applied-lint-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-native-template-lifetime-20261031/applied-flow-profile.log": "b737f309aafddc182ce24feea88490b7d30f29f413dd853486b60b5b6579ebe6",
"tmp/mcp-native-template-lifetime-20261031/applied-flow-profile-final.log": "3b5dce3bc984693a2438349fee68c1843652489d1534cc2fe48d59adba3ea481",
"tmp/mcp-native-template-lifetime-20261031/applied-config-final.log": "862d9d680fc9d546ef536d8ff48a31ff1b8c7a9bf8357b0ad1a09f4a495e78e1"
}
}