-
-
Notifications
You must be signed in to change notification settings - Fork 31
fix(rules): re-verify CUR-* rules against current Cursor docs #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
7eb59cb
2669d1f
d86ab36
605f9a0
4d89839
72cb3a3
b6e4122
6b514cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -55,7 +55,22 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "cursor-rules": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": "https://cursor.com/docs/context/rules", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "hash": "24529507938b37d3e3815e86b8c1c87cbaf78230c899854f0d74b2d5356c676a", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "rules": ["CUR-001", "CUR-002", "CUR-003", "CUR-004", "CUR-005", "CUR-006"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "rules": ["CUR-001", "CUR-002", "CUR-003", "CUR-004", "CUR-005", "CUR-006", "CUR-007", "CUR-008", "CUR-009"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "cursor-hooks": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": "https://cursor.com/docs/agent/hooks", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "hash": "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "cursor-subagents": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": "https://cursor.com/docs/context/subagents", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "hash": "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "rules": ["CUR-014", "CUR-015"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "cursor-environment": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": "https://cursor.com/docs/cloud-agent/setup", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "hash": "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "hash": "", | |
| "rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"] | |
| }, | |
| "cursor-subagents": { | |
| "url": "https://cursor.com/docs/context/subagents", | |
| "hash": "", | |
| "rules": ["CUR-014", "CUR-015"] | |
| }, | |
| "cursor-environment": { | |
| "url": "https://cursor.com/docs/cloud-agent/setup", | |
| "hash": "", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000001", | |
| "rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"] | |
| }, | |
| "cursor-subagents": { | |
| "url": "https://cursor.com/docs/context/subagents", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000002", | |
| "rules": ["CUR-014", "CUR-015"] | |
| }, | |
| "cursor-environment": { | |
| "url": "https://cursor.com/docs/cloud-agent/setup", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000003", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6b514cf.
Copilot
AI
Feb 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hash is currently empty for this newly added baseline. Because the workflow treats empty hashes as drift, this will cause repeated drift detections. Commit the computed hash for this URL (e.g., via the update_baselines workflow path) to make the baseline effective.
| "hash": "", | |
| "rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"] | |
| }, | |
| "cursor-subagents": { | |
| "url": "https://cursor.com/docs/context/subagents", | |
| "hash": "", | |
| "rules": ["CUR-014", "CUR-015"] | |
| }, | |
| "cursor-environment": { | |
| "url": "https://cursor.com/docs/cloud-agent/setup", | |
| "hash": "", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000000", | |
| "rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"] | |
| }, | |
| "cursor-subagents": { | |
| "url": "https://cursor.com/docs/context/subagents", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000000", | |
| "rules": ["CUR-014", "CUR-015"] | |
| }, | |
| "cursor-environment": { | |
| "url": "https://cursor.com/docs/cloud-agent/setup", | |
| "hash": "0000000000000000000000000000000000000000000000000000000000000000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6b514cf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new baseline entry has an empty
hash. Inspec-drift.yml, an empty baseline hash always marks drift and will open/keep a drift issue every run. Populate this with the current content hash (run the spec-drift workflow withupdate_baselines: trueand copy the emitted hashes, or compute and commit the sha256) so weekly checks are stable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6b514cf - populated all three empty hashes with SHA-256 of the live page content via curl.