kev said:
[...] It seems that the twin that ages the most, is the one that does the short final burst of acceleration to come to rest in the other twin's rest frame.
No, it's the opposite. The twin who does the accelerating, WHEN THEIR SEPARATION IS NON-ZERO, will be the younger, after they are again stationary with respect to one another.
The initial acceleration by B (when their separation is zero) has no effect: you can reformate the problem as two unrelated newborns, who are moving at a constant speed with respect to one another, and who happened to be momentarily adjacent at the instant they are both born, with neither one accelerating then.
As the two twins initially move apart (say, at a relative speed of 0.866c, to give a simple value of gamma = 2), they EACH will (correctly) conclude that the other is ageing more slowly (by a factor of 2). They are BOTH correct. Neither can adopt any other conclusion, without contradicting their own elementary measurements.
So, given the complete symmetry of this initial phase, you can actually consider B to be "the home twin", and A is "the traveler". If you do that, you can apply the CADO equation that I gave earlier, to get their two conclusions about their corresponding ages at various instants.
Suppose that the traveler (A) is 10 years old at the instant that he accelerates (call it point P), and they were both zero years old when they were co-located at birth.
The home twin (B) concludes that she is 20 years old when the traveler accelerates at point P, so she concludes that their separation is 20 (0.866) = 17.32 lightyears.
The CADO equation then says that CADO_T immediately before the acceleration is
CADO_T = CADO_H - L*v/(c*c)
or
CADO_T = 20 - (17.32)(0.866) = 20 - 15 = 5 years old.
This is B's age right before the acceleration by A, according to A. So, right before A accelerates, B says she is 20, but A says she is 5. (And they both agree that A is 10 then).
Immediately after the acceleration, the CADO equation says
CADO_T = 20 - (17.32)(0) = 20 years old.
So now, the twins AGREE on their relative ages (as they always will whenever their relative speed is zero). They both agree that when A is 10 (immediately AFTER his acceleration), B is 20.
And thereafter, they both agree that their rates of ageing are equal, and that B is always 10 years older than A.