Skip to content

v0.2.0

Choose a tag to compare

@kryptobaseddev kryptobaseddev released this 22 Mar 08:14
· 76 commits to main since this release
3bd4435

Added

  • Agent guardrails with --strict mode on validate and doctor commands
  • New guard module detecting bypass patterns:
    • HOOKS_PATH_OVERRIDEcore.hooksPath redirecting away from .git/hooks
    • HUSKY_BYPASSHUSKY=0 environment variable disabling hooks
    • HOOK_MISSING — required hooks not installed
    • HOOK_REPLACED — hook files overwritten without versionguard invocation
    • HOOK_TAMPERED — hook files modified from expected template
    • HOOKS_NOT_ENFORCED — hooks enabled but enforceHooks is false
  • Guard report included in --json output for CI and agent workflows
  • Public API: runGuardChecks(), checkHooksPathOverride(), checkHuskyBypass(), checkHookIntegrity(), checkEnforceHooksPolicy()