md-first memory extraction framework for AI agents. Markdown is the single source of truth; SQLite holds state and LanceDB provides the rebuildable vector + BM25 + scalar index. The codebase follows a single-direction DDD layering (entrypoints -> service -> memory -> infra, with component / core / config cross-cutting) enforced by import-linter. Engineering surface: - Coding conventions in .claude/rules/ (path-scoped) and workflows in .claude/skills/ (/commit, /new-branch, /pr). - GitHub Actions CI runs make lint + test + integration; pre-commit mirrors the gates locally (ruff, hygiene hooks, gitlint commit-msg). - Commit messages follow Conventional Commits, enforced by gitlint. - make lint also enforces datetime two-zone discipline and OpenAPI drift.
31 lines
1011 B
Plaintext
31 lines
1011 B
Plaintext
# gitlint — commit-message format gate (commit-msg pre-commit stage).
|
|
# Enforces Conventional Commits (https://www.conventionalcommits.org):
|
|
# <type>[(scope)][!]: <description>
|
|
# e.g. feat: add agentic rerank | fix(search): guard empty profile
|
|
# See .claude/skills/commit/SKILL.md for the type list and guidance.
|
|
|
|
[general]
|
|
# Enable gitlint's built-in Conventional Commits title check.
|
|
contrib=contrib-title-conventional-commits
|
|
|
|
# Autosquash / generated commits are exempt from the format check.
|
|
ignore-merge-commits=true
|
|
ignore-revert-commits=true
|
|
ignore-fixup-commits=true
|
|
ignore-squash-commits=true
|
|
|
|
# Allowed Conventional Commit types (extends the spec defaults with the ones
|
|
# this project uses). A commit title's type must be one of these.
|
|
[contrib-title-conventional-commits]
|
|
types=feat,fix,refactor,test,docs,style,perf,chore,build,ci,revert
|
|
|
|
[title-max-length]
|
|
line-length=72
|
|
|
|
[body-max-line-length]
|
|
line-length=80
|
|
|
|
# A single-line commit (no body) is allowed.
|
|
[body-min-length]
|
|
min-length=0
|