verify-store-lease SKILL.md skillA

verify-store-lease from ericjuta/omp-optchat is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ericjuta/omp-optchat/verify-store-lease@git:20261023.796de4a

Pins git:20261023.796de4a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ericjuta/omp-optchat
Path
.omp/skills/verify-store-lease/SKILL.md
Versions recorded
5
Latest version
git:20261023.796de4a, committed Oct 23, 2026
First version recorded
Oct 21, 2026
Size
26,378 bytes
Repository stars
82
License
none declared

Check OptChat's store writer lease (one writer per store directory, every write made under it) with a TLA+ model and real-process tests against src/store.ts. Use when a change touches the lease, Store.open/close/archive, Store.sidecarPath, /optchat new, or how the rules ledger and metrics are written, or when asked whether the single-writer lock holds.

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

## What it verifies

**Promise.** Cooperating `Store` writers sharing the lease namespace cannot both hold the same directory inode's lease. Store recovery and content writes start only after acquisition; a conflicting opener gets `StoreLeaseConflictError("Store is already open by another writer")` without changing the held store's contents. This is not a promise of zero filesystem effects before acquisition: `openRoot` may create ancestors/root and fsync the parent. The lease is not an access-control barrier against external writers. `/optchat new` holds the lease through its checked rename; an external pathname replacement between the identity check and rename remains outside the guarantee.

**Harm if it breaks.** Two sessions append to one history and give out the same message ids (replay refuses duplicate ids, `tests/store.test.ts:358-368` "identical duplicate message", so the chat then fails to open), or one session's rules, metrics or archive land in another session's chat.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ericjuta/omp-optchat/verify-store-lease@sha256:787fa37c57cea0f7

The line at the top of this page pins the label git:20261023.796de4a, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wr6ga7vouknirmjj.svg)](https://markdownregistry.com/a/art_wr6ga7vouknirmjj)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 21, 2026 and Oct 23, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261023.796de4a latest2026-10-23 796de4a 26,378 BA view · diff
git:20261021.ff92ab52026-10-21 ff92ab5 20,740 BA view · diff
git:20261021.b37c5da2026-10-21 b37c5da 18,784 BA view · diff
git:20261021.9d445e82026-10-21 9d445e8 17,472 BA view · diff
git:20261021.687d0f92026-10-21 687d0f9 14,637 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (26378 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

GitHub

ericjuta/omp-optchat · 82 stars · license none declared · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wr6ga7vouknirmjj
GET https://markdownregistry.com/api/v1/resolve?ref=ericjuta/omp-optchat/verify-store-lease
GET https://markdownregistry.com/api/v1/blob/787fa37c57cea0f72d4cde6ba5646deec99a55262d50400a0a4d04ac9c9f65a4

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ericjuta/omp-optchat

domain-modeling SKILL.md skill
ericjuta/omp-optchat · .omp/skills/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md…
git:20261011.a56de50 · audit A · 82 stars
execplan SKILL.md skill
ericjuta/omp-optchat · .omp/skills/execplan/SKILL.md · Write, resume, revise or execute an ExecPlan (a self-contained living build plan per .agent/PLANS.md). Use when…
git:20261011.a56de50 · audit A · 82 stars
grilling SKILL.md skill
ericjuta/omp-optchat · .omp/skills/grilling/SKILL.md · Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or…
git:20261011.a56de50 · audit A · 82 stars
prototype SKILL.md skill
ericjuta/omp-optchat · .omp/skills/prototype/SKILL.md · Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model…
git:20261011.a56de50 · audit A · 82 stars
research SKILL.md skill
ericjuta/omp-optchat · .omp/skills/research/SKILL.md · Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use…
git:20261011.a56de50 · audit A · 82 stars
wayfinder SKILL.md skill
ericjuta/omp-optchat · .omp/skills/wayfinder/SKILL.md · Plan a huge chunk of work (more than one OMP session can hold) as a shared map of decision tickets on your issue…
git:20261011.a56de50 · audit A · 82 stars
AGENTS.md AGENTS.md file
ericjuta/omp-optchat · AGENTS.md
git:20261107.ba3d3c1 · audit A · 82 stars

Every file in ericjuta/omp-optchat

Browse by kind, by grade A, or by owner.