소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 25일 00:37
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill governance-lock-lifecycle명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | governance-lock-lifecycle |
| version | 1.0.0 |
| category | devops |
| description | Use when blocked after cortex update or end_change rejects. |
| author | Hermes Cortex curator |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"hermes":{"tags":["governance","lock","cortex-update","loop-governance","deploy"],"related_skills":["loop-governance","cortex-deployment-sync","cortex-preflight","two-hard-rules"]}} |
Class of task: any session that runs cortex-update.sh (or any deploy that triggers purge-stale-governance-locks.py), then hits GOVERNANCE LOCK REQUIRED on a subsequent tool call, or finds end_change rejecting with "no scored cycle". Also covers the "pull latest → update → doctor → fix" loop.
cortex-update.sh runs purge-stale-governance-locks.py at the END of EVERY run — it removes every .governance-*.json lock file, including your active session's lock. This is by design (Pitfall 4 in cortex-deployment-sync), but the blast radius is bigger than most agents expect:
GOVERNANCE LOCK REQUIRED fires on ANY terminal() call without an active lock — even a read-only grep of the update log. ls, grep, cat, git status all blocked until you re-acquire.read_file / search_files / skill_view are NOT gated. These are the escape hatch for inspecting output between the purge and your re-acquire.task_id. Two re-acquires → three pending cycles total (original + 2). All must be scored before end_change() or it rejects.begin_change(task_id="pull-latest-cortex-update") # cycle #1
git pull --rebase --autostash origin main
cortex-update.sh > /tmp/update-full.log 2>&1 # redirect UNDER the lock
# ← purge fires, lock GONE
# terminal() now blocked — use read_file on /tmp/update-full.log
check_lock → active: false # confirm
begin_change(same task_id) # cycle #2 — REQUIRED before more terminal
... fix work ...
begin_change(same task_id) # cycle #3 if purged again
...
cycle_query(task_id=...) # lists ALL pending cycles
feedback_accept(id=N1, note=...) # score EVERY one
feedback_accept(id=N2, note=...)
feedback_accept(id=N3, note=...)
end_change(task_id=...) # only now succeeds
cortex-update.sh > /tmp/log 2>&1 is fine while the lock is active (the redirect is the point — it survives the purge). But a ;-chained command like cortex-update.sh > log 2>&1; grep ... can be classified as a write by the enforcer and blocked before it runs if the lock was already purged. Pattern to avoid: run the update, then try to grep the log in the same command — the grep half dies.
| tail -60 truncates the embedded doctor reportThe update's output embeds the full doctor run (475+ lines: 268 pass · 9 warn · 2 fail · 3 info). tail -60 only shows the summary + REQUIRED ACTIONS, hiding WHICH checks failed. Always redirect to a file and read_file the whole thing — you need the per-check ⚠️/❌ lines to fix anything.
end_change(task_id) rejects with "no scored cycle" if ANY cycle for that task is still PENDING. cycle_query(task_id) returns them all — iterate and feedback_accept each ID before closing. This is the #1 cause of the "end_change rejected" confession.
The doctor's REQUIRED ACTIONS print commands like Check: hermes cron logs --name agent-... — but logs is NOT a valid hermes cron subcommand and runs rejects --name. Valid subcommands: list, create, add, edit, pause, resume, run, remove, rm, delete, status, runs, history, tick. Pass the cron name positionally (hermes cron runs <name>), no --name flag. Don't burn cycles re-trying the doctor's literal suggestion.
.py write, even throwawayWriting /tmp/inspect.py triggers the domain-skill gate: "write blocked until test-driven-development loaded". Loading it satisfies the gate — it does NOT obligate a TDD cycle for a disposable inspection script (TDD's own exceptions cover throwaway prototypes). State this explicitly ("gate satisfied — disposable script, no test cycle") so the user isn't confused about why TDD was loaded.
check_lock confirms the purge (active: false) — expect this after every update runcycle_query shows no PENDING cycles before end_changeend_change returns success (no rejection)hermes curator adopt)cortex-deployment-sync — deploy mechanics, invocation forms, immutable-file pitfallscortex-preflight — pre-flight checks + cortex-update side-effect tableloop-governance — scoring internals, lock-lifecycle race history