بنقرة واحدة
occ-conflict-proof-hook
Prove optimistic concurrency races in Rust MCP handlers with a deterministic pre-write seam
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Prove optimistic concurrency races in Rust MCP handlers with a deterministic pre-write seam
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Resolve knowledge gaps: fetch unresolved gaps, assess sensitivity, generate research queries, ingest findings, and close gaps with a resolution slug.
Interrupt-driven alerts: detect and surface new contradictions, stale pages, resolved gaps, and embedding drift. Priority-classified with deduplication.
Ingest meeting notes, articles, documents, and conversations into Quaid. Handles idempotent ingestion for exact-byte duplicates and vault-backed sync.
Keep the brain healthy: detect and resolve contradictions via the correction / supersede workflow, validate referential integrity, triage knowledge gaps, find orphaned pages, and compact the database.
Answer questions from the brain using FTS5 + semantic search + structured queries. Synthesize across multiple pages. Cite sources.
Agent-guided binary upgrades: version check, channel detection, download via install.sh (or manual asset fetch + SHA-256 verify), and post-upgrade validation.
| name | occ-conflict-proof-hook |
| description | Prove optimistic concurrency races in Rust MCP handlers with a deterministic pre-write seam |
| domain | testing, rust, mcp |
| confidence | high |
| source | earned from conversation-memory-foundations memory_close_action closure |
When an MCP handler reads a page, mutates content, and writes back with expected_version, race tests become flaky if they depend on thread timing alone.
before_write callback that runs after the read/mutation step but before the OCC write.ConflictError and the stored page matches the competing winner, not the stale caller.