Repository navigation
docs: add the tracked reliability-hardening control matrix (#211) - #502
Merged
Merged
Conversation
This was referenced Jul 13, 2026
sumithr
added a commit
that referenced
this pull request
Jul 13, 2026
🤖 I have created a release *beep* *boop* --- ## [0.55.1](v0.55.0...v0.55.1) (2026-07-13) ### Documentation * add the tracked reliability-hardening control matrix ([#211](#211)) ([#502](#502)) ([a5f0ea0](a5f0ea0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
sumithr
added a commit
that referenced
this pull request
Jul 20, 2026
…esult (#556) ## What Reverts commit `577527e` (PR #471, issue #215): the `SUMO_QA_OUTPUT_PROFILE` output-profile feature. This is a documented **negative result**, not a bug fix. The feature is removed entirely: the `concise`/`strict` serve-time overlays, the `SUMO_QA_OUTPUT_PROFILE` env var, `_CONCISE_OVERLAY` / `_STRICT_OVERLAY` / `_NEVER_OPTIONAL` / `_resolve_output_profile` / `_profile_overlay`, the profile test suite, and the profile documentation across `CONFIGURATION.md`, `TOOLS.md`, `SKILLS.md`, `ARCHITECTURE.md`. Skill serving returns to the pre-#215 behavior: each `SKILL.md` body served byte-for-byte. ## Why The output profiles were meant to let a user tune how much output they get, so a small change would not bury them in a full QA audit. Measurement under the #528 investigation showed a serve-time prompt overlay **cannot reliably do that**: - On a **strong model**, given a tightened reply contract and grounded input, the model still produced a full structured QA plan. The task-completion drive overrides a prepended "be brief". - On a **weak model**, the instruction was ignored amid ~10x run-to-run variance; the aggregate showed no reliable reduction (and a conceptual Q&A came out longer). A serve-time overlay is a prepended instruction; it loses the tug-of-war with the skill body and the model's drive to complete the task. Rather than keep a knob that does not do its job, the feature is removed. If reply length must be controlled, the effective levers are host-side (the host's own output settings) or fewer, more structured turns, not a served overlay. ## What is kept (deliberately, verified independent of profiles) - **#393 over-cap progressive-loading pointer.** Load-bearing without profiles: `sumo-qa-reviewing-before-merge` is ~18,141 tokens, over the 12,000 per-response cap, so its tool call would fail opaquely without the pointer that redirects the host to load it in slices. - **#476 conformance capture-wrapping.** `maybe_capture` records every skill-tool call for a `SUMO_QA_DEBUG_DIR` conformance capture (#214); no profile logic touches it. - The progressive-loading loader (`sumo_qa_load_skill_context`, `sumoqa://` resources) stays as the fallback the #393 pointer redirects to. ## Docs The single-commit revert cannot reach references added by later PRs, so one was fixed by hand: the epic #211 "verbosity fatigue" control row in `RELIABILITY-HARDENING.md` (added by #502) is rewritten from "mitigated by profiles" to an honest negative result (control tried, measured, reverted; residual: verbosity left to the host). ## Regression - `ruff check` + `mypy` clean (74 source files). - Full suite green, **100% coverage** (`skill_prompts.py` 106 -> 75 statements). CI matrix green on the final head `f3c6386`; scoped mutation gate green. ## Review Codex (bot) raised a P2 on the byte-for-byte serving contract: the reverted body-match test used a weak `in` (contains) assertion that would accept a reintroduced overlay wrapper. Fixed in `f3c6386` - restored exact equality (`bodies[tool_name] == expected_text`) and added `test_output_profile_env_is_inert_after_revert`, which asserts `SUMO_QA_OUTPUT_PROFILE` (concise/strict/lean/nonsense) leaves the served body byte-identical, guarding against a silent reintroduction. Thread resolved. ## Supersedes / closes Closes #528 (the re-scope investigation, concluded as this negative result) and #536 (cost follow-up on the wrong framing). Supersedes PR #535 (the concise re-scope), now closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #211.
What
Adds the tracked reliability-hardening control matrix the epic requires (
docs/RELIABILITY-HARDENING.md), replacing the gitignored local draft as shipped evidence, plus its README docs-index line.For each of the four weaknesses (prompt dependence, verbosity fatigue, enforcement uncertainty, shallow static analysis) the matrix records: the merged control and owning issue/PR, exact code/test/eval/doc evidence, the backward-compatible default, the accepted residual limit, and follow-up issues. Each row is classified mitigated or intentionally bounded so a maintainer can rerun the original four-risk analysis against main.
Evidence