ruleset 0.1.0

The 19 rules

Accuracy

Instructions that match the code as it is today, 35 points.

IDRuleSeverity
A1Referenced file or directory does not existerror
A2Documented command not found in any manifesterror
A3Referenced tool or package is not a dependencywarning
A4Broken import or reference to another instruction fileerror

Presence

The essentials an agent needs are there, 25 points.

IDRuleSeverity
P1No agent instruction file at the repo rooterror
P2No build, test or lint commands documentederror
P3No guidance on project structure or where things livewarning
P4No verification step telling the agent how to check its workwarning

Economy

No dead weight consuming context, 20 points.

IDRuleSeverity
E1Instruction file exceeds the token budget (default 4,000, configurable)warning
E2Content duplicated from the READMEwarning
E3Generic advice the model follows anywayinfo
E4Duplicate or near-duplicate instructions within or across fileswarning

Consistency

Files agree with each other, 20 points.

IDRuleSeverity
K1Conflicting instructions between fileserror
K2Sibling tool files out of sync with each otherwarning
K3Instruction too vague to act on or verifyinfo

Safety

Any Safety error caps the total score at 59.

IDRuleSeverity
S1Secret or credential in an agent-readable fileerror
S2Overbroad permission grant in agent settingswarning
S3Hook runs a missing script or fetches remote codeerror
S4MCP server config runs an unpinned remote commandwarning