191 lines
8.2 KiB
JSON
191 lines
8.2 KiB
JSON
{
|
|
"date": "2026-10-28",
|
|
"status": "accepted-scoped-component",
|
|
"progress": {
|
|
"closed": 5,
|
|
"total": 10,
|
|
"open": [
|
|
"S3-06",
|
|
"S3-07",
|
|
"S3-08",
|
|
"S3-09",
|
|
"S3-10"
|
|
],
|
|
"wholeMcpPlanComplete": false
|
|
},
|
|
"command": "npm --prefix backend run test:peer-speed-workflow:pg",
|
|
"evidence": "tmp/mcp-whole-speed-workflow-owned-pg-v4-20261028.log",
|
|
"previousAcceptedBaseline": "docs/mcp-bandwidth-native-window-acceptance-20261028.json",
|
|
"actual": {
|
|
"checks": [
|
|
"positive: genuine REST + signed v2 actual broker completion receipt + exact native/ping + real atomic history; no second failure/native replay",
|
|
"zero: genuine REST + signed v2 actual broker completion receipt + exact native/ping + real atomic history; no second failure/native replay",
|
|
"probe-edit: genuine REST + signed v2 actual broker completion receipt + exact native/ping + real atomic history; no second failure/native replay",
|
|
"probe-delete: genuine REST + signed v2 actual broker completion receipt + exact native/ping + real atomic history; no second failure/native replay",
|
|
"commit-loss: genuine REST + signed v2 actual broker completion receipt + exact native/ping + real atomic history; no second failure/native replay",
|
|
"real native socket drop leaves unknown-busy pair occupancy; no ping/failure row/replay"
|
|
],
|
|
"metrics": [
|
|
{
|
|
"mode": "positive",
|
|
"phase": "done",
|
|
"elapsedMs": 17885,
|
|
"applicationSql": 2252,
|
|
"controlSql": 618
|
|
},
|
|
{
|
|
"mode": "zero",
|
|
"phase": "done",
|
|
"elapsedMs": 17210,
|
|
"applicationSql": 2252,
|
|
"controlSql": 618
|
|
},
|
|
{
|
|
"mode": "probe-edit",
|
|
"phase": "done",
|
|
"elapsedMs": 17477,
|
|
"applicationSql": 2253,
|
|
"controlSql": 618
|
|
},
|
|
{
|
|
"mode": "probe-delete",
|
|
"phase": "done",
|
|
"elapsedMs": 17416,
|
|
"applicationSql": 2253,
|
|
"controlSql": 618
|
|
},
|
|
{
|
|
"mode": "commit-loss",
|
|
"phase": "unknown",
|
|
"elapsedMs": 17065,
|
|
"applicationSql": 2253,
|
|
"controlSql": 618
|
|
},
|
|
{
|
|
"mode": "native-drop",
|
|
"phase": "unknown",
|
|
"failureCode": "OUTCOME_UNKNOWN",
|
|
"peerPhase": "quarantine",
|
|
"elapsedMs": 14880,
|
|
"applicationSql": 2242,
|
|
"controlSql": 614
|
|
}
|
|
],
|
|
"nativePosts": 6,
|
|
"pingPosts": 5,
|
|
"protocolErrors": 0,
|
|
"failureWrites": 0,
|
|
"historyCommitsObserved": 5,
|
|
"commitLossInjected": true,
|
|
"actualFastifyJwt": true,
|
|
"actualApplicationAndControlSql": true,
|
|
"actualNativeHttp": true,
|
|
"actualPrivateCompletionReceipt": true,
|
|
"syntheticEnrollmentQuiescence": true,
|
|
"syntheticWireMapping": true,
|
|
"productionMappingVerified": false,
|
|
"runtimeAllCallersActivated": false,
|
|
"realChrCalls": 0
|
|
},
|
|
"sourceSha256": {
|
|
"backend/src/plugins/auth.ts": "ee1cadd632991a970d3f5c0883b42ccc4195d7a921f65c01fcdf89a82044db18",
|
|
"backend/src/services/bandwidth-rest-speed-original.ts": "9ee0504ed81094ae485b88cd9decaf4453c8d08023cac52d3ec210a168e16f44",
|
|
"backend/src/services/scheduler-automatic-root.ts": "b25f1b8f35ea9823d01a8b850039e500d30b231c65758a11c8739ea2acb4b3d0",
|
|
"backend/src/services/bandwidth-scheduled-speed-original.ts": "471c6bdf5a2d3ff321311b5aa37eadba36b248efac6392faf4a3b8d383fb281c",
|
|
"backend/src/services/bandwidth-peer-resolver.ts": "2697f1fc963ce9a57f8dbb11bed6fcdd830aad9938946ac496cac4596cca292b",
|
|
"backend/src/services/bandwidth-peer-execution-host.ts": "dd688c8378f4631d1b4401a225b02038f5e6d4d3d6c61817ef738fd5c803fcbd",
|
|
"backend/src/services/bandwidth-speed-workflow.ts": "0ccadcb8f896dc2c519806613781986b4f063f862b0519760f293dae52326dc7",
|
|
"backend/src/services/bandwidth-speed-workflow.sql-helper.ts": "f82fe29d3c398643d4a3e1f0227462dc68c54f6af32c4b434d1b6d3529f768d8",
|
|
"backend/src/services/bandwidth-speed-workflow.sql.test.ts": "772fc05c0b8f6af74b75c5cc2d796b7e5063980f5ba9a629e890eee08c0fa6d9",
|
|
"backend/src/services/mikrotik.ts": "545a2f4a1e6a4dd7dbad71cf0f675e4121f72cef57bfd95aa634ccdeabfbb8d2",
|
|
"backend/scripts/test-mcp-postgres.mjs": "03ea7d9abb0f67727af0fa72b85cdb313e58aeb2f4a120695de708458b090f8e",
|
|
"backend/package.json": "4fcb29f48d25a6bab9af789cfac3d1acbefe19d8ecc3c3be5c52eba659e33983"
|
|
},
|
|
"validation": [
|
|
{
|
|
"command": "npm --prefix backend run build",
|
|
"exitCode": 0,
|
|
"evidence": "tmp/mcp-speed-workflow-current-build-20261028.log"
|
|
},
|
|
{
|
|
"command": "node node_modules/typescript/bin/tsc -p tmp/tsconfig-bandwidth-resumed-final.json",
|
|
"exitCode": 0,
|
|
"evidence": "tmp/mcp-speed-workflow-current-types-20261028.log"
|
|
},
|
|
{
|
|
"command": "npm --prefix backend run test:bandwidth-peers",
|
|
"exitCode": 0,
|
|
"aggregateTests": 139,
|
|
"moduleBoundaryTests": 26,
|
|
"networkTests": 9,
|
|
"directReaderTests": 8,
|
|
"evidence": "tmp/mcp-speed-workflow-current-peers-20261028.log"
|
|
},
|
|
{
|
|
"command": "npm --prefix backend run test:bandwidth-native-dispatch",
|
|
"exitCode": 0,
|
|
"tests": 62,
|
|
"evidence": "tmp/mcp-speed-workflow-current-native-v2-20261028.log"
|
|
},
|
|
{
|
|
"command": "npm --prefix backend run test:speed-workflow",
|
|
"exitCode": 0,
|
|
"completeWorkflowUnitTests": 22,
|
|
"includesExistingSpeedBaseline": true,
|
|
"evidence": "tmp/mcp-speed-workflow-current-unit-20261028.log"
|
|
},
|
|
{
|
|
"command": "npm --prefix backend run test:auth",
|
|
"exitCode": 0,
|
|
"includesFullMcpRegression": true,
|
|
"evidence": "tmp/mcp-speed-workflow-current-auth-20261028.log"
|
|
},
|
|
{
|
|
"command": "eslint current workflow/helper/REST/resolver sources",
|
|
"exitCode": 0,
|
|
"evidence": "tmp/mcp-speed-workflow-current-lint-20261028.log"
|
|
}
|
|
],
|
|
"originalTtlSeconds": 5,
|
|
"applicationMigrationCount": 39,
|
|
"scope": {
|
|
"actualRestJwtAndApplicationSql": true,
|
|
"actualSignedControlSourceAndNativeHost": true,
|
|
"actualPrivateCompletionReceipt": true,
|
|
"actualThreeSecondPauseAndAfterPing": true,
|
|
"actualHistoryTransactionAndCommitReturnLoss": true,
|
|
"actualNativeSocketDropAndUnknownOccupancy": true,
|
|
"actualRouterOs": false,
|
|
"workingDatabaseAccess": false,
|
|
"deployment": false,
|
|
"schedulerOwnedSqlAcceptance": false,
|
|
"productionWireMapping": false,
|
|
"allCallerActivation": false,
|
|
"publicMcpSpeedActionActivation": false
|
|
},
|
|
"changes": [
|
|
"REST current guards use a fixed MATERIALIZED SQL predicate; fresh portal and source checks remain before and after it.",
|
|
"Peer resolver uses the genuine node-session four-MAC batch with unchanged claim/node/alias/event materials and strict guards; scalar fallback is preserved.",
|
|
"Genuine completion receipts permit after-ping/history after probe edit or deletion without accepting copied/forged results.",
|
|
"Managed mutations require a valid server ID; only the existing genuine private bandwidth permit can authorize the id-less diagnostic path."
|
|
],
|
|
"correctedTestFailure": {
|
|
"evidence": "tmp/mcp-whole-speed-workflow-owned-pg-v3-20261028.log",
|
|
"reason": "The fault injector omitted separate params in client.query(QueryConfig, params), so it did not recognize the history INSERT.",
|
|
"fix": "Use pg parameter precedence and assert exactly one observed real history COMMIT in every history case before claiming fault coverage.",
|
|
"runtimeBehaviorChangedForFaultInjection": false
|
|
},
|
|
"correctedTestCommand": {
|
|
"evidence": "tmp/mcp-speed-workflow-current-native-20261028.log",
|
|
"reason": "The native test npm script omitted --experimental-test-module-mocks required by the new managed-source test.",
|
|
"fix": "Use node --experimental-test-module-mocks --import tsx; rerun accepted all 62 tests."
|
|
},
|
|
"remaining": [
|
|
"Real Docker stop/restart operating acceptance requires its separately requested permission.",
|
|
"Held mapping fence and durable unknown writer state; independent actual-peer proof.",
|
|
"Run-ID durable conflict/replay protection before native dispatch, including concurrent and foreign runs.",
|
|
"Connect every REST, scheduled, manual and MCP caller to the shared workflow and common gate.",
|
|
"Public MCP speed plan/receipt actions, UI, restart/restore and two-CHR full speed acceptance."
|
|
]
|
|
}
|