Equation of the circle will be
(x−0)2+(y−0)2+k(y−x)=0
⇒S1≡x2+y2+k(y−x)=0
S2≡x2+y2+6x+8y−7=0
The common chord will be
S2−S1=0
⇒6x+8y−7−k(y−x)=0
So, the line is of the form P+λQ=0 which always passes through the point of intersection P=0; Q=0
6x+8y−7=0 ⋯(1)y=x ⋯(2)
From (1) and (2),
x=12=a, y=12=b
Hence, a+b=1