git-evidence
Git discipline adapted for ZaoFu: the branch/ref model is the evidence chain—task_ref, candidate, source_commit binding, remote_policy guards, and…
от uisee-ai★ 36 звёзд на GitHub
Установить git-evidence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZaoFu Yoke Git Evidence
In ZaoFu, git is more than version control: it is an evidence ledger. Every ref has a kernel consumer; tampering with refs = falsifying the ledger.
Ref Model (Who Writes, Who Reads, What You May Change)
| Ref | Writer | Reader | Your discipline |
|---|---|---|---|
task/<TASK-ID>(task_ref) |
Harness mints it from your branch at completion | verify checkout, candidate integration, source_commit binding | No further commits after completion (additional commits create an evidence fork where HEAD≠source_commit) |
worker/<instance> working branch |
You (writer) | task_ref minting | Operate only in your own worktree; never rebase history for which a task_ref has been minted |
candidate/<PDD> |
kernel (idempotent cherry-pick) | judge, quality gate, ship | Never manually commit to candidate |
| Main checkout | operator/harness | All worktrees share its object database | Workers must not touch it; git worktree isolation is a fundamental safety boundary |
Pairing with the Kernel Contract
- source_commit binding: The completion event includes a commit; verify/judge pin the audit target to that commit (pin-commit,FIX-9)—the commit you report must exist and be reachable.
- remote_policy=local_only: Managed worktrees have a pre-push rejection hook; push rejection is intentional, not a failure. Do not bypass it (bypassing it breaks the release gate).
- Commit prefixes are machine input for archival audits:
feat:/fix:covers user-facing behavior;test:/refactor:/chore:/docs:each has its designated role. For TDD tests + implementation in the same commit, usefeat:. - Multiple-driver discipline (established after incident ddd1dd9): Only explicit pathspec
git addis allowed (-A/./commit -aare forbidden); before committing, usegit diff --cached --name-onlyto check that no one else's files are included. Unexpected HEAD movement = another driver is active; switch to a working branch.
Common Incidents and Correct Practices (Concrete Anchors)
- Use a worktree for isolated validation, not stash:
git stash poppops someone else's old stash from the stack; conflict markers in the tree can break collection across the repo (2026-07-06 incident, 120 collection errors).git worktree add /tmp/x <commit>provides safe isolation. - Duplicate integration of equivalent patches: cherry-pick copies have different hashes but identical patches—use
git rev-list --cherry-pickto determine whether a patch is already integrated, not hash equality. - Conflict handling: when workers encounter integration conflicts, do not force a resolution in the main repo; report
candidate.conflictsemantics (the rework route has the context needed for the correct resolution).
How to test
Simulation: append a commit after completing a task → recognize that task_ref has already been minted and additions must go through rework rather than silently advancing; attempt to push from a local_only worktree → accept the rejection and report it.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-evidence?
Git discipline adapted for ZaoFu: the branch/ref model is the evidence chain—task_ref, candidate, source_commit binding, remote_policy guards, and multiple-driver rules, mechanically paired with the kernel git contract.
Как установить скилл git-evidence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-evidence запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…