Skip to content

Commit ef85bbc

Browse files
os-helpclaude
andauthored
docs(spec-tooling): fix stale attribution in check-driver-conformance FILTER_TEXT req 3 (#7228)
driver-mongodb's INVALID_FILTER arm was never "the last place a bare new Error escaped the ADR-0112 envelope" repo-wide -- objectql's having face (having-filter.ts) had two bare new Error returns escaping the same envelope until #7047 (edb4af0, PR #7161) closed them. Scope the claim to the DRIVER family (this gate's own case-set), which is checkable against the five driver refusals it actually covers, and keep the trailing note that having sat outside this gate's scope -- that gap is why two consecutive defects on that face (#5905, #7047) were found by hand-run censuses instead of CI. Prose-only change to one comment block; no case-set, gate logic, or exit code touched. --self-test and the real check both stay green. Fixes #7159 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0caf122 commit ef85bbc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/check-driver-conformance.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,10 @@ const CASE_SETS = [
335335
// Each site now prints `RETIRED_FILTER_OPERATORS[op].why` verbatim, so the
336336
// five refusals say one thing; driver-mongodb's `default:` arm was
337337
// additionally routed through its own `INVALID_FILTER` helper, which is the
338-
// `code` half the case-set requires and the last place a bare `new Error`
339-
// escaped the ADR-0112 envelope.
338+
// `code` half the case-set requires and the last bare `new Error` in the
339+
// DRIVER family (this gate's own scope, `packages/drivers/*`). The sixth
340+
// refusal face — objectql's `having` (`having-filter.ts`) — was outside
341+
// that scope and kept its bare `new Error` until #7047.
340342
//
341343
// ## AGGREGATION_CASES: two DEBT rows on arrival, and they are the same pair
342344
//

0 commit comments

Comments
 (0)