This is not a relativity question; it is an elementary math question!
The reason it's not a relativity question is that you're asking what happens in just one frame (namely the one you call "ours"). Relativity is for predicting how measurements in one frame relate to measurements in another.
So: There are forces acting on both ends of the box causing it to decelerate. The new length could be anything depending on the nature of those forces. They might cause the box to stretch, or they might cause it to squish. To determine what happens, you need to specify the time path of the acceleration at the left and right ends of the box.
Say that the acceleration of the left and right ends are given by $a_L(t)$ and $a_R(t)$ at time $t$, where $t$ ranges from (say) $0$ to $1$. At time $0$, the distance between the left and right ends is (by your assumption) 1 light second. Now use calculus to compute the distance at time 1.
For example, if $a_L$ and $a_R$ are the same function, then the box length (quite obviously) cannot change at all.
Change the functions $a_L$ and $a_R$, and you'll get a different answer.
If you did everything in another frame, you'd have to use different acceleration functions. In particular, if $a_L$ and $a_R$ are the same function (so that the box length doesn't change during deceleration in your frame) then in another frame they will typically NOT be the same function (because in the other frame, one end of the box will start moving before the other). But you can bypass those computations, because relativity predicts the new length of the box in the other frame, which must turn out to be (in your example) .866 times whatever the new length is in our own frame.
But your question is only about our own frame, where the question comes down to: A box of given length is moving. It decelerates. What is its new length? And the answer comes down to: How does the left side decelerate? How does the right side decelerate? Make your assumptions and calculus gives you the answer.