feature/agent locks - #18
Merged
Merged
Conversation
JheisonMB
commented
Aug 13, 2026
Collaborator
- feat(lock): add commit-blocking lock/unlock with pre-commit hook
- feat(lock): add push-blocking lock with pre-push hook
- feat(lock): add --json flag to lock status for machine-readable output
- feat(autoupdate): add version check and self-update mechanism
- chore: bump version to 0.5.0
- docs: Add homepage to Cargo.toml and README
- docs: Document lock and self-update features
- docs(lock): Document push-blocking with --push and --all flags
- docs: Add self-update documentation and update feature summary
- feat(hooks): add no-trailers builtin to reject AI attribution trailers
- feat(hooks): add no-invisibles builtin to reject invisible Unicode
- feat(hooks): add no-body builtin and fix conventional-commits hook
- feat(status): report per-hook health and add --repair/--strict flags
- feat(status): add machine-wide registry and gitkit status --global
- feat(hooks): compose multiple builtins sharing one git hook via dispatcher
- fix(init): re-prompt on build name collision instead of silently dropping
- feat(ignore): narrow .claude/ to local state and add aider patterns to agentic template
- fix(hooks): exempt git-authored messages from conventional-commits format check
- chore(demo): re-record the demo against the current build
- chore(demo): stop tracking generated mp4
Add homepage field to Cargo.toml linking to https://univerlab.org/gitkit. crates.io renders this as a clickable link in the sidebar. Add corresponding link in README for discoverable visitors.
Add Repository locks and Version check & self-update features to README Features section. Update CLI Reference to document --push, --all flags for gitkit lock, and --json flag for gitkit lock status. Repository locks block commits and pushes during agent sessions via pre-commit and pre-push hooks. Version check queries GitHub for newer releases and can be disabled with GITKIT_NO_UPDATE_CHECK environment variable.
Add comprehensive documentation for push-blocking feature shipped in commit 6a48cc2. Includes: - Examples for --push and --all flags - Explanation of pre-push hook mechanics - Per-operation status output (commit/push locked separately) - Updated bypass documentation for git push --no-verify Previously, docs/lock.md only covered commit-blocking, leaving half the feature undocumented.
Document the automatic version check and self-update mechanism shipped in commit 6a48cc2. Includes: - Self-update section in Installation guide - GITKIT_NO_UPDATE_CHECK environment variable to opt out - Cargo-managed install handling (points to cargo install --force) - Binary-in-place update behavior Also update index.md to reflect current capabilities: - Agent lock now blocks commits and/or pushes (not just commits) - Add self-update to the feature list - Update documentation guide to mention automatic self-updates
Add no-body commit-msg hook that rejects messages with a body, accepting only a single-line subject (plus optional BREAKING CHANGE footer). Fix conventional-commits to accept ! before the colon and to validate only the first line.
Detect hooks that exist but are not executable (dormant) — the state that caused four months of silent hook failures across seven repos. Classify each hook as active/dormant/modified/absent, with explicit language telling the user git ignores a dormant hook. --repair sets the executable bit on dormant hooks without touching content; --strict exits non-zero for CI. No new dependencies.
…o agentic template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.