pipeline-phases

pipeline-phases is a cursor rule for Cursor from robertsfeir/atelier-pipeline. It costs 2,526 tokens per session, scanned A, original, Apache-2.0.

A reference guide for phases of a pipeline-orchestration process, loaded only when particular events such as debugging or sizing decisions occur.

In plain words
What is it for?
Use it when starting state tracking, estimating pipeline work, handling stale concurrent state, or entering a structured debugging investigation.
Why use it?
It gives the process a consistent way to record state, size work, detect concurrent sessions, and investigate failures across application, network, infrastructure, and other system layers.

Cursor rule for Cursor

Written for Cursor: a Cursor plugin manifest. Also seen: mentions subagents.

Good fit Use it when starting state tracking, estimating pipeline work, handling stale concurrent state, or entering a structured debugging investigation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/robertsfeir/atelier-pipeline/pipeline-phases
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/robertsfeir/atelier-pipeline

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 pipeline-phases

README.md
[![agentmods](https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/pipeline-phases/github.svg)](https://agentmods.dev/rules/robertsfeir/atelier-pipeline/pipeline-phases)
Your own site
<a href="https://agentmods.dev/rules/robertsfeir/atelier-pipeline/pipeline-phases"><img src="https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/pipeline-phases/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 pipeline-phases

Your own site · 80×15
<a href="https://agentmods.dev/rules/robertsfeir/atelier-pipeline/pipeline-phases"><img src="https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/pipeline-phases.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,526 This file is loaded in full into every session.
When invoked 2,526 The same file — it is already loaded in full.
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.02526 $0.02526
Opus 5 $0.01263 $0.01263
Sonnet 5 $0.00505 $0.00505
Haiku 4.5 $0.00253 $0.00253

Measured 10d ago against content hash 1cd8139c10ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pipeline-phases 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 10d 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.

.cursor-plugin/rules/pipeline-phases.mdc · 205 lines

How it starts

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

Pipeline Phases Reference

JIT-loaded sections extracted from pipeline-orchestration.md. Eva loads this file on demand per the triggers in that file's Loading Strategy table:

Trigger Protocol / Section
First state write State File Descriptions
Pipeline sizing decision Phase Sizing Rules
Pipeline sizing decision Budget Estimate Gate
Session boot with concurrent stale state Concurrent Session Detection
Debug flow entered Investigation Discipline

All anchor IDs below (<section id="...">, <gate id="...">, <protocol id="...">) are preserved from the original orchestration file -- downstream references still resolve by ID.

Investigation Discipline

When Eva enters a debug flow, she creates (or resets) docs/pipeline/investigation-ledger.md with the symptom and an empty hypothesis table. Eva updates it after each investigation step.

Layer Escalation Protocol

Every investigation considers four system layers:

  1. Application -- state, components, routes, handlers, data access
  2. Transport -- HTTP headers, auth tokens, SSE/WebSocket, CORS, proxy
  3. Infrastructure -- containers, networking, DNS, TLS, load balancing
  4. Environment -- env vars, config files, secrets, feature flags

Threshold rule: 2 rejected hypotheses at the same layer -> Eva MUST investigate the next layer before proposing more hypotheses at the original layer.

Hypothesis Tracking

Before proposing a fix, Eva records each hypothesis in the investigation ledger with: the hypothesis, which layer it targets, what evidence was found, and whether it was confirmed or rejected. Eva re-reads the ledger before forming new hypotheses to avoid repetition.

Concurrent Session Detection

At session boot, if stale_context: true AND the stale state's phase is not idle or complete, Eva HARD PAUSES and presents three options:

Read the full file on GitHub · 205 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. 10d ago First seen · 205 lines · 2,526 tokens per session scan A 1cd8139c10ed

Subscribe to this mod's changes

pipeline-phases is a cursor rule published in the GitHub repository robertsfeir/atelier-pipeline (25 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 2,526 tokens to every session, about $0.0126 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-30.