Files
MikrotikManager/docs/mcp-flow-active-services-acceptance-20261029.json
T

215 lines
9.3 KiB
JSON

{
"date": "2026-10-29",
"status": "active-flow-service-components-accepted",
"fullPlanComplete": false,
"nativeDirectionComplete": false,
"remainingDirectionCount": 7,
"actualGroupCount": 9,
"actual": {
"settingsPurge": {
"accepted": 4,
"groups": [
"production shared settings disable admitted during actual worker SQL flush, awaits retirement, conserves UDP and completes both durable phase receipts",
"production settings re-enable and display no-op admitted during real SQL flush; UDP conserved and complete opaque/key/peer configuration unchanged",
"full production purge admitted during real SQL flush waits for worker drain, deletes all six flow tables, maintains partitions, restarts and journals one purge event",
"post-purge production worker accepts new actual UDP/SQL; terminal tracked stop releases port and preserves configuration without scheduler/outbox/RIPE activity"
],
"ifaceGets": 4,
"syntheticUdpDatagrams": 4,
"beforePurgeBytes": 7500,
"afterPurgeBytes": 4500,
"settingsOperations": 3,
"inFlightSqlFlushes": 3,
"sharedProductionServices": true,
"publicRestMcpAuthorizationAccepted": false,
"realRouterInteroperabilityAccepted": false
},
"rebuild": {
"accepted": 5,
"groups": [
"active main/production Worker/private UDP persisted by real writer; observed genuine scoped IPC drain -> SQL source/frozen classifier -> hour/day replacement and durable rebuild receipt/reconcile",
"same durable rebuild job skips drain/republication while listener remains active; absent job reconciliation is read-only",
"subsequent actual UDP + second production rebuild conserves raw counters without double counting classified facts or unrelated day",
"real SQL failure after hour publication rolls back cubes/event/receipt; read-only absence then retry succeeds with same active worker",
"tracked shutdown releases localhost UDP; keys/peers/settings/users/bindings/snapshots/metadata/notifier/scheduler rows preserved"
],
"ifaceGets": 1,
"syntheticUdpDatagrams": 2,
"udpBytes": 4000,
"genuineProductionServiceDrain": true,
"privateUdpOnly": true,
"sqlOnlyPublicClassifierSource": true,
"observedGenuineDrains": 4,
"firstIpcDrainPublishedNonemptyReceipt": true,
"deterministicPendingIpcPublicationAccepted": false,
"classifiedSource": "SQL-seeded genuine raw row",
"udpClassifiedFactsAccepted": false,
"externalRipeLookup": false,
"realRouterInteroperabilityAccepted": false,
"wholeInstallation2GbAcceptance": false
}
},
"commands": [
"npm --prefix backend run test:flow-active-services:pg",
"npm --prefix backend run test:flow-active-rebuild:pg",
"npm --prefix backend run test:netflow-settings",
"npm --prefix backend run test:netflow-purge",
"npm --prefix backend run build",
"npx tsc -p tmp/flow-active-entries-tsconfig.json"
],
"terminalExitCodes": [
0,
0,
0,
0,
0,
0
],
"verification": {
"explicitEntryTypecheck": true,
"scopedEslint": true,
"exclusiveProfilesRefuseRestoreBeforeClusterCreation": 2,
"independentStaticReview": true,
"retentionAndUtcFixtureCorrectionsPreserveConservationAssertions": true
},
"scope": {
"productionServiceSourceChanged": false,
"genuineMainWorkerIpcUdpSql": true,
"settingsService": "updateTrafficFlowSettingsWithListener without overrides",
"purgeService": "purgeTrafficFlowWithEvent with one read-only beforeDelete observation",
"rebuildService": "rebuildFlowFactsSafely with wrapper observing actual drain outcome",
"inFlightSqlFlushesObservedDuringSettingsOrPurge": 3,
"schemaMigrations": 39,
"disposablePostgresOnly": true,
"localhostRouterOsShapedHttpOnly": true,
"notifierSchedulerOrExternalRipe": false,
"deploymentOrRealChr": false,
"newProductionPoolRoleMigration": false,
"publicAuthWithActiveCollectorAccepted": false,
"publicUdpToClassifiedFactsAccepted": false,
"wholeInstallation2GbAcceptance": false
},
"remaining": [
"Actual public REST/MCP authorization/service composition with an active worker rather than service-only calls.",
"Other startup/shutdown failure and post-spawn revocation boundaries; positive steady-state failure profiles and load.",
"Real RouterOS exporter -> public UDP -> classified facts, forwarding/interoperability and <=2GB whole-installation load.",
"Other POLL/DB/ROUTING/NATIVE/PATHS/EXTERNAL-UI/FINAL requirements remain open."
],
"historicalAttempts": [
{
"path": "tmp/mcp-flow-active-services-owned-20261029.log",
"result": "fixture failure: heartbeat cannot prove pending UDP before flush",
"sha256": "7bcc719376ed09fdf983d0fd47d842ef7ef9597172831beec5e310c83cc2adf0"
},
{
"path": "tmp/mcp-flow-active-rebuild-owned-20261029.log",
"result": "fixture unrelated daily row disappeared; insufficient initial diagnostics",
"sha256": "a097625b7a9803598771122a32f575f51f7eda99ee28bb16a720b7bb3f4d9e20"
},
{
"path": "tmp/mcp-flow-active-rebuild-fixture-v2-20261029.log",
"result": "daily seed timezone conversion put unrelated row in replacement UTC day; retention hypothesis did not resolve failure",
"sha256": "894a903ef9ffc5a5c07b4dfcbcc2fd5c889b26dea7e33b3f785067e6d9dbdac1"
},
{
"path": "tmp/mcp-flow-active-rebuild-utc-v3-20261029.log",
"result": "rollback assertion wrongly included legitimate background ingest receipts",
"sha256": "f70ee32d10778c6396aba7d72897734d4a01bc88d896f5259131e0a7bf799c8f"
}
],
"evidence": [
{
"path": "tmp/mcp-flow-active-services-sql-v2-20261029.log",
"sha256": "fe45bc7deda1a79f425da8d1f78b7348b5d4ab82b3dbcab6b8064f1d97b1ec79"
},
{
"path": "tmp/mcp-flow-active-rebuild-final-20261029.log",
"sha256": "7a2db167f8e49890eba671a81494ae1ee7bcf56c0665f81de875181a3ec35d20"
},
{
"path": "tmp/mcp-flow-active-settings-regression-20261029.log",
"sha256": "062133d981b8556d533b41850c3aa7324884d3bea2ab2a64ad237c533f6c56fe"
},
{
"path": "tmp/mcp-flow-active-purge-regression-20261029.log",
"sha256": "dab34048ef70162eb1bd851aa5266a7e488641eec2bbe919f3530dd7cec6af8d"
},
{
"path": "tmp/mcp-flow-active-types-20261029.log",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "tmp/mcp-flow-active-lint-20261029.log",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "tmp/mcp-flow-active-build-20261029.log",
"sha256": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3"
},
{
"path": "tmp/mcp-flow-active-services-exclusive-20261029.log",
"sha256": "ff7f253d26619b332243051ca28af7db4f0bf59ef05c75a6e08c649748add2bb"
},
{
"path": "tmp/mcp-flow-active-rebuild-exclusive-20261029.log",
"sha256": "3202471d28c5e797da227c729b6e2f02c16204d1c76a5361ade913d1c098479e"
},
{
"path": "backend/src/services/traffic-flow-active-services.owned.test.ts",
"sha256": "fda3eaba5d64528098a9f82b9dd13f674375032218ce647bc9816c5afc3f6acf"
},
{
"path": "backend/src/services/traffic-flow-active-rebuild.owned.test.ts",
"sha256": "e882c9babb511648bb26d50ce8d6612a0e4dbc6b803f36a972460c4c4364e4e5"
},
{
"path": "backend/scripts/test-mcp-postgres.mjs",
"sha256": "afb194e8d28ce694751ede429e2c58a29dfeca6c530f28d17a5871a299a2f859"
},
{
"path": "backend/package.json",
"sha256": "f8f1ac43eec37925cb354a70fa95a62326dfc00ee6cd915ef9d0ec2924182acf"
},
{
"path": "backend/src/services/traffic-flow-settings-service.ts",
"sha256": "2db81c8ab7d847f423c475bfc181467cf82a3247f27bcbffd51eb7a83419bad7"
},
{
"path": "backend/src/services/traffic-flow-settings-store.ts",
"sha256": "598a14d3177514cbf754f5d10706921f9269ce94159da5e7f5e447c7b25401ab"
},
{
"path": "backend/src/services/flow-purge-service.ts",
"sha256": "9db9437e1397a71c2385c95375987c3c8b2b5b41b320e5bc2dc233c2e0ac8587"
},
{
"path": "backend/src/services/traffic-flow-purge-execution.ts",
"sha256": "d4d8fffa5a8fff59986ed3b8510fa9cb76c99c412901e8a72a441907137aea4a"
},
{
"path": "backend/src/services/traffic-flow-facts-rebuild-service.ts",
"sha256": "2c8ff194c8b179fca6ffb83ea5071305109b2d87523fc7322caf4c57e8e5fab2"
},
{
"path": "backend/src/services/traffic-flow-facts-rebuild-source.ts",
"sha256": "0af04106fe6c68d1d09a1462ff43655cd0f744dbfbc8b28a57d1c409d9457385"
},
{
"path": "backend/src/services/traffic-flow-facts-rebuild-execution.ts",
"sha256": "e51be14d52648b84407265b9dae91bc52ea74229b638435ca80007d4c634870e"
},
{
"path": "backend/src/services/traffic-flow-ingest.ts",
"sha256": "2bd7e8478631e099f3ba9aa096975f9be2a599824e8cc0c7f5423b8307aa88fa"
},
{
"path": "backend/src/services/traffic-flow-collector-worker.ts",
"sha256": "3e9262fe5d52fa20bd22caa8999cfac4c13cbea9f6a3325fdcc8d435ca8100f1"
},
{
"path": "backend/src/services/traffic-flow-engine.ts",
"sha256": "42a346d71aff5307fa65ed5ef3e047fbfa170dd09d05eb933c98b2b6aa306f18"
}
]
}