一键导入
file-edit-history-integrity-gate
Guard watcher-driven archive-on-edit features from chain forks and sidecar recursion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guard watcher-driven archive-on-edit features from chain forks and sidecar recursion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | file-edit-history-integrity-gate |
| description | Guard watcher-driven archive-on-edit features from chain forks and sidecar recursion |
| domain | review, integrity |
| confidence | high |
| source | earned |
Archive before overwrite, inside one atomic path
Keep one linear chain
A -> archived-B -> live-B, not two predecessors pointing at the same head.Whitespace-only saves are full no-ops
raw_imports rotationfile_state churnGate by both path and page type
Disk history sidecars must not re-enter the watcher
Linear-chain repair can reuse the live row
A -> B -> Chistory_on_disk=true proof that the sidecar exists but does not become a live ingest eventextracted/**/*.md but forgets to exclude _history/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.