issues-model

Rules for the application's domain model, package layout, naming, architecture references, and development workflow. Domain terms are the agreed names for concepts such as tickets, workflows, transitions, and subscribers.

In plain words
What is it for?
Use them when planning or implementing features involving tickets, projects, workflows, users, authentication, notifications, or related business concepts.
Why use it?
They stop new code and tests from using vague names or being placed in the wrong part of the application.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/vepo/issues/issues-model
Clone the repo
git clone --depth 1 https://github.com/vepo/issues

Made for: Cursor.

Per session 1,009 This file is loaded in full into every session.
When invoked 1,009 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01009 $0.01009
Opus 5 $0.00504 $0.00504
Sonnet 5 $0.00202 $0.00202
Haiku 4.5 $0.00101 $0.00101

Measured yesterday against content hash 7f61054c5ee5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

issues-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/issues-model.mdc · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building the model

Canonical references: ARCHITECTURE.md, docs/domain-specification.md.

Before any change

  1. Development process — follow development-process.mdc: feature analysis → architecture design → task break → user approval → TDD. No src/main or src/test changes before approval.
  2. Feature analysis — create or update feature/<feature-slug>.md per change-request-analysis.mdc; maintain Wireframe, Feature checklist, and Architecture (architecture-design.mdc).
  3. Read domain specification (Ubiquitous Language) for ticket, workflow, project, or notification work.
  4. Read ARCHITECTURE.md §5 (package layout), §11 (naming), §12 (feature workflow).
  5. Follow patterns in the package you edit.

Domain vocabulary in code and tests

  • Use domain terms: Ticket, Workflow, Transition, Subscriber, Identifier — not Data, ItemDTO, stateFlag.
  • Test names: shouldMoveTicketWhenTransitionIsValid() — full narrative in issues-tests.mdc.

Package placement

Change Package
Auth, JWT, login auth
Users, roles user
Projects project
Workflows, statuses, transitions workflow
Tickets, comments, history ticket, ticket.*
Categories categories
SSE notifications notifications
Dashboard widgets dashboards
Email mailer
Cross-cutting HTTP/errors infra

Bounded context rules: issues-bounded-contexts.mdc.

After model-affecting changes

Trigger Update
New domain terms or invariants domain-specification.md
New/changed UI route or flow feature-catalog.md
New/changed user-facing capability README.md § Features — readme.mdc
Structure, API surface, known gaps ARCHITECTURE.md §13
User-facing docs documentation.mdc

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 73 lines · 1,009 tokens per session scan A 7f61054c5ee5

Subscribe to this mod's changes

issues-model is a cursor rule published in the GitHub repository vepo/issues (8 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,009 tokens to every session, about $0.0050 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.