020-quality-gates Cursor ruleA
020-quality-gates from kanevry/session-orchestrator is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add kanevry/session-orchestrator/.cursor/rules/020-quality-gates.mdc@git:20260828.bfb4593Pins git:20260828.bfb4593 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- kanevry/session-orchestrator
- Path
.cursor/rules/020-quality-gates.mdc- Versions recorded
- 2
- Latest version
- git:20260828.bfb4593, committed Aug 28, 2026
- First version recorded
- Apr 7, 2026
- Size
- 3,640 bytes
- Repository stars
- 53
- License
- MIT
When running quality checks — typecheck, test, lint — during development or session execution.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Quality Gates
Four quality gate variants for different session phases. Commands are read from Session Config in `CLAUDE.md` (field defaults shown below).
## Config Fields
| Field | Default | Notes |
|-------|---------|-------|
| `test-command` | `pnpm test --run` | Set to `skip` to disable |
| `typecheck-command` | `tsgo --noEmit` | Set to `skip` to disable |
| `lint-command` | `pnpm lint` | Set to `skip` to disable |
## Variant 1: Baseline
**When**: Session start (Phase 3)
**Purpose**: Quick health check — non-blocking.
```bash
{typecheck-command} 2>&1 | tail -5
{test-command} 2>&1 | tail -5
```
- Report results but do NOT block the session
- Store error counts as the session baseline for later comparison
## Variant 2: Incremental
**When**: After implementation waves (Impl-Core, Impl-Polish)
**Purpose**: Verify implementation did not break anything.
```bash
# Run tests on changed files only
{test-command} -- <changed-test-files>
# Full typecheck (always full — partial typecheck is unreliable)
{typecheck-command}
```
- Report failures but do NOT block wave progression
- If issues found, add fix tasks to the next wave automatically
## Variant 3: Full Gate
…Read the whole file at its exact version.
How to install
mdr add kanevry/session-orchestrator/.cursor/rules/020-quality-gates.mdc@sha256:2a9cb7e91c216bbeThe line at the top of this page pins the label git:20260828.bfb4593, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ozkv6s2n6pfe37em)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 7, 2026 and Aug 28, 2026, about one every 143 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260828.bfb4593 latest | 2026-08-28 | bfb4593 | 3,640 B | A | view · diff |
| git:20260407.0d7ba8f | 2026-04-07 | 0d7ba8f | 3,639 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3640 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kanevry/session-orchestrator · 53 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ozkv6s2n6pfe37em GET https://markdownregistry.com/api/v1/resolve?ref=kanevry/session-orchestrator/.cursor/rules/020-quality-gates.mdc GET https://markdownregistry.com/api/v1/blob/2a9cb7e91c216bbe7e686ad85a304dcc87bd10ed1b4ac365df4253fb65dfee87
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.