Skip to content

[Quality]: review-miss ledger #752

Open

Description

@sumithr

What was generic / wrong / missing?

A standing ledger, not a single defect. Each comment records one review miss (a real defect a stronger reviewer caught that the per-file sumo-qa-reviewing-before-merge pass did not) where the existing review lens already covered the case, or a careful reviewer applying the generic lens would have found it. Those misses are model variance, not gaps in the skill, so they are recorded here instead of each becoming its own issue.

Comment shape:

Category: <null-empty-boundary | contract-vs-implementation | doc-or-comment-drift | external-surface | config-or-dependency | state-or-ordering | security | test-adequacy | eval-validity | other>
Source: PR #<n>, caught by <codex | codex app | human | eval>
Missed: <file:line> - <one sentence: the defect>
Lens that covered it: <module / probe / principle that should have led the reviewer there>

Expected QA behavior

When a category reaches 3 comments that no issue has absorbed yet, one qa_output_quality issue is filed to strengthen the review for that category as a whole (the principle or lens, not one probe per incident). It links every comment it absorbs, and a reply here names it.

Misses where sumo-qa actively steered the review wrong (a mis-route, an exemption or gate that let the case through, wrong catalogue guidance, or no sumo-qa move at all) are not recorded here; they are filed as their own issue, or as a comment on an open issue that already names them.

Which skill produced the output?

sumo_qa_reviewing_before_merge

Files / change type (if shareable)

Any.

Were catalogues / standards loaded in the conversation?

Yes — relevant catalogues were loaded

Host and model

Claude Code + Claude Opus 5.5 (per-file review), codex as the adversarial second reviewer.

Other context

Stays open. Close only when the review-recall measurement replaces it.

Roadmap fields

Status: Backlog; Priority: P2; Size: XS; Order: 114; Depends on: none

Non-goals

  • Treating the ledger as implementation-ready pickup work.
  • Closing it before the measured review-recall workflow replaces it.

Activity

  1. added
    ux
    on Sep 29, 2026
  2. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: eval-validity. Absorbed by #759.

  3. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: contract-vs-implementation. Absorbed by #755.

  4. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: test-adequacy. Absorbed by #756.

  5. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: external-surface. Absorbed by #757.

  6. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: doc-or-comment-drift. Absorbed by #758.

  7. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: state-or-ordering. 2 of 3 toward promotion.

  8. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: other. 2 of 3 toward promotion.

  9. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: config-or-dependency. 2 of 3 toward promotion.

  10. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Backfill from the 2026-09-29 triage (epic #753). Category: null-empty-boundary. 1 of 3 toward promotion.

  11. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Category: state-or-ordering. PR #766 adds 3 entries (5 total with the backfill above): threshold reached, promoted in the next reply.

  12. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Category: security. PR #766 adds 3 entries (first in this category): threshold reached, promoted in the next reply.

  13. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Category: external-surface (absorbed by #757). PR #766 adds 1 entry.

    • Source: PR feat(external-skills): pin the Skills CLI and record immutable install provenance #766, caught by /code-review (codex usage limit), three rounds
      Missed: src/sumo_qa/external_skills.py (_parse_source) - the install trusted the Skills CLI to honour "#", but its own parser drops or reinterprets the ref for file://, non-.git hosts, tree/release/raw URLs, host rewrites and Azure ?version=, so a different commit could install than the one recorded
      Lens that covered it: external-contract module (behaviour of a tool the diff does not control, accepted on self-authored evidence)
  14. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Category: contract-vs-implementation (absorbed by #755). PR #766 adds 1 entry.

  15. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    Category: test-adequacy (absorbed by #756). PR #766 adds 1 entry.

    • Source: PR feat(external-skills): pin the Skills CLI and record immutable install provenance #766, caught by codex
      Missed: tests/test_external_skills_provenance.py (race tests) - the locked-retry tests passed against broken retries (stale result returned, verification skipped, errors swallowed) until surviving-skill and mismatched-record cases were added
      Lens that covered it: coverage-ledger (discriminating input); unproven-escalation
  16. 9 remaining items

  17. sumithr commented on Oct 1, 2026

    @sumithr
    OwnerAuthor

    PR #792 (issue #407, sumo-qa check) adds 7 entries. Every category below already has an open absorbing issue, so each entry is also recorded there; no new issue.

    Category: null-empty-boundary (absorbed by #771)
    Source: PR #792, caught by code-review
    Missed: src/sumo_qa/report_builder.py:220 - an unguarded Path(repo_map.project.root).resolve() raised ValueError on a corrupt repo-map whose root holds a NUL byte, so report/check exited 1 with a traceback.
    Lens that covered it: discovery-probes (adversarial pass over every runtime file the change composes) plus the null/empty boundary class.

    Category: config-or-dependency (absorbed by #776)
    Source: PR #792, caught by code-review
    Missed: src/sumo_qa/report_builder.py:351 (fix-round helper) - caught only OSError/ValueError; Path.resolve() raises RuntimeError on a symlink loop on Python 3.10 to 3.12, all in the CI matrix.
    Lens that covered it: discovery-probes "platform/OS branch ... each branch actually exercised" and the one-matrix-leg rule.

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #792, caught by code-review
    Missed: src/sumo_qa/server.py:388 - the NUL-root guard was applied to one of two callers of the same recorded-root comparison; the MCP fallback loader still crashed.
    Lens that covered it: discovery-probes (a defect on a shared path is a named risk) and fixing at the shared function.

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #792, caught by code-review
    Missed: src/sumo_qa/cli.py (_cmd_check human output) - warnings appeared only in JSON although the issue's AC says human and JSON are projections of the same result.
    Lens that covered it: acceptance-criteria module (each AC classified against evidence).

    Category: doc-or-comment-drift (absorbed by #758)
    Source: PR #792, caught by code-review
    Missed: docs/QA-REPORT.md "Gate CI on readiness" - the AC-mandated GitHub Actions example had no actions/checkout step; the section split "Generate it" from its MCP paragraphs; the text told users to commit a bundle whose head_sha names the commit CI checks out (impossible); next: lines undocumented.
    Lens that covered it: acceptance-criteria (the docs AC) and inventory-drift.

    Category: test-adequacy (absorbed by #756)
    Source: PR #792, caught by code-review
    Missed: tests/test_cli.py - the issue's focused-test list named a stale context bundle; only mismatched and unverifiable bundles were tested.
    Lens that covered it: acceptance-criteria (a supplied focused-test list is checked item by item) and coverage-ledger.

    Category: test-adequacy (absorbed by #756)
    Source: PR #792, caught by the self-review's discovery probes before code-review (recorded for completeness)
    Missed: tests/test_cli.py - failure-clause messages were asserted only as non-empty, and the invalid-repo-map and pass-with-stale-map corrective branches were untested.
    Lens that covered it: discovery-probes "weakened assertion (presence-only)".

  18. sumithr commented on Oct 2, 2026

    @sumithr
    OwnerAuthor

    PR #799 (issue #500) and PR #803 (issue #769) add 6 entries. Every category below already has an open absorbing issue (#756, #759, #757), so each entry is also recorded there; no new issue.

    Category: test-adequacy (absorbed by #756)
    Source: PR #799, caught by code-review (round 11)
    Missed: tests/test_server.py:676 - the copilot-instructions skill-list guard claimed, in its comment and in docs/DEVELOPMENT.md step 9, to read only "to the next heading", but the file has no later heading, so a matching bullet anywhere later in the file still satisfied it. The per-file review saw it and classed it as hardening, not a defect.
    Lens that covered it: root step 4 (each hit is a named risk, never a residual note) and the test-only-diff matcher-coverage check (enumerate the input shapes the guard must reject).

    Category: eval-validity (absorbed by #759)
    Source: PR #803, caught by code-review (round 5)
    Missed: tests/evals/promptfoo/skill-reviewing-before-merge-adversarial.yaml (~788) - a negative-control fixture's new ref handling could not check out a named non-default branch, while its required verdict was SAFE and its error text advertised branch names, so the control's verdict was wrong for its own behaviour.
    Lens that covered it: eval-validity check (iii) (a negative control must be a valid true negative for the behaviour it exercises), loaded on this review.

    Category: test-adequacy (absorbed by #756)
    Source: PR #803, caught by code-review (round 5)
    Missed: tests/test_external_skills_provenance.py:358 - rewriting an exact-set assertion into a subset check silently removed the only guard that GIT_CONFIG_PARAMETERS stays out of the drop list.
    Lens that covered it: test-only-diff matcher-coverage check (a loosened oracle drops the "must not contain" shape), loaded on this review.

    Category: eval-validity (absorbed by #759)
    Source: PR #803, caught by code-review (round 5)
    Missed: tests/evals/promptfoo/skill-reviewing-before-merge-adversarial.yaml (~948, ~963) - expected_shape said a rule was "pinned by" a fixture test that had become a superset check, and an anti-pattern penalised a true statement ("hand-built").
    Lens that covered it: eval-validity check (iv) (apply 2b to the rubric: what it credits and penalises must hold for the seed) and inventory-drift (a changed test still cited as pinning a rule), both loaded on this review.

    Category: external-surface (absorbed by #757)
    Source: PR #803, caught by code-review (round 5)
    Missed: knowledge/techniques.md:98 - stated that commit hooks under commit -a get an absolute GIT_INDEX_FILE; post-commit gets a relative one, so the claim about git was broader than the cases verified.
    Lens that covered it: generic external-surface lens (a claim about a tool the diff does not control is covered only by that tool, on each case). external-contract was not loaded: its trigger is a matcher or parser over external output, not a prose claim.

    Category: external-surface (absorbed by #757)
    Source: PR #803, caught by code-review (round 6, reproduced on git 2.54)
    Missed: tests/evals/promptfoo/skill-reviewing-before-merge-adversarial.yaml (~746) - the FAMILY expected_shape said the caller's HEAD moves and its hook re-fires when the ref resolves; that is false when the source shares a tracked path with the caller (checkout aborts). The review verified only the non-conflicting layout.
    Lens that covered it: generic external-surface lens plus equivalence partitioning over the tool's input layouts. Same trigger gap as the entry above: a rubric claim about git, not a matcher.

  19. sumithr commented on Oct 2, 2026

    @sumithr
    OwnerAuthor

    The 2026-10-02 work-ready-batch and finish-pr-batch (PR #811 for #806, #813 for #787, #814 for #732, #816 for #735, open PR #818 for #761) add 19 entries from 17 review misses. Every category below already has an open absorbing issue, so each entry is also recorded there; no promotion and no new issue. Each defect was fixed in its PR except the knowledge-pack entry, which PR #818 discloses as a known limitation.

    Category: config-or-dependency (absorbed by #776)
    Source: PR #811, caught by code-review
    Missed: src/sumo_qa/server.py (build_mcp_server) - the new SUMO_QA_MCP_PROFILE read changed the behaviour of every test that builds the server; with a profile exported in the shell, tests/test_server.py failed under core. The per-file reviews looked only at the changed files, not at the callers whose behaviour the new environment read changes.
    Lens that covered it: the inherited-environment probe added to reviewing-before-merge by PR #803, and #776's consumer sweep for a new config key

    Category: config-or-dependency (absorbed by #776)
    Source: PR #814, caught by code-review
    Missed: scripts/live_first_hop.py:229 - the child host inherited the full parent os.environ, so model-selection and SUMO_QA_* variables reached the host and the MCP server under test. Second miss of the same probe in this batch.
    Lens that covered it: the PR #803 inherited-environment probe

    Category: config-or-dependency (absorbed by #776)
    Source: PR #814 round 2, caught by code-review
    Missed: scripts/live_first_hop.py:90 - the environment allowlist that fixed the entry above dropped proxy, CA-bundle and cloud-backend variables, so the child could not reach the API behind a proxy or on Bedrock/Vertex.
    Lens that covered it: the PR #803 inherited-environment probe (what the child needs, not only what it must not get)

    Category: config-or-dependency (absorbed by #776)
    Source: PR #818, caught by code-review
    Missed: knowledge/classifications.md (executable-behaviour rule) - routing and review now cite the rule by name only, so a project or global knowledge pack that replaces classifications.md, including one ingested before this change, silently drops it. Disclosed in the PR body with no fallback or ingest warning.
    Lens that covered it: #776 (a consumer of the changed catalogue that the diff does not update is a named risk)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #811, caught by code-review
    Missed: src/sumo_qa/server.py:2061 - the sumoqa://skills resource was not filtered by profile, and its description named a tool the core profile does not serve.
    Lens that covered it: contract-and-fence-probes (the profile contract covers every served surface, not only tools/list)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #816, caught by code-review (the per-file TDD reviewer mentioned it only as a wishlist item)
    Missed: .claude/skills/scaffold-sumo-qa-skill/scripts/scaffold.py:97 - the scaffold template still emitted the announce line that the PR removed from every SKILL.md.
    Lens that covered it: inventory-drift generated-artifact rule (when every instance of a pattern is removed, find its generator)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #818, caught by code-review
    Missed: knowledge/approaches.md:35 - the verify-existing entry was not updated to back the new routing, and the reviewing-before-merge root SKILL.md routing table kept the path wording.
    Lens that covered it: contract-vs-implementation (when a rule moves, check every consumer's text, not only the edited files)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #811, caught by code-review
    Missed: src/sumo_qa/doctor.py - the handshake probe and the vscode_workspace_config check read the same .vscode/mcp.json with different readers and expansion, so they judged one entry differently.
    Lens that covered it: contract-vs-implementation (two readers of one file must share one resolver)

    Category: external-surface (absorbed by #757)
    Source: PR #811, caught by code-review (also reproduced against the real CLI by a per-file reviewer)
    Missed: src/sumo_qa/installer.py (Claude Code registration) - re-registering through claude mcp add dropped the entry's env, and the fix's own test mocked the subprocess and asserted a file Claude Code does not read, so it passed.
    Lens that covered it: external-contract module (coverage must come from the store the real tool reads, not a mock)

    Category: external-surface (absorbed by #757)
    Source: PR #814 and PR #811, caught by the Windows CI jobs
    Missed: scripts/live_first_hop.py (run_host) and tests - captures written in text mode turned CRLF into CR CR LF, a Python 3.10 child could not start without SYSTEMROOT, Windows paths went into regexes unescaped, and #811 tests wrote under %APPDATA%. No per-file review raised a Windows path.
    Lens that covered it: discovery-probes platform/OS-branch rule

    Category: external-surface (absorbed by #757)
    Source: PR #811 round 4, caught by the Windows CI jobs after a SAFE delta review
    Missed: tests/test_doctor.py - an expanded ${workspaceFolder}/bin/sumo-qa command was compared to a backslash path as a string. Second Windows-only miss in this batch.
    Lens that covered it: discovery-probes platform/OS-branch rule

    Category: eval-validity (absorbed by #759)
    Source: PR #814, caught by code-review
    Missed: scripts/live_first_hop.py:116 - a usage-limit stop or other non-success outcome was scored as a routing result; the repo's claude_cli.py provider already detects usage limits.
    Lens that covered it: eval-validity module (an invalid run must not score)

    Category: eval-validity (absorbed by #759)
    Source: PR #814, caught by code-review
    Missed: scripts/live_first_hop.py (run_host, --only) - each run's stderr and exit code were dropped, and an --only filter matching nothing exited 0, so a run with no signal looked like a pass.
    Lens that covered it: eval-validity module

    Category: eval-validity (absorbed by #759)
    Source: PR #814 round 2, caught by code-review
    Missed: scripts/live_first_hop.py:417 - the write guard passed only when the guard run itself was fully valid, so a guard run that ended non-success stopped the harness even though nothing was written and MCP was connected.
    Lens that covered it: eval-validity module (the guard's verdict must rest on what it measures)

    Category: eval-validity (absorbed by #759)
    Source: PR #814 round 2, caught by code-review
    Missed: scripts/live_first_hop.py:228 - pre-approved sumo-qa tools came from the current checkout's tools/list snapshot, not from the build under test.
    Lens that covered it: eval-validity module (measure the build under test)

    Category: state-or-ordering (absorbed by #767)
    Source: PR #813, caught by code-review (the per-file test.yml review caught the timeouts; the .pre-commit-config.yaml review said SAFE on parallel hazards)
    Missed: .pre-commit-config.yaml / .github/workflows/test.yml - running the suite under pytest-xdist -n auto broke 10s subprocess timeouts, wall-clock asserts and Hypothesis deadlines, and re-ran module-scoped fixtures per worker (a wheel build into the shared source tree).
    Lens that covered it: #767 interleaving lens; discovery-probes shared-state probe

    Category: doc-or-comment-drift (absorbed by #758)
    Source: PR #813, caught by code-review
    Missed: tests/test_mutmut_subprocess_exclusions.py - classifier comments carried change history ("Generalised from the old .ingest-only allow-list") instead of the current rule, against this repo's rule that comments state current state only.
    Lens that covered it: inventory-drift (comment accuracy against the code it describes)

    Category: test-adequacy (absorbed by #756)
    Source: PR #818 round 2, caught by eval (executable-scope fence control 2 of 5 failing, then a main-vs-branch A/B)
    Missed: skills/sumo-qa-reviewing-before-merge/modules/test-only-diff.md - widening the step-9 probe to every ordinary test beside a helper kept the "Discriminates broken->fixed?" label and a YES example that reads as "must be red before the fix", so edge-case guards that pass on HEAD~1 became SAFE blockers. Neither per-file nor code-review of that delta flagged it.
    Lens that covered it: test-adequacy (when a probe's scope widens, re-check every label against the inputs it newly covers)

    Category: security (absorbed by #768)
    Source: PR #814, caught by code-review
    Missed: scripts/live_first_hop.py:226 - --allowedTools pre-approved the install and execute external-skill tools, so the unattended child host could install and run third-party skills with no human gate.
    Lens that covered it: #768 (a diff that materialises third-party content on disk loads security-relevance)

  20. sumithr commented on Oct 3, 2026

    @sumithr
    OwnerAuthor

    Category: state-or-ordering
    Source: PR #813, caught by external_ci (main test.yml run 37072593767 after merge; fixed in #824 for #823)
    Missed: tests/test_plugin_packaging_generator.py:32 and tests/test_plugin_packaging_schema_validation.py:29 - the repo-mirror copytree fixtures read .hypothesis/tmp, which parallel xdist workers create and delete, so the copy fails intermittently once the suite runs under -n auto
    Lens that covered it: parallel/shared-state hazards when introducing concurrency (#767); per-file review, /code-review, the batch integration check and three green CI runs all missed it because it is timing-dependent

  21. sumithr commented on Oct 3, 2026

    @sumithr
    OwnerAuthor

    Category: test-adequacy
    Source: branch feat/issue-807-capability-discovery-profiles (PR for #807), caught by code-review
    Missed: tests/test_capabilities.py (500-token bound test) - the bound was measured on a compact re-serialisation, while the server sent indented JSON, so the bound covered a form no host ever received.
    Lens that covered it: feature-flow (primary flow exercised end-to-end), coverage-ledger (the test must assert at the failure mode)

    Category: contract-vs-implementation
    Source: branch feat/issue-807-capability-discovery-profiles, caught by code-review
    Missed: skills/sumo-qa-suggesting-external-skill/SKILL.md:14 - the "never silently falls back" acceptance criterion held only on the server routes; the host-local skill copy (~/.claude/skills) still let a core-profile host fall back with no activation path. The self-review recorded this as a deferred residual instead of an unmet criterion.
    Lens that covered it: acceptance-criteria (an UNMET criterion is a SAFE-blocker, not a residual), discovery-probes (discovery to verdict)

    Category: contract-vs-implementation
    Source: branch feat/issue-807-capability-discovery-profiles, caught by code-review
    Missed: src/sumo_qa/capabilities.py (workflows list) - under core, capabilities still advertised the external-skill workflow as runnable while reporting its group unavailable.
    Lens that covered it: discovery-probes (contract vs implementation)

    Category: external-surface
    Source: branch feat/issue-807-capability-discovery-profiles, caught by code-review (rounds 2-4, on fix deltas)
    Missed: skills/sumo-qa-suggesting-external-skill/SKILL.md:14 - a "tool not in your tool list" trigger misfired across host shapes: the no-tools eval candidate, hosts that defer MCP tools behind a tool search, and a core host that never makes a call. The sumo-qa review was not re-run on those fix deltas.
    Lens that covered it: surface-verifier (skill or eval change), external-contract

    Category: doc-or-comment-drift
    Source: branch feat/issue-807-capability-discovery-profiles, caught by code-review
    Missed: docs/CONFIGURATION.md, docs/TOOLS.md, src/sumo_qa/tool_registry.py docstring, tests/test_skill_tool_crossref.py comment - wording about which list the external workflow appears in, and the capabilities return shape, went stale after the fixes.
    Lens that covered it: inventory-drift

  22. sumithr commented on Oct 3, 2026

    @sumithr
    OwnerAuthor

    The five entries in #752 (comment) go to the open category issues, so no new issue is needed: test-adequacy to #756, contract-vs-implementation (2) to #755, external-surface to #757, doc-or-comment-drift to #758.

  23. sumithr commented on Oct 4, 2026

    @sumithr
    OwnerAuthor

    PR #839 (#796) adds 15 entries. Every category except other already has an open absorbing issue, so each entry is also recorded there. All defects were fixed in the PR.

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #839, caught by code-review
    Missed: tests/evals/promptfoo/providers/claude_cli.py:82 - the retry path's error result dropped the first call's tokenUsage and cost, so the report under-counted spend
    Lens that covered it: contract-and-fence-probes (the cost report's contract covers every call made, on every exit path)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/evals/promptfoo/providers/claude_cli.py:97 - _spent dropped an errored call's usage
    Lens that covered it: contract-and-fence-probes (same contract, error path)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/evals/promptfoo/providers/claude_cli.py:200 - a reply echoing the rubric's own format template now errored after the fix
    Lens that covered it: discovery-probes (re-run on the fix delta: what did the fix newly reject)

    Category: security (absorbed by #768)
    Source: PR #839, caught by code-review
    Missed: tests/evals/promptfoo/providers/claude_cli.py:163 - _keep scrubbed the home path from the kept file but returned the absolute path into the error and report
    Lens that covered it: security-relevance (a redaction control must hold on every output that carries the value)

    Category: security (absorbed by #768)
    Source: PR #839, caught by code-review
    Missed: tests/evals/promptfoo/providers/claude_cli.py:63 - _SECRET re-implemented a weaker copy of the secret patterns in feedback_memory.py, so tokens the existing patterns catch went through unredacted
    Lens that covered it: security-relevance (secrets) and the reuse check (an existing helper already does this)

    Category: security (absorbed by #768)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/evals/promptfoo/providers/claude_cli.py:117 - a console excerpt was printed without redaction
    Lens that covered it: security-relevance (secrets)

    Category: test-adequacy (absorbed by #756)
    Source: PR #839, caught by code-review
    Missed: tests/test_claude_cli_provider.py:43 - monkeypatch.setattr(..., raising=False) silently no-ops if the patched name is renamed, so the test would pass against nothing
    Lens that covered it: test-only-diff discriminator probe (is the guard armed)

    Category: external-surface (absorbed by #757)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/test_claude_cli_provider.py:485 - the home-redaction test did not cover Windows Path.home() resolving from USERPROFILE
    Lens that covered it: discovery-probes platform/OS-branch rule (each branch actually exercised)

    Category: external-surface (absorbed by #757)
    Source: PR #839, caught by the Windows CI jobs
    Missed: tests/test_claude_cli_provider.py - tmp_path under the home directory and POSIX literal paths failed only on Windows; every reviewer read the tests on macOS
    Lens that covered it: discovery-probes platform/OS-branch rule

    Category: null-empty-boundary (absorbed by #771)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/evals/promptfoo/providers/claude_cli.py:209 - the verdict dedupe keyed on serialized JSON, so "score": 1 and "score": 1.0 counted as two different verdicts and an unambiguous reply was refused
    Lens that covered it: equivalence partitioning (equivalent representations of one value are one class)

    Category: null-empty-boundary (absorbed by #771)
    Source: PR #839, caught by code-review (round 2, fix delta)
    Missed: tests/evals/promptfoo/providers/claude_cli.py:187 - with HOME=/ the home-path substring replace rewrote every path separator
    Lens that covered it: discovery-probes boundary/degenerate-value sweep

    Category: other
    Source: PR #839 (#796), caught by the implementing worker's gap note
    Missed: technique catalogue - real-capture fixtures for external-output matchers has no move for a capture that can no longer be made (the failing judge replies survived only as 400-character excerpts); the worker built fixtures from the real replies it had plus the failure shapes, which was sufficient
    Lens that covered it: real-capture fixtures for external-output matchers

  24. sumithr commented on Oct 4, 2026

    @sumithr
    OwnerAuthor

    PR #834 (#821) adds 3 entries. Fixed in the PR.

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #834, caught by code-review
    Missed: src/sumo_qa/server_schemas.py - the tool's scope description said "searched" where the implementation reports what was requested
    Lens that covered it: contract-and-fence-probes (served schema text is a contract checked against the implementation)

    Category: doc-or-comment-drift (absorbed by #758)
    Source: PR #834, caught by code-review
    Missed: skills/sumo-qa-suggesting-external-skill/SKILL.md:29 - the rewritten line used an em-dash, against the repo's no-em-dash rule for user-facing text
    Lens that covered it: inventory-drift (text checked against the repo's stated rules); the em-dash checker does not scan skills/

    Category: other
    Source: PR #834 (#821), caught by the implementing worker's gap note
    Missed: technique catalogue - no technique names "assert the serialized MCP result at the protocol boundary" (the wire contract a host receives, not the Python return value); the worker fell back to the nearest fit
    Lens that covered it: real-capture fixtures for external-output matchers; generic contract-vs-implementation lens

  25. sumithr commented on Oct 4, 2026

    @sumithr
    OwnerAuthor

    PR #838 (#518) adds 4 entries. Three further release.yml misses (unhashed pip in the signing job, publish uploading an unverified dist artifact, an unused artifact-metadata permission) are recorded on #762 instead: CI pipeline changes have no classification or rule payload yet. Fixed in the PR.

    Category: security (absorbed by #768)
    Source: PR #838, caught by code-review
    Missed: .github/SECURITY.md (verifying a release) - the gh attestation verify instruction for workflow_dispatch builds had no --source-ref, so an attestation from another ref would verify
    Lens that covered it: security-relevance (a verification instruction must bind what it verifies)

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #838, caught by code-review
    Missed: .github/workflows/release.yml (SBOM job) - the SBOM was described as covering the release while it was generated from one platform's install
    Lens that covered it: generic contract-vs-implementation lens (a claim checked against what the job produces)

    Category: null-empty-boundary (absorbed by #771)
    Source: PR #838, caught by code-review
    Missed: scripts/release_evidence.py - a null field in the evidence input crashed instead of producing the documented error
    Lens that covered it: discovery-probes boundary/malformed-input sweep

    Category: other
    Source: PR #838 (#518), caught by the implementing worker's gap note
    Missed: technique catalogue - no technique for supply-chain / provenance verification (attestations, digest manifests, verify-before-publish); the worker fell back to the nearest fit
    Lens that covered it: build artifact contents verification

  26. sumithr commented on Oct 4, 2026

    @sumithr
    OwnerAuthor

    PR #836 (#809) adds 6 entries. Fixed in the PR.

    Category: config-or-dependency (absorbed by #776)
    Source: PR #836, caught by code-review
    Missed: src/sumo_qa/doctor.py (claude-desktop probe) - the probe kept the shell's XDG_DATA_HOME, so it checked a different location from the one it reports on
    Lens that covered it: the PR #803 inherited-environment probe; #776 consumer sweep

    Category: contract-vs-implementation (absorbed by #755)
    Source: PR #836, caught by code-review
    Missed: src/sumo_qa/installer.py - --uninstall with --profile silently ignored the profile, and an environment override of the saved profile gave no warning
    Lens that covered it: contract-and-fence-probes (documented flag contract vs implementation)

    Category: state-or-ordering (absorbed by #767)
    Source: PR #836, caught by code-review (the per-file installer.py review said SAFE)
    Missed: src/sumo_qa/installer.py (profile write) - the saved profile was written in place, not atomically, so an interrupted write leaves a truncated file every launch path reads
    Lens that covered it: discovery-probes write/persist path ordering and partial failure

    Category: state-or-ordering (absorbed by #767)
    Source: PR #836, caught by code-review (the per-file review listed it as a wishlist item)
    Missed: tests/conftest.py and scripts/regen_tools_list_snapshot.py - temp files and directories leaked on exit
    Lens that covered it: discovery-probes teardown probe; root step 4 (each hit is a named risk, never a residual note)

    Category: external-surface (absorbed by #757)
    Source: PR #836, caught by chatgpt-codex-connector (P2)
    Missed: src/sumo_qa/paths.py:29 - _windows_global_root ignored the supplied env for the home fallback; every per-file and code-review round ran on macOS and only read the Windows branch
    Lens that covered it: discovery-probes platform/OS-branch rule (env threading must hold on every platform branch)

    Category: other
    Source: PR #836 (#809), caught by the implementing worker's gap note
    Missed: technique catalogue - no technique for launch-path parity (the same setting honoured by every entry point, proven by a real-process smoke matrix); the worker fell back to the nearest fit
    Lens that covered it: hermetic subprocess environment; equivalence partitioning over launch paths

  27. sumithr commented on Oct 4, 2026

    @sumithr
    OwnerAuthor

    Promotion: other holds 8 unabsorbed entries (4 earlier: #430, #584, the #751 technique gap, the #493 taxonomy-label leak; 4 above). The five technique-catalogue entries share one lens and are absorbed by #844: the #751 entry (#752 (comment)) and the four above (#752 (comment), #752 (comment), #752 (comment), #752 (comment)). The remaining three (#430, #584, #493 leak) share no lens and stay unabsorbed.

  28. sumithr commented on Oct 5, 2026

    @sumithr
    OwnerAuthor

    Backfill for PR #845 (#520). Each entry is one miss.

    Category: security (absorbed by #768)
    Source: PR #845, caught by chatgpt-codex-connector
    Missed: src/sumo_qa/external_skills.py _content_entries - the approved content digest ignored the executable bit, so a file made executable after the preview still matched the approval
    Lens that covered it: security-relevance (an integrity binding must cover every attribute that changes behaviour)

    Category: state-or-ordering (absorbed by #767)
    Source: PR #845, caught by chatgpt-codex-connector
    Missed: src/sumo_qa/external_skills.py _roll_back - an update that failed post-install validation deleted the rewritten folder instead of restoring the previous version, leaving the unchanged lock pointing at nothing
    Lens that covered it: error-handling and data-loss probes (what state does each failure path leave behind)

    Category: external-surface (absorbed by #757)
    Source: PR #845, caught by code-review (regression check on a fix delta)
    Missed: src/sumo_qa/external_skills.py _content_entries - the digest added an executable entry only off Windows, so a digest recorded on macOS or Linux could never be reproduced on Windows
    Lens that covered it: discovery-probes platform/OS-branch rule

    Category: external-surface (absorbed by #757)
    Source: PR #845, caught by code-review (regression check on a fix delta)
    Missed: src/sumo_qa/external_skills.py _provenance_records - a record written on Windows stored an empty executable list that POSIX then enforced
    Lens that covered it: discovery-probes platform/OS-branch rule

    Category: null-empty-boundary (absorbed by #771)
    Source: PR #845, caught by code-review (regression check on a fix delta)
    Missed: src/sumo_qa/external_skills.py lint line split - splitting on newline only turned a CR-only file into one line and produced false critical findings
    Lens that covered it: equivalence partitioning (every line-ending convention is its own input class)

    Category: state-or-ordering (absorbed by #767)
    Source: PR #845, caught by code-review
    Missed: src/sumo_qa/external_skills.py _install - the folder states shown in the approval prompt were not compared again under the write guard, so a change made while the prompt was open was overwritten
    Lens that covered it: state-or-ordering (check-then-act across a user wait)

    Category: other
    Source: PR #845, caught by code-review on fix deltas (rounds 9 to 11)
    Missed: src/sumo_qa/external_skills.py - five regressions were introduced by review fixes: a non-blocking lint cap, a rollback refusal under a symlinked skill root, an over-wide backup set, a CR-only false positive and a prompt reorder that hid higher findings. The delta review of each fix ran as an open-ended bypass hunt, not as a regression check against main.
    Lens that covered it: reviewing-before-merge regression scope (a fix delta is reviewed for what it breaks against the last good state)

  29. sumithr commented on Oct 5, 2026

    @sumithr
    OwnerAuthor

    Category: contract-vs-implementation
    Source: issue #808 branch (PR pending), caught by code-review
    Missed: src/sumo_qa/server.py record_coverage / record_mutation descriptions - said write_to is "inside root"; _resolve_artifact_target confines only a relative path, so an absolute one is accepted anywhere
    Lens that covered it: contract-and-fence-probes (declared contract vs actual signature and paths)

    Category: contract-vs-implementation
    Source: issue #808 branch (PR pending), caught by code-review
    Missed: src/sumo_qa/server.py analyze_diff_impact description - "else a live scan saved there", which is false with artifact_path=None and for an artifact from a different project root
    Lens that covered it: contract-and-fence-probes (declared contract vs actual)

    Category: contract-vs-implementation
    Source: issue #808 branch (PR pending), caught by code-review (round 2)
    Missed: src/sumo_qa/server.py register_known_good_test_data description - "overlapping scenarios" understated _find_duplicate, which needs both scenario_tags and known_valid_for to overlap
    Lens that covered it: contract-and-fence-probes (declared contract vs actual)

    Category: external-surface
    Source: issue #808 branch (PR pending), caught by code-review
    Missed: src/sumo_qa/server.py format_qa_scorecard / format_context_bundle / record_* / register descriptions - trimming dropped the allowed values (evidence_status, residual, freshness, confidence) for untyped dict arguments, where the description is the only schema a host sees
    Lens that covered it: api_contract_change rules (consumer impact, schema validation)

    Category: test-adequacy
    Source: issue #808 branch (PR pending), caught by code-review (round 2)
    Missed: tests/test_server_format_qa_scorecard_tool.py - a per-value value in desc check could not fail for "stale", "accepted" or "blocker", which also appear in other phrases of the description
    Lens that covered it: discovery-probes (weakened assertion: would it still pass if the contract were removed?)

    These fall under the open lens issues #755 (contract-vs-implementation), #757 (external-surface) and #756 (test-adequacy). All were fixed on the branch.

  30. sumithr commented on Oct 5, 2026

    @sumithr
    OwnerAuthor

    Category: contract-vs-implementation
    Source: PR #854, caught by eval (real-surface haiku run in /finish-pr 4.7: 3 of 3 first captures failed validation on the branch, 2 of 2 succeeded on main)
    Missed: src/sumo_qa/server.py:978 - the trimmed sumo_qa_capture_review_feedback description listed scope as an entry key and then described the top-level scope argument, so a host passed scope only at the top level and _validate_entry rejected every first capture
    Lens that covered it: contract vs implementation (risk 2 named in the review prompt: "a description dropped an argument contract a host needs"); the per-file review checked the wording against feedback_memory.py but not how a host would read it

  31. sumithr commented on Oct 5, 2026

    @sumithr
    OwnerAuthor

    Category: contract-vs-implementation
    Source: PR #854, caught by a second per-file sumo-qa-reviewing-before-merge pass on the same file (the first pass on 86d6261 reported the rules as preserved)
    Missed: src/sumo_qa/server.py:984 - the confirmation rule was narrowed from "NEVER persist without explicit user confirmation" to "A capture needs the user's explicit confirmation", dropping it for update and delete, which also persist and which the tool does not gate itself
    Lens that covered it: risk 3 named in the review prompt ("safety rules dropped (review-feedback confirmation/rejection rules)"); an old-vs-new comparison of the rule's scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: laterux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions