speq-git-discipline · git:20260720.15e76d6 · 2026-07-20 · sha256 6ad4d5afd4be6dda
speq-git-discipline git:20260720.15e76d6A
Immutable. This exact content is served forever at /api/v1/blob/6ad4d5afd4be6dda.
--- name: speq-git-discipline description: Read-only git guardrails and the Conventional Commits reference — no history writes, verify changes before completing. Triggered by planner-agent, implementer-agent, implementer-expert-agent, and recorder-agent; git-agent alone is exempt and uses /speq-git-operations instead. --- # Git Discipline Git read-only guardrails. User controls all git writes. ## Allowed Commands ```bash git status git diff git log git show git branch ``` ## Forbidden Commands ``` add commit push pull fetch merge rebase cherry-pick checkout switch restore reset revert stash tag ``` **No exceptions.** ## Before Completing Work Verify expected changes: ```bash git status # Check files changed git diff # Review actual changes ``` ## Security Never commit secrets (API keys, passwords, credentials, tokens). ## Commit Conventions Follow the **Conventional Commits** specification: ``` <type>[scope]: <description> [body] [footer] ``` | Type | Use | |------|-----| | `feat` | New feature (MINOR) | | `fix` | Bug fix (PATCH) | | `perf` | Performance | | `refactor` | Restructure, same behavior | | `test` | Tests | | `docs` | Documentation | | `spec` | Spec changes | | `chore` | Maintenance | **Breaking changes:** Add `!` after type or `BREAKING CHANGE:` footer → MAJOR version