wellactually

Reference

Limits

What a principle may hold and do. The same limits apply in the agent's run_tests, in the browser editor, on the registry and on everyone's machine.

When a detector runs#

LimitValueWhat happens past it
Time for one event100 msThe detector is stopped and reported once per session. The agent carries on.
Memory32 MBThe same.
Findings for one event20The rest are dropped.
match and file of a finding300 charactersThe detail is left out, the finding still fires.
A file read with node:fs512 KB, text onlyIt looks like a file that does not exist.
Network, processes, writing filesNoneThere is no API for them.

What a principle may hold#

LimitValue
Name3 to 64 characters of a-z, 0-9 and dashes
Files of its own60
Size of its own files512 KB
Files of its packages500
Size of its packages2 MB
The built detector with its packages1 MB
TitleThe first line, a # heading
SummaryOne paragraph of at most 200 characters
AdviceAt most 20,000 characters for the whole principle.md
TagsUp to 5, each at most 30 characters

Tests#

LimitValue
Test filesAt least one *.test.ts outside fixtures
Tests that make the detector fireAt least one
Tests that see it stay quietAt least one
Calls to detect in one run300

Accounts#

LimitValue
Uploads, from an agent or the editor50 per hour. run_tests and Run tests are not counted.
Connected GitHub repositories10
Principles in one repository300
The agent's probe, on your machineFails a detector that throws on a file, or that fires on more than 50% of 10 or more files it handles.