Files
MikrotikManager/docs/mcp-bridge-vlan-configuration-acceptance-20261105.json
T

104 lines
6.8 KiB
JSON

{
"date": "2026-11-05",
"stage": "Focused linked bridge VLAN PostgreSQL and HTTP acceptance",
"fullPlanComplete": false,
"verification": {
"command": "node backend/scripts/test-mcp-postgres.mjs --bridge-vlan-configuration",
"exitCode": 0,
"fixture": "Fresh owned embedded PostgreSQL; two HTTP servers bound to 127.0.0.1; synthetic RouterOS collections and stable license identity",
"entry": "backend/src/modules/mcp/bridge-vlan-configuration-http.test.ts",
"helper": "backend/src/test/mcp-bridge-vlan-configuration.ts",
"ownerRestReadMatchesMcp": true,
"ownerRestPlanAndHumanApproval": true,
"mcpApplyAndTerminalOperationRead": true,
"preparationAndUnapprovedApplyMakeZeroNativeWrites": true,
"orderedVerifiedSteps": ["bridge_vlan create", "bridge_port create", "bridge vlan-filtering enable"],
"operationState": "applied",
"verificationState": "passed",
"allThreeNativeStepsVerified": true,
"staticForeignAndOpaqueConfigurationPreserved": true,
"dynamicPvidCompanionExcludedFromConfigurationSnapshot": true,
"effectivePvidMembership": {
"officialReference": "https://manual.mikrotik.com/docs/bridging-and-switching/",
"derivedFromEnabledPortsAndCpuPvidWithActualFrameTypes": true,
"explicitStaticUntaggedDeclarationNotRequiredForPvidMembership": true,
"initiallyFilteringCpuAndAccessManagementWithOnlyDynamicPvidMembership": true,
"approvedSafeImplicitPvidForwardAndTypedInversePreserveBaseline": true,
"genericAndAliasUnsafeCpuPortPvidAndCpuFrameChangesRefused": true,
"safeCpuIngressAliasEditAndInverseUseOnlyOriginalBridgeCommand": true,
"dynamicMembershipNeverCreatesNativeVlanCommands": true,
"existingTaggedExternalPathsToDirectBridgeCpuIpPreserved": true,
"ambiguousTaggedAndImplicitUntaggedPrefixesNotAcceptedAsManagementProof": true,
"missingCpuFrameTypesOrIngressFlagsRefusedWithoutDefaults": true,
"bridgeProjectionVersion": 4,
"oldCpuProjection3CannotExecute": true,
"mvrpObservedAndSealedButNotWritable": true,
"enabledMvrpPlanningRefusedAsUnsupported": true
},
"scopeAndReadOnlyDenialsMakeZeroWrites": true,
"genericConnectionHasNoLinkedConfigureGrant": true,
"genericAndInterfacesAliasInvalidFilteringCoverageRejected": true,
"genericVlanCrossBridgeAndEffectiveMembershipOverlapRejected": true,
"invalidGenericRequestsCreateNoPlanOrNativeWrite": true,
"validGenericPortIngressFilteringPatchIsOneVerifiedCommand": true,
"concurrentPvidChangeBetweenPreparationReadsRejectsUnrequestedOverwrite": true,
"concurrentPvidGuardReturnsStateConflictWithoutPlanOrNativeWrite": true,
"foreignConfigurationDriftRejectsBeforeFirstWrite": true,
"lostCreateAckProducesUnknownAfterOneCommand": true,
"unknownStopsBeforePortAndFilteringAndNeverRetries": true,
"freshSameIdentityChecksOnPrimaryAndManagementEndpoints": true,
"primaryManagementFallback": {
"onlyMissingOrExpiredAlternateApprovalRequiredAllowsFallback": true,
"registeredIdentityMismatchNeverFallsBack": true,
"primaryHostComesOnlyFromLiteralConfiguredServerIp": true,
"configuredPrimarySourceProofMustMatchCapturedSnapshots": true,
"primaryIpMustMatchEnabledNativeAddressAndTracedParent": true,
"missingNativePrimaryAddressRejected": true,
"managementPhysicalPortStealingRejected": true,
"unsafeBridgeCpuDeliveryChangeRejected": true,
"expiryBoundedByConnectionOwnerAndCredential": true,
"primaryPlansRequireHumanAndHaveNoRegisteredManagementReceipt": true,
"approvedSafePrimaryForwardAndTypedInverseApplied": true,
"primaryInverseRestoresExactFixtureBaseline": true,
"autonomousConnectionStillAwaitsHumanApproval": true,
"unapprovedAutonomousApplyMakesNoNativeWrite": true,
"warningStatesPrimaryManagementAndUnprovenIndependence": true
},
"typedRecovery": {
"operationVersion": 8,
"forwardCreateUpdateInverseApprovedAndApplied": true,
"forwardInverseRestoresExactFixtureBaseline": true,
"allInverseNativeStepsVerified": true,
"originalObjectsRetainedForProtectionChecks": true,
"fullCheckpointChainAndUntouchedDependencyTerminalStateChecked": true,
"baselineAndCheckpointProjectionVersionsCheckedPerResource": true,
"tamperedCreateAckCannotAuthorizeCheckpointDeltaDeletion": true,
"obsoleteBridgePortProjection3Refused": true,
"externalForeignRowDriftRefusedBeforeInverseWrites": true,
"inverseUsesFreshReplacementManagementChannelInsteadOfSourceReceipt": true,
"inversePreparationAndUnapprovedApplyMakeZeroAdditionalWrites": true,
"sensitiveGenericPortSourceUsesTypedInverseWithoutLinkedConfigureGrant": true,
"linkedNativePortAndMembershipDeletionCanBeRecovered": true,
"deletedRowsRecreatedWithNewRouterOsAssignedAckIds": true,
"recreatedTopologyMatchesOriginalConfigurationAndForeignRowsKeepIdentity": true,
"unknownSourceRecoveryRefusedWithoutAdditionalWrites": true,
"nativeBridgeCreateDeleteInverseSupported": false
}
},
"additionalChecks": {
"contractsBuild": { "command": "npm run build -w @mmapp/contracts", "exitCode": 0 },
"modelAndProjection": { "command": "node --import tsx --test src/services/bridge-vlan-configuration.test.ts src/modules/mcp/bridge-vlan-projection.test.ts", "passed": 43, "failed": 0, "exitCode": 0 },
"ospfOwnerProjection": { "command": "node --import tsx src/modules/mcp/ospf-owner-graph.test.ts", "exitCode": 0 },
"backendTypeScriptNoEmit": { "command": "npx tsc --noEmit --pretty false", "exitCode": 0 },
"operationRevisions": { "command": "node --import tsx src/modules/mcp/operation-revisions.test.ts", "exitCode": 0, "operationsRecoverVersion": 8, "interfacesUpdateVersion": 5 },
"scopedDiffCheck": "passed"
},
"limitations": {
"managementChannel": "Registered-channel portion uses sealed management configuration seeded directly into disposable SQL. Primary-fallback portion removes the channel row and binds the actual configured loopback address to a native address outside the edited bridge. Neither portion exercises registration, TLS verification, or proves independent network paths.",
"realRouterOsOrChr": "Not run. No real RouterOS, CHR or remote VPS writes.",
"networkBehavior": "Configuration and synthetic HTTP readback only; L2 forwarding, VLAN reachability and management continuity on real equipment are not proven. Recovery restores visible typed configuration; native deletion recreates rows with new IDs and does not claim restoration of opaque fields excluded from the configuration projection.",
"transport": "Actual owner REST via Fastify injection and invokeMcpTool runtime; external MCP SDK transport not exercised by this focused helper.",
"restoreAndDeployment": "No terminal database restore, Docker build, publication or deployment."
}
}