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.
mdr add ericjuta/omp-optchat/verify-store-lease@git:20261023.796de4aPins 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
mdr add ericjuta/omp-optchat/verify-store-lease@sha256:787fa37c57cea0f7The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261023.796de4a latest | 2026-10-23 | 796de4a | 26,378 B | A | view · diff |
| git:20261021.ff92ab5 | 2026-10-21 | ff92ab5 | 20,740 B | A | view · diff |
| git:20261021.b37c5da | 2026-10-21 | b37c5da | 18,784 B | A | view · diff |
| git:20261021.9d445e8 | 2026-10-21 | 9d445e8 | 17,472 B | A | view · diff |
| git:20261021.687d0f9 | 2026-10-21 | 687d0f9 | 14,637 B | A | view |
Audit of the latest version
- 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
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.