memory-informed-longitudinal-work

memory-informed-longitudinal-work is a cursor rule for Cursor from major7apps/pensyve. It costs 0 tokens per session (806 once invoked), scanned A, original, Apache-2.0.

A set of rules for work that continues across multiple conversations, such as research, evaluations, or repeated benchmarks.

In plain words
What is it for?
Use it to carry findings, results, and stable conclusions from one run or session into the next.
Why use it?
It helps an agent resume with earlier lessons and build a reliable record instead of starting from scratch each time.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to carry findings, results, and stable conclusions from one run or session into the next.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/major7apps/pensyve/memory-informed-longitudinal-work
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.

Clone the repo
git clone --depth 1 https://github.com/major7apps/pensyve

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-informed-longitudinal-work

README.md
[![agentmods](https://agentmods.dev/badge/rules/major7apps/pensyve/memory-informed-longitudinal-work/github.svg)](https://agentmods.dev/rules/major7apps/pensyve/memory-informed-longitudinal-work)
Your own site
<a href="https://agentmods.dev/rules/major7apps/pensyve/memory-informed-longitudinal-work"><img src="https://agentmods.dev/badge/rules/major7apps/pensyve/memory-informed-longitudinal-work/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-informed-longitudinal-work

Your own site · 80×15
<a href="https://agentmods.dev/rules/major7apps/pensyve/memory-informed-longitudinal-work"><img src="https://agentmods.dev/badge/rules/major7apps/pensyve/memory-informed-longitudinal-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 806 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00806
Opus 5.5 $0.00000 $0.00322
Sonnet 5.5 $0.00000 $0.00161
Haiku 4.5 $0.00000 $0.00081

Measured 3mo ago against content hash 8edaf232990a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-informed-longitudinal-work 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 3mo ago.

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.

integrations/cursor/.cursor/rules/memory-informed-longitudinal-work.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.

Memory-Informed Longitudinal Work

Multi-session engineering work (research, eval loops, iterative benchmarks) where lessons must accumulate across runs. The motivating case: improving a core algorithm over dozens of eval iterations without starting from scratch each session.

Follows memory-reflex.mdc. Auto-attaches when editing files under research/, benchmarks/, or evals/, or when the model judges the conversation to be research-oriented.

Instructions

Step 1: Resume context at conversation start

If this conversation is in a research/eval context, call pensyve_recall once at the start:

  • query: short description of the current research area (e.g., "v7r classifier calibration")
  • entity: project + sub-topic entity (per entity-detection.mdc canonicalization rules)
  • limit: 5

No types filter — longitudinal work benefits from all three memory types; omit to query all. (Passing all three explicitly is equivalent to no filter; omitting is cleaner.)

Surface: Recalled N prior findings on <sub-topic>.

Treat the returned observations as working knowledge — do not re-ask the user about things the recall already surfaces.

Step 2: Proactively recall per topic shift

When the session pivots to a new sub-topic (new phase, new eval subset, new failure mode), call pensyve_recall again scoped to the new sub-topic.

Step 3: Capture three types of memory per run

During the session, classify emerging knowledge and capture accordingly. Ensure working episode_id before each observe.

What you learned Type MCP call
Per-run outcome (what this run showed) episodic pensyve_observe(..., content: "[proactive/in-flight/tier-1] Run N+1: V7r accuracy improved +3.5% with new threshold", source_entity: "cursor", about_entity: <entity>, content_type: "text")
Stable truth about the system semantic pensyve_remember(entity, fact: "[proactive/in-flight/tier-1] Haiku classifier plateaus above temp 0.3", confidence: 0.9)
Reusable experiment procedure procedural pensyve_observe(..., content: "[procedural] [proactive/in-flight/tier-1] trigger=..., action=..., outcome=...", source_entity: "cursor", about_entity: <entity>, content_type: "text")

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. 3mo ago First seen · 73 lines · 0 tokens per session scan A 8edaf232990a

Subscribe to this mod's changes

memory-informed-longitudinal-work is a cursor rule published in the GitHub repository major7apps/pensyve (101 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 806 tokens. 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-30.

Related

memory-informed-longitudinal-work compared with cursor rules from other repositories

memory-informed-longitudinal-work next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-informed-longitudinal-workmajor7apps/pensyveCursor rule1016d agoApache-2.0A0Cursor
aionforge-memoryjscott3201/aionforge-memoryCursor rule124mo agoApache-2.0A273Cursor
hippo-memorykitfunso/hippo-memoryCursor rule799yesterdayMITA203Cursor
cursorrulesnhadaututtheky/neural-memoryCursor rule2462d agoMITA917Cursor
04-spatial-parserMarcoPorcellato/matryca-plumberCursor rule104yesterdayApache-2.0A0Cursor
debug-capture-pipelinectxr-dev/llm-wiki-memoryCursor rule1302mo agoMITA50Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor