Skip to content

Commit 8660c53

Browse files
committed
fix(lint): keep the kernel-key fix line inside 200 with queues; pay the skill line's tokens
Claude-Session: https://claude.ai/code/session_01WGufzhD6Fqfyavauv2KoGA Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 38a151a commit 8660c53

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/lint/src/validate-rls-predicate-enforceability.engine-judge.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('validateRlsPredicateEnforceability — the engine judge is an INPUT (#
143143
expect(hintFor(code).length, code).toBeLessThanOrEqual(200);
144144
}
145145
expect(explainRule(RLS_PREDICATE_UNENFORCEABLE)?.paragraphs.join('\n')).toContain(
146-
'the caller\'s values are the `current_user` keys (accessible_org_ids, email, id, org_user_ids, organization_id, positions)',
146+
'the caller\'s values are the `current_user` keys (accessible_org_ids, email, id, org_user_ids, organization_id, positions, queues)',
147147
);
148148
});
149149

‎packages/lint/src/validate-rls-predicate-enforceability.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ function referenceFindings(
15591559
// nearest key, so no author text can lengthen it. What each key holds,
15601560
// and how an app stages a membership set, are the explanation's.
15611561
hint:
1562-
`Read a pre-resolved key (${listNames(PRERESOLVED_USER_KEYS)}), or test an app-staged membership ` +
1562+
`Read a kernel key (${listNames(PRERESOLVED_USER_KEYS)}), or test an app-staged membership ` +
15631563
`set with \`in\`, never \`==\`.${suggestName(key, PRERESOLVED_USER_KEYS)}`,
15641564
});
15651565
}

‎skills/objectstack-data/rules/security.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ bridge (warns). The compiler resolves these
120120

121121
Rows keyed on a **named record** (an account, a supplier) rather than on a
122122
person or a position: declare the set on the **roster** object whose rows
123-
define it — not a stamp on every data row, not one policy per record.
123+
define it, not one policy per record.
124124

125125
<!-- os:check -->
126126
```typescript

0 commit comments

Comments
 (0)