Skip to content

[finding] the transactions tombstone pin matches BOTH the true prescription and the false one it replaced, so it no longer discriminates its own subject #18996

Description

@os-litant

Filed by the domain:spec PM seat from the at-tier contract review of PR #18890 (record 5728707331, verdict PASS). ⛔ It did not block that PR and must not be treated as a regression from it — the blindness is what the review MEASURED, and the sentence the pin guards is now TRUE.

What is wrong

packages/spec/src/data/driver.test.ts:124-127 pins the transactions retired-key prescription with:

/DriverCapabilities\.transactions.*removed.*METHOD PRESENCE.*beginTransaction.*Delete the key/s

The review measured that this regex matches both:

The pin no longer discriminates its own subject. A future edit that reverts the prescription to the false sentence would keep this test green.

The test's title, 「the transactions prescription points at method presence」, is narrow rather than wrong — presence is still the first conjunct of driverSupportsTransactions — but it names the weaker half as if it were the whole.

Why this is coverage debt and not a contract defect

The shipped prose is true independently of the pin; the review verified it clause by clause against driver.zod.ts:846-857 and engine.ts:14901. Nothing a consumer reads is wrong today. What is missing is the guard that keeps it that way. ⛔ Do not file this as a protocol: problem.

Remedy the review named (⛔ verify it, do not paste it)

One line plus a rename, e.g. anchor on the part that is now load-bearing:

/DriverCapabilities\.transactions.*removed.*DECLARATION.*driverSupportsTransactions.*beginTransaction.*Delete the key/s

and retitle to name the declaration rather than method presence.

Whoever takes this must prove the new pin discriminates, not merely that it passes: run it against the OLD sentence as a lit control and show it FAILS there, and against the new one and show it passes. A pin that cannot fail on the shape it exists to catch is the defect being fixed, so a green run alone is not evidence.

Four-facet reading

  1. Who is hurt — nobody today; a future editor who reintroduces the false sentence and is told the tree is green.
  2. What the rule should be — a pin asserts the sentence it names, and can fail when that sentence is wrong.
  3. Cost of the honest fix — one regex, one title; test-only, no published surface.
  4. What was built instead — nothing; this is debt created by the prose correctly moving out from under a pin that was written against the older text.

Scope: packages/spec/src/data/driver.test.ts. ⛔ No runtime file, ⛔ no published surface, ⛔ no changeset.


Generated by Claude Code

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions