qadrillion-agent / rules
Cursor rule3 starsChanged 2 months agoMITView on GitHub
Ticket frontmatter schema, lifecycle, evidence and team handoff. Apply whenever creating, reading or updating tickets.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/code-review.mdcCursor rule
- .cursor/rules/core.mdcCursor rule
- .cursor/rules/test-automation.mdcCursor rule
- .cursor/rules/tracker-reporting.mdcCursor rule
- golden-tasksSkill
- qa-apiSkill
- qa-mobileSkill
- qa-performanceSkill
- qa-securitySkill
- qaSkill
- qa-webSkill
- qa-workflowSkill
- golden-tasksSkill
- qa-apiSkill
- qa-mobileSkill
- qa-performanceSkill
- qa-securitySkill
- qaSkill
- qa-webSkill
- qa-workflowSkill
- golden-tasksSkill
- qa-apiSkill
- qa-mobileSkill
- qa-performanceSkill
- qa-securitySkill
- qaSkill
- qa-webSkill
- qa-workflowSkill
The file
We split this ticket-state.mdc into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 77
Update status, updated, next_action and blockers at every phase boundary.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: Ticket frontmatter schema, lifecycle, evidence and team handoff. Apply whenever creating, reading or updating tickets.
globs:
- "tickets/**/*.md"
alwaysApply: false
---
# Ticket state contract
One file per ticket or local QA task: `tickets/{ID}.md`. Free text uses a
collision-free `LOCAL-<number>` and `tracker: null`. Preserve prior evidence.
## Required frontmatter
```yaml
---
id: LOCAL-1
title: Verify the agreed feature behavior
scope: other
status: analyzing
verdict: null
build: null
environment: null
tracker: null
design: null
source_refs: []
started: 2026-09-24
updated: 2026-09-24
next_action: "Resolve the target build and independent expected result"
blockers: []
---
```
Scopes: api, ui-web, mobile, backend, desktop, data, device, other,
multi-surface, tooling. Environment is a nonempty team-specific name or null;
its label is not evidence of safety. Build/design are strings or null; tracker
is an HTTP(S) URL or null. Dates are ISO YYYY-MM-DD; updated cannot precede started.
source_refs/blockers are lists of nonempty strings. Pin source commit in the body,
not only paths/line numbers.
Optional fields: `owner`, `branch` (string or null); `env_role` (dev, test, staging,
production, unknown); `evidence` (list of local artifact paths relative to the ticket
file). Team ownership is coordination, not a lock. Keep remote evidence links in
the body with the result excerpt; CI cannot authenticate private artifact URLs.
The stdlib validator supports a flat YAML mapping, plain/JSON-double-quoted or
YAML-single-quoted scalar values, and inline or indented scalar lists. Comments
and CRLF are supported. Quote values containing colon-space or special syntax.
Nested mappings, block scalars, tags, anchors and duplicate keys are rejected.
## Lifecycle and verdict
`analyzing → analyzed → planned → in_test → reporting → done`; any active state
may become blocked with a reason and an executable next_action. Record access
blockers early, before tests exist. Resume at the earliest affected phase; changed
build/config/requirements invalidate only relevant prior claims. Reopening done
starts a dated run, sets verdict null, and keeps previous evidence.
Verdict is null while active; done requires pass, partial or fail. Confirmed
in-scope defects mean fail. Missing required coverage without a confirmed defect
means partial. Pass requires agreed checks executed successfully, no unresolved
in-scope failures, and meaningful evidence. Status done means this run has a
handoff, not that the product is defect-free. No fabricated source or run output.
`tools/tickets/validate.py` checks schema and the *presence* of local evidence or
an execution block for pass. It cannot establish artifact truth, assertion quality
or sufficient coverage. A two-line block is not permission to invent a run.
## Body and update procedure
Analysis (criteria/oracle, source risks or gap, observed interfaces) → Test plan
(risk/technique/layer/expected result and automated/manual/blocked status) →
Execution & results (command/actions, time, target/build/config, results, artifacts,
failed attempts, skips) → Handoff (owner/branch, dirty paths, remaining scope,
next action) → Tracker comment (draft/posted destination and ID) → Notes.
Update status, updated, next_action and blockers at every phase boundary.
Serialize writers. Validate the ticket, then run `python3 tools/tickets/index.py`.
The index is derived data; do not resolve conflicts by editing it manually.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

