# Changelog All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.1.0] - 2026-07-16 Initial release. ### Added - Deterministic governance engine with a plugin-oriented policy architecture. - CLI commands: `init`, `check`, `commit`, `review`, `doctor`, `policies`, `uninstall`, and the internal `hook` runner. - Typed configuration via `hanfani.config.ts` (`defineConfig`), validated with zod and loaded through jiti (also supports `.js`, `.mjs`, `.cjs`, `.json`). - Git integration: safely installable/removable `pre-commit`, `commit-msg`, and `pre-push` hooks that never overwrite existing non-Hanfani hooks. - Built-in policies: Conventional Commits, no-body, no-co-authors/signatures, TODO/FIXME detection, multi-language debug-statement detection, comment style/density, secret scanning, required tests, required CI, required README, and a regression guard. - Deterministic commit-message sanitizing (strips disallowed bodies, `Co-authored-by:` trailers, and AI tool signatures). - `hanfani-allow` inline comment to suppress a single line. - Public library API for embedding the engine and authoring custom policies. [Unreleased]: https://github.com/fruitizz/hanfani-guard/compare/v0.1.0...HEAD [0.1.0]: https://github.com/fruitizz/hanfani-guard/releases/tag/v0.1.0