Repository navigation
Commit cc83d5c
committed
fix(objectql): keep the tracker id out of the door's refusal message
`pnpm check:doc-authoring` exited 1 on 438d918. The gate's own site
list, verbatim:
✗ NEW internal issue-id reference(s) in sibling-package string prose:
packages/objectql/src/text-operator-declared-type-door.ts #14079 (0 pinned, 1 measured)
:265 'this door the predicate is answered by the declared no-match rule (#14079) — a positive '
One site, one id, in the refusal message this door hands the caller. The
message reaches authors, operators and generated surfaces, none of whom
can resolve a tracker id; the rule's own words are 「处理 issue 时犯的错应
该总结成经验,保留 issue id 没有意义」. The sentence already carries the
lesson — a positive text operator matches no row and $notContains matches
every row — so the id is dropped from the string and moved to an adjacent
`//` comment for the source reader who CAN resolve it. The module docblock
keeps its references, which the gate does not read as runtime prose.
The baseline file is untouched: an entry there is maintainer-only and
would have weakened a ratchet to buy green.
Measured, redirect-then-$?: exit 1 before, exit 0 after. The door suite
still passes 22/22 — no pin asserted that id (`mustMention` carries the
key, the declared type and the operator, none of which moved).
Claude-Session: https://claude.ai/code/session_01XTBcV7zZHmokdyQgXjbyEU
Co-authored-by: Claude <noreply@anthropic.com>1 parent 438d918 commit cc83d5c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
| |||
0 commit comments