Repository navigation
Description
Found by the epic #211 post-close behavioral audit (2026-07-14), measured with the compare-mcp-versions harness: real headless agent, strict MCP config, same v0.55.0 build, only SUMO_QA_OUTPUT_PROFILE differing, same QA-plan prompt, 2 runs per side.
Measured result
| Leg | Total tokens | Turns | Final answer |
|---|---|---|---|
| default, run 1 | 632,359 | 17 | 1,052 chars |
| default, run 2 | 462,998 | 11 | 775 chars |
| concise, run 1 | 1,252,142 | 24 | 4,153 chars |
| concise, run 2 | 867,275 | 20 | 1,437 chars |
Concise sessions cost roughly 2x and produced longer final answers. The #215 contract (and the overlay's own text) promises the shortest useful answer and reduced ceremony; the measured direction is opposite on both tokens and length. Confounds to carry, not hide: n=2, and both default legs stalled asking clarifying questions while reporting the sumo-qa tools unreachable (same binary, so not caused by the env var; needs its own look). Even setting the confound aside, there is zero evidence of a cost benefit.
Why the design cannot deliver the cost claim
The overlay PREPENDS instruction text to every served skill body, so every skill serve is strictly larger under concise. Session cost is dominated by tool traffic and turn count, which prepended prose does not reduce; in the measured runs the concise instruction increased turns (the agent powered through ambiguity and did more work instead of stopping to ask). A serve-time instruction cannot shrink what the server sends.
Observed side effect worth keeping (as data, not as an excuse)
Both concise legs completed the full deliverable (named risks, technique-mapped test table, assumptions) while both default legs stalled on clarifying questions. The overlay demonstrably changes behavior toward findings-over-process. That is a decisiveness effect, not a cost effect.
Acceptance criteria
- Decide the profile's honest purpose: (a) rework concise to actually reduce cost, e.g. serve a maintained condensed body per skill (a real token reduction at the serve boundary) instead of prepending instructions; or (b) re-spec and re-document concise as a decisiveness/low-ceremony profile with NO cost claim, updating CONFIGURATION/TOOLS/SKILLS/ARCHITECTURE and the overlay text.
- Whichever path: the claim made in docs is backed by a compare-mcp-versions run (runs >= 3 per side, fixed real-repo workspace so sessions are comparable), with the result recorded in the PR.
- docs/RELIABILITY-HARDENING.md row 2 is updated to the measured truth and links this issue.
- The default-leg anomaly (agent reporting sumo-qa tools unreachable on the same binary) is reproduced or ruled out, since it contaminates any A/B on this surface.
Context
- [Task]: Add configurable QA verbosity and strictness profiles #215 delivered the mechanism (merged PR feat(skill-serving): add configurable output verbosity/strictness profiles (#215) #471); its AC "small-change scenarios produce shorter output in concise mode" was left unchecked as host-behavioral, and this measurement resolves it NEGATIVE as shipped.
- Raw run artifacts: compare-mcp-versions JSON outputs from the 2026-07-14 audit session.
Activity
feat(profiles): add the lean profile serving the progressive route (#528
fix(profiles): budget the tool path in concise and drop its cost claim (
feat(profiles): add the lean profile serving the progressive route (#528
docs(profiles): describe the lean profile in SKILLS.md and ARCHITECTU…
fix(profiles): correct lean docs drift and the honest over-cap test (#…
docs(profiles): extend lean-accuracy fix to tool/resource descriptions (
docs(profiles): mention lean in the _profile_overlay docstring (#528)
docs(profiles): soften lean cost claim to match fresh AC2 verification (
sumithr commentedon Jul 20, 2026
Concluded as a negative result and removed in #556. Serve-time output profiles cannot reliably reduce the reply a host emits: a strong model, given a tightened reply contract and grounded input, still produced a full structured QA plan; a weak model ignored the instruction amid ~10x run-to-run variance (a conceptual Q&A even came out longer). A prepended brevity instruction loses to the model's task-completion drive. The effective levers for output length are host-side settings or fewer/structured turns, not a served overlay.
revert: remove the output-profile feature (#215/#471) as a negative r…
fix(deps-dev): update mutmut requirement from <3.8,>=3.7 to >=3.7,<3.9 (