<!--
Permission note (flag #62, flag #63 / devex dispatch #171):
This skill intentionally does NOT set allowed-tools. Restricting to specific
git subcommand patterns silently blocks agents on permission prompts they
cannot see, and the principal cannot see which tool is being blocked either
(the permission visibility gap). Devex was stalled for hours on this trap.
Inherit from .claude/settings.json (Bash(*)) instead. See flag #63.
-->
Coordination Commit
For captain coordination artifacts only — handoffs, dispatches, seeds, config updates, hookify rules, CLAUDE.md changes. NOT for implementation code.
Arguments
$ARGUMENTS: Files to stage and commit. If empty, stages all modified/untracked coordination files.
Instructions
D41-R5 fix: instructions now use the safe-tool family. Bare git is
hookify-blocked for agents (block-raw-tools.sh). Use git-safe /
git-safe-commit per the standard discipline.
- Run
./agency/tools/git-safe statusto see changes - Identify which changed files are coordination artifacts (handoffs, dispatches, seeds, config, hookify, CLAUDE*.md, tools in
usr/{principal}/{agent}/tools/) - Stage ONLY coordination artifacts — never stage application code
- Run
./agency/tools/git-safe diff --cached --statto verify what's staged - Run
./agency/tools/git-safe log --oneline -3for commit message style - Generate a commit message with
misc:prefix - Run
./agency/tools/git-safe addfor each file separately (the tool blocks-A,--all,., and wildcards by design) - Run
./agency/tools/git-safe-commit "message" --no-work-itemto commit — never rawgit commit. Coordination artifacts skip QG (no QGR receipt required) but still go through the safe wrapper. - Run
./agency/tools/git-safe statusto verify
What is a coordination artifact?
usr/{principal}/*/handoff.mdor*-handoff.mdusr/{principal}/*/dispatches/*usr/{principal}/*/seeds/*usr/{principal}/{agent}/tools/*usr/{principal}/*/CLAUDE-*.mdagency/config/*agency/CLAUDE-THEAGENCY.md.claude/settings.json.claude/skills/*/SKILL.md.gitignore- Hookify rules (
usr/{principal}/hookify/*)
What is NOT a coordination artifact?
apps/**— application code → needs QGpackages/**— library code → needs QGtools/**(project root) — project tools → needs QGagency/tools/*— framework tools → needs QG (unless just copying from the-agency)