一键导入
control-plane-quorum
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Require a concrete change explanation and explicit user approval before modifying a repository, then implement and verify the approved scope. Use whenever Codex is asked to create, edit, delete, generate, format, refactor, fix, upgrade, or otherwise mutate repository files, dependencies, configuration, tests, documentation, build artifacts, or version-control state.
Repository layout for the pacman Go PostgreSQL HA cluster manager.
Use when inspecting GitHub Actions, CI failures, failed Go tests, workflow logs, or build/lint/test errors. Avoid reading full logs; summarize failed jobs and inspect only relevant snippets.
Maintain PACMAN-native and Patroni-compatible API contracts.
PACMAN domain rules for cluster state transitions and operation history.
Minimal Go build, test, debug, and lint workflow for pacman.
| name | control-plane-quorum |
| description | Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention. |
Use when touching leader election, source-of-truth reads/writes, failover eligibility, leases, epochs, fencing, or DCS behavior.
Primary locations:
internal/controlplane: leader, source-of-truth, failover/switchover/rejoin.internal/dcs: DCS interface and backend implementations.internal/fencing: fencing hooks and decisions.docs/ARCHITECTURE_DCS.md: DCS design context.Rules: