You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 01b4155
Browse filesBrowse the repository at this point in the historyBrowse files
fix(lint): require one privilege per positive has_*_privilege call
Codex review of 090c4df: `$priv1$SELECT,INSERT$priv1$` and adjacent
string concatenation passed. Instead of recognizing each way to spell a
list, a positive call's privilege argument must now be one quoted word or
a per-row column; anything else is flagged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/testing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Lint runs ESLint, then `npm run lint:repo`:
33
33
34
34
- ESLint is type-aware for `src/` (outside `src/test/`) and rejects promises nobody awaits or catches. `void` marks a promise that cannot reject or handles its own errors. In browser tests it rejects `waitForTimeout`; a deliberate observation window keeps a `no-restricted-properties` disable comment with its reason.
35
35
-[knip](../knip.json) fails on unused files and on dependencies that are unused or missing from `package.json`.
36
-
-[`scripts/check-repo-rules.mjs`](../scripts/check-repo-rules.mjs) requires a top-level `permissions:` block, SHA-pinned actions, and `persist-credentials: false` on checkout in every workflow. It rejects a positive `has_*_privilege` check that lists several privileges, since a list means "any of"; write negative checks as `NOT has_*_privilege(...)`, which it recognizes. It runs [squawk](https://squawkhq.com) on migrations newer than its baseline; silence a deliberate lock with `-- squawk-ignore <rule>` and a reason.
36
+
-[`scripts/check-repo-rules.mjs`](../scripts/check-repo-rules.mjs) requires a top-level `permissions:` block, SHA-pinned actions, and `persist-credentials: false` on checkout in every workflow. A positive `has_*_privilege` check must name one privilege, as a quoted word or a per-row column, since a list means "any of"; write negative checks as `NOT has_*_privilege(...)`. It runs [squawk](https://squawkhq.com) on migrations newer than its baseline; silence a deliberate lock with `-- squawk-ignore <rule>` and a reason.
37
37
38
38
Type checking uses `tsconfig.app.json` for the client and `tsconfig.agentic.json` for `e2e.config.ts` and `agentic/` (the e2e runner itself does not type-check), and emits no files. Neither command replaces runtime tests.
report(file,lineOf(source,match.index),"a privilege list means \"any of\": check one privilege per call, or write a negative check as NOT has_*_privilege(...)");
0 commit comments