DESIGN.md@strategies/craneA
DESIGN.md@strategies/crane from senpi-ai/senpi-skills is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add senpi-ai/senpi-skills/strategies/crane/DESIGN.md@git:20260713.753da36Pins git:20260713.753da36 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- DESIGN.md file
- Repository
- senpi-ai/senpi-skills
- Path
strategies/crane/DESIGN.md- Versions recorded
- 1
- Latest version
- git:20260713.753da36, committed Jul 13, 2026
- Size
- 4,737 bytes
- Repository stars
- 144
- License
- MIT
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
# Crane — Managed Pairs / Stat-Arb (BLOCKED on a runtime capability) **Status: engine complete + unit-tested; NOT deployable.** Crane needs coordinated multi-leg close, which the current Runtime 3.0 scanner contract does not expose. This doc records the design, the exact gap, and how to wire it when the capability lands. The scanner ships **disarmed** (`inputs.armed: false`) so it can never open a pair it cannot manage. ## What it does Market-neutral. For a correlated pair `(A, B)` it tracks the log price spread `ln(A/B)`, z-scores it over a rolling window, and trades the **spread**: - `|z| ≥ entryZ` → short the rich leg, long the cheap leg (equal notional). - `|z| ≤ exitZ` → revert: close both legs. - `|z| ≥ stopZ` → blowout: close both legs. - The two legs are **one position** — they open together and close together. The alpha is in `main/scanners/scoring.py` (pure, `test_engine.py` green): spread, z-score (guards a full window + non-zero dispersion), the pair state machine, entry directions, z-scaled sizing. ## The safety core — why DSL-only cannot do this A pair with only one leg left is a **naked directional bet**. If the two legs exit …
Read the whole file at its exact version.
How to install
mdr add senpi-ai/senpi-skills/strategies/crane/DESIGN.md@sha256:d4971b21bd50b338The line at the top of this page pins the label git:20260713.753da36, 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_maj645fmhsz5kier)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 13, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4737 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
senpi-ai/senpi-skills · 144 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_maj645fmhsz5kier GET https://markdownregistry.com/api/v1/resolve?ref=senpi-ai/senpi-skills/strategies/crane/DESIGN.md GET https://markdownregistry.com/api/v1/blob/d4971b21bd50b3389ac20ae01ce1e258dbc1467717e56f0b1ed402ff7ffa79c8
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: what DESIGN.md is and how agents use it · which agent file does what.