\begin{table}[htbp] \centering \caption{Design rationale. Each mechanism is listed with the constant it uses at the audited commit, the property it is intended to secure, and the measurement in the protocol of Section~\ref{subsec:protocol} that would test it. No measurement has been made.} \label{tab:rationale} \begin{threeparttable} \footnotesize \begin{tabular}{@{}>{\raggedright\arraybackslash}p{3.4cm}>{\raggedright\arraybackslash}p{2.7cm}>{\raggedright\arraybackslash}p{4.3cm}>{\raggedright\arraybackslash}p{4.6cm}@{}} \toprule Mechanism & Constant & Intended property & Would be measured by \\ \midrule SSE streaming (\S\ref{subsec:transport}) & flush per event & perceived latency decoupled from total latency & time to first token vs.\ end-to-end latency \\ Recursive loop (\S\ref{subsec:loop}) & no depth bound & tool-use/tool-result pairing preserved across turns & protocol errors per 1{,}000 calls; recursion depth distribution \\ Batched execution (\S\ref{subsec:batching}) & 5 per batch; 500\,ms & bounded provider load without altering what the model sees & rate-limit errors and latency at batch sizes 1, 5, $\infty$ \\ Prompt routing (\S\ref{subsec:routing}) & 1--2 / 3--5 / 10+ tools & effort proportional to request complexity & tool-selection precision and recall by request class \\ Per-result truncation (\S\ref{subsec:context}) & 3{,}000 / 15{,}000 chars & verbose results do not crowd the window & accuracy loss on tasks whose answer lies past the cut \\ Re-send cap & 5{,}000 chars & re-sent history stays compact & input tokens per turn over 20-turn sessions \\ Adaptive summarisation & $\tau=10^{5}$; $k=5$ & coherence over long sessions & retention of planted facts after summarisation \\ Token correction (\S\ref{subsec:accounting}) & max(provider, local) & cost never understated for text & ledger vs.\ provider invoice over a month \\ Single-call convention (\S\ref{subsec:onecall}) & instruction only & one round trip per analysis & round trips and sandbox failure rate with vs.\ without the instruction \\ Process sandbox (\S\ref{subsec:sandbox}) & 90\,s; 150\,dpi & server isolated from code faults & crash containment under fault injection \\ Live-formula spreadsheets (\S\ref{subsec:docs}) & --- & deliverable carries its derivation & share of cells that are formulas \\ \bottomrule \end{tabular} \begin{tablenotes}[flushleft] \footnotesize \item \textit{Notes.} Constants are those of \path{server/routes.ts}, \path{server/services/claudeService.ts}, \path{server/services/claude/tokenManagement.ts}, and \path{server/services/python/var.ts} at commit \texttt{e2a148a}. \end{tablenotes} \end{threeparttable} \end{table}