One of the axioms of a t-structure in a triangulated category is that any object $X$ can be embedded inm a distingueshed triangle $$ X_0\to X\to X_1\to^+ $$ The original work by Beilinson-Bernstein-Deligne seems to suggest that this decomposition can be chosen in a functorial way, but I'm not able to deduce why it should be true: in particular I'm trying to prove [KS], Prop 10.1.4.i, where it is claimed that the inclusion ${\bf D}^\le \to \bf D$ admits a right adjoint $T^{\le 0}$, which generalizes the definition of the truncation functor in ${\bf D}=D^b(\cal A)$, the derived category of $\cal A$ with the obvious $t$-structure.
Edit: A tentative proof goes like this (it was extremely simple!): suppose you have two ways to obtain natural (in $Y\in {\bf D}^\le$) isomorphisms $$ {\bf D}^\le (Y, X_0)\cong {\bf D}(Y,X) $$ and $$ {\bf D}^\le (Y, X_0')\cong {\bf D}(Y,X) $$ Now you simply compare the isomorphism ${\bf D}^\le (Y, X_0')\cong {\bf D}(Y,X)\cong {\bf D}^\le (Y, X_0)$ and conclude by Yoneda that there must be an isomoprhism $X_0\cong X_0'$. $\blacksquare$
Can you confirm that it is right?
[KS] : P. Schapira, M. Kashiwara, Sheaves on Manifolds, Grundlehren der Mathematischen Wissenschaften, 292, Berlin, New York: Springer-Verlag.