Skip to content

feature/agent locks - #18

Merged
JheisonMB merged 20 commits into
developfrom
feature/agent-locks
Aug 13, 2026
Merged

feature/agent locks#18
JheisonMB merged 20 commits into
developfrom
feature/agent-locks

Conversation

@JheisonMB

Copy link
Copy Markdown
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.
@JheisonMB JheisonMB added the target:develop Targets the develop branch label Aug 13, 2026
@JheisonMB
JheisonMB merged commit 4b2ea44 into develop Aug 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:develop Targets the develop branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant