Repository navigation
Commit 82d10f1
committed
test(core): pin the relocated classifier by its BINDING, not the whole import line
`authz-store-unavailable.test.ts` pinned the exact text
`import { isMissingTableError } from '@objectstack/types';`, which also pinned
something the #13279 ruling never decided: that this is the ONLY symbol core
takes from that module. Adding `resolveTenancyPosture` to the same statement
reddened it without touching the predicate, the classifier, or the dependency
edge the ruling is about.
The positive assertion now matches the binding list inside that statement
(`[^}]*` cannot cross a closing brace). Measured against counterexamples: it
still refuses the wrong module, a locally re-spelled predicate, and a near-miss
identifier. Both negative assertions are unchanged.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ZC5rNQj3WEet5HAmmAkMs1 parent 12d7189 commit 82d10f1
1 file changed
Lines changed: 15 additions & 1 deletion
File tree
- packages/core/src/security
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
468 | 482 | | |
469 | | - | |
| 483 | + | |
470 | 484 | | |
471 | 485 | | |
472 | 486 | | |
| |||
0 commit comments